:root {
  --bg: #0b1020;
  --bg-soft: #11162a;
  --card: #0e1427;
  --text: #eef2ff;
  --muted: #a3acc2;
  --brand: #da252e;
  --brand-2: #b11e26;
  --accent: #da252e;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.3);
  --radius: 14px;
  /* Spacing scale */
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 64px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, #0b1020 0%, #161016 60%, #0b1020 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(120%) blur(12px);
  background: rgba(11,16,32,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
}
.logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: var(--space-3);
  opacity: 0.9;
}
.nav a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
}
.btn-small { padding: 10px 12px; font-weight: 600; }
.btn-light { background: rgba(255,255,255,0.1); box-shadow: none; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 44px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-6); align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; margin: 0 0 var(--space-3); }
.hero-copy h1 b{ background: rgb(218 37 46 / 10%); padding: 0 8px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 var(--space-4); }
.hero-cta { display: flex; gap: var(--space-3); margin-bottom: var(--space-2); flex-wrap: wrap; }
.hero-badges { list-style: none; padding: 0; display: flex; gap: var(--space-3); color: var(--muted); margin: var(--space-2) 0 0; flex-wrap: wrap; }
/* Small pill label */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; color: #ffe5e6; background: rgba(218,37,46,0.15); border: 1px solid rgba(218,37,46,0.35); border-radius: 999px; margin-bottom: var(--space-2); }

/* Hero image */
.hero-img { display: block; width: 100%; max-width: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.06); position: relative; }
.hero-img img { display: block; width: 100%; height: auto; }
.hero-img video { display: block; width: 100%; height: auto; }
.hero-art { display: grid; place-items: center; position: relative; }
.hero-art::after { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 60%; background: radial-gradient(600px 200px at 50% 0%, rgba(218,37,46,0.28), transparent 60%); pointer-events: none; filter: blur(10px); }

.hero-art { display: grid; place-items: center; }
.browser-mockup { width: 100%; max-width: 520px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px; background: #0a0f21; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.address { margin-left: 8px; color: var(--muted); font-size: 12px; opacity: 0.9; }
.browser-body { position: relative; height: 280px; background: radial-gradient(1200px 240px at 20% 10%, rgba(218,37,46,0.18), transparent 40%), radial-gradient(1200px 300px at 80% 80%, rgba(177,30,38,0.18), transparent 45%); }
.cursor-path { position: absolute; inset: 20% 10% auto auto; width: 72%; height: 60%; border: 1px dashed rgba(255,255,255,0.15); border-radius: 12px; }
.click-pulse { position: absolute; left: 24%; top: 60%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(34,211,238,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6);} 70% { box-shadow: 0 0 0 24px rgba(34,211,238,0);} 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0);} }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: rgba(255,255,255,0.03); }
.section h2 { margin: 0 0 var(--space-2); font-size: clamp(24px, 3vw, 32px); }
.section-lead { color: var(--muted); margin: 0 0 var(--space-5); }

.grid { display: grid; gap: var(--space-3); }
.features-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.use-cases-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.how-grid { grid-template-columns: repeat(3, 1fr); align-items: start; gap: var(--space-4); }
/* Download grid */
.download-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.faq-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.faq-list li { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: var(--space-3); padding: 12px 16px; }
.faq-list li.card { background: transparent; box-shadow: none; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }
.faq-list li::marker { content: ''; }
.faq-list strong { font-size: 14px; color: var(--text); }
.faq-list span { color: var(--muted); }
.platform { display: grid; gap: var(--space-2); text-decoration: none; color: var(--text); transition: transform .12s ease, border-color .12s ease, opacity .12s ease; }
.platform:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.platform.disabled { opacity: 0.7; cursor: not-allowed; }
.platform.disabled:hover { transform: none; border-color: rgba(255,255,255,0.06); }
.platform-head { display: flex; align-items: center; gap: var(--space-2); }
.platform h3 { margin: 0; }
.platform-cta { margin-top: auto; display: inline-block; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.08); font-weight: 600; width: fit-content; }
.platform-cta.soon { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px dashed rgba(255,255,255,0.12); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.card { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); }
.feature .icon { font-size: 20px; opacity: 0.9; }
.feature h3 { margin: 10px 0 6px; }
.use-case h3 { margin: 6px 0; }

/* Thumbnails */
.thumb { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); margin-bottom: var(--space-3); background: #0a0f21; }

/* Use-case icons */
.uc-icon { width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); margin-bottom: var(--space-3); }
.uc-icon img { width: 28px; height: 28px; opacity: 0.95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.uc-emoji { width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(218,37,46,0.20), rgba(177,30,38,0.20)); border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--shadow); margin-bottom: var(--space-3); font-size: 28px; }

.step {min-height: 185px; background: linear-gradient(160deg, rgba(218,37,46,0.12), rgba(177,30,38,0.12)); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 18px; }
.step-num { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.1); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }

/* CTA */
.cta { text-align: center; background: radial-gradient(600px 200px at 50% 0%, rgba(218,37,46,0.25), transparent 60%); }
.cta-inner { display: grid; gap: var(--space-2); justify-items: center; }
.cta .btn-light:hover { background: rgba(255,255,255,0.16); }

/* Contact form */
.contact-form { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-3); align-items: start; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 14px; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 12px; border-radius: 10px; background: #0a0f21; border: 1px solid rgba(255,255,255,0.08); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(218,37,46,0.7); box-shadow: 0 0 0 3px rgba(218,37,46,0.18); }
.checkbox { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; }
.form-actions { display: flex; align-items: center; gap: var(--space-3); }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }
.error { color: var(--danger); min-height: 16px; }
.form-status { margin-top: 10px; color: var(--success); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; background: rgba(0,0,0,0.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-right { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-right a { color: var(--muted); text-decoration: none; }
.footer-right a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .faq-list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding-top: var(--space-5); }
  .hero-copy h1 { font-size: 34px; }
  .form-row { grid-template-columns: 1fr; }
}
