/* Elitexpert Tech — design tokens from the Nocturne design system */
:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-text: #e9e9ed;
  --color-accent: #9184d9;

  --color-neutral-100: #f3f5fe;
  --color-neutral-200: #e4e7f5;
  --color-neutral-300: #cfd3e5;
  --color-neutral-400: #b2b6ca;
  --color-neutral-500: #9397ab;
  --color-neutral-600: #75798c;
  --color-neutral-700: #595d6c;
  --color-neutral-800: #3f424d;
  --color-neutral-900: #292b31;

  --color-accent-100: #f5f4ff;
  --color-accent-200: #e7e5fe;
  --color-accent-300: #d2cefd;

  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;

  --shell: 1180px;
  --gutter: 28px;

  --card-bg: linear-gradient(180deg, rgba(233,233,237,.05), rgba(233,233,237,.012));
  --card-shadow: inset 0 1px 0 rgba(233,233,237,.09), 0 24px 60px -34px rgba(6,6,14,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  background-image: radial-gradient(90% 60% at 8% -4%, #23253a 0%, var(--color-bg) 46%, #101220 100%);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--color-accent-300); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--color-accent); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; letter-spacing: -.03em; margin: 0; }

:where(input, textarea, button, select) { font: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 18px; background: var(--color-surface); border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(19,21,34,.82);
  border-bottom: 1px solid var(--color-neutral-800);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(160deg, #fbfbfd 0%, #e9e9ed 46%, #c6c6d2 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -3px 9px rgba(58,56,92,.2), 0 10px 22px -10px rgba(10,10,20,.75);
  display: grid; place-items: center;
}
.brand-name { font-family: var(--font-heading); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 15px; color: var(--color-neutral-300); }
.site-nav a:hover { color: var(--color-text); }
.nav-cta { font-size: 15px; padding: 10px 18px; }
.nav-cta:hover { color: var(--color-accent-100); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1px solid var(--color-neutral-700); border-radius: var(--radius-sm);
  background: rgba(233,233,237,.04); color: var(--color-text); font-size: 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  font-size: 16px; cursor: pointer; text-align: center;
  border: 1px solid var(--color-neutral-700); background: transparent;
  color: var(--color-neutral-200);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-accent { border-color: var(--color-accent); color: var(--color-accent-100); }
.btn-accent:hover { background: color-mix(in oklab, var(--color-accent) 14%, transparent); color: var(--color-accent-100); }
.btn-ghost:hover { border-color: var(--color-neutral-500); color: var(--color-text); }

/* ---------- Shared bits ---------- */
.card {
  border: 1px solid var(--color-neutral-700);
  border-radius: var(--radius-md);
  background: var(--card-bg);
}
.eyebrow {
  display: block; font-size: 14px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-neutral-400);
}
.muted-sm { font-size: 15px; color: var(--color-neutral-400); margin: 0; }
.lede { margin: 0; font-size: 20px; line-height: 1.55; color: var(--color-neutral-300); max-width: 560px; text-wrap: pretty; }
.lede.sm { font-size: 18px; max-width: 460px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0;
  padding: 8px 16px; border: 1px solid var(--color-neutral-700); border-radius: 999px;
  background: rgba(233,233,237,.04);
  font-size: 14px; color: var(--color-neutral-300); letter-spacing: .04em;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--color-accent); box-shadow: 0 0 9px 2px rgba(145,132,217,.6);
  animation: noc-pulse 2.4s ease-in-out infinite;
}
@keyframes noc-pulse { 0%,100% { opacity: .45 } 50% { opacity: 1 } }
@keyframes noc-rise { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

.section { margin-top: 110px; display: flex; flex-direction: column; gap: 34px; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; max-width: 700px; }
.section-head h2.h3 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; line-height: 1.1; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.chat-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; box-shadow: var(--card-shadow); }
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--color-neutral-800);
}
.bubble {
  max-width: 84%; padding: 12px 16px; border-radius: 14px;
  font-size: 16px; line-height: 1.4;
  background: rgba(233,233,237,.06); border: 1px solid var(--color-neutral-700);
  color: var(--color-neutral-200);
}
.bubble.us {
  margin-left: auto;
  background: linear-gradient(170deg, rgba(196,188,240,.22), rgba(145,132,217,.12));
  border-color: rgba(145,132,217,.55); color: var(--color-accent-100);
}
.chat-foot, .typing {
  display: flex; align-items: center; gap: 9px; margin: 0; padding-top: 6px;
  font-size: 14px; color: var(--color-neutral-400);
}

/* ---------- Stats ---------- */
.stats-wrap { margin-top: 88px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--color-neutral-800);
  border: 1px solid var(--color-neutral-800); border-radius: var(--radius-md);
  overflow: hidden;
}
.stat { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px; background: var(--color-bg); }
.stat-value {
  font-family: var(--font-heading); font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--color-accent-200);
}
.stat-label { font-size: 15px; line-height: 1.35; color: var(--color-neutral-300); }

/* ---------- Services ---------- */
.service {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.service:hover { border-color: color-mix(in oklab, var(--color-accent) 55%, transparent); transform: translateY(-2px); }
.service h3 { font-size: 21px; letter-spacing: -.015em; }
.service p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--color-neutral-300); }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, #fbfbfd 0%, #e9e9ed 46%, #c6c6d2 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -3px 9px rgba(58,56,92,.2), 0 10px 20px -10px rgba(10,10,20,.8);
  color: #1c1d2e; font-size: 23px;
}
.tag {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-neutral-500); margin-top: auto; padding-top: 8px;
}

/* ---------- Demo ---------- */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.demo-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.demo-card { min-height: 420px; }
.chat-stream { display: flex; flex-direction: column; gap: 12px; }
.chat-stream .bubble { max-width: 78%; padding: 13px 18px; border-radius: 15px; font-size: 17px; line-height: 1.42; animation: noc-rise .35s ease both; }

/* ---------- Process ---------- */
.step { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.step-day { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent-300); }
.step h3 { font-size: 20px; letter-spacing: -.015em; }
.step p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--color-neutral-300); }

/* ---------- Pricing ---------- */
.pricing-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pricing-head .eyebrow { margin-bottom: 14px; }
.pricing-note { max-width: 380px; }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 30px; }
.plan-featured {
  border-color: rgba(145,132,217,.65);
  background: linear-gradient(180deg, rgba(145,132,217,.12), rgba(233,233,237,.015));
  box-shadow: 0 24px 60px -34px rgba(145,132,217,.7);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-top h3 { font-size: 22px; letter-spacing: -.01em; }
.badge { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-neutral-500); }
.badge-accent { color: var(--color-accent-200); }
.plan-price { display: flex; flex-direction: column; gap: 5px; }
.price { font-family: var(--font-heading); font-size: clamp(32px, 3.4vw, 40px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.plan-for { margin: 0; font-size: 16px; line-height: 1.5; color: var(--color-neutral-300); }
.features { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 11px; }
.features li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; line-height: 1.42; color: var(--color-neutral-200); }
.features i { font-size: 15px; color: var(--color-accent-300); margin-top: 4px; flex: none; }
.plan-cta { margin-top: auto; padding: 14px 20px; }

/* ---------- Booking + FAQ ---------- */
.booking { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
.book-card { display: flex; flex-direction: column; gap: 22px; padding: 34px; scroll-margin-top: 96px; }
.field-group { display: flex; flex-direction: column; gap: 12px; }
.field-label { font-size: 14px; color: var(--color-neutral-400); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.day-btn, .slot-btn {
  border: 1px solid var(--color-neutral-700); border-radius: var(--radius-sm);
  background: rgba(233,233,237,.03); color: var(--color-neutral-300); cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.day-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px; }
.day-btn .dow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.day-btn .num { font-family: var(--font-heading); font-size: 19px; font-weight: 500; }
.slot-btn { padding: 12px 6px; font-size: 16px; }
.day-btn:hover, .slot-btn:hover { border-color: var(--color-neutral-500); color: var(--color-text); }
.day-btn.is-active, .slot-btn.is-active {
  border-color: var(--color-accent);
  background: color-mix(in oklab, var(--color-accent) 16%, transparent);
  color: var(--color-accent-100);
}

.book-card input, .book-card textarea, .book-card select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--color-neutral-700); border-radius: var(--radius-sm);
  background: rgba(233,233,237,.04); color: var(--color-text); font-size: 16px;
}
.book-card textarea { resize: vertical; }
.book-card ::placeholder { color: var(--color-neutral-500); }
.book-card select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b2b6ca'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.book-card select option { background: var(--color-surface); color: var(--color-text); }
.book-card select:invalid, .book-card select:has(option[value=""]:checked) { color: var(--color-neutral-500); }

.btn-submit:disabled { opacity: .6; cursor: default; }
.hint-ok { color: var(--color-accent-200); }
.hint-error { color: #f0a3a3; }
.form-alt { margin: 0; font-size: 14px; color: var(--color-neutral-400); }
.btn-submit {
  padding: 16px 24px; font-size: 17px;
  background: linear-gradient(170deg, rgba(196,188,240,.16), rgba(145,132,217,.08));
}
.btn-submit:hover { background: color-mix(in oklab, var(--color-accent) 18%, transparent); }

.faq { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--color-neutral-700); border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(233,233,237,.045), rgba(233,233,237,.01));
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: transparent; border: 0;
  color: var(--color-text); font-size: 17px; text-align: left; cursor: pointer;
}
.faq-q i { font-size: 15px; color: var(--color-accent-300); flex: none; }
.faq-a { display: none; padding: 0 20px 20px; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--color-neutral-300); }
.faq-item.is-open .faq-a { display: block; animation: noc-rise .25s ease both; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 110px; padding-bottom: 70px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-top: 34px;
  border-top: 1px solid;
  border-image: linear-gradient(90deg, transparent, var(--color-neutral-700) 8%, var(--color-neutral-700) 92%, transparent) 1;
}
.footer-inner .brand-name { font-size: 19px; color: var(--color-neutral-200); }
.ig { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ig i { font-size: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; }
  .demo, .booking { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { margin-top: 84px; }
  .demo-card { min-height: 0; }
  .lede, .lede.sm { max-width: none; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: rgba(19,21,34,.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-neutral-800);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 17px; }
  .nav-cta { justify-content: center; margin-top: 8px; padding: 14px 18px; }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .section { margin-top: 72px; gap: 26px; }
  .stats-wrap { margin-top: 60px; }
  .hero-actions .btn { width: 100%; }
  .chat-card, .book-card { padding: 20px; }
  .plan { padding: 24px; }
  .bubble, .chat-stream .bubble { max-width: 92%; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .pricing-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { margin-top: 72px; padding-bottom: 48px; }
}
