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

:root {
  --bg: #0F172A;
  --bg2: #0B1220;
  --surface: #162032;
  --border: #1E3A4A;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --cream: #FFFBF5;
  --text: #CBD5E1;
  --text-dim: #64748B;
  --text-heading: #F1F5F9;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }

/* === SECTION COMMON === */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 32px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(13,148,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 32px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-heading);
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--teal-light);
  font-weight: 400;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-meta {
  display: flex;
  gap: 40px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-heading);
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* === NEURAL SVG === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.neural-container {
  position: relative;
  width: 380px;
  height: 380px;
}
.neural-svg {
  width: 100%;
  height: 100%;
  animation: rotate-slow 40s linear infinite;
}
.neural-svg circle {
  transition: all 0.3s ease;
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.neural-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
}
.neural-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 20px;
}
.neural-tag.teal { color: var(--teal-light); border-color: rgba(13,148,136,0.3); }
.neural-tag.amber { color: var(--amber); border-color: rgba(245,158,11,0.3); }

/* === HOW IT WORKS === */
.howitworks { background: var(--bg2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 20px;
}
.step-icon { margin-bottom: 20px; }
.step-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* === SKILLS === */
.skills { background: var(--bg); }
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.skills-text .section-title { margin-bottom: 20px; }
.skills-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-light);
  background: rgba(13,148,136,0.12);
  border: 1px solid rgba(13,148,136,0.2);
  padding: 6px 14px;
  border-radius: 20px;
}
.skills-illustration { display: flex; justify-content: center; }
.skills-illustration svg { width: 100%; max-width: 340px; }

/* === PHILOSOPHY === */
.philosophy { background: var(--bg2); }
.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.philosophy-visual { display: flex; justify-content: center; }
.philosophy-visual svg { width: 100%; max-width: 300px; }
.philosophy-text .section-title { margin-bottom: 20px; }
.philosophy-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.philosophy-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.philosophy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.philosophy-list svg { flex-shrink: 0; margin-top: 2px; }

/* === PRICING === */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--amber);
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(13,148,136,0.04), var(--surface));
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-tier {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.pricing-features li.disabled { color: var(--text-dim); opacity: 0.5; }
.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.pricing-cta.free {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.pricing-cta.free:hover { border-color: var(--teal); color: var(--teal-light); }
.pricing-cta.pro {
  background: var(--amber);
  color: var(--bg);
}
.pricing-cta.pro:hover { background: var(--amber-light); }

/* === CLOSING === */
.closing {
  background: linear-gradient(135deg, rgba(13,148,136,0.12) 0%, rgba(245,158,11,0.06) 50%, transparent 100%);
  border-top: 1px solid var(--border);
}
.closing-content { text-align: center; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 28px;
}
.closing-vision {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); background: var(--bg2); }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-light); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px 80px; }
  .hero-visual { order: -1; }
  .neural-container { width: 280px; height: 280px; }
  .hero-headline { font-size: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .skills-layout, .philosophy-layout { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { gap: 20px; }
}

@media (max-width: 600px) {
  .hero-meta { gap: 24px; }
  .stat-num { font-size: 22px; }
  .section-inner { padding: 60px 20px; }
  .hero-content { padding: 80px 20px 60px; }
  .nav-links a { font-size: 13px; }
  .nav-inner { padding: 14px 20px; }
}
