/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */

:root {
  --bg: #07111d;
  --bg-2: #0c1727;
  --surface: rgba(255,255,255,0.05);
  --surface-2: rgba(255,255,255,0.08);
  --surface-3: rgba(255,255,255,0.024);
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.16);
  --text: #eef3fb;
  --muted: #9aa8c2;
  --dim: #5b6784;

  --accent: #7c5ff5;
  --accent-2: #4f9ee8;
  --accent-3: #2dd4bf;
  --glow: rgba(124,95,245,0.22);
  --glow-2: rgba(79,158,232,0.18);

  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-inout: cubic-bezier(0.65,0,0.35,1);

  --scroll-progress: 0%;
}

.page-love {
  --accent: #a855f7;
  --accent-2: #e879f9;
  --accent-3: #f472b6;
  --glow: rgba(168,85,247,0.22);
  --glow-2: rgba(232,121,249,0.18);
}

.page-career {
  --accent: #38bdf8;
  --accent-2: #2dd4bf;
  --accent-3: #818cf8;
  --glow: rgba(56,189,248,0.22);
  --glow-2: rgba(45,212,191,0.18);
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

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

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

body {
  font-family: "Inter", "SF Pro Text", "SF Pro Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(circle at top center, rgba(102, 145, 255, 0.12), transparent 34%), linear-gradient(180deg, #0b1626 0%, #08111d 35%, #07111d 100%);
  color: var(--text);
  line-height: 1.68;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

img, svg {
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* =============================================================================
   3. NOISE OVERLAY
   ============================================================================= */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* =============================================================================
   4. TYPOGRAPHY
   ============================================================================= */

h1, h2, h3 {
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  letter-spacing: -0.034em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.95rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #eef0f8 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124,95,245,0.3);
  background: rgba(124,95,245,0.08);
  color: rgba(188,168,255,0.9);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.page-love .eyebrow {
  border-color: rgba(168,85,247,0.3);
  background: rgba(168,85,247,0.08);
  color: rgba(220,170,255,0.9);
}

.page-career .eyebrow {
  border-color: rgba(56,189,248,0.3);
  background: rgba(56,189,248,0.08);
  color: rgba(150,220,255,0.9);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* =============================================================================
   5. LAYOUT
   ============================================================================= */

.container {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.container-narrow {
  width: min(740px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.026));
  border-top: 1px solid rgba(255,255,255,0.045);
  border-bottom: 1px solid rgba(255,255,255,0.045);
}

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

.section-header h2 {
  margin-top: 12px;
}

.section-sub {
  margin-top: 14px;
  font-size: 1rem;
  max-width: 560px;
}

/* =============================================================================
   6. BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 0 0 var(--glow);
}

.btn-primary:hover {
  opacity: 0.96;
  box-shadow: 0 0 24px var(--glow), 0 10px 30px rgba(0,0,0,0.26);
}

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

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.22);
  background: var(--surface);
}

.btn-magnetic {
  will-change: transform;
}

/* =============================================================================
   7. GLASS CARD
   ============================================================================= */

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 32px var(--glow), 0 18px 44px rgba(0,0,0,0.26);
}

.card-inner {
  padding: 28px 32px;
}

.card-glow-violet::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================================================
   8. NAV
   ============================================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(8, 16, 31, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}

.nav-logo {
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #bfcae1;
  transition: color 0.24s ease, opacity 0.24s ease;
  position: relative;
}

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

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

.nav-links a.nav-active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--accent);
  margin-top: 2px;
}

.nav-cta {
  margin-left: 16px;
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 10px 20px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: rgba(5,5,10,0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 16px;
}

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

.nav-mobile-menu .btn {
  text-align: center;
}

/* =============================================================================
   9. HERO (shared)
   ============================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-sm {
  min-height: 52vh;
  padding-top: 68px;
}

.hero-xs {
  min-height: 42vh;
  padding-top: 68px;
}

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

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-canvas-wrap canvas {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  will-change: transform;
}

.orb-1 {
  width: 560px;
  height: 560px;
  top: -12%;
  left: -6%;
  background: radial-gradient(circle, rgba(141,120,255,0.16) 0%, transparent 72%);
  animation: orbDrift 20s ease-in-out infinite alternate;
}

.orb-2 {
  width: 460px;
  height: 460px;
  bottom: 8%;
  right: -4%;
  background: radial-gradient(circle, rgba(99,214,243,0.12) 0%, transparent 72%);
  animation: orbDrift 26s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 42%;
  left: 56%;
  background: radial-gradient(circle, rgba(105,227,210,0.08) 0%, transparent 74%);
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.page-love .orb-1 {
  background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
}
.page-love .orb-2 {
  background: radial-gradient(circle, rgba(232,121,249,0.14) 0%, transparent 70%);
}
.page-love .orb-3 {
  background: radial-gradient(circle, rgba(244,114,182,0.1) 0%, transparent 70%);
}

.page-career .orb-1 {
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 70%);
}
.page-career .orb-2 {
  background: radial-gradient(circle, rgba(45,212,191,0.14) 0%, transparent 70%);
}
.page-career .orb-3 {
  background: radial-gradient(circle, rgba(129,140,248,0.1) 0%, transparent 70%);
}

.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.032);
}

.ring-1 {
  width: 520px;
  height: 520px;
  animation: ringPulse 8s ease-in-out infinite;
}

.ring-2 {
  width: 760px;
  height: 760px;
  border-color: rgba(255,255,255,0.022);
  animation: ringPulse 12s ease-in-out infinite 2s;
}

.ring-3 {
  width: 980px;
  height: 980px;
  border-color: rgba(255,255,255,0.016);
  animation: ringPulse 16s ease-in-out infinite 4s;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 84% 64% at 50% 50%, black 34%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 84% 64% at 50% 50%, black 34%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 68px;
}

.hero-container {
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-sm .hero-content {
  padding-top: 0;
}

.hero-xs .hero-content {
  padding-top: 0;
}

.hero-h1 {
  margin-top: 18px;
  max-width: 860px;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.45vw, 1.14rem);
  max-width: 620px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}


/* =============================================================================
   10. SCROLL PROGRESS BAR
   ============================================================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: var(--scroll-progress, 0%);
  z-index: 200;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* =============================================================================
   11. COMPONENT: STEPS / HOW
   ============================================================================= */

.steps-wrapper {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 28px;
  left: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.2;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

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

.step-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
}

.step-number span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  flex-shrink: 0;
}

.step-body h3 {
  margin-bottom: 8px;
}

/* =============================================================================
   12. COMPONENT: USE-CASE CARDS
   ============================================================================= */

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.use-case-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.use-case-card h3 {
  font-size: 1.05rem;
}

.use-case-card p {
  font-size: 0.93rem;
  flex: 1;
}

.use-case-link {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  transition: gap 0.2s ease;
}

.use-case-link:hover {
  gap: 9px;
}

/* =============================================================================
   13. COMPONENT: SAMPLE OUTPUT CARDS
   ============================================================================= */

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sample-card {
  display: flex;
  flex-direction: column;
}

.sample-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sample-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sample-card-title {
  font-size: 1rem;
}

.confidence-badge {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-high {
  background: rgba(45,212,191,0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45,212,191,0.22);
}

.badge-mid {
  background: rgba(79,158,232,0.12);
  color: #4f9ee8;
  border: 1px solid rgba(79,158,232,0.22);
}

.badge-action {
  background: rgba(124,95,245,0.12);
  color: #a78bfa;
  border: 1px solid rgba(124,95,245,0.22);
}

.sample-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.sample-body {
  font-size: 0.92rem;
  line-height: 1.72;
  flex: 1;
}

.sample-note {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 16px;
  font-style: italic;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}

.tag-violet {
  border-color: rgba(124,95,245,0.25);
  color: rgba(167,139,250,0.9);
  background: rgba(124,95,245,0.08);
}

.tag-blue {
  border-color: rgba(79,158,232,0.25);
  color: rgba(125,185,238,0.9);
  background: rgba(79,158,232,0.08);
}

.tag-teal {
  border-color: rgba(45,212,191,0.25);
  color: rgba(94,230,215,0.9);
  background: rgba(45,212,191,0.08);
}

.tag-dim {
  border-color: var(--border);
  color: var(--muted);
  background: var(--surface);
}

/* =============================================================================
   14. COMPONENT: FAQ ACCORDION
   ============================================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--text);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.faq-icon::before {
  width: 8px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 8px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  border-color: var(--accent);
  background: rgba(124,95,245,0.1);
}

.faq-trigger[aria-expanded="true"] .faq-icon::before {
  background: var(--accent);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-body.open {
  max-height: 400px;
}

.faq-content {
  padding-bottom: 22px;
}

.faq-content p {
  font-size: 0.92rem;
  line-height: 1.82;
}

/* =============================================================================
   15. COMPONENT: CTA SECTION
   ============================================================================= */

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb-cta-1 {
  width: 500px;
  height: 500px;
  top: -20%;
  left: -5%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  filter: blur(60px);
}

.orb-cta-2 {
  width: 400px;
  height: 400px;
  bottom: -20%;
  right: -5%;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  filter: blur(60px);
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-panel {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 48px;
}

.cta-inner h2 {
  margin: 0;
}

.cta-sub {
  font-size: 0.95rem;
  max-width: 380px;
  text-align: center;
}

/* =============================================================================
   16. HOME-SPECIFIC
   ============================================================================= */

.page-home .hero {
  min-height: 100vh;
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.what-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.what-text p {
  font-size: 0.95rem;
  line-height: 1.78;
}

.what-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-title {
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.card-title-muted {
  color: var(--dim);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.card-list-muted li::before {
  background: var(--dim);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card .card-inner {
  padding: 24px 28px;
}

.why-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}

.why-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.why-body {
  font-size: 0.875rem;
  line-height: 1.68;
}

/* =============================================================================
   17. LOVE-SPECIFIC
   ============================================================================= */

.page-love .section-label {
  color: var(--accent);
}

.page-love .section-label::before {
  background: var(--accent);
}

.love-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.love-feature-card .card-inner {
  padding: 28px 28px;
}

.love-feature-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.love-feature-card p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* =============================================================================
   18. CAREER-SPECIFIC
   ============================================================================= */

.page-career .section-label {
  color: var(--accent);
}

.page-career .section-label::before {
  background: var(--accent);
}

.career-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.career-feature-card .card-inner {
  padding: 28px 28px;
}

.career-feature-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.career-feature-card p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* =============================================================================
   19. HOW IT WORKS PAGE — STAGE FLOW
   ============================================================================= */

.stage-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stage-connector {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.6s ease, height 0.8s var(--ease-out);
}

.stage-connector.visible {
  opacity: 0.3;
}

.stage-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stage-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stage-card:nth-child(1) { transition-delay: 0.05s; }
.stage-card:nth-child(3) { transition-delay: 0.15s; }
.stage-card:nth-child(5) { transition-delay: 0.25s; }
.stage-card:nth-child(7) { transition-delay: 0.35s; }

.stage-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 4px;
}

.stage-num-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.stage-body {
  padding: 8px 0 32px;
}

.stage-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.stage-body p {
  font-size: 0.92rem;
  line-height: 1.78;
}

.submit-context-card {
  margin-top: 8px;
}

.submit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.submit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}

.submit-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
  opacity: 0.7;
}

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

/* =============================================================================
   20. ABOUT PAGE
   ============================================================================= */

.about-model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-model-card .card-inner {
  padding: 32px;
}

.about-model-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.about-model-card p {
  font-size: 0.93rem;
  line-height: 1.82;
}

.about-not-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}

.about-not-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.about-not-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
}

.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 680px;
}

.philosophy-text p {
  font-size: 0.95rem;
  line-height: 1.82;
}

/* =============================================================================
   21. BOOK PAGE
   ============================================================================= */

.book-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.book-card {
  display: flex;
  flex-direction: column;
}

.book-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 32px;
}

.book-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.book-card-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.book-card-desc {
  font-size: 0.93rem;
  line-height: 1.72;
  flex: 1;
}

.book-card-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-card-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.book-card-delivery {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-card-delivery::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.book-card .btn {
  margin-top: 20px;
  width: 100%;
}

.book-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.book-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-step-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-step h3 {
  font-size: 1rem;
}

.book-step p {
  font-size: 0.88rem;
  line-height: 1.68;
}

.book-disclaimer-card {
  max-width: 640px;
  margin: 0 auto;
}

.book-disclaimer-card .card-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 28px;
}

.book-disclaimer-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(124,95,245,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.book-disclaimer-text p {
  font-size: 0.85rem;
  line-height: 1.68;
}

.book-disclaimer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.book-contact p {
  font-size: 0.95rem;
}

/* =============================================================================
   22. LEGAL PAGES
   ============================================================================= */

.legal-page main {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-main {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-main h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}

.legal-main p {
  font-size: 0.92rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.legal-main ul {
  margin-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}

.legal-main ul li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-main a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================================================
   23. FOOTER
   ============================================================================= */

.site-footer {
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-descriptor {
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: flex-start;
}

.footer-nav-primary a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer-nav-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-nav-legal a {
  font-size: 0.8rem;
  color: var(--dim);
  transition: color 0.2s ease;
}

.footer-nav-legal a:hover {
  color: var(--muted);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--dim);
}

/* =============================================================================
   24. SCROLL REVEAL
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible,
.reveal[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

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

/* =============================================================================
   25. KEYFRAME ANIMATIONS
   ============================================================================= */

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.04); }
  66%  { transform: translate(-20px, 25px) scale(0.97); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: 0.5; }
}

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

/* =============================================================================
   26. RESPONSIVE
   ============================================================================= */

@media (max-width: 960px) {
  .section { padding: 78px 0; }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu {
    display: none;
  }

  .nav-mobile-menu.open {
    display: flex;
  }

  .what-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .use-cases-grid,
  .why-grid,
  .love-features-grid,
  .career-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-model-grid {
    grid-template-columns: 1fr;
  }

  .book-options {
    grid-template-columns: 1fr;
  }

  .book-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav-legal {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .hero-h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .use-cases-grid,
  .why-grid,
  .love-features-grid,
  .career-features-grid {
    grid-template-columns: 1fr;
  }

  .stage-card {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .stage-num-circle {
    width: 44px;
    height: 44px;
    font-size: 0.78rem;
  }

  .cta-inner {
    padding: 40px 28px;
  }

  .steps-line {
    display: none;
  }

  .ring-2,
  .ring-3 {
    display: none;
  }

  .orb-3 {
    display: none;
  }
}

/* =============================================================================
   27. REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    animation: none;
  }

  .ring-1,
  .ring-2,
  .ring-3 {
    animation: none;
  }
}


.page-home {
  --accent: #9a78ff;
  --accent-2: #69d6f2;
  --accent-3: #7fe5d6;
  --glow: rgba(154,120,255,0.18);
  --glow-2: rgba(105,214,242,0.16);
}

.page-home .hero-home .hero-container {
  max-width: 780px;
}

.page-home .hero-sub {
  max-width: 660px;
  color: #b4c1d7;
}

.use-case-card h3,
.why-title,
.sample-card-title,
.step-body h3,
.stage-body h3,
.book-step h3,
.book-card-title {
  color: var(--text);
}

.use-case-card p,
.why-body,
.sample-body,
.sample-note,
.step-body p,
.stage-body p,
.book-card-desc,
.book-step p,
.cta-sub {
  color: #a7b4cc;
}

.hero-canvas-wrap canvas {
  opacity: 0.9;
}

.btn,
.nav-links a,
.footer-nav-primary a,
.footer-nav-legal a,
.use-case-link {
  transition: transform 0.32s var(--ease-out), opacity 0.24s ease, color 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.use-case-link:hover,
.footer-nav-primary a:hover,
.footer-nav-legal a:hover {
  transform: translateY(-1px);
}

.glass-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.page-home .hero-home .section-label,
.page-home .hero-home .nav-logo {
  text-shadow: 0 0 18px rgba(154,120,255,0.12);
}


/* =============================================================================
   HOME UNIFIED FIELD
   ============================================================================= */

.page-home .hero-canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.page-home .hero-canvas-wrap canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home main,
.page-home .site-nav,
.page-home .site-footer {
  position: relative;
  z-index: 1;
}

.page-home .hero,
.page-home .section,
.page-home .section-alt,
.page-home .cta-section,
.page-home .site-footer {
  background: transparent;
}

.page-home .section-alt {
  border-top: none;
  border-bottom: none;
}

.page-home .hero-home {
  overflow: visible;
}

.page-home .hero-bg,
.page-home .hero-rings,
.page-home .hero-grid-overlay,
.page-home .cta-bg {
  display: none;
}

.page-home .hero-canvas-wrap,
.page-home .hero-canvas-wrap canvas {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

@media (max-width: 960px) {
  .section { padding: 78px 0; }

  .page-home .hero-canvas-wrap,
  .page-home .hero-canvas-wrap canvas {
    transform: none !important;
    filter: none !important;
  }

  .page-home .hero-bg,
  .page-home .hero-rings,
  .page-home .hero-grid-overlay,
  .page-home .cta-bg {
    display: none !important;
  }
}
