:root {
  --bg-dark: #181F2A;
  --primary: #0b2e6a;
  --accent: #007AFF;
  --warning: #FF9500;
  --critical: #FF5B5B;
  --text: #FFFFFF;
  --text-secondary: #d0d0d0;
  --card-bg: #FFFFFF;
  --card-text: #111827;
  --muted-bg: #f5f7fb;
  --muted-blue: #f0f4ff;
  --orange: #FF9500;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.white { background:#ffffff; border-bottom: 1px solid #E5E7EB; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-inner.centered { justify-content: center; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-badge { display: inline-flex; align-items: center; gap: 10px; background:#fff; color:#0b2e6a; border-radius: 10px; padding: 6px 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.brand-badge.plain { box-shadow: none; border-radius: 0; padding: 0; background: transparent; }
.brand-badge.text-only { background: transparent; box-shadow: none; }
.brand-logo { height: 24px; width: auto; display:block; }
.brand-logo.large { height: 40px; }
.brand-name { letter-spacing: 0.2px; }
.nav a { color: var(--text-secondary); margin-left: 16px; text-decoration: none; }
.nav a:hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  text-align: center;
}
.hero h1 { font-size: 44px; margin: 0 0 12px; }
.hero .subtitle { color: var(--text-secondary); margin: 0 0 24px; font-size: 20px; }
.cta-row { display: inline-flex; gap: 12px; margin-bottom: 48px; }
.features-in-hero { margin-top: 24px; }

.features-detailed {
  margin-bottom: 48px;
}

.features-detailed .card {
  padding: 24px;
}

.features-detailed .card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 20px;
}

.features-detailed .card p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.5;
}

.features-detailed .card ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

.features-detailed .card li {
  position: relative;
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.4;
}

.features-detailed .card li:before {
  content: "✓";
  position: absolute;
  left: -20px;
  color: var(--primary);
  font-weight: bold;
}

.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(24,31,42,0.2), rgba(24,31,42,0.8)),
    url('assets/hero.jpg') center/cover no-repeat,
    radial-gradient(1200px 600px at 50% -10%, rgba(21,79,190,0.35), rgba(0,0,0,0));
}

.section { padding: 56px 0; }
.section.alt { background: #0f1520; }
.section.light { background: #f8fafc; color: #1e293b; }
.section.light h2 { color: #1e293b; }
.section.light .subtitle { color: #64748b; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.card.transparent {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.card.transparent h3 { color: var(--text); }
.card.transparent p { color: var(--text-secondary); }

.two-col {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.btn { display: inline-block; border-radius: 8px; padding: 12px 18px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid var(--primary); }
.btn-secondary:hover { background: rgba(21,79,190,0.15); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(1.05); }
.btn-full { width: 100%; }

.form { margin-top: 12px; }
.form-row { display: flex; flex-direction: column; margin-bottom: 12px; }
.form label { font-size: 14px; margin-bottom: 6px; color: #111827; }
.form input, .form select, .form textarea {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
}
.form-message { margin-top: 10px; font-size: 14px; min-height: 20px; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; color: var(--text-secondary); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* Screenshots */
.shots-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.shot { display:block; border-radius:12px; overflow:hidden; background:#0f1520; border:1px solid rgba(255,255,255,0.06); }
.shot img { display:block; width:100%; height:auto; }

/* Legal Pages */
.legal-page {
  background: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
}

.legal-page .site-header {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
}

.legal-page .brand-badge {
  background: #ffffff;
  color: #0b2e6a;
}

.legal-page .brand-badge.plain {
  background: transparent;
  color: #0b2e6a;
}

.legal-page .brand-badge.text-only {
  background: transparent;
  color: #0b2e6a;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
}

.legal-content h1 {
  color: #1e293b;
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-content .effective-date {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 32px;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 24px;
  margin: 32px 0 16px;
}

.legal-content p {
  color: #374151;
  margin-bottom: 16px;
}

.legal-content ul {
  color: #374151;
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-page .site-footer {
  border-top: 1px solid #E5E7EB;
  background: #f8fafc;
}

.legal-page .footer-inner {
  color: #64748b;
}

.legal-page .footer-links a {
  color: #64748b;
}

.legal-page .footer-links a:hover {
  color: #1e293b;
}

/* Carousel */
.carousel { position: relative; display:flex; align-items: center; gap: 8px; }
.carousel-viewport { overflow: hidden; border-radius: 12px; flex: 1; }
.carousel-track { display: flex; transition: transform 280ms ease; }
.slide { min-width: 33.33%; padding: 8px; display:block; }
.slide img { width: 100%; height: auto; display:block; border-radius: 12px; border:1px solid rgba(255,255,255,0.08); background:#0f1520; }
.carousel-btn { background: rgba(255,255,255,0.12); color:#fff; border: 1px solid rgba(255,255,255,0.2); width: 36px; height: 36px; border-radius: 999px; cursor: pointer; }
.carousel-btn:hover { background: rgba(255,255,255,0.2); }

.lightbox { position: fixed; inset:0; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,0.75); z-index: 50; }
.lightbox img { max-width:90vw; max-height:85vh; border-radius:12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lightbox.show { display:flex; }
.lightbox-close { position:absolute; top:20px; right:24px; font-size:32px; line-height:32px; background: none; color:#fff; border: none; cursor: pointer; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .shots-grid { grid-template-columns: 1fr; }
  .slide { min-width: 85%; }
}

