/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-surface: #16161f;
  --color-border: #232330;
  --color-text: #e8e8ed;
  --color-text-muted: #9494a8;
  --color-accent: #6c63ff;
  --color-accent-light: #8b84ff;
  --color-accent-glow: rgba(108, 99, 255, 0.15);
  --color-white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --container: 1120px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 99, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(108, 99, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--color-accent-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--color-white);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 24px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: 24px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 64px;
}

/* ===== Split Layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-white);
}

.split-right p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.split-right p:last-child {
  margin-bottom: 0;
}

/* ===== Stats / Problem Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-4px);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-light);
}

.stat-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.stat-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ===== Personas ===== */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.persona {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.persona:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-4px);
}

.persona-role {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.persona p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ===== Programs Timeline ===== */
.programs-timeline {
  margin-top: 56px;
  position: relative;
  padding-left: 40px;
}

.programs-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
}

.program-item {
  position: relative;
  margin-bottom: 48px;
}

.program-item:last-child {
  margin-bottom: 0;
}

.program-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.program-item:last-child::before {
  background: var(--color-accent-light);
  box-shadow: 0 0 0 2px var(--color-accent-light), 0 0 12px var(--color-accent-glow);
}

.program-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.program-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.program-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ===== Founder ===== */
.founder-card {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 24px;
}

.founder-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 15px;
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.founder-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 24px;
}

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

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.2s;
}

.founder-link:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  background: var(--color-accent-glow);
}

.founder-link svg {
  width: 18px;
  height: 18px;
}

/* ===== Contact ===== */
.contact-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-block .section-label {
  margin-bottom: 20px;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-text-muted);
}

.footer-text {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .personas-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
  }

  .hero-scroll {
    display: none;
  }

  .founder-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
