/* ===== Tokens (brand: deep navy + teal → sky gradient from the KHILART logo) ===== */
:root {
  --bg: #071428;
  --bg-alt: #0b1d38;
  --surface: #10264a;
  --surface-2: #153058;
  --line: rgba(147, 197, 253, 0.14);
  --text: #e6eefb;
  --muted: #9fb1cc;
  --teal: #2dd4bf;
  --sky: #93c5fd;
  --blue: #3b82f6;
  --grad: linear-gradient(120deg, var(--teal), var(--sky));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --container: 1160px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #04223a; box-shadow: 0 10px 30px -10px rgba(45, 212, 191, .6); }
.btn--primary:hover { box-shadow: 0 14px 36px -10px rgba(45, 212, 191, .8); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--sky); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 20, 40, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__text { font: 800 1.25rem var(--font-head); letter-spacing: .08em; }
.nav { display: flex; gap: 28px; margin-left: 16px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang__btn {
  background: none; border: 0; color: var(--muted); font: 600 .75rem var(--font-body);
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang__btn.is-active { background: var(--surface-2); color: var(--text); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .18), transparent 70%),
              radial-gradient(closest-side at 70% 30%, rgba(59, 130, 246, .22), transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.badges li { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.badges li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%2304223a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px; border-radius: 40px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #22406e, #0c1d38);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(147, 197, 253, .25);
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: #0c1d38; border-radius: 12px; z-index: 2; }
.phone__screen { background: #f7f9fc; color: #0f1d33; border-radius: 30px; padding: 48px 16px 18px; font-size: .8rem; }
.bk__head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.bk__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f472b6, #a78bfa); }
.bk__name { font-weight: 700; font-size: .92rem; }
.bk__meta { color: #64748b; font-size: .72rem; }
.bk__label { font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin: 12px 0 6px; }
.bk__service { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 6px; background: #fff; }
.bk__service span:last-child { color: #64748b; white-space: nowrap; }
.bk__service.is-selected { border-color: #14b8a6; background: #ecfdf9; }
.bk__days { display: flex; gap: 6px; }
.bk__days span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; color: #64748b; font-size: .68rem; }
.bk__days b { display: block; color: #0f1d33; font-size: .9rem; }
.bk__days .is-selected { background: #0f766e; border-color: #0f766e; color: #ccfbf1; }
.bk__days .is-selected b { color: #fff; }
.bk__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bk__slots span { text-align: center; padding: 7px 0; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-weight: 600; }
.bk__slots .is-off { color: #cbd5e1; text-decoration: line-through; background: #f1f5f9; }
.bk__slots .is-selected { background: #0f766e; color: #fff; border-color: #0f766e; }
.bk__btn { margin-top: 14px; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; color: #fff; background: linear-gradient(120deg, #0d9488, #2563eb); }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(16, 38, 74, .92); border: 1px solid var(--line); backdrop-filter: blur(8px);
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); font-size: .82rem;
  animation: bob 5s ease-in-out infinite;
}
.float b { display: block; }
.float small { color: var(--muted); }
.float--a { top: 18%; left: -4%; }
.float--b { bottom: 14%; right: -6%; animation-delay: -2.5s; }
.float__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(45, 212, 191, .2); }
.float__icon { font-size: 1.1rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--tight { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* Segments */
.segments { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.segments li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.segments__icon { font-size: 1.4rem; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pain__before { color: var(--muted); padding-left: 28px; position: relative; }
.pain__before::before { content: "✕"; position: absolute; left: 0; color: #f87171; font-weight: 700; }
.pain__after { margin: 0; padding: 16px 0 0 28px; border-top: 1px dashed var(--line); position: relative; font-weight: 500; }
.pain__after::before { content: "✓"; position: absolute; left: 0; top: 16px; color: var(--teal); font-weight: 700; }

/* Modules */
.core { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 28px; }
.core span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.core .core__tag { background: none; border: 0; color: var(--teal); font-weight: 600; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module {
  position: relative; text-align: left; cursor: pointer; color: var(--text); font: inherit;
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background .2s, transform .15s;
}
.module:hover { transform: translateY(-2px); border-color: rgba(147, 197, 253, .35); }
.module:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.module.is-on { border-color: var(--teal); background: linear-gradient(160deg, rgba(45, 212, 191, .12), var(--surface) 60%); }
.module__icon { font-size: 1.5rem; }
.module__title { font: 700 1.02rem var(--font-head); padding-right: 52px; }
.module__desc { color: var(--muted); font-size: .9rem; }
.module__switch { position: absolute; top: 22px; right: 22px; width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); transition: .2s; }
.module__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: .2s; }
.module.is-on .module__switch { background: var(--teal); border-color: var(--teal); }
.module.is-on .module__switch::after { left: 20px; background: #04223a; }
.recommend {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.recommend__label { color: var(--muted); }
.recommend__plan { font: 800 1.2rem var(--font-head); margin: 0 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.recommend__count { color: var(--muted); font-size: .9rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #04223a; font: 800 1.1rem var(--font-head); margin-bottom: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: .92rem; }
.plan__price { margin: 8px 0 20px; }
.plan__price span { font: 800 2.4rem var(--font-head); }
.plan__price small { color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--line); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 700; }
.plan--featured { border-color: var(--teal); background: linear-gradient(180deg, rgba(45, 212, 191, .1), var(--surface) 45%); }
.plan__badge { position: absolute; top: -12px; right: 24px; background: var(--grad); color: #04223a; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan.is-recommended { box-shadow: 0 0 0 2px var(--sky), var(--shadow); }
.plans__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* Why */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.why__list li { padding-left: 20px; border-left: 2px solid var(--teal); color: var(--muted); }
.why__list b { color: var(--text); display: block; }
.why__logo img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Pilot */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pilot__copy p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(45, 212, 191, .15); color: var(--teal); font-size: .8rem; font-weight: 700; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form input[type="text"], .form select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-weight: 400;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
.form .is-invalid { border-color: #f87171 !important; }
.form__consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-weight: 400 !important; color: var(--muted); font-size: .82rem !important; }
.form__consent input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; }
.form__msg { margin: 0; font-size: .9rem; min-height: 1.2em; color: var(--teal); }
.form__msg.is-error { color: #f87171; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.05rem var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__tag { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: .85rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
}

@media (max-width: 900px) {
  .header__cta { display: none; }
  .hero { padding: 56px 0; }
  .hero__inner, .why, .pilot { grid-template-columns: 1fr; gap: 48px; }
  .pains, .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .modules, .steps { grid-template-columns: 1fr; }
  .float--a { left: 0; }
  .float--b { right: 0; }
  .form { padding: 22px; }
  .recommend { flex-direction: column; align-items: stretch; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  * { transition: none !important; }
}
