:root {
  color-scheme: dark;
  --bg: #070a12;
  --bg-soft: #0d1220;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(17, 27, 48, 0.95);
  --text: #eef4ff;
  --muted: #9aa9c7;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #68e1fd;
  --accent-2: #8b5cf6;
  --accent-3: #33ffa8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(104, 225, 253, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 4%, rgba(139, 92, 246, 0.18), transparent 30rem),
    radial-gradient(circle at 52% 88%, rgba(51, 255, 168, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}

.brand, .nav, .hero-actions, .trust-strip, .panel-top, .assistant-section, .contact {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.85rem;
  color: #001118;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 28px rgba(104, 225, 253, 0.42);
}

.nav { gap: 1.2rem; }
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav a:hover { color: var(--text); }

.header-cta {
  padding: 0.68rem 1rem;
  border: 1px solid rgba(104, 225, 253, 0.42);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
p { color: var(--muted); line-height: 1.7; }

.hero-text {
  max-width: 700px;
  font-size: 1.15rem;
}

.hero-actions { gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.82rem 1.1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}
.button.primary {
  color: #001118;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 12px 32px rgba(104, 225, 253, 0.22);
}
.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.trust-strip {
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0;
}
.trust-strip div {
  min-width: 10rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}
.trust-strip dt { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; }
.trust-strip dd { margin: 0.2rem 0 0; font-size: 0.92rem; overflow-wrap: anywhere; }

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 25, 0.94));
  box-shadow: var(--shadow);
}
.panel-top {
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.panel-top span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--accent-2);
}
.panel-top span:first-child { background: #ff657a; }
.panel-top span:last-child { background: var(--accent-3); }

.chat-preview { display: grid; gap: 1rem; padding: 1.4rem; }
.message {
  max-width: 88%;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}
.message.customer {
  justify-self: end;
  border-bottom-right-radius: 0.3rem;
  background: rgba(104, 225, 253, 0.16);
}
.message.bot {
  justify-self: start;
  border-bottom-left-radius: 0.3rem;
  background: rgba(139, 92, 246, 0.18);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.card, .feature-list div, .contact-form {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.card { padding: 1.35rem; }
.card ul { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.8; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: center;
}
.feature-list { display: grid; gap: 1rem; }
.feature-list div { padding: 1.1rem; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { margin-top: 0.35rem; color: var(--muted); line-height: 1.55; }

.assistant-section { justify-content: space-between; gap: 2rem; }
.assistant-section p { max-width: 760px; }

.contact { justify-content: space-between; gap: 2rem; align-items: flex-start; }
.contact > div { max-width: 680px; }
.contact a { color: var(--accent); }
.contact-form {
  display: grid;
  width: min(100%, 460px);
  gap: 1rem;
  padding: 1.2rem;
}
.contact-form label { display: grid; gap: 0.4rem; color: var(--text); font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }

.footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.footer p { margin: 0.3rem 0; font-size: 0.88rem; }

.chat-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 35;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 999px;
  color: #001118;
  cursor: pointer;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 18px 44px rgba(104, 225, 253, 0.34);
}

.chat-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.36);
}
.chat-shell.open { display: flex; }
.chat-window {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  width: min(430px, 100%);
  height: min(690px, calc(100vh - 2.4rem));
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.chat-window header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.chat-window header strong, .chat-window header span { display: block; }
.chat-window header span { margin-top: 0.15rem; color: var(--muted); font-size: 0.85rem; }
.chat-window header button {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
}
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow-y: auto;
  padding: 1rem;
}
.chat-line {
  max-width: 88%;
  padding: 0.78rem 0.9rem;
  border-radius: 1rem;
  line-height: 1.48;
  white-space: pre-wrap;
}
.chat-line.user {
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
  background: rgba(104, 225, 253, 0.16);
}
.chat-line.assistant {
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
  background: rgba(139, 92, 246, 0.18);
}
.chat-line.system {
  align-self: center;
  max-width: 96%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  text-align: center;
}
.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
}
.chat-input input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: #001118;
  cursor: pointer;
  font-weight: 900;
  background: var(--accent);
}
.chat-input button:disabled { cursor: wait; opacity: 0.6; }

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; padding: 0.75rem 1rem; }
  .nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }
  .nav a {
    padding: 0.42rem 0.62rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.56);
  }
  .hero, .split, .contact { grid-template-columns: 1fr; }
  .contact, .assistant-section { flex-direction: column; align-items: stretch; }
  .contact-form { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.8rem, 15vw, 5rem); }
}

@media (max-width: 560px) {
  .header-cta { padding: 0.5rem 0.75rem; font-size: 0.86rem; }
  .brand { font-size: 0.92rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .contact-form .button { width: 100%; text-align: center; }
  .hero { padding-top: 4rem; }
  .chat-shell { padding: 0; }
  .chat-window { width: 100%; height: 100vh; border-radius: 0; }
}

.page-intro { border-top: 0; }
.page-title {
  max-width: 980px;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 0.98;
}
.notice {
  display: grid;
  gap: 0.35rem;
  max-width: 900px;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(104, 225, 253, 0.36);
  border-left-width: 4px;
  border-radius: 1rem;
  background: rgba(104, 225, 253, 0.07);
}
.notice span { color: var(--muted); line-height: 1.6; }
.notice.warning { border-color: rgba(255, 196, 87, 0.5); background: rgba(255, 196, 87, 0.07); }

.packages { align-items: stretch; }
.package { display: flex; flex-direction: column; }
.package h3 { margin: 1.2rem 0 0; font-size: 1rem; }
.package ul { margin-top: 0.5rem; }
.package .button { margin-top: auto; align-self: flex-start; }
.package ul:last-of-type { margin-bottom: 1.5rem; }
.package.featured { border-color: rgba(104, 225, 253, 0.5); }
.price { margin: 0; color: var(--text); }
.price strong { font-size: 2.6rem; letter-spacing: -0.05em; }
.price span { color: var(--muted); }
.price-note { font-size: 0.92rem; }
.excluded { list-style: "– "; }
.inline-link, .legal a, .footer a, .card a:not(.button) { color: var(--accent); }

.legal { max-width: 900px; margin: 0 auto; border-top: 0; }
.legal h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.legal ul, .toc ol { color: var(--muted); line-height: 1.75; }
.legal li strong { color: var(--text); }
.toc { margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.placeholder, .notice .placeholder { padding: 0 0.25rem; border-radius: 0.3rem; color: #ffd27a; background: rgba(255, 196, 87, 0.12); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.card-link { display: inline-block; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.form-hint { margin: -0.4rem 0 0; font-size: 0.85rem; }

.mobile-actions { display: none; }
@media (max-width: 560px) {
  body { padding-bottom: 4.4rem; }
  .chat-fab { display: none; }
  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.55rem;
    border-top: 1px solid var(--line);
    background: rgba(7, 10, 18, 0.94);
    backdrop-filter: blur(18px);
  }
  .mobile-actions a, .mobile-actions button {
    padding: 0.72rem 0.4rem;
    border: 1px solid rgba(104, 225, 253, 0.34);
    border-radius: 999px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.9);
    text-align: center;
    text-decoration: none;
  }
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
