/* ═══════════════════════════════════════════════════════════════
   HUỲNH ANH THUẬN — Design System v3 · Dark Premium
   Palette : Dark Forest Green + Neon Green Primary
   Typo    : Plus Jakarta Sans (headings) + Inter (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── design tokens ──────────────────────────────────────────── */
:root {
  /* primary neon green — energy, growth, forward motion */
  --primary: #0DF259;
  --primary-dark: #0AC74A;
  --primary-dim: #0DF259CC;
  --primary-soft: rgba(13, 242, 89, 0.10);
  --primary-glow: rgba(13, 242, 89, 0.30);

  /* accent emerald — supporting, calm, trustworthy */
  --accent: #90CBA4;
  --accent-soft: rgba(144, 203, 164, 0.12);

  /* surfaces & backgrounds */
  --bg: #0F1A14;
  --bg-subtle: #142A1E;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-raised: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(13, 242, 89, 0.25);

  /* text */
  --text: #E8F5EC;
  --text-strong: #FFFFFF;
  --muted: #90CBA4;
  --muted-light: #5A8A6A;

  /* functional */
  --success: #0DF259;
  --destructive: #FF6B6B;

  /* RIASEC colors */
  --color-realistic: #A3E635;
  --color-investigative: #F87171;
  --color-artistic: #C084FC;
  --color-social: #38BDF8;
  --color-enterprising: #FB923C;
  --color-conventional: #FACC15;

  /* elevation & shape */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 8px 32px rgba(13, 242, 89, 0.15);
  --shadow-glow-lg: 0 12px 48px rgba(13, 242, 89, 0.25);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shell: 1140px;

  /* motion */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 260ms;
}

/* ── reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

/* ── grain texture overlay ─────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── ambient orbs ───────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: orbPulse 20s ease-in-out infinite alternate;
}
.orb-one {
  width: 500px; height: 500px;
  top: -120px; left: -150px;
  background: radial-gradient(circle, rgba(13, 242, 89, 0.35), transparent 70%);
}
.orb-two {
  width: 400px; height: 400px;
  top: 30%; right: -100px;
  background: radial-gradient(circle, rgba(144, 203, 164, 0.2), transparent 70%);
  animation-delay: -7s;
}
.orb-three {
  width: 350px; height: 350px;
  bottom: 5%; left: 20%;
  background: radial-gradient(circle, rgba(13, 242, 89, 0.15), transparent 70%);
  animation-delay: -14s;
}
@keyframes orbPulse {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -25px) scale(1.12); }
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 10px 10px 10px 20px;
  background: rgba(15, 26, 20, 0.75);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease-out);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--bg);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration);
}
.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow-glow-lg);
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 0.92rem; font-weight: 700; color: var(--text-strong); }
.brand-copy span { color: var(--muted); font-size: 0.78rem; font-weight: 500; }

/* ── desktop nav ────────────────────────────────────────────── */
.nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav a {
  padding: 8px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 200ms, background 200ms;
}
.nav a:hover, .nav a:focus-visible {
  color: var(--text-strong);
  background: var(--primary-soft);
}
.nav-cta {
  margin-left: 4px;
  padding: 10px 20px !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-glow);
  transition: transform 200ms var(--ease-spring), box-shadow 200ms !important;
}
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-glow-lg) !important;
}

/* ── mobile menu toggle ─────────────────────────────────────── */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0; border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  color: var(--text);
  transition: background 180ms;
}
.menu-toggle:hover { background: var(--primary-soft); }
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── mobile nav overlay ─────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 100px 24px 40px;
  background: rgba(15, 26, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav a {
  display: block;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: background 180ms;
}
.mobile-nav a:hover { background: var(--primary-soft); }
.mobile-nav .nav-cta-mobile {
  margin-top: 16px;
  text-align: center;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--bg) !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: start;
  padding: 72px 0 32px;
}
/* Hero orb backgrounds */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  width: 400px; height: 400px;
  background: rgba(13, 242, 89, 0.06);
  top: -80px; right: 5%;
}
.hero::after {
  width: 300px; height: 300px;
  background: rgba(56, 189, 248, 0.04);
  bottom: 0; left: -5%;
}
/* Hero entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: heroFadeUp 0.7s cubic-bezier(.4,0,.2,1) both; }
.hero-panel { animation: heroFadeUp 0.7s 0.15s cubic-bezier(.4,0,.2,1) both; }
.hero-compact { padding-bottom: 12px; }

.hero-copy h1 {
  max-width: 14ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
/* gradient text shimmer */
.hero-copy h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShimmer 4s ease-in-out infinite;
}
@keyframes gradientShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}
.hero-text,
.booking-note {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── buttons ────────────────────────────────────────────────── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 240ms var(--ease-spring),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }

.button-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-glow);
}
.button-primary:hover {
  box-shadow: var(--shadow-glow-lg), 0 0 0 4px var(--primary-glow);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}
.button-secondary:hover {
  border-color: var(--surface-border-hover);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background: var(--surface-raised);
}

/* ── trust strip ────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.trust-strip span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 200ms, transform 200ms var(--ease-spring), box-shadow 200ms;
}
.trust-strip span:hover {
  border-color: var(--surface-border-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ── Segment CTA strip ─────────────────────────────────────── */
.segment-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.segment-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(13, 242, 89, 0.04);
  border: 1px solid rgba(13, 242, 89, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.segment-pill:hover {
  background: rgba(13, 242, 89, 0.1);
  border-color: rgba(13, 242, 89, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 242, 89, 0.1);
}
/* ═══════════════════════════════════════════════════════════════
   CARDS — glassmorphism dark
   ═══════════════════════════════════════════════════════════════ */
.card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition:
    transform 320ms var(--ease-spring),
    box-shadow 320ms var(--ease-out),
    border-color var(--duration),
    background var(--duration);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--surface-border-hover);
  background: var(--bg-card-hover);
}

.hero-panel { padding: 28px; }
.hero-panel:hover { transform: none; }

.panel-label {
  margin-bottom: 20px;
  display: inline-flex;
  padding: 5px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}
.panel-stack { display: grid; gap: 12px; }
.panel-stack article {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 200ms, background 200ms;
}
.panel-stack article:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--surface-border);
}
.panel-stack strong { display: block; margin-bottom: 6px; font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
.panel-stack p { color: var(--muted); line-height: 1.7; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: 56px 0;
}
.section-head { margin-bottom: 32px; }
.section-head h2 {
  max-width: 22ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-strong);
}

/* ── grids ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pathway-card, .action-card, .timeline-card,
.tool-metrics article, .faq-card { padding: 28px; }

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}
.pathway-card h3, .action-card h3, .timeline-card h3 {
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}
.pathway-card p, .action-card p, .timeline-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.92rem;
}
.pathway-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 200ms var(--ease-spring), color 200ms;
}
.pathway-card a:hover { gap: 10px; }

/* ── timeline ───────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  transition: background var(--duration), color var(--duration), transform var(--duration) var(--ease-spring);
}
.timeline-card:hover span {
  background: var(--primary);
  color: var(--bg);
  transform: scale(1.08);
}

/* ── tool highlight ─────────────────────────────────────────── */
.tool-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}
.tool-copy { padding: 24px 0; }
.tool-copy h2 {
  max-width: 16ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-strong);
}
.tool-copy p { margin-top: 16px; color: var(--muted); line-height: 1.8; }

.tool-metrics {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(160deg, #0A120E 0%, #142A1E 50%, #1A3D28 100%);
  border: 1px solid var(--surface-border);
  color: var(--text);
  border-radius: var(--radius-xl);
}
.tool-metrics article {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--duration), border-color var(--duration);
}
.tool-metrics article:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--surface-border-hover);
}
.tool-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}
.tool-metrics span { color: var(--muted); font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list { display: grid; gap: 12px; }
.faq-card { overflow: hidden; }
.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-strong);
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 8px;
  transition: transform 300ms var(--ease-spring), background 200ms, color 200ms;
}
.faq-card[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--bg);
}
.faq-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.94rem;
  animation: faqSlide 300ms var(--ease-out);
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  margin: 24px 0 60px;
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cta-band h2 {
  max-width: 18ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-strong);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--surface-border);
}
.footer-copy strong { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.95rem; color: var(--text-strong); }
.footer-copy p { color: var(--muted); line-height: 1.7; max-width: 36ch; font-size: 0.9rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 200ms var(--ease-out);
}
.footer-links a:hover {
  color: var(--primary);
  border-color: var(--surface-border-hover);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(3px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), filter 500ms var(--ease-out);
}
.reveal-children.is-visible > *:nth-child(1) { transition-delay:  80ms; opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-children.is-visible > *:nth-child(2) { transition-delay: 180ms; opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-children.is-visible > *:nth-child(3) { transition-delay: 280ms; opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-children.is-visible > *:nth-child(4) { transition-delay: 380ms; opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-children.is-visible > *:nth-child(5) { transition-delay: 480ms; opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-children.is-visible > *:nth-child(6) { transition-delay: 580ms; opacity: 1; transform: translateY(0); filter: blur(0); }

/* hero entrance */
.hero-copy { animation: heroIn 800ms var(--ease-out) both; }
.hero-panel { animation: heroIn 800ms var(--ease-out) 220ms both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ═══════════════════════════════════════════════════════════════
   QUIZ / ASSESSMENT COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* quiz page layout */
.quiz-app {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* quiz intro */
.quiz-intro {
  text-align: center;
  padding: 60px 0 40px;
}
.quiz-intro .quiz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 24px;
}
.quiz-intro h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.15;
  margin-bottom: 16px;
}
.quiz-intro p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42ch;
  margin: 0 auto;
}

/* info list items */
.quiz-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 32px 0;
  text-align: left;
}
.quiz-info-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background 200ms;
}
.quiz-info-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.quiz-info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.5rem;
}
.quiz-info-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.quiz-info-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* quiz question screen */
.quiz-screen { display: none; }
.quiz-screen.active { display: block; }

/* progress bar */
.quiz-progress {
  padding: 20px 0;
}
.quiz-progress-info {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.quiz-progress-info span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.quiz-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
  transition: width 400ms var(--ease-out);
  box-shadow: 0 0 12px rgba(13, 242, 89, 0.3);
}

/* question card */
.quiz-question-card {
  margin-top: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  animation: questionIn 400ms var(--ease-out);
}
@keyframes questionIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz-question-card h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
}
.quiz-question-card .question-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}
.quiz-question-body {
  padding: 28px;
}

/* emoji answer buttons */
.quiz-answers {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 16px 16px 8px;
  gap: 8px;
}
.quiz-answer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: transform 200ms var(--ease-spring), background 200ms;
  color: var(--muted);
}
.quiz-answer-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.08);
}
.quiz-answer-btn.selected {
  background: var(--primary-soft);
  color: var(--primary);
  transform: scale(1.12);
}
.quiz-answer-btn .emoji {
  font-size: 2.4rem;
  line-height: 1;
}
.quiz-answer-btn .label {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* quiz navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 40px;
  gap: 16px;
}
.quiz-nav-back {
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 200ms, color 200ms;
}
.quiz-nav-back:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.quiz-nav-next {
  flex: 1;
  max-width: 320px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms;
  box-shadow: var(--shadow-glow);
}
.quiz-nav-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}
.quiz-nav-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── result screen ──────────────────────────────────────────── */
.quiz-result {
  padding: 40px 0 60px;
}
.quiz-result h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.quiz-result .result-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
.quiz-result .result-subtitle strong {
  color: var(--text-strong);
  font-weight: 700;
}

/* RIASEC chart */
.riasec-chart {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  margin-bottom: 32px;
}
.riasec-chart h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 20px;
}
.riasec-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}
.riasec-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.riasec-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.riasec-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 800ms var(--ease-out);
}
.riasec-bar-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.riasec-bar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.riasec-bar-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* personality groups (expandable) */
.personality-groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}
.personality-groups h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.personality-group {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  overflow: hidden;
}
.personality-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  transition: background 200ms;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  color: inherit;
}
.personality-group-header:hover {
  background: rgba(255, 255, 255, 0.03);
}
.personality-group-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
}
.personality-group-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
}
.personality-group-toggle {
  color: var(--muted);
  font-size: 1.2rem;
  transition: transform 300ms var(--ease-spring);
}
.personality-group.open .personality-group-toggle {
  transform: rotate(180deg);
}
.personality-group-body {
  display: none;
  padding: 0 16px 16px;
}
.personality-group.open .personality-group-body {
  display: block;
  animation: faqSlide 300ms var(--ease-out);
}
.personality-group-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* result action buttons */
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.result-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.result-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring), background 200ms;
}
.result-action-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-glow);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
}
.result-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}
.result-action-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.result-action-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9998;
  transition: width 60ms linear;
  box-shadow: 0 0 8px rgba(13, 242, 89, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.testimonial-section { overflow: hidden; }
.testimonial-carousel {
  position: relative;
  min-height: 220px;
}
.testimonial-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 500ms var(--ease-out), opacity 500ms var(--ease-out);
  opacity: 0;
  pointer-events: none;
}
.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
}
.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--primary);
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--text-strong); }
.testimonial-role { font-size: 0.84rem; color: var(--muted); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 240px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  cursor: pointer;
  transition: background 200ms, transform 200ms var(--ease-spring);
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(13, 242, 89, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pricing-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 320ms var(--ease-spring), box-shadow 320ms, border-color var(--duration);
  text-align: center;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--surface-border-hover);
}
.pricing-card.featured {
  border-color: var(--primary-dim);
  background: linear-gradient(160deg, rgba(13, 242, 89, 0.06) 0%, var(--bg-card) 60%);
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.pricing-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.pricing-duration {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.pricing-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   FORMSPREE FORM STYLES
   ═══════════════════════════════════════════════════════════════ */
.form-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.form-grid {
  display: grid;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
}
.form-group label .required {
  color: var(--destructive);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms, box-shadow 200ms;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2390CBA4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option {
  background: var(--bg);
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.6;
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}
.form-privacy-icon { font-size: 1.2rem; flex-shrink: 0; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  animation: successPop 500ms var(--ease-spring);
}
@keyframes successPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.form-success h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CONSULTATION PAYMENT FLOW
   ═══════════════════════════════════════════════════════════════ */
.payment-flow {
  display: grid;
  gap: 24px;
}
.payment-flow-head h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-strong);
}
.payment-flow-copy {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}
.payment-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 20px;
}
.payment-qr-panel,
.payment-info-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
}
.payment-qr-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}
.payment-qr-image {
  width: 100%;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 14px;
}
.payment-status-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--surface-border);
}
.payment-status-badge.is-paid {
  background: rgba(13, 242, 89, 0.14);
  color: var(--primary);
  border-color: rgba(13, 242, 89, 0.3);
}
.payment-status-badge.is-expired {
  background: rgba(255, 107, 107, 0.14);
  color: #FF9A9A;
  border-color: rgba(255, 107, 107, 0.28);
}
.payment-info-panel {
  display: grid;
  gap: 14px;
}
.payment-info-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.payment-info-row span {
  color: var(--muted);
  font-size: 0.88rem;
}
.payment-info-row strong {
  color: var(--text-strong);
  font-size: 0.96rem;
  word-break: break-word;
}
.payment-copy-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.payment-copy-btn:hover {
  border-color: var(--surface-border-hover);
  color: var(--primary);
}
.payment-note,
.payment-status-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  line-height: 1.7;
}
.payment-note {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  color: var(--muted);
  font-size: 0.88rem;
}
.payment-status-note {
  background: rgba(13, 242, 89, 0.06);
  border: 1px solid rgba(13, 242, 89, 0.16);
  color: var(--text);
  font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════════════════ */
.blog-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 320ms var(--ease-spring), box-shadow 320ms, border-color var(--duration);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--surface-border-hover);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted-light);
}
.blog-card-category {
  padding: 3px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  transition: gap 200ms var(--ease-spring);
}
.blog-card-link:hover { gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   ARTICLE LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 40px 0 16px;
}
.article-body h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-body li { margin-bottom: 8px; color: var(--muted); }
.article-body blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: rgba(13, 242, 89, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text);
}

/* article sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-cta {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(13, 242, 89, 0.08) 0%, var(--bg-card) 50%);
  border: 1px solid var(--surface-border);
}
.sidebar-cta h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* article breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted-light);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); transition: color 200ms; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--muted-light); }

/* article meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--muted-light);
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* mid-article CTA */
.mid-article-cta {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  border: 1px solid rgba(13, 242, 89, 0.15);
  margin: 32px 0;
  text-align: center;
}
.mid-article-cta p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px !important;
}

/* ═══════════════════════════════════════════════════════════════
   RELATED ARTICLES (auto-rendered by JS)
   ═══════════════════════════════════════════════════════════════ */
.related-articles {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-border);
}
.related-articles-head {
  margin-bottom: 24px;
}
.related-articles-head h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 !important;
}
.related-articles-head p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.related-article-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 280ms var(--ease-spring), box-shadow 280ms, border-color var(--duration);
}
.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--surface-border-hover);
}
.related-article-card .related-article-cat {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.related-article-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
}
.related-article-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-article-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: auto;
  transition: gap 200ms var(--ease-spring);
}
.related-article-card a:hover { gap: 8px; }

@media (max-width: 768px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   STATS GRID
   ═══════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  text-align: center;
  transition: transform 300ms var(--ease-spring), border-color var(--duration);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
}
.stat-number {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--surface-border);
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--surface-border);
}
.compare-table th:last-child {
  color: var(--primary);
  background: rgba(13, 242, 89, 0.06);
}
.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:last-child { color: var(--text); }
.compare-check { color: var(--primary); font-weight: 700; }
.compare-x { color: var(--destructive); opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════════
   LEAD MAGNET PREVIEW
   ═══════════════════════════════════════════════════════════════ */
.question-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.question-preview-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  transition: background 200ms, border-color 200ms;
}
.question-preview-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--surface-border-hover);
}
.question-number {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.question-preview-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.question-locked {
  opacity: 0.45;
  filter: blur(2px);
  pointer-events: none;
}
.question-locked-overlay {
  text-align: center;
  padding: 24px;
  margin-top: -8px;
}
.question-locked-overlay p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG FILTER TABS
   ═══════════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-tab {
  padding: 8px 18px;
  border: 1.5px solid var(--surface-border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.filter-tab:hover {
  border-color: var(--surface-border-hover);
  color: var(--text);
}
.filter-tab.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

/* Filter count badge */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}
.filter-tab.active .filter-count {
  background: rgba(0, 0, 0, 0.2);
}

/* Blog tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.blog-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: var(--muted-light);
  transition: all 0.2s;
}
.blog-card:hover .blog-tag {
  border-color: rgba(13, 242, 89, 0.1);
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero, .tool-highlight { grid-template-columns: 1fr; }
  .timeline, .grid-three { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; align-items: flex-start; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }

  .topbar {
    top: 8px;
    padding: 8px 12px 8px 16px;
    border-radius: var(--radius-lg);
  }
  .brand-mark { width: 38px; height: 38px; border-radius: 10px; font-size: 0.9rem; }

  .hero { padding-top: 40px; gap: 28px; }
  .hero-copy h1 { max-width: 100%; }
  .section { padding: 36px 0; }

  .timeline, .grid-three { grid-template-columns: 1fr; }

  .hero-panel, .pathway-card, .action-card,
  .timeline-card, .tool-metrics article,
  .faq-card, .cta-band { padding: 22px; }

  .button { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-band { margin: 12px 0 40px; }

  /* quiz responsive */
  .quiz-answers { padding: 12px 8px 4px; gap: 4px; }
  .quiz-answer-btn .emoji { font-size: 2rem; }
  .quiz-answer-btn .label { font-size: 0.7rem; }
  .riasec-bars { grid-template-columns: 1fr 1fr; }
  .result-actions-row { grid-template-columns: 1fr; }

  /* new components responsive */
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .payment-info-row { grid-template-columns: 1fr; }
  .carousel-dots { padding-top: 200px; }
  .testimonial-card { padding: 24px; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .blog-card { padding: 22px; }
}

/* ── reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-children > * { opacity: 1; transform: none; filter: none; }
  .orb { animation: none; }
  .testimonial-card { position: relative; opacity: 1; }
}

/* consultation payment success state */
.payment-success-screen {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 32px;
  border-radius: calc(var(--radius-xl) + 4px);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(13, 242, 89, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(5, 27, 17, 0.96), rgba(10, 36, 24, 0.92));
  border: 1px solid rgba(13, 242, 89, 0.18);
  box-shadow: 0 24px 60px rgba(3, 15, 10, 0.34);
}
.payment-success-screen::before,
.payment-success-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.payment-success-screen::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}
.payment-success-screen::after {
  width: 180px;
  height: 180px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(13, 242, 89, 0.14), transparent 72%);
}
.payment-success-hero {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}
.payment-success-hero h3 {
  max-width: 720px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-strong);
}
.payment-success-copy {
  max-width: 620px;
  color: rgba(239, 250, 243, 0.82);
  line-height: 1.75;
}
.payment-success-burst {
  position: relative;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.payment-success-check {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5dff9f 0%, #0df259 100%);
  color: #052212;
  font-size: 2.5rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(13, 242, 89, 0.28);
  animation: payment-success-pop 480ms var(--ease-spring);
}
.payment-success-orbit {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(164, 255, 196, 0.18);
  transform: translate(-50%, -50%);
}
.payment-success-orbit-a {
  width: 100px;
  height: 100px;
  animation: payment-success-wave 1.8s ease-out infinite;
}
.payment-success-orbit-b {
  width: 126px;
  height: 126px;
  animation: payment-success-wave 1.8s ease-out 180ms infinite;
}
.payment-success-orbit-c {
  width: 152px;
  height: 152px;
  animation: payment-success-wave 1.8s ease-out 360ms infinite;
}
.payment-success-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 18px;
}
.payment-success-panel,
.payment-success-next {
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.payment-success-panel {
  display: grid;
  gap: 12px;
}
.payment-success-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.payment-success-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.payment-success-row span {
  color: rgba(211, 232, 219, 0.72);
  font-size: 0.88rem;
}
.payment-success-row strong {
  color: var(--text-strong);
  font-size: 0.98rem;
  word-break: break-word;
}
.payment-success-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(13, 242, 89, 0.14);
  border: 1px solid rgba(13, 242, 89, 0.22);
  color: #8bffc0;
}
.payment-success-next {
  display: grid;
  align-content: start;
  gap: 12px;
}
.payment-success-next strong {
  color: var(--text-strong);
  font-size: 1rem;
}
.payment-success-next p {
  color: rgba(239, 250, 243, 0.78);
  line-height: 1.75;
}
.payment-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .payment-success-screen {
    padding: 24px 18px;
  }
  .payment-success-grid,
  .payment-success-row {
    grid-template-columns: 1fr;
  }
}

@keyframes payment-success-pop {
  0% {
    transform: scale(0.72);
    opacity: 0;
  }
  72% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes payment-success-wave {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  30% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.14);
  }
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING CTA (appears when user scrolls >70% of article)
   ═══════════════════════════════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 24px;
  background: rgba(15, 26, 20, 0.92);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(13, 242, 89, 0.1);
  transition: bottom 400ms var(--ease-spring), opacity 300ms;
  opacity: 0;
  white-space: nowrap;
}
.floating-cta.is-visible {
  bottom: 24px;
  opacity: 1;
}
.floating-cta-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.floating-cta .button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.84rem;
}
.floating-cta-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: color 200ms, background 200ms;
}
.floating-cta-close:hover {
  color: var(--text);
  background: var(--surface);
}

@media (max-width: 640px) {
  .floating-cta {
    left: 12px;
    right: 12px;
    transform: none;
    border-radius: var(--radius-lg);
    padding: 14px 14px 14px 18px;
    gap: 8px;
  }
  .floating-cta-text {
    font-size: 0.82rem;
    flex: 1;
  }
  .floating-cta .button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL PROOF STATS (homepage)
   ═══════════════════════════════════════════════════════════════ */
.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 16px;
}
.proof-stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  transition: transform 300ms var(--ease-spring), border-color 300ms, box-shadow 300ms;
}
.proof-stat:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
  box-shadow: var(--shadow-glow);
}
.proof-stat-number {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.proof-stat-label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .social-proof-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .proof-stat {
    padding: 20px 10px;
  }
  .proof-stat-number {
    font-size: 1.8rem;
  }
  .proof-stat-label {
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   INLINE EMAIL CAPTURE (mid-article)
   ═══════════════════════════════════════════════════════════════ */
.inline-email-capture {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(13, 242, 89, 0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(13, 242, 89, 0.15);
  margin: 36px 0;
  text-align: center;
}
.inline-email-capture h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px !important;
}
.inline-email-capture p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px !important;
}
.inline-email-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.inline-email-form input[type="email"] {
  flex: 1;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 200ms;
}
.inline-email-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.inline-email-form input[type="email"]::placeholder {
  color: var(--muted-light);
}
.inline-email-form button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms;
}
.inline-email-form button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.inline-email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.inline-email-msg {
  margin-top: 8px;
  font-size: 0.82rem;
  min-height: 20px;
}
.inline-email-msg.success { color: var(--primary); }
.inline-email-msg.error { color: var(--destructive); }

.inline-email-privacy {
  font-size: 0.75rem;
  color: var(--muted-light);
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 560px) {
  .inline-email-form {
    flex-direction: column;
  }
  .inline-email-form button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SEGMENT LANDING PAGES
   ═══════════════════════════════════════════════════════════════ */
.segment-hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 32px;
  text-align: center;
}
.segment-hero .eyebrow {
  margin-bottom: 20px;
}
.segment-hero h1 {
  max-width: 22ch;
  margin: 0 auto 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-strong);
}
.segment-hero p {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}
.segment-hero .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

/* segment feature cards */
.segment-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.segment-feature-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  text-align: left;
  transition: transform 280ms var(--ease-spring), border-color 280ms;
}
.segment-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
}
.segment-feature-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.segment-feature-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.segment-feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.segment-feature-card a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms var(--ease-spring);
}
.segment-feature-card a:hover { gap: 8px; }


/* ═══════════════════════════════════════════════════════════════
   PHASE 5-2 — Blog & Article Micro-Animations
   ═══════════════════════════════════════════════════════════════ */

/* Article reading progress bar */
.article-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #a3e635);
  z-index: 10000;
  transition: width 80ms linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(13, 242, 89, 0.3);
}

/* Blog card stagger fade-in */
@keyframes blogCardIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.blog-card {
  animation: blogCardIn 0.5s cubic-bezier(.4,0,.2,1) both;
}
.blog-grid .blog-card:nth-child(1) { animation-delay: 0ms; }
.blog-grid .blog-card:nth-child(2) { animation-delay: 80ms; }
.blog-grid .blog-card:nth-child(3) { animation-delay: 160ms; }
.blog-grid .blog-card:nth-child(4) { animation-delay: 240ms; }
.blog-grid .blog-card:nth-child(5) { animation-delay: 320ms; }
.blog-grid .blog-card:nth-child(6) { animation-delay: 400ms; }

/* Blog card enhanced hover — subtle glow */
.blog-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(13, 242, 89, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.blog-card { position: relative; overflow: hidden; }
.blog-card > * { position: relative; z-index: 1; }
.blog-card:hover::after { opacity: 1; }

/* Blog card link arrow animation */
.blog-card-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover .blog-card-link::after {
  transform: translateX(4px);
}

/* Category pill enhanced */
.blog-card-category {
  transition: all 0.25s;
}
.blog-card:hover .blog-card-category {
  background: rgba(13, 242, 89, 0.15);
}

/* Article body improvements */
.article-body h2 {
  position: relative;
  padding-left: 16px;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

/* ═══════════════════════════════════════════════════════════════
   PHASE 5-4 — Performance & Accessibility
   ═══════════════════════════════════════════════════════════════ */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb, .orb-one, .orb-two { display: none; }
  .hero::before, .hero::after { display: none; }
}

/* Contain paint for scroll perf */
.card, .blog-card, .pathway-card, .result-type-card {
  contain: layout style;
}

/* Will-change hints for frequently animated elements */
.nav { will-change: transform; }
.scroll-progress { will-change: width; }
.article-reading-progress { will-change: width; }

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .nav, .floating-cta-bar, .orb, .grain, .scroll-progress,
  .article-reading-progress, .segment-cta-strip { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section { padding: 20px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPARE TOOL (so-sanh-nganh.html)
   ═══════════════════════════════════════════════════════════════ */
.compare-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.compare-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.compare-hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-top: 16px;
}
.compare-selectors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 40px auto;
  max-width: 700px;
}
.selector-group {
  flex: 1;
  text-align: left;
}
.selector-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.industry-select {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2390CBA4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: all 200ms ease;
}
.industry-select:hover, .industry-select:focus {
  border-color: var(--primary);
  outline: none;
}
.industry-select option {
  background: var(--bg-subtle);
  color: var(--text-strong);
}
.selector-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--surface-border);
  margin-top: 28px;
  flex-shrink: 0;
}
.btn-large {
  padding: 0 40px;
  min-height: 56px;
  font-size: 1.05rem;
}
.btn-large:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Compare Results Section */
.compare-results {
  padding-bottom: 80px;
}
.hidden {
  display: none !important;
}
.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.compare-column {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  padding: 32px;
  box-shadow: var(--shadow);
}
#col-1 { border-top: 4px solid var(--primary); }
#col-2 { border-top: 4px solid var(--accent); }

.column-header { margin-bottom: 24px; }
.ind-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.2;
}

.stat-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--surface-border);
}
.stat-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.stat-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.salary-bar-container {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.salary-bar {
  position: absolute;
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: all 800ms var(--ease-out);
}
.bar-accent { background: var(--accent); }

.row-flex {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--surface-border);
  padding-top: 8px;
  margin-top: 8px;
  font-size: 0.95rem;
}
.row-flex:first-child { border-top: none; padding-top: 0; }
.row-flex span { color: var(--muted); }
.row-flex strong { color: var(--text-strong); }

.holland-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  margin-right: 12px;
  background: var(--surface);
  color: #fff;
  border: 1px solid var(--surface-border);
}
.badge-R { border-color: var(--color-realistic); color: var(--color-realistic); background: rgba(163, 230, 53, 0.1); }
.badge-I { border-color: var(--color-investigative); color: var(--color-investigative); background: rgba(248, 113, 113, 0.1); }
.badge-A { border-color: var(--color-artistic); color: var(--color-artistic); background: rgba(192, 132, 252, 0.1); }
.badge-S { border-color: var(--color-social); color: var(--color-social); background: rgba(56, 189, 248, 0.1); }
.badge-E { border-color: var(--color-enterprising); color: var(--color-enterprising); background: rgba(251, 146, 60, 0.1); }
.badge-C { border-color: var(--color-conventional); color: var(--color-conventional); background: rgba(250, 204, 21, 0.1); }

.list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--surface-border);
}
.list-items li:last-child { border-bottom: none; }
.loc-name, .comp-name {
  color: var(--text-strong);
  font-weight: 500;
}
.comp-name {
  display: inline-block;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-count, .comp-count {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .compare-selectors {
    flex-direction: column;
    gap: 16px;
  }
  .selector-group { width: 100%; }
  .selector-vs { margin-top: 0; }
  .compare-columns { grid-template-columns: 1fr; }
}
