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

:root {
  --bg: #08080D;
  --bg-subtle: #0E0E15;
  --surface: #15151E;
  --surface-hover: #1C1C28;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #ECECF0;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B82;
  --primary: #6C3CE1;
  --accent: #00D4AA;
  --accent-warm: #FFD166;
  --gradient: linear-gradient(135deg, #6C3CE1 0%, #4F6AF0 50%, #00D4AA 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(108, 60, 225, 0.12) 0%, rgba(0, 212, 170, 0.06) 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

img, svg {
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === Gradient Text === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(8, 8, 13, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(108, 60, 225, 0.15) 0%,
    rgba(79, 106, 240, 0.08) 30%,
    rgba(0, 212, 170, 0.04) 60%,
    transparent 80%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

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

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

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

.label-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 20px;
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-text em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.highlight {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.highlight:first-child {
  padding-top: 0;
}

.highlight:last-child {
  border-bottom: none;
}

.highlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.highlight-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* === Divider === */
.divider {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.divider-row span {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

/* === Cards === */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card {
  background: var(--surface);
  padding: 44px;
  position: relative;
}

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

.card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-line {
  margin-top: 28px;
  height: 2px;
  width: 40px;
  background: var(--gradient);
  border-radius: 2px;
}

/* === Principles === */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.principle {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
}

.principle:hover {
  border-color: var(--border-hover);
}

.principle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.principle-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.principle-accent {
  width: 24px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.principle h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* === CTA === */
.section-cta {
  padding: 140px 0;
}

.cta-box {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(108, 60, 225, 0.1) 0%,
    rgba(0, 212, 170, 0.04) 50%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.cta-text {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-hint {
  position: relative;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text-sm {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--accent);
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-sep {
  opacity: 0.3;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

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

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

  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .divider-row {
    gap: 20px;
  }
}

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

  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    border-left: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .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 {
    min-height: 90vh;
  }

  .hero-glow {
    width: 400px;
    height: 400px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-cta {
    padding: 100px 0;
  }

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

  .divider-row {
    justify-content: flex-start;
    gap: 16px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
