:root {
  --bg: #0b1324;
  --surface: #131f37;
  --surface-2: #1b2944;
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --emerald: #10b981;
  --sky: #38bdf8;
  --coral: #f43f5e;
  --amber: #f59e0b;
  --violet: #8b5cf6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.demo-blurred .page-wrap {
  filter: blur(8px) saturate(0.65);
  transform: rotate(-0.8deg) scale(0.994);
  transition: filter 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  user-select: none;
}

.page-wrap {
  transition: filter 0.45s ease, transform 0.45s ease;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 19, 36, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }
.lang-pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 99px;
  color: var(--text) !important;
  font-size: 13px !important;
}

/* Hero */
.hero {
  padding: 56px 0 44px;
  background:
    radial-gradient(circle at 14% 18%, rgba(16, 185, 129, 0.16), transparent 42%),
    radial-gradient(circle at 86% 24%, rgba(56, 189, 248, 0.14), transparent 42%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.accent-emerald { color: #34d399; }
.accent-coral { color: #fb7185; }
.lead {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.34);
}
.btn-roast {
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  border: 1.5px solid rgba(244, 63, 94, 0.45);
}
.btn-outline {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hero-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.hero-shot img {
  width: 100%;
  display: block;
}

/* Sections */
section.sec {
  padding: 56px 0;
}
.sec-alt {
  background: rgba(19, 31, 55, 0.48);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}
.sec-head p {
  color: var(--muted);
  font-size: 16px;
}

/* Grid Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}
.card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.card p {
  font-size: 14.5px;
  color: #cbd5e1;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: rgba(16, 185, 129, 0.16);
}

/* Screenshots Gallery */
.gallery-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
th {
  background: var(--surface-2);
  font-weight: 800;
}
tr:last-child td { border-bottom: none; }
.yes { color: #34d399; font-weight: 700; }
.no { color: #fb7185; font-weight: 600; }

/* FAQ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}
details.faq-item summary {
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq-item summary::after {
  content: "+";
  color: var(--emerald);
  font-size: 20px;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item p {
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 14.5px;
}

/* Interactive Demo Modal */
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 13, 25, 0.65);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.demo-modal.open { display: flex; }
.demo-box {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, #131f37, #0b1324);
  border: 2px solid rgba(244, 63, 94, 0.72);
  border-radius: 24px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 28px 90px rgba(244, 63, 94, 0.35);
}
.demo-quote {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0 18px;
  font-weight: 600;
  color: #e2e8f0;
}
.hold-btn {
  width: 100%;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  border: 1.5px solid rgba(244, 63, 94, 0.5);
  user-select: none;
}
.hold-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: rgba(244, 63, 94, 0.52);
  pointer-events: none;
}
.hold-txt { position: relative; z-index: 2; }

/* Prose (Privacy Policy) */
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}
.prose h1 { font-size: 32px; margin-bottom: 12px; }
.prose h2 { font-size: 21px; margin: 28px 0 10px; color: #34d399; }
.prose p, .prose li { color: #cbd5e1; margin-bottom: 10px; font-size: 15px; }
.prose ul { padding-left: 22px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
footer a { color: #6ee7b7; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links a:not(.lang-pill) { display: none; }
}
