/* ═══════════════════════════════════════════
   NEUROVIA NEXUS — STYLE SYSTEM
   Aesthetic: Editorial dark · Syne display · Cinematic spacing
═══════════════════════════════════════════ */

:root {
  --black: #080808;
  --surface: #0f0f0f;
  --card: #141414;
  --card-hover: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.14);
  --white: #ffffff;
  --off-white: #e8e8e8;
  --muted: #666666;
  --dim: #333333;

  --accent: #4f7fff;
  --accent-glow: rgba(79,127,255,0.25);
  --accent-dim: rgba(79,127,255,0.12);
  --green: #22c55e;
  --orange: #f59e0b;
  --purple: #a855f7;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 72px;
  --max-w: 1160px;
  --radius: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--dim); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══ SELECTION ═══ */
::selection { background: var(--accent-dim); color: var(--white); }

/* ══════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

.cursor.hovering { width: 16px; height: 16px; background: var(--accent); }
.cursor-follower.hovering { width: 48px; height: 48px; border-color: var(--accent); opacity: 0.5; }

/* ══════════════════════════════════════
   CONTAINER
══════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ══════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--muted);
}

.section-head { margin-bottom: 64px; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 100px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.btn-primary.btn-large { font-size: 16px; padding: 16px 32px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 0;
  border-radius: 100px;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--white); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-bright);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.logo-mark {
  width: 28px; height: 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 9px 20px;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--off-white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:first-child { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.open span:last-child { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-cta {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 40px 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
  display: block;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.25);
}

.reveal-line {
  opacity: 0;
  transform: translateY(50px);
  animation: line-in 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.reveal-line.delay-1 { animation-delay: 0.12s; }
.reveal-line.delay-2 { animation-delay: 0.24s; }

@keyframes line-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 80px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px 0 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  vertical-align: super;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 40px;
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scroll-drop 2s infinite;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 20px) 20px 80px; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .stat { padding: 0; flex: none; width: calc(50% - 16px); }
  .stat-divider { display: none; }
  .scroll-hint { display: none; }
}

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--surface);
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 28px;
}

.marquee-inner .sep {
  color: var(--accent);
  padding: 0;
  font-size: 10px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-section {
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.service-card {
  background: var(--card);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 11px;
  color: var(--dim);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

.service-card:hover { background: var(--card-hover); }

.service-icon {
  font-size: 28px;
  margin-bottom: 4px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.card-arrow {
  font-size: 18px;
  color: var(--dim);
  transition: all 0.2s;
  margin-top: 8px;
  align-self: flex-start;
}

.service-card:hover .card-arrow {
  color: var(--white);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.how-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: 0.08em;
  min-width: 32px;
  padding-top: 4px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.how-cta { text-align: left; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section {
  padding: 120px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s, background 0.25s;
}

.tcard:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
}

.tcard-stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 2px;
}

.tcard p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--off-white);
  flex: 1;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--off-white);
  flex-shrink: 0;
}

.tcard-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
}

.tcard-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   TEAM / FOUNDER
══════════════════════════════════════ */
.founder-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.founder-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.72;
  margin-top: 24px;
  margin-bottom: 32px;
  max-width: 420px;
}

.person-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.person-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-avatar {
  background: linear-gradient(135deg, #1a1a3e, #2d2d60);
  border: 2px solid rgba(79,127,255,0.4);
}

.avatar-initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  z-index: 1;
  position: relative;
}

.avatar-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(79,127,255,0.4), transparent 60%);
}

.person-info strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.person-info span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.person-quote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.techs-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s;
}

.tech-card:hover { border-color: var(--border-bright); }

.tech-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--off-white);
  flex-shrink: 0;
}

.tech-card > div:nth-child(2) {
  flex: 1;
}

.tech-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: block;
  font-family: var(--font-display);
}

.tech-card span {
  font-size: 11px;
  color: var(--muted);
}

.tech-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 8px;
  border-radius: 100px;
}

@media (max-width: 900px) {
  .founder-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════
   FUTURE / WISHLIST
══════════════════════════════════════ */
.future-section { padding: 120px 0; }

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.future-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}

.future-card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
}

.future-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

[data-status="Research"] .future-status { background: rgba(79,127,255,0.1); color: var(--accent); border: 1px solid rgba(79,127,255,0.2); }
[data-status="Planning"] .future-status { background: rgba(168,85,247,0.1); color: var(--purple); border: 1px solid rgba(168,85,247,0.2); }
[data-status="In Development"] .future-status { background: rgba(245,158,11,0.1); color: var(--orange); border: 1px solid rgba(245,158,11,0.2); }
[data-status="Completed"] .future-status { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }

.future-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.future-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .future-grid { grid-template-columns: 1fr; }
}

/* Countdown */
.countdown-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.countdown-block::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 300px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transform: translateX(-50%);
}

.countdown-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.cd-unit span {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.cd-unit label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-sep {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1;
  padding-bottom: 20px;
}

.countdown-btn { margin-top: 0; }

/* ══════════════════════════════════════
   BLOG
══════════════════════════════════════ */
.blog-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
  cursor: pointer;
}

.blog-card:hover { border-color: var(--border-bright); }

.blog-img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.blog-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(79,127,255,0.2);
  color: #6b9fff;
  border: 1px solid rgba(79,127,255,0.3);
  padding: 4px 10px;
  border-radius: 100px;
}

.blog-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Small blog cards */
.blog-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card-small {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.blog-card-small:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
}

.blog-category-sm {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card-small h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.credential-card {
  cursor: pointer;
  border-radius: 20px;
  padding: 32px;
  background: #0d0d10;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
}

.cred-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #050506;
  margin-bottom: 24px;
}

.cred-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cred-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.credential-card:hover .cred-hover {
  opacity: 1;
}

.cred-hover span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.cred-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--white, #fff);
  margin: 0 0 6px;
}

.cred-role {
  display: block;
  font-size: 14px;
  color: var(--accent-blue, #5b8def);
  margin-bottom: 20px;
}

.cred-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.cred-meta {
  display: flex;
  gap: 40px;
}

.cred-stat strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--white, #fff);
}

.cred-stat small {
  display: block;
  font-size: 12px;
  color: var(--muted, #8a8a94);
  margin-top: 2px;
}

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.cta-section { padding: 80px 0 120px; }

.cta-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  overflow: hidden;
  background: var(--card);
}

.cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(79,127,255,0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 600px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(79,127,255,0.5), transparent);
  transform: translateX(-50%);
}

.cta-box .section-label { margin-bottom: 16px; }

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.cta-box h2 em { font-style: italic; color: var(--muted); }

.cta-box p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 400px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-box { padding: 48px 24px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.footer-socials a:hover {
  color: var(--white);
  border-color: var(--border-bright);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--dim);
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: var(--dim);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ══════════════════════════════════════
   TEAM SECTION (HOMEPAGE)
══════════════════════════════════════ */
.team-section-home {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Founder card */
.founder-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(79,127,255,0.5), transparent);
}

.founder-card:hover { border-color: rgba(79,127,255,0.3); }

.founder-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-initials {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a3e 0%, #2d2d70 50%, #1a1a3e 100%);
  border: 2px solid rgba(79,127,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.founder-glow-ring {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(79,127,255,0.15);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(79,127,255,0.25);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.founder-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.founder-bio {
  font-size: 16px;
  color: var(--off-white);
  line-height: 1.75;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 28px;
  max-width: 560px;
}

.founder-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.fstat span {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.fstat label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.founder-links { display: flex; gap: 16px; }

.founder-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.founder-link:hover { color: var(--white); }

/* Team label */
.team-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.team-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.team-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Team cards grid */
.home-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.home-team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.home-team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,127,255,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 20px;
}

.home-team-card:hover {
  border-color: rgba(79,127,255,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.home-team-card:hover::after { opacity: 1; }

.htc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.htc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.htc-stars {
  font-size: 11px;
  color: #f59e0b;
  letter-spacing: 1px;
  padding-top: 4px;
}

.home-team-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.home-team-card > span {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.home-team-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.htc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  flex-wrap: wrap;
}

.htc-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.htc-stat strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.htc-stat small {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.htc-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 8px;
  border-radius: 100px;
}

.team-cta { text-align: center; }

@media (max-width: 1100px) {
  .home-team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .founder-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .founder-initials { width: 120px; height: 120px; font-size: 36px; }
  .founder-glow-ring { width: 140px; height: 140px; }
  .home-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-team-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   VIDEO LIBRARY SECTION
══════════════════════════════════════ */
.video-section {
  padding: 120px 0;
  background: var(--black);
}

/* Filter buttons */
.video-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.vf-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.vf-btn:hover { border-color: var(--border-bright); color: var(--white); }
.vf-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Featured video */
.video-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px;
  padding-right: 32px;
  transition: border-color 0.3s;
}
.video-featured:hover { border-color: var(--border-bright); }

.vf-player {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.vf-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter 0.3s;
}
.vf-player:hover .vf-thumb { filter: brightness(0.8); }

.vf-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  padding-left: 4px;
}
.vf-player:hover .vf-play-btn {
  transform: scale(1.1);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.vf-duration {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.vf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.vf-playing-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: rgba(79,127,255,0.3);
  border: 1px solid rgba(79,127,255,0.5);
  padding: 6px 16px;
  border-radius: 100px;
}

.vf-info {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.vf-cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(79,127,255,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

.vf-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vf-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.vf-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vf-stars { font-size: 12px; color: #f59e0b; letter-spacing: 1px; }
.vf-sep { color: var(--dim); }

.vf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.vc-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vc-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.25s;
  padding-left: 3px;
}
.video-card:hover .vc-play { transform: scale(1.12); }

.vc-dur {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

.vc-cat {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.vc-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vc-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.vc-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.vc-stars-mini { font-size: 11px; color: #f59e0b; letter-spacing: 0.5px; }
.vc-rating-num { font-size: 12px; font-weight: 700; color: var(--white); }
.vc-views { font-size: 11px; color: var(--muted); }
.vc-tech { font-size: 11px; color: var(--muted); margin-left: auto; }

@media (max-width: 900px) {
  .video-featured { grid-template-columns: 1fr; padding: 8px; }
  .vf-info { padding: 16px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-filters { gap: 6px; }
}
