/* =============================================================
   kitehub-story v2 — Marketing storytelling kit (Direction A polish)
   Persona: P2 Center Owner — KiteHub SaaS marketing landing
   GAP-350 / Wave 21
   Imports shared tokens; do NOT edit shared file from here.
   ============================================================= */

@import url('../_shared/colors_and_type.css');

/* Marketing-side overlay accent — purple bridge between sky+orange.
   Only used inside this kit; primary tokens stay sky/orange.            */
:root {
  --story-purple: 262 83% 58%;          /* #A855F7-ish */
  --story-cyan: 188 95% 55%;            /* #22D3EE-ish for kite gradient stops */
  --story-night-bg: 222 47% 11%;        /* deep navy hero bg */
  --story-night-bg-2: 232 47% 16%;
  --story-glass-border: 0 0% 100% / 0.10;
  --story-soft-shadow-purple: 0 24px 64px hsl(262 83% 58% / 0.20);
}

html, body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  scroll-behavior: smooth;
}

/* Honor reduced motion across the kit ---------------------------- */
@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;
  }
}

/* =============================================================
   Layout containers
   ============================================================= */
.kh-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.kh-container--narrow { max-width: 880px; }

.kh-section { padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.kh-section--alt { background: hsl(var(--muted) / 0.4); }
.kh-section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.kh-section__head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: var(--leading-tight);
}
.kh-section__head p { font-size: var(--text-lg); color: hsl(var(--muted-foreground)); margin-top: 1rem; }

.kh-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background: hsl(var(--primary) / 0.10);
  border: 1px solid hsl(var(--primary) / 0.25);
  font-size: var(--text-xs); font-weight: 600;
  color: hsl(var(--primary)); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.kh-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: hsl(var(--primary)); box-shadow: 0 0 0 0 hsl(var(--primary) / 0.5);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 hsl(var(--primary) / 0.50); }
  70%  { box-shadow: 0 0 0 10px hsl(var(--primary) / 0); }
  100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0); }
}

/* =============================================================
   Buttons (CTA)
   ============================================================= */
.kh-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-sm);
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .2s ease-out, box-shadow .2s ease-out, filter .2s ease-out;
}
.kh-btn:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }

.kh-btn--primary {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 6px 18px hsl(var(--primary) / 0.30), 0 2px 6px hsl(var(--accent) / 0.15);
}
.kh-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.kh-btn--ghost {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.kh-btn--ghost:hover { background: hsl(var(--muted)); }

.kh-btn--glass {
  background: hsl(0 0% 100% / 0.10);
  color: hsl(0 0% 100%);
  border: 1px solid hsl(0 0% 100% / 0.20);
  backdrop-filter: blur(8px);
}
.kh-btn--glass:hover { background: hsl(0 0% 100% / 0.16); }

/* =============================================================
   HERO — full-bleed dark sky w/ kite character + KPI tiles
   ============================================================= */
.kh-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, hsl(var(--story-cyan) / 0.18), transparent 60%),
    linear-gradient(180deg, hsl(var(--story-night-bg)) 0%, hsl(var(--story-night-bg-2)) 100%);
  color: #fff;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 9rem);
  isolation: isolate;
}
.kh-hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(0 0% 100% / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.kh-hero__stars {
  position: absolute; inset: 0; pointer-events: none;
}
.kh-hero__star {
  position: absolute; width: 2px; height: 2px;
  background: #fff; border-radius: 999px; opacity: 0.6;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%      { opacity: 0.9; transform: scale(1.2); }
}
.kh-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.kh-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; margin-top: 0.5rem;
}
.kh-hero h1 .grad {
  background: linear-gradient(90deg, hsl(var(--story-cyan)), hsl(var(--story-purple)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kh-hero__lede {
  font-size: var(--text-lg); line-height: var(--leading-relaxed);
  color: hsl(0 0% 100% / 0.78); max-width: 520px; margin-top: 1.25rem;
}
.kh-hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 1.75rem;
}
.kh-hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem;
  margin-top: 1.5rem; color: hsl(0 0% 100% / 0.70); font-size: var(--text-sm);
}
.kh-hero__trust .check { color: hsl(var(--success)); }
.kh-hero__trust .divider { width: 4px; height: 4px; border-radius: 999px; background: hsl(0 0% 100% / 0.30); }

.kh-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem; border-radius: var(--radius-full);
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.18);
  font-size: var(--text-xs); font-weight: 600;
  color: hsl(0 0% 100% / 0.92);
}
.kh-hero__eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: hsl(var(--story-cyan)); box-shadow: 0 0 8px hsl(var(--story-cyan));
}

/* Kite stage on the right ---------------------------------------- */
.kh-hero__stage { position: relative; min-height: 380px; }
.kh-hero__kite {
  position: absolute; top: 30%; left: 55%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 48px hsl(var(--primary) / 0.50));
  animation: kiteFloat 6s ease-in-out infinite;
}
@keyframes kiteFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50%      { transform: translate(-50%, -55%) rotate(3deg); }
}
.kh-hero__tile {
  position: absolute; padding: 1rem 1.125rem;
  background: hsl(0 0% 100% / 0.06);
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  min-width: 150px;
  animation: tileFloat 5s ease-in-out infinite;
}
.kh-hero__tile-label  { font-size: var(--text-xs); color: hsl(0 0% 100% / 0.65); margin-bottom: 0.25rem; }
.kh-hero__tile-value  { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.kh-hero__tile-trend  { font-size: var(--text-xs); color: hsl(var(--story-cyan)); margin-top: 0.25rem; display: inline-flex; align-items: center; gap: 0.25rem; }

.kh-hero__tile--1 { top: 0%;  left: 5%;   animation-delay: 0s;   }
.kh-hero__tile--2 { top: 8%;  right: 0%;  animation-delay: 1.2s; }
.kh-hero__tile--3 { bottom: 18%; left: 0%;  animation-delay: 2.4s; }
.kh-hero__tile--4 { bottom: 4%;  right: 6%;  animation-delay: 3.6s; }

@keyframes tileFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.kh-scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 3rem; color: hsl(0 0% 100% / 0.6); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.kh-scroll-cue .line {
  width: 1px; height: 32px; background: linear-gradient(180deg, hsl(0 0% 100% / 0.5), transparent);
}

/* =============================================================
   Sticky section nav (after hero)
   ============================================================= */
.kh-nav {
  position: sticky; top: 0; z-index: 30;
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 0;
}
.kh-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.kh-nav__brand { font-weight: 800; font-size: var(--text-base); display: inline-flex; align-items: center; gap: 0.5rem; }
.kh-nav__brand .dot { width: 8px; height: 8px; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); border-radius: 999px; }
.kh-nav__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.kh-nav__links a {
  font-size: var(--text-sm); color: hsl(var(--muted-foreground));
  text-decoration: none; transition: color .15s ease-out;
}
.kh-nav__links a:hover { color: hsl(var(--primary)); }

/* =============================================================
   Parallax features — sticky headline + 3 feature cards
   ============================================================= */
.kh-parallax {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: flex-start;
}
.kh-parallax__sticky {
  position: sticky; top: 96px;
  padding: 2rem 0;
}
.kh-parallax__sticky h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
}
.kh-parallax__sticky p { color: hsl(var(--muted-foreground)); margin-top: 1rem; font-size: var(--text-base); }

.kh-feature {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem;
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem; transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.kh-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-lg); }
.kh-feature__icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.12), hsl(var(--accent) / 0.12));
  color: hsl(var(--primary));
}
.kh-feature h3 { font-size: var(--text-lg); font-weight: 700; }
.kh-feature p  { font-size: var(--text-sm); color: hsl(var(--muted-foreground)); margin-top: 0.5rem; line-height: var(--leading-relaxed); }
.kh-feature__bullets { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.375rem; }
.kh-feature__bullets li {
  font-size: var(--text-sm); color: hsl(var(--foreground));
  display: flex; align-items: center; gap: 0.5rem;
}
.kh-feature__bullets li::before { content: '✓'; color: hsl(var(--success)); font-weight: 700; }

/* =============================================================
   Before / After slider
   ============================================================= */
.kh-ba {
  position: relative; max-width: 1000px; margin: 0 auto;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft-xl);
  user-select: none;
}
.kh-ba__panel {
  position: relative; aspect-ratio: 16 / 9;
  background: hsl(var(--card));
  display: grid; place-items: center; overflow: hidden;
}
.kh-ba__panel--before { background: hsl(0 0% 96%); }
.kh-ba__panel--after  {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.06), hsl(var(--accent) / 0.06));
  clip-path: inset(0 0 0 50%);
}
.kh-ba__caption {
  position: absolute; top: 1rem; padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kh-ba__caption--before { left: 1rem; background: hsl(0 0% 100% / 0.85); color: hsl(var(--foreground)); }
.kh-ba__caption--after  { right: 1rem; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.kh-ba__before-mock,
.kh-ba__after-mock {
  width: 80%; max-width: 720px;
  display: grid; gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.kh-ba__before-mock .row {
  background: hsl(0 0% 100%); padding: 0.625rem 0.875rem;
  border: 1px dashed hsl(0 0% 60%);
  color: hsl(0 0% 30%);
  display: flex; justify-content: space-between;
}
.kh-ba__after-mock .row {
  background: hsl(var(--card)); padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.75rem;
}
.kh-ba__after-mock .row .icon { color: hsl(var(--success)); font-weight: 700; }

.kh-ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: hsl(var(--primary));
  transform: translateX(-50%);
  cursor: ew-resize; touch-action: none;
}
.kh-ba__handle::after {
  content: '⇆';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.40);
}
.kh-ba__hint {
  text-align: center; color: hsl(var(--muted-foreground));
  font-size: var(--text-sm); margin-top: 1rem;
}

/* =============================================================
   Day-in-life narrative — vertical timeline w/ active scene
   ============================================================= */
.kh-day {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem); align-items: flex-start;
}
.kh-day__steps { display: flex; flex-direction: column; gap: 0.875rem; }
.kh-day__step {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  cursor: pointer;
  transition: transform .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out;
}
.kh-day__step:hover { transform: translateX(4px); }
.kh-day__step.is-active {
  border-color: hsl(var(--primary));
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.20), inset 4px 0 0 hsl(var(--primary));
  background: hsl(var(--primary) / 0.04);
}
.kh-day__step-head { display: flex; align-items: center; gap: 0.875rem; }
.kh-day__step-time {
  font-family: var(--font-mono); font-size: var(--text-sm);
  font-weight: 700; color: hsl(var(--primary)); min-width: 60px;
}
.kh-day__step-icon { font-size: 22px; }
.kh-day__step h3 { font-size: var(--text-base); font-weight: 700; }
.kh-day__step p { font-size: var(--text-sm); color: hsl(var(--muted-foreground)); margin-top: 0.5rem; line-height: var(--leading-relaxed); }

.kh-day__stage {
  position: sticky; top: 96px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.06), hsl(var(--accent) / 0.06));
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
  min-height: 480px;
  display: grid; place-items: center;
  text-align: center;
}
.kh-day__scene {
  background: hsl(var(--card));
  padding: 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft-lg);
  width: 100%; max-width: 420px;
}
.kh-day__scene-title { font-weight: 700; font-size: var(--text-base); margin-bottom: 0.5rem; }
.kh-day__scene-meta  { font-size: var(--text-xs); color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.kh-day__scene-body  { font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* =============================================================
   Mock dashboard — chart + notification animations
   ============================================================= */
.kh-dash {
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  box-shadow: var(--shadow-soft-xl);
  position: relative; overflow: hidden;
  max-width: 980px; margin: 0 auto;
}
.kh-dash__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid hsl(var(--border));
}
.kh-dash__title { font-weight: 700; font-size: var(--text-lg); }
.kh-dash__sub   { font-size: var(--text-xs); color: hsl(var(--muted-foreground)); }
.kh-dash__live  {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: hsl(var(--success) / 0.10);
  color: hsl(var(--success));
  font-size: var(--text-xs); font-weight: 600;
}
.kh-dash__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: hsl(var(--success)); animation: pulseDot 2s ease-out infinite;
}
.kh-dash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 1.25rem;
}
.kh-dash__kpi {
  padding: 0.875rem 1rem; border-radius: var(--radius-md);
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
}
.kh-dash__kpi-label { font-size: var(--text-xs); color: hsl(var(--muted-foreground)); }
.kh-dash__kpi-value { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; margin-top: 0.25rem; }
.kh-dash__kpi-delta { font-size: var(--text-xs); color: hsl(var(--success)); font-weight: 600; }

.kh-dash__chart {
  margin-top: 1.5rem; height: 240px; position: relative;
  background: linear-gradient(180deg, hsl(var(--primary) / 0.04), transparent 80%);
  border-radius: var(--radius-md);
}
.kh-dash__chart svg { display: block; width: 100%; height: 100%; }
.kh-dash__chart .line {
  fill: none; stroke: hsl(var(--primary)); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1500; stroke-dashoffset: 1500;
  animation: drawLine 2.4s ease-out forwards 0.4s;
}
.kh-dash__chart .area {
  fill: hsl(var(--primary) / 0.12);
  opacity: 0; animation: fadeIn 1s ease-out forwards 1.4s;
}
.kh-dash__chart .dot {
  fill: hsl(var(--accent)); opacity: 0;
  animation: dotPop 0.4s ease-out forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes dotPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

.kh-dash__notif {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--success));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-lg);
  font-size: var(--text-sm); max-width: 280px;
  opacity: 0; transform: translateY(20px);
  animation: notifIn 0.6s ease-out forwards 2.4s, notifOut 0.6s ease-in forwards 6.0s;
}
.kh-dash__notif .icon {
  width: 32px; height: 32px; border-radius: 999px;
  background: hsl(var(--success) / 0.15); color: hsl(var(--success));
  display: grid; place-items: center; font-weight: 700;
}
.kh-dash__notif strong { font-weight: 700; }
.kh-dash__notif span   { color: hsl(var(--muted-foreground)); display: block; font-size: var(--text-xs); }
@keyframes notifIn  { to { opacity: 1; transform: translateY(0); } }
@keyframes notifOut { to { opacity: 0; transform: translateY(-12px); } }

/* =============================================================
   Pricing CTA section
   ============================================================= */
.kh-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; max-width: 1100px; margin: 0 auto;
}
.kh-tier {
  padding: 2rem 1.5rem; border-radius: var(--radius-xl);
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.kh-tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft-lg); }
.kh-tier--featured {
  border-color: hsl(var(--primary));
  box-shadow: 0 12px 32px hsl(var(--primary) / 0.20);
  position: relative;
}
.kh-tier--featured::before {
  content: 'Phổ biến nhất';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: hsl(var(--primary-foreground));
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700;
}
.kh-tier__name  { font-size: var(--text-base); font-weight: 600; color: hsl(var(--muted-foreground)); }
.kh-tier__price { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.02em; }
.kh-tier__price small { font-size: var(--text-base); font-weight: 500; color: hsl(var(--muted-foreground)); }
.kh-tier__features { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.kh-tier__features li { font-size: var(--text-sm); display: flex; gap: 0.5rem; align-items: flex-start; }
.kh-tier__features li::before { content: '✓'; color: hsl(var(--success)); font-weight: 700; flex-shrink: 0; }

/* =============================================================
   Footer
   ============================================================= */
.kh-footer {
  padding: 2.5rem 0; border-top: 1px solid hsl(var(--border));
  text-align: center; color: hsl(var(--muted-foreground));
  font-size: var(--text-sm);
}
.kh-footer__brand { font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }

/* =============================================================
   Reveal-on-scroll utility (added by scripts.js)
   ============================================================= */
.kh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease-out, transform .8s ease-out; }
.kh-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   Responsive — tablet 768
   ============================================================= */
@media (max-width: 1024px) {
  .kh-hero__inner   { grid-template-columns: 1fr; }
  .kh-hero__stage   { min-height: 320px; margin-top: 2rem; }
  .kh-parallax      { grid-template-columns: 1fr; }
  .kh-parallax__sticky { position: static; padding: 0 0 1.5rem; }
  .kh-day           { grid-template-columns: 1fr; }
  .kh-day__stage    { position: static; }
  .kh-dash__kpis    { grid-template-columns: repeat(2, 1fr); }
  .kh-pricing       { grid-template-columns: 1fr; max-width: 480px; }
}

/* Responsive — mobile 320 */
@media (max-width: 640px) {
  .kh-hero h1       { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .kh-hero__lede    { font-size: var(--text-base); }
  .kh-hero__tile    { display: none; }
  .kh-hero__tile--1 { display: block; top: 0; left: 0; min-width: 120px; }
  .kh-hero__tile--3 { display: block; bottom: 0; right: 0; min-width: 120px; }
  .kh-hero__kite svg{ width: 160px; height: 180px; }
  .kh-section       { padding: 3rem 0; }
  .kh-feature       { grid-template-columns: 1fr; }
  .kh-feature__icon { width: 48px; height: 48px; font-size: 22px; }
  .kh-ba__before-mock, .kh-ba__after-mock { width: 90%; font-size: var(--text-xs); }
  .kh-nav__links    { display: none; }
  .kh-dash__kpis    { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .kh-dash__notif   { position: static; margin-top: 1rem; max-width: 100%; }
}
