:root {
  --bg: #070b18;
  --surface: #0d1430;
  --card: #0b1226;
  --surface-elev: #101a3b;
  --muted: #cfd6f2;
  --text: #ffffff;
  --heading: #ffffff;
  --brand: #7c5cff;
  --brand-2: #4bc4ff;
  --success: #31d0aa;
  --focus: #9fd0ff;
  --input-bg: #0f1b3a;
  --input-border: #39518a;
  --placeholder: #b7c2e8;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(1200px 800px at 70% -20%, #273069 0%, transparent 60%),
              radial-gradient(1000px 600px at -10% 20%, #18204a 0%, transparent 60%),
              var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 24, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .logo { width: 32px; height: 32px; display: grid; place-items: center; font-size: 20px; }
.brand .brand-name { font-weight: 800; letter-spacing: 0.2px; }
.brand .brand-tag { font-size: 12px; color: var(--muted); }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: 0.2px; }
.nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.btn { appearance: none; border: 1px solid rgba(255,255,255,0.22); background: transparent; color: var(--text); padding: 12px 16px; border-radius: 12px; cursor: pointer; font-weight: 700; }
.btn:hover { border-color: rgba(255,255,255,0.24); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: none; color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border-color: transparent; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.login-dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; margin-top: 10px; background: var(--surface); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; overflow: hidden; min-width: 240px; box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: 6px; }
.dropdown-item { width: 100%; background: transparent; border: none; color: var(--text); text-align: left; padding: 12px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; border-radius: 10px; }
.dropdown-item:hover, .dropdown-item:focus-visible { background: rgba(255,255,255,0.12); outline: none; }
.dropdown-item img { width: 18px; height: 18px; }
.dropdown-item .icon { width: 18px; display: inline-block; text-align: center; }
.hidden { display: none; }

.hero { padding: 96px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero-text h1 { color: var(--heading); font-size: clamp(32px, 5.4vw, 56px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.3px; }
.hero-text p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.hero-cta { display: flex; gap: 12px; margin: 18px 0 8px; }
.hero-bullets { list-style: none; padding: 0; margin: 16px 0 0; color: var(--muted); display: grid; gap: 6px; }
.hero-bullets li::before { content: "✔"; color: var(--success); margin-right: 8px; }

.hero-art .mockup { border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 16px 48px rgba(0,0,0,.6); }
.mockup-topbar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-topbar span { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.mockup-topbar span:nth-child(2) { background: #f7c948; }
.mockup-topbar span:nth-child(3) { background: #51cf66; }
.mockup-body { padding: 16px; height: 320px; display: grid; align-items: end; }
.chat { display: grid; gap: 8px; }
.msg { padding: 12px 14px; border-radius: 12px; max-width: 90%; font-size: 15px; }
.msg.left { background: rgba(255,255,255,0.12); color: var(--text); justify-self: start; }
.msg.right { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; justify-self: end; }

.integrations { padding: 56px 0; }
.integrations h2 { margin: 0 0 8px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.badge { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: var(--text); font-weight: 700; font-size: 13px; }

.features { padding: 48px 0 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.how { padding: 48px 0 8px; }
.step { background: var(--card); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); margin-bottom: 8px; font-weight: 700; }

.pricing { padding: 56px 0 72px; }
.pricing-card { display: grid; gap: 10px; background: linear-gradient(180deg, rgba(124, 92, 255, 0.12), rgba(15, 21, 48, 0.7)); border: 1px solid rgba(255,255,255,0.22); border-radius: 16px; padding: 18px; box-shadow: 0 12px 36px rgba(0,0,0,.45); }
.price { display: flex; align-items: baseline; gap: 6px; }
.amount { font-size: 38px; font-weight: 900; }
.per { color: var(--muted); }

.site-footer { border-top: 1px solid rgba(255,255,255,0.14); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.muted { color: var(--muted); }
.links { display: flex; gap: 16px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.modal { border: none; border-radius: 12px; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(7,11,24,.75); backdrop-filter: blur(4px); }
.modal-body { background: var(--surface-elev); border: 1px solid rgba(255,255,255,0.35); border-radius: 14px; padding: 22px; width: min(520px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.modal-body h3 { margin: 0 0 14px; color: var(--heading); font-size: 24px; letter-spacing: -0.2px; }
.field { display: grid; gap: 8px; margin: 14px 0; }
.field label { color: var(--muted); font-weight: 700; letter-spacing: .2px; }
.field input { background: var(--input-bg); border: 1.5px solid var(--input-border); border-radius: 12px; padding: 14px 14px; color: var(--text); font-size: 16px; }
.field input::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(159,208,255,.3); }
.row { display: flex; gap: 8px; align-items: center; }
.error { color: #ff6b6b; margin: 8px 0 0; }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .btn { padding: 11px 14px; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Mobile nav pattern */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 64px;
    background: rgba(7,11,24,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  .nav.open { display: flex; }
}

@media (max-width: 420px) {
  .amount { font-size: 32px; }
}


  /* Language selector */
  .lang-switch {
    position: relative;
    display: inline-block;
  }
  .lang-switch select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 10px;
    padding: 8px 30px 8px 12px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
  }
  .lang-switch select:hover {
    border-color: rgba(255,255,255,0.35);
  }
  .lang-switch select:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
  }
  .lang-switch::after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    font-size: 12px;
  }

