/* ═══════════════════════════════════════════════════════════════════════════
   Ravenote Landing Page — Premium Dark Theme
   Caffeine theme, showcase, grain texture, glow effects
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  /* Caffeine dark theme — 21st.dev */
  --bg:     #111111;
  --bg2:    #151515;
  --sf:     #191919;
  --sf2:    #222222;
  --sf3:    #2a2a2a;
  --bd:     rgba(255,224,194,0.06);
  --bd2:    rgba(255,224,194,0.10);
  --bd3:    rgba(255,224,194,0.16);
  --tx:     #eeeeee;
  --tx2:    #b4b4b4;
  --tx3:    rgba(255,224,194,0.28);
  --ac:     #ffe0c2;
  --ac-dim: rgba(255,224,194,0.06);
  --ac-bd:  rgba(255,224,194,0.14);
  --ac2:    #ffdfb5;
  --ok:     #22c55e;
  --err:    #e54d2e;
  --primary-fg: #081a1b;
  --secondary: #393028;
  --max-w:  1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ── Global Phosphor icon alignment ────────────────────────────────────── */
[class^="ph-"], [class*=" ph-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

/* ── Hero entrance ─────────────────────────────────────────────────────── */
.anim-in {
  opacity: 0;
  transform: translateY(20px);
  animation: anim-up 0.8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s);
}
@keyframes anim-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Gradient text ─────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #ffe0c2 0%, #ffdfb5 50%, #ffe6c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ac);
  margin-bottom: 16px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #644a40 0%, #7a5c4f 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 4px 16px rgba(100,74,64,0.15);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 8px 28px rgba(100,74,64,0.25); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

/* Shine sweep on hover */
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
.btn-shine:hover::after { left: 120%; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--tx2);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.03); color: var(--tx); box-shadow: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--tx2);
  box-shadow: none;
  width: 100%;
}
.btn-outline:hover { background: rgba(255,255,255,0.03); color: var(--tx); box-shadow: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAV (glass morphism)
   ═══════════════════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,15,0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
nav.nav-scrolled {
  background: rgba(8,8,15,0.92);
  border-bottom-color: var(--bd);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700; font-size: 16px; color: var(--tx); letter-spacing: -0.3px;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
}
.logo-mark.sm { width: 22px; height: 22px; border-radius: 5px; }
.logo-icon { width: 24px; height: 24px; flex-shrink: 0; }
.logo-text { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 18px; color: #c49572; }
.footer-wm .logo-icon { width: 20px; height: 20px; }
.footer-wm .logo-text { font-size: 15px; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px; color: var(--tx3);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--tx); }
.nav-links .btn { color: #fff; }
.nav-mobile {
  display: none; background: none; border: none;
  color: var(--tx2); cursor: pointer; padding: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  padding: 140px 24px 40px;
}
.hero-visual {
  position: relative; z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Background gradient wash */
.hero-gradient-wash {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,224,194,0.03) 0%, transparent 50%, rgba(229,77,46,0.02) 100%);
  filter: blur(60px);
  pointer-events: none;
}

/* Top/bottom fade overlays */
.hero-fade-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Elegant floating shapes (HeroGeometric pattern) ───────────────────── */
.hero-shapes {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.elegant-shape {
  position: absolute;
  width: var(--w);
  height: var(--h);
  opacity: 0;
  animation: shape-enter 2.4s cubic-bezier(.23,.86,.39,.96) forwards,
             shape-drift 12s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 2.4s);
}
.elegant-shape::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--grad), transparent);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255,224,194,0.08);
  box-shadow: 0 8px 32px rgba(255,224,194,0.06);
  transform: rotate(var(--r));
}
.elegant-shape::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,224,194,0.12), transparent 70%);
  transform: rotate(var(--r));
}

@keyframes shape-enter {
  from { opacity: 0; transform: translateY(-100px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shape-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(15px); }
}

/* Shape positions */
.shape-1 { left: -8%; top: 18%; }
.shape-2 { right: -3%; top: 72%; }
.shape-3 { left: 8%;  bottom: 8%; }
.shape-4 { right: 18%; top: 12%; }
.shape-5 { left: 22%;  top: 6%; }

/* Title line styling (gradient top to bottom like original) */
.hero-title-line {
  background: linear-gradient(to bottom, var(--tx), rgba(255,255,255,0.75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  background: var(--ac-dim);
  border: 1px solid var(--ac-bd);
  border-radius: 100px;
  font-size: 13px; font-weight: 600; color: #ffe0c2;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px; line-height: 1.7; color: var(--tx2);
  max-width: 520px; margin: 0 auto 40px;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 72px;
}

/* ── Browser mock ──────────────────────────────────────────────────────── */
/* hero-visual defined in hero section above */
.browser-frame {
  background: var(--bg2);
  border: 1px solid var(--bd2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 80px rgba(255,224,194,0.05);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--bd);
  background: rgba(255,255,255,0.01);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: rgba(239,68,68,0.5); }
.browser-dots span:nth-child(2) { background: rgba(245,158,11,0.5); }
.browser-dots span:nth-child(3) { background: rgba(34,197,94,0.5); }
.browser-url {
  display: flex; align-items: center; gap: 6px; flex: 1;
  padding: 5px 12px; background: rgba(255,255,255,0.03); border-radius: 6px;
  font-size: 11px; color: var(--tx3);
  font-family: 'SF Mono', 'Fira Code', monospace; overflow: hidden; white-space: nowrap;
}
.mock-udemy { display: flex; min-height: 310px; position: relative; }
.mock-video {
  flex: 1; background: linear-gradient(135deg, #0b0b18, #10102a);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.mock-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25);
}
.mock-timeline {
  position: absolute; bottom: 24px; left: 16px; right: 16px;
  height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px;
}
.mock-timeline-fill { width: 38%; height: 100%; background: var(--ac); border-radius: 2px; }
.mock-buddy {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.mock-pill {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ac-bd);
  display: flex; align-items: center; justify-content: center;
  color: #ffe0c2; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.mock-panel {
  width: 200px; background: var(--bg);
  border: 1px solid var(--bd2); border-radius: 10px;
  padding: 10px; box-shadow: 0 6px 28px rgba(0,0,0,0.4);
}
.mock-header { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.mock-avatar {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--ac-dim); border: 1px solid var(--ac-bd);
  display: flex; align-items: center; justify-content: center; color: #ffe0c2; flex-shrink: 0;
}
.mock-msg { font-size: 10px; font-weight: 600; color: var(--tx); }
.mock-sub { font-size: 8.5px; color: var(--tx3); margin-top: 1px; }
.mock-notes { margin-bottom: 8px; }
.mock-h { font-size: 9px; font-weight: 700; color: #ffe0c2; margin-bottom: 4px; }
.mock-h2 { font-size: 9px; font-weight: 700; color: #ffe0c2; margin: 7px 0 4px; }
.mock-text { font-size: 8.5px; color: var(--tx2); line-height: 1.45; margin-bottom: 4px; }
.mock-bullet {
  font-size: 8.5px; color: var(--tx2); line-height: 1.45;
  padding-left: 10px; margin-bottom: 2px; position: relative;
}
.mock-bullet::before {
  content: ''; position: absolute; left: 2px; top: 5px;
  width: 3px; height: 3px; border-radius: 50%; background: var(--tx3);
}
.mock-bullet strong { color: var(--tx); font-weight: 600; }
.mock-actions { display: flex; gap: 4px; }
.mock-btn {
  flex: 1; padding: 4px; text-align: center;
  border: 1px solid var(--bd); border-radius: 6px;
  font-size: 8.5px; font-weight: 500; color: var(--tx3);
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.mock-btn-save { background: var(--ac-dim); border-color: var(--ac-bd); color: #ffe0c2; }

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST MARQUEE
   ═══════════════════════════════════════════════════════════════════════════ */
.trust {
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}
.marquee-track { overflow: hidden; padding: 16px 0; }
.marquee-content {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 24px;
  font-size: 13px; font-weight: 500; color: var(--tx3);
}
.trust-item i { font-size: 18px; }
.trust-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bd2); flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES — SHOWCASE (21st.dev project-showcase pattern)
   ═══════════════════════════════════════════════════════════════════════════ */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px;
}
.features h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -1.5px; text-align: center; margin-bottom: 64px;
}

.showcase {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

/* Floating preview image */
.showcase-preview {
  pointer-events: none;
  position: absolute;
  z-index: 50;
  width: 280px; height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,224,194,0.08);
  opacity: 0;
  scale: 0.85;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), scale 0.3s cubic-bezier(.4,0,.2,1);
  background: var(--sf2);
}
.showcase-preview.visible {
  opacity: 1;
  scale: 1;
}
.showcase-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  scale: 1.05;
  transition: opacity 0.35s ease, scale 0.4s ease;
  display: flex; align-items: center; justify-content: center;
}
.showcase-img.active {
  opacity: 1;
  scale: 1;
}

/* Showcase preview mocks */
.sp-mock {
  width: 100%; height: 100%;
  padding: 16px;
  background: var(--sf);
  display: flex; flex-direction: column; justify-content: center;
}

/* Notes mock */
.sp-h { height: 7px; width: 35%; background: rgba(255,224,194,0.25); border-radius: 4px; margin-bottom: 10px; }
.sp-line { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; margin-bottom: 5px; }

/* Transcript mock */
.sp-cue {
  height: 5px; width: 80%; background: rgba(255,255,255,0.05);
  border-radius: 3px; margin-bottom: 6px;
}
.sp-cue.active { background: rgba(255,224,194,0.18); width: 90%; }
.sp-cue:nth-child(odd) { width: 70%; }

/* Quiz mock */
.sp-q { font-size: 11px; font-weight: 600; color: var(--tx); margin-bottom: 12px; }
.sp-choice {
  font-size: 10px; color: var(--tx3); padding: 7px 10px;
  border: 1px solid var(--bd); border-radius: 6px; margin-bottom: 5px;
}
.sp-choice.correct {
  border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.06); color: #4ade80;
}

/* Mastery bars mock */
.sp-mastery { gap: 8px; }
.sp-bar { display: flex; align-items: center; gap: 8px; }
.sp-bar span { font-size: 9px; color: var(--tx3); width: 52px; text-align: right; }
.sp-track { flex: 1; height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.sp-fill { height: 100%; border-radius: 3px; }

/* Screenshot mock */
.sp-screenshot { align-items: center; justify-content: center; }
.sp-frame {
  width: 85%; height: 70%; background: rgba(255,255,255,0.03);
  border: 1px solid var(--bd); border-radius: 8px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.sp-diagram {
  width: 60%; height: 50%; background: linear-gradient(135deg, rgba(255,224,194,0.08), rgba(255,223,181,0.04));
  border-radius: 6px; border: 1px dashed var(--bd2);
}
.sp-capture-icon {
  position: absolute; bottom: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sf2); border: 1px solid var(--ac-bd);
  display: flex; align-items: center; justify-content: center;
}

/* Connections mock */
.sp-connections { align-items: center; justify-content: center; gap: 0; }
.sp-node {
  font-size: 10px; font-weight: 600; color: var(--tx);
  padding: 6px 14px; background: var(--sf2); border: 1px solid var(--bd2);
  border-radius: 8px; text-align: center;
}
.sp-edge { width: 1px; height: 20px; background: var(--ac-bd); margin: 0 auto; }
.sp-link-label {
  font-size: 8px; color: var(--tx3); text-align: center;
  margin-top: 6px; font-style: italic;
}

/* Row */
.showcase-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-top: 1px solid var(--bd);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
.showcase-row:hover { z-index: 2; }
.showcase-border-end { border-top: 1px solid var(--bd); }

/* Hover background */
.showcase-row-bg {
  position: absolute;
  inset: -2px -12px;
  background: var(--sf);
  border-radius: 10px;
  opacity: 0;
  scale: 0.97;
  transition: opacity 0.3s, scale 0.3s;
}
.showcase-row:hover .showcase-row-bg {
  opacity: 1;
  scale: 1;
}

/* Content */
.showcase-info { flex: 1; min-width: 0; position: relative; }
.showcase-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.showcase-title span {
  font-size: 17px;
  font-weight: 600;
  color: var(--tx);
  letter-spacing: -0.3px;
  position: relative;
}
/* Animated underline */
.showcase-title span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--tx);
  transition: width 0.3s ease;
}
.showcase-row:hover .showcase-title span::after { width: 100%; }

/* Arrow slides in */
.showcase-arrow {
  font-size: 14px;
  color: var(--tx3);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.3s ease;
}
.showcase-row:hover .showcase-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.showcase-info p {
  font-size: 14px;
  color: var(--tx3);
  margin-top: 4px;
  line-height: 1.5;
  position: relative;
  transition: color 0.3s;
}
.showcase-row:hover .showcase-info p { color: var(--tx2); }

/* Tag */
.showcase-tag {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--tx3);
  white-space: nowrap;
  position: relative;
  padding-top: 3px;
  transition: color 0.3s;
}
.showcase-row:hover .showcase-tag { color: var(--tx2); }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.how {
  max-width: var(--max-w); margin: 0 auto; padding: 120px 24px;
}
.how h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -1.5px; text-align: center; margin-bottom: 64px;
}
.steps-container { max-width: 560px; margin: 0 auto; }
.step { display: flex; gap: 24px; padding: 28px 0; position: relative; }
.step:last-child .step-line { display: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ac-dim); border: 1px solid var(--ac-bd);
  display: flex; align-items: center; justify-content: center;
  color: #ffe0c2; flex-shrink: 0; position: relative; z-index: 1;
  line-height: 1;
}
.step-num i { line-height: 1; }
.step-line {
  position: absolute; left: 23px; top: 76px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--ac-bd), transparent);
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px; }
.step-content p { font-size: 14px; color: var(--tx2); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing {
  max-width: var(--max-w); margin: 0 auto; padding: 120px 24px;
}
.pricing h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -1.5px; text-align: center; margin-bottom: 16px;
}
.pricing-sub { font-size: 15px; color: var(--tx3); text-align: center; margin-bottom: 56px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; max-width: 940px; margin: 0 auto; align-items: stretch;
}
.price-card {
  background: var(--sf); border: 1px solid var(--bd);
  border-radius: 16px; padding: 32px 24px;
  position: relative; display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--bd2); transform: translateY(-2px); }

/* Glow card */
.price-card-glow {
  border-color: var(--ac-bd);
  background: linear-gradient(180deg, rgba(255,224,194,0.04) 0%, var(--sf) 40%);
  box-shadow: 0 0 60px rgba(255,224,194,0.06), 0 0 120px rgba(255,224,194,0.03);
}
.price-card-glow:hover {
  border-color: rgba(255,224,194,0.3);
  box-shadow: 0 0 60px rgba(255,224,194,0.1), 0 0 120px rgba(255,224,194,0.05);
}

.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, #644a40, #7a5c4f);
  color: #fff; font-size: 11px; font-weight: 700; border-radius: 100px;
  white-space: nowrap;
}
.price-tier { font-size: 14px; font-weight: 600; color: var(--tx2); margin-bottom: 8px; }
.price-amount { font-size: 52px; font-weight: 800; letter-spacing: -3px; line-height: 1; margin-bottom: 4px; }
.price-dollar { font-size: 24px; vertical-align: super; font-weight: 600; }
.price-mo { font-size: 16px; font-weight: 500; color: var(--tx3); letter-spacing: 0; }
.price-period { font-size: 13px; color: var(--tx3); margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  padding: 9px 0; font-size: 14px; color: var(--tx2);
  border-bottom: 1px solid var(--bd);
  display: flex; align-items: center; gap: 10px;
}
.price-features li:last-child { border-bottom: none; }
.check-icon { font-size: 16px; color: var(--ok); flex-shrink: 0; }
.price-feature-note {
  font-size: 12.5px; color: var(--tx3); font-style: italic;
  padding-top: 4px; border-bottom: none !important;
}
.price-card .btn { width: 100%; margin-top: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.cta { padding: 80px 24px 120px; }
.cta-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 64px 40px;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 24px;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,224,194,0.15), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(24px, 3.5vw, 34px); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2;
  position: relative;
}
.cta p { font-size: 15px; color: var(--tx2); margin-bottom: 28px; position: relative; }
.cta .btn { position: relative; }
.cta-trust { margin-top: 16px; font-size: 13px; color: var(--tx3); position: relative; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--bd); padding: 48px 24px 0; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; max-width: 240px; }
.footer-left p { font-size: 13px; color: var(--tx3); line-height: 1.5; }
.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--tx2); margin-bottom: 4px;
}
.footer-col a { font-size: 13px; color: var(--tx3); transition: color 0.2s; }
.footer-col a:hover { color: var(--tx); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 20px 0; border-top: 1px solid var(--bd);
  font-size: 12px; color: var(--tx3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .showcase-preview { display: none; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .price-card { padding: 28px 20px; }
  .footer-cols { gap: 40px; }
  .mock-panel { width: 220px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(8,8,15,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bd); padding: 20px 24px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; }
  .nav-mobile { display: block; }

  .hero { min-height: auto; }
  .hero-content { padding: 120px 20px 30px; }
  .hero-visual { padding: 0 16px 60px; }
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .elegant-shape { opacity: 0.5 !important; }
  .shape-1, .shape-2 { display: none; }

  .mock-panel { width: 190px; padding: 10px; }
  .mock-udemy { min-height: 220px; }
  .mock-play { width: 40px; height: 40px; }

  .showcase-title span { font-size: 15px; }
  .showcase-info p { font-size: 13px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .step { gap: 16px; padding: 20px 0; }
  .step-num { width: 40px; height: 40px; border-radius: 10px; }

  .cta-inner { padding: 40px 24px; }
  .cta .btn { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .footer-left { max-width: none; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  .browser-url { display: none; }
  .hero-content { padding: 100px 16px 20px; }
  .hero h1 { font-size: 26px; }
  .hero-shapes { display: none; }
  .features, .how, .pricing { padding: 60px 16px; }
  .cta { padding: 40px 16px; }
  .cta-inner { padding: 32px 20px; border-radius: 20px; }
  .mock-panel { width: 160px; padding: 8px; }
  .mock-buddy { bottom: 10px; right: 10px; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .showcase-row { padding: 16px 12px; }
  .price-card { padding: 24px 20px; }
}
