@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg-dark: #0a0c10;
  --bg-darker: #050608;
  --accent: #f0a236;
  --accent-green: #00ff88;
  --text-light: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --text-dim: rgba(255,255,255,0.45);
  --logo-spyy-color: #3fa9f5;
  --logo-fx-color: #ff5722;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-bg-hover: rgba(255,255,255,0.1);
  --glass-border: rgba(255,255,255,0.08);
  --nav-bg: rgba(15,18,26,0.65);
  --nav-border: rgba(255,255,255,0.08);
  --nav-link-hover: rgba(255,255,255,0.08);
  --nav-shadow: 0 8px 32px 0 rgba(0,0,0,0.4);
  --glass-blur: blur(20px);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
  --transition-fast: all 0.15s ease;
}

*{margin:0;padding:0;box-sizing:border-box;}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background ── */
.hero-bg-wrapper {
  position: fixed;
  inset: -30px; /* overshoot to hide edges during pan/zoom */
  z-index: -1;
  background-image: url('about bg.png');
  background-size: cover;
  background-position: center 62%; /* shifted down so it is fully seen in center */
  background-repeat: no-repeat;
  animation: aboutBgMotion 24s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.8) 0%,
    rgba(10, 12, 16, 0.74) 40%,
    rgba(10, 12, 16, 0.84) 100%
  );
  z-index: 1;
}

@keyframes aboutBgMotion {
  0% {
    transform: scale(1.04) translate(0, -10px);
  }
  50% {
    transform: scale(1.1) translate(-8px, 5px);
  }
  100% {
    transform: scale(1.04) translate(8px, -5px);
  }
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 36px; /* Offset to fit the live ticker bar at the top */
  left: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(10, 12, 16, 0.5) 0%, transparent 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.logo-spyy { color: var(--logo-spyy-color); }
.logo-fx { color: var(--logo-fx-color); }
.logo-chart-icon { width: 20px; height: 20px; color: var(--accent); }

.nav-capsule {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--nav-shadow);
  transition: var(--transition-smooth);
}

.nav-capsule:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

body.light-theme .nav-capsule:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 12px 40px rgba(13, 17, 23, 0.12);
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nav-link:hover { background: var(--nav-link-hover); color: var(--text-light); }
.nav-link--active { background: rgba(255,255,255,0.12); color: var(--text-light); }
.nav-icon { width: 16px; height: 16px; opacity: 0.75; flex-shrink: 0; }
.arrow-icon { width: 12px; height: 12px; opacity: 0.6; }

.header-actions-group { display: flex; align-items: center; gap: 10px; }
.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-light);
  transition: var(--transition-fast);
}
.theme-toggle-btn:hover { background: var(--glass-bg-hover); }
.sun-icon, .moon-icon { width: 16px; height: 16px; }
body:not(.light-theme) .sun-icon { display: none; }
body.light-theme .moon-icon { display: none; }
body.light-theme .sun-icon { display: block; }

.btn-cta {
  background: linear-gradient(135deg, #f0a236, #ff5722);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240,162,54,0.35); }

/* ── SECTION SHARED ── */
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(240,162,54,0.1);
  border: 1px solid rgba(240,162,54,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.gradient-text {
  background: linear-gradient(90deg, #3fa9f5, #00ff88, #f0a236);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── HERO ── */
.about-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 24px 80px;
  position: relative;
}
.about-hero-inner { max-width: 780px; }
.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.about-hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
}
.about-hero-scroll-indicator span {
  display: block;
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform: translateY(-4px); opacity: 0.3; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ── STORY SECTION ── */
.story-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}
.story-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}
.story-text strong { color: var(--text-light); }

/* Timeline */
.story-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  width: 2px;
  height: calc(100% - 16px);
  background: linear-gradient(to bottom, rgba(240,162,54,0.4), rgba(240,162,54,0.05));
}
.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(240,162,54,0.4);
  flex-shrink: 0;
  margin-top: 3px;
  transition: var(--transition-smooth);
}
.timeline-dot.active-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(240,162,54,0.5);
}
.timeline-content { flex: 1; }
.timeline-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.timeline-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}
.timeline-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── ACHIEVEMENTS ── */
.achievements-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
  background: radial-gradient(ellipse at 50% 0%, rgba(63,169,245,0.05) 0%, transparent 60%);
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.achievement-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.achievement-card:hover {
  border-color: rgba(240,162,54,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(240,162,54,0.1);
}
.achievement-icon { font-size: 32px; line-height: 1; }
.achievement-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.achievement-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ── TEAM ── */
.team-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.team-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 100px 32px 32px 32px; /* Increased to accommodate the 150px avatar */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  margin-top: 75px; /* Increased to prevent overlapping elements above */
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.team-card:hover {
  border-color: rgba(63, 169, 245, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}
.team-avatar {
  position: absolute;
  top: -75px; /* Floated halfway for the 150px avatar */
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  width: 150px; /* Increased size to 150px */
  height: 150px; /* Increased size to 150px */
  
  /* Creative fluid morphing shape */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.25), rgba(0, 255, 136, 0.15));
  border: 3px solid rgba(63, 169, 245, 0.35);
  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  
  /* Smooth transitions for shape morph, scale, rotation, and borders */
  transition: border-radius 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}
.team-card:hover .team-avatar {
  border-radius: 50%; /* Morphs into perfect circle */
  transform: translateX(-50%) scale(1.08) rotate(3deg); /* Interactive rotate & scale */
  border-color: #3fa9f5;
  box-shadow: 0 10px 25px rgba(63, 169, 245, 0.35);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) opacity(0.85); /* Aesthetic grayscale initial state */
  transition: filter 0.4s ease;
}
.team-card:hover .team-avatar img {
  filter: grayscale(0%) opacity(1); /* Color pops to life on card hover */
}
body.light-theme .team-avatar {
  border-color: rgba(12, 84, 148, 0.3);
}
body.light-theme .team-card:hover .team-avatar {
  border-color: #0c5494;
  box-shadow: 0 10px 25px rgba(12, 84, 148, 0.2);
}
.avatar-initials {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #3fa9f5, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.team-info { flex: 1; }
.team-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.team-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(240, 162, 54, 0.04);
  border: 1px solid rgba(240, 162, 54, 0.15);
  color: var(--accent-red, #f0a236);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.team-card:hover .team-tags span {
  background: rgba(240, 162, 54, 0.08);
  border-color: rgba(240, 162, 54, 0.3);
}

/* ── LEGAL ── */
.legal-section {
  padding: 100px 0 120px;
  border-top: 1px solid var(--glass-border);
  background: radial-gradient(ellipse at 50% 100%, rgba(255,87,34,0.04) 0%, transparent 60%);
}
.legal-tabs {
  display: flex;
  gap: 8px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover { background: var(--glass-bg-hover); color: var(--text-light); }
.tab-btn--active {
  background: linear-gradient(135deg, rgba(240,162,54,0.2), rgba(255,87,34,0.15));
  border-color: rgba(240,162,54,0.4);
  color: var(--text-light);
}
.legal-content {
  display: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  margin-top: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInPanel 0.35s ease forwards;
}
.legal-content--active { display: block; }
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.legal-updated {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.legal-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin: 28px 0 10px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-content a { color: #3fa9f5; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.risk-warning-box {
  background: rgba(255,68,68,0.08);
  border: 1px solid rgba(255,68,68,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: #ff8080;
  line-height: 1.6;
  margin: 20px 0 8px;
}





/* ── ANIMATIONS ── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25,0.8,0.25,1);
}
.anim-fade-up.revealed { opacity: 1; transform: translateY(0); }

/* ── LIGHT THEME ── */
body.light-theme {
  --bg-dark: #f0f2f5;
  --bg-darker: #e5e8ee;
  --glass-bg: rgba(0,0,0,0.04);
  --glass-border: rgba(0,0,0,0.1);
  --text-light: #0d1117;
  --text-muted: rgba(13,17,23,0.7);
  --text-dim: rgba(13,17,23,0.45);
  --nav-bg: rgba(240,242,245,0.85);
  --nav-border: rgba(0,0,0,0.1);
  --nav-link-hover: rgba(0,0,0,0.05);
  --logo-gradient-start: #007791;
  --logo-gradient-end: #d85c00;
  --logo-axis-color: rgba(13, 17, 23, 0.35);
}
body.light-theme .hero-bg-wrapper::after {
  background: linear-gradient(
    to bottom,
    rgba(240, 242, 245, 0.7) 0%,
    rgba(232, 236, 242, 0.65) 40%,
    rgba(240, 242, 245, 0.75) 100%
  );
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .nav-capsule { display: none; }
  .legal-content { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; }
  .team-card { flex-direction: column; }
}

/* ── GOALS & VISION SECTION ── */
.vision-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.04) 0%, transparent 60%);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.vision-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.vision-card:nth-child(1):hover { border-color: rgba(63,169,245,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(63,169,245,0.1); }
.vision-card:nth-child(2):hover { border-color: rgba(0,255,136,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(0,255,136,0.1); }
.vision-card:nth-child(3):hover { border-color: rgba(240,162,54,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(240,162,54,0.1); }
.vision-card:nth-child(4):hover { border-color: rgba(180,100,255,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(180,100,255,0.1); }

.vision-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vision-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(63,169,245,0.15);
  border: 1px solid rgba(63,169,245,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #3fa9f5;
}
.vision-icon-wrap svg { width: 22px; height: 22px; }
.vision-icon-wrap--green {
  background: rgba(0,255,136,0.12);
  border-color: rgba(0,255,136,0.25);
  color: #00ff88;
}
.vision-icon-wrap--orange {
  background: rgba(240,162,54,0.12);
  border-color: rgba(240,162,54,0.25);
  color: #f0a236;
}
.vision-icon-wrap--purple {
  background: rgba(180,100,255,0.12);
  border-color: rgba(180,100,255,0.25);
  color: #b464ff;
}

.vision-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.vision-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.vision-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.vision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
.vision-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.vision-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* Desk Creed / Rules of Discipline */
.desk-creed {
  margin-top: 70px;
  padding: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.desk-creed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.03) 0%, transparent 60%);
  pointer-events: none;
}
.creed-main-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 8px;
}
.creed-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.creed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.creed-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.creed-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #3fa9f5, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.creed-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.creed-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
}
.creed-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

body.light-theme .creed-main-title {
  color: #0d1117;
}
body.light-theme .creed-content h4 {
  color: #0d1117;
}
body.light-theme .creed-number {
  background: linear-gradient(135deg, #0c5494, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .desk-creed {
    padding: 32px 24px;
  }
  .creed-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

  .vision-pillars { grid-template-columns: 1fr; }
}

/* Typewriter Cursor animation for Risk Warning Statement */
.typewriter-text.typing::after {
  content: '|';
  animation: blinkCursor 0.75s step-end infinite;
  margin-left: 2px;
  color: #ff8080;
}
@keyframes blinkCursor {
  from, to { color: transparent }
  50% { color: currentColor }
}

/* Scrolling Live Forex Ticker Bar */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  padding: 8px 0;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 35s linear infinite;
  gap: 50px;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ticker-pair {
  color: var(--text-light);
}

.ticker-val {
  font-family: var(--font-body);
}

.ticker-val.up {
  color: #00b67a;
}

.ticker-val.down {
  color: var(--accent);
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Light Theme Overrides for Ticker */
body.light-theme .ticker-wrap {
  background: rgba(245, 247, 251, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .ticker-pair {
  color: #0d1117;
}

/* Balance odd team member counts by centering the last single card on desktops */
@media (min-width: 769px) {
  .team-grid .team-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}


