/* =========================================
   INVISIBLE MENTOR — styles.css
   Design: Dark, editorial, refined minimal
   Fonts: Fraunces (display serif) + Epilogue (body)
   ========================================= */

/* ── CSS Variables ── */
:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --bg-card: #13131e;
  --bg-card-hover: #181827;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --text-primary: #f0f0fa;
  --text-secondary: #8888aa;
  --text-muted: #555570;

  --accent: #6b5ce7;
  --accent-light: #8b7ef5;
  --accent-glow: rgba(107,92,231,0.3);
  --accent-2: #e76b5c;
  --accent-3: #5ce7b4;

  --pro-border: rgba(107,92,231,0.5);
  --pro-glow: rgba(107,92,231,0.15);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --nav-h: 68px;
  --section-py: 100px;
  --container: 1160px;

  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 10px 22px;
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-nav {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
  padding: 8px 18px;
}
.btn-nav:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 10px 22px;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
  padding: 12px 24px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 18px 40px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lang-opt {
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 2px;
  text-decoration: none;
  transition: color 0.2s;
}
.lang-opt:hover { color: var(--text-primary); }
.lang-opt.lang-active {
  color: var(--accent-light);
}
.lang-sep {
  color: var(--border-hover);
  font-size: 11px;
  user-select: none;
}
.lang-switcher-mobile {
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(10,10,15,0.97);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text-secondary);
  padding: 10px 0;
  font-size: 15px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text-primary); }
.mobile-menu .btn-primary {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; left: -200px;
  animation: drift1 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent-2);
  bottom: -150px; right: -100px;
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0% { transform: translate(0,0); }
  100% { transform: translate(80px, 60px); }
}
@keyframes drift2 {
  0% { transform: translate(0,0); }
  100% { transform: translate(-60px, -80px); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}

/* ── HERO SPLIT LAYOUT ── */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
  padding: 0;
}
.hero-inner {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-right: 48px;
}
.hero-image-col {
  position: relative;
  height: 100%;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Gradient fade: left (blends into bg), top/bottom (feathers edge) */
.hero-image-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(10,10,15,0.55) 30%, rgba(10,10,15,0.05) 65%, transparent 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,92,231,0.12);
  border: 1px solid rgba(107,92,231,0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(46px, 5vw, 80px);
  font-weight: 900;
  font-style: normal;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.avatars {
  display: flex;
}
.av {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  flex-shrink: 0;
}
.av:first-child { margin-left: 0; }
.hero-social-proof span {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION HEADERS ── */
.section-label {
  display: inline-block;
  font-family: 'Epilogue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
}

/* ── EXPLAINER ── */
.explainer {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.explainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.explainer-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.user-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 16px 20px;
  width: 100%;
}
.node-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.node-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.node-want {
  font-size: 12px;
  color: var(--accent-light);
  margin-top: 2px;
}
.arrows-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  width: 100%;
}
.arrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.arrow-label { font-size: 11px; color: var(--text-muted); flex: 1; }
.arrow { font-size: 18px; color: var(--accent-light); }
.match-badge {
  background: rgba(107,92,231,0.15);
  border: 1px solid rgba(107,92,231,0.35);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 4px 0;
}
.explainer-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.explainer-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}
.explainer-text p:last-child { margin-bottom: 0; }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: var(--section-py) 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.step-card {
  background: var(--bg-card);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
}
.step-card:hover { background: var(--bg-card-hover); }
.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 28px; right: 28px;
  font-family: 'Epilogue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.step-icon {
  width: 48px; height: 48px;
  color: var(--accent-light);
  margin-bottom: 24px;
}
.step-icon svg { width: 100%; height: 100%; }
.step-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── FEATURES ── */
.features {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.25s;
  position: relative;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-large {
  grid-column: span 2;
}
.feature-accent {
  background: linear-gradient(135deg, rgba(107,92,231,0.1), rgba(107,92,231,0.04));
}
.feature-icon-wrap {
  width: 44px; height: 44px;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.feature-icon-wrap svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
  max-width: 420px;
}
.feature-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(107,92,231,0.12);
  border: 1px solid rgba(107,92,231,0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ── PRODUCT PREVIEW ── */
.preview {
  padding: var(--section-py) 0;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}
.preview-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.preview-card:hover { border-color: var(--border-hover); }
.preview-label {
  font-family: 'Epilogue', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 16px 20px 0;
}
.preview-desc {
  padding: 12px 20px 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Screen Mockups */
.preview-screen {
  margin: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.browse-screen, .profile-screen, .chat-screen {
  padding: 0;
}
.screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.screen-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
}
.browse-ui { padding: 16px; }
.browse-search { margin-bottom: 14px; }
.search-bar {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.search-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.mentor-cards { display: flex; flex-direction: column; gap: 8px; }
.mentor-card-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color 0.2s;
}
.mentor-card-mini.active-card { border-color: var(--accent); }
.mc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}
.mc-info { flex: 1; min-width: 0; }
.mc-name {
  font-size: 12px;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.mc-skills { display: flex; gap: 4px; flex-wrap: wrap; }
.mc-skills span {
  font-size: 10px;
  background: rgba(107,92,231,0.12);
  color: var(--accent-light);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.mc-match {
  font-size: 10px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  color: var(--accent-light);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
/* Profile Screen */
.profile-ui { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.profile-av {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.profile-alias {
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.profile-sections { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.profile-section-block { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.psb-label { font-size: 10px; color: var(--text-muted); font-family: 'Epilogue', sans-serif; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 6px; }
.psb-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.psb-tags span { font-size: 11px; background: rgba(107,92,231,0.12); color: var(--accent-light); padding: 2px 8px; border-radius: var(--radius-pill); }
.profile-refs { font-size: 12px; color: var(--text-muted); }
/* Chat Screen */
.chat-ui { display: flex; flex-direction: column; }
.chat-header-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.chat-av { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 10px; color: #fff; flex-shrink: 0; }
.chat-name { font-size: 13px; font-weight: 600; font-family: 'Epilogue', sans-serif; color: var(--text-primary); flex: 1; }
.chat-call-btn { font-size: 14px; cursor: pointer; }
.chat-messages { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.msg {
  max-width: 80%;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
}
.msg-them { background: var(--bg-2); border: 1px solid var(--border); color: var(--text-secondary); align-self: flex-start; border-radius: 2px 10px 10px 10px; }
.msg-me { background: var(--accent); color: #fff; align-self: flex-end; border-radius: 10px 2px 10px 10px; }

/* ── PRICING ── */
.pricing {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  border-color: var(--border-hover);
}
.pricing-card-pro {
  border-color: var(--pro-border);
  background: linear-gradient(160deg, rgba(107,92,231,0.07) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 60px var(--pro-glow);
}
.pricing-card-pro:hover {
  border-color: var(--accent);
  box-shadow: 0 0 80px var(--pro-glow);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan-header { margin-bottom: 28px; }
.plan-name {
  font-family: 'Epilogue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 54px;
  font-weight: 900;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}
.price-currency {
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 12px;
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}
.plan-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.feat-yes { color: var(--text-primary); }
.feat-yes::before {
  content: '✓';
  color: var(--accent-3);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}
.feat-no { color: var(--text-muted); }
.feat-no::before {
  content: '–';
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}
.plan-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 36px;
}
.pricing-footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Pricing Ironic Disclaimers ── */
.pricing-disclaimers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
.disclaimer-card {
  background: var(--bg);
  padding: 28px 28px 28px 24px;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.disclaimer-card:hover {
  background: var(--bg-card);
  border-left-color: var(--accent);
}
.disclaimer-eyebrow {
  font-family: 'Epilogue', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
  opacity: 0.7;
}
.disclaimer-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}
.disclaimer-card p em {
  font-style: italic;
  color: var(--text-secondary);
}
.disclaimer-card p a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-hover);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.disclaimer-card p a:hover {
  color: var(--text-secondary);
}

/* ── FINAL CTA ── */
.final-cta {
  padding: var(--section-py) 0;
}
.cta-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.cta-orb-1 { width: 400px; height: 400px; background: var(--accent); top: -200px; left: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--accent-2); bottom: -150px; right: -50px; }
.cta-content { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cta-content p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
}
.cta-fine {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .explainer-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-stack { display: grid; grid-template-columns: 1fr 1fr; }
  .pricing-disclaimers { grid-template-columns: 1fr; }

  /* Hero: tighter on tablet */
  .hero-split { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-inner { padding-right: 24px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-links, .btn-nav, .lang-switcher { display: none; }
  .hamburger { display: flex; }

  /* Hero: stack vertically — text top, image below */
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: unset;
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 32px;
    padding-right: 0;
    order: 1;
  }
  .hero-image-col {
    order: 2;
    position: relative;
    height: 260px;
    min-height: unset;
    width: 100%;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }
  .hero-image-wrap { position: absolute; inset: 0; }
  .hero-img { object-position: center 30%; }
  /* On mobile, fade from top (text above) and sides only */
  .hero-image-fade {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%),
      linear-gradient(to right, var(--bg) 0%, transparent 10%, transparent 90%, var(--bg) 100%);
  }

  .hero-cta { flex-direction: column; align-items: flex-start; }

  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }

  .preview-stack { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-disclaimers { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .explainer-card { padding: 28px; }
  .explainer-diagram { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 38px; }
  .btn-xl { padding: 16px 28px; font-size: 15px; }
  .hero-image-col { height: 200px; }
}
