/* Cleanii — marketing site design system.
   Self-contained: system fonts only, no external requests, no cookies, no trackers. */

:root {
  --accent: #7c3aed;
  --accent-700: #6d28d9;
  --accent-300: #a78bfa;
  --accent-soft: rgba(124, 58, 237, 0.10);
  --accent-softer: rgba(124, 58, 237, 0.06);

  --ink: #17131f;
  --ink-2: #3a3448;
  --muted: #6a6478;
  --bg: #fbfaff;
  --bg-2: #f3f1fb;
  --card: #ffffff;
  --line: rgba(23, 19, 31, 0.09);
  --line-2: rgba(23, 19, 31, 0.06);

  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(23, 19, 31, 0.06);
  --shadow: 0 18px 50px rgba(44, 24, 84, 0.12);
  --shadow-lg: 0 30px 80px rgba(44, 24, 84, 0.22);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.4em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent-700); }
.hl {
  color: var(--accent-700);
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 0.06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 58, 237, 0.16);
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; border-radius: var(--radius-sm);
  padding: 14px 24px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-700) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, 0.34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124, 58, 237, 0.42); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.3); }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.btn-light:hover { background: rgba(255, 255, 255, 0.2); }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #15121d; color: #fff; border-radius: var(--radius-sm);
  padding: 11px 20px 11px 18px; border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .small { font-size: 0.66rem; opacity: 0.8; line-height: 1; }
.badge .big { font-size: 1.08rem; font-weight: 700; line-height: 1.15; }
.hero .badge { background: #fff; color: #15121d; border-color: rgba(255, 255, 255, 0.6); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(251, 250, 255, 0.82);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 0.97rem; }
.nav-links a:hover { color: var(--accent-700); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; gap: 2px; background: var(--bg-2); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch a { font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); color: var(--muted); }
.lang-switch a.active { background: var(--card); color: var(--accent-700); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 78% -10%, #3a2168 0%, transparent 60%),
    linear-gradient(165deg, #2a1a4a 0%, #150e28 60%, #100a1f 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 15% 110%, rgba(124, 58, 237, 0.4), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 86px 0 96px; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255, 255, 255, 0.82); font-size: 1.2rem; max-width: 36ch; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
.hero .hl { color: #fff; background: linear-gradient(180deg, transparent 60%, rgba(167, 139, 250, 0.45) 60%); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; color: rgba(255, 255, 255, 0.76); font-size: 0.92rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-300); flex: none; }
.hero-art { display: flex; justify-content: center; }
.phone { width: 300px; max-width: 78vw; filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.45)); }

/* Logo strip / trust */
.stripe { background: var(--card); border-bottom: 1px solid var(--line-2); }
.stripe-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 22px 0; }
.stripe-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); font-size: 0.98rem; }
.stripe-item .ic { color: var(--accent-700); flex: none; }

/* Sections */
section { padding: 92px 0; }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 58, 237, 0.22); }
.feature .art { width: 100%; height: 132px; margin-bottom: 18px; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.feature .art svg { width: 100%; height: 100%; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.98rem; }

/* Split showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { background: linear-gradient(160deg, var(--bg-2), #ece9fb); border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.ul-check { list-style: none; padding: 0; margin: 20px 0 0; }
.ul-check li { position: relative; padding: 8px 0 8px 34px; color: var(--ink-2); font-weight: 500; }
.ul-check li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; box-shadow: var(--shadow-sm); }
.step .n {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(180deg, var(--accent), var(--accent-700));
  margin-bottom: 16px; box-shadow: 0 8px 18px rgba(124, 58, 237, 0.3);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.98rem; }

/* Privacy band */
.band { background: linear-gradient(160deg, #221544 0%, #150d28 100%); color: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 85% 0%, rgba(124, 58, 237, 0.42), transparent 70%); }
.band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 56px; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.82); }
.band .hl { color: #fff; background: linear-gradient(180deg, transparent 60%, rgba(167, 139, 250, 0.4) 60%); }
.band .ul-check li { color: rgba(255, 255, 255, 0.9); }
.band .ul-check li::before { background-color: rgba(167, 139, 250, 0.22); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.plan.featured::before {
  content: attr(data-badge); position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent), var(--accent-700)); color: #fff; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.04em; padding: 6px 14px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.plan .name { font-weight: 800; font-size: 1.1rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plan .note { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan .ul-check { margin-top: 0; flex: 1; }
.plan .ul-check li { font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-700); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; }

/* CTA band */
.cta-final { text-align: center; }
.cta-final .inner { background: linear-gradient(160deg, #2a1a4a, #150d28); border-radius: 32px; padding: 68px 32px; color: #fff; position: relative; overflow: hidden; }
.cta-final .inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 120%, rgba(124, 58, 237, 0.5), transparent 70%); }
.cta-final .inner > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, 0.82); max-width: 44ch; margin-inline: auto; }
.cta-final .badges { justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { background: #120d20; color: rgba(255, 255, 255, 0.72); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.02em; margin: 0 0 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-company { font-size: 0.92rem; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 22px; font-size: 0.86rem; }

/* Legal pages */
.legal-hero { background: linear-gradient(165deg, #2a1a4a, #150e28); color: #fff; padding: 64px 0 52px; }
.legal-hero h1 { color: #fff; margin: 0; }
.legal-hero p { color: rgba(255, 255, 255, 0.76); margin: 10px 0 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 64px 0 90px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm); line-height: 1.8; }
.legal a { color: var(--accent-700); font-weight: 600; }
.legal .toc { background: var(--bg-2); border-radius: var(--radius-sm); padding: 18px 24px; }
.legal .toc a { display: inline-block; margin: 3px 14px 3px 0; }
.note-box { background: var(--accent-softer); border: 1px solid rgba(124, 58, 237, 0.18); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 0.92rem; color: var(--ink-2); }

/* Language chooser (root) */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: radial-gradient(1000px 500px at 50% -10%, #3a2168 0%, transparent 60%), linear-gradient(165deg, #2a1a4a, #100a1f); color: #fff; padding: 40px; }
.chooser .mark { width: 72px; height: 72px; margin: 0 auto 24px; }
.chooser h1 { color: #fff; }
.chooser .pick { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .split, .band-inner { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0 72px; gap: 36px; }
  .hero-art { order: -1; }
  .split.reverse .split-media { order: 0; }
  .features, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band-inner { padding: 40px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav-toggle { display: inline-flex; background: none; border: 0; cursor: pointer; padding: 8px; }
  .features, .steps, .plans, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .band-inner, .cta-final .inner { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
