/* Star365 — Google Ads compliant landing (fast, mobile-first) */
:root {
  --bg: #0b1220;
  --surface: #141d2e;
  --surface2: #1a2740;
  --text: #e8edf5;
  --muted: #94a3b8;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --warn: #f59e0b;
  --danger: #ef4444;
  --border: rgba(148, 163, 184, 0.2);
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.badge-18 {
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(34, 197, 94, 0.15), transparent);
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 700;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #052e16;
}
.btn-primary:hover { background: var(--accent-dim); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.trust-row span { display: flex; align-items: center; gap: 0.35rem; }

/* Sections */
section { padding: 2.5rem 0; }
section h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.section-sub {
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 40rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Disclaimer box */
.disclaimer-box {
  background: var(--surface2);
  border: 1px solid var(--warn);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.disclaimer-box h3 {
  color: var(--warn);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.disclaimer-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.disclaimer-box li { margin-bottom: 0.4rem; }

/* Geo */
.state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.state-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Legal pages */
.legal-page { padding: 2rem 0 3rem; }
.legal-page h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li {
  color: var(--muted);
  font-size: 0.95rem;
}
.legal-page ul { padding-left: 1.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--text); font-size: 0.9rem; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Age gate modal */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.age-overlay.hidden { display: none; }
.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}
.age-modal .badge-18 {
  font-size: 1.25rem;
  padding: 0.35rem 0.65rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.age-modal h2 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.age-modal p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.age-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.age-actions .btn { width: 100%; justify-content: center; }
.btn-decline {
  background: transparent;
  color: var(--muted);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem;
}
.btn-decline:hover { color: var(--text); }

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cookie-bar.hidden { display: none; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa-float:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.wa-float-label { display: none; }
@media (min-width: 480px) {
  .wa-float-label { display: inline; }
}
body.cookie-visible .wa-float {
  bottom: 5rem;
}

.geo-check { margin-top: 1rem; }
.geo-check select {
  width: 100%;
  max-width: 320px;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  margin-bottom: 0.75rem;
}
.geo-result {
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}
.geo-result.warn { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.geo-result.blocked { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.geo-result.ok { background: rgba(34, 197, 94, 0.12); color: #86efac; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: block; }
  .header-inner { position: relative; flex-wrap: wrap; }
}
