/* Muhurta support & marketing site — dark-first, app-token aligned. */
:root {
  color-scheme: dark;
  --bg: #0d0d12;
  --ink: #f4f6fb;
  --muted: #9aa3b5;
  --accent: #3f8ef7;
  --accent-2: #3399ff;
  --card: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.1);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(120deg, #3f8ef7, #3399ff);
  --nav: rgba(13, 13, 18, 0.72);
  --nav-scrolled: rgba(13, 13, 18, 0.92);
  --glow-a: rgba(63, 142, 247, 0.28);
  --glow-b: rgba(51, 153, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --device-frame: #11131a;
  --device-ring: rgba(255, 255, 255, 0.08);
  --phone-glow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(63, 142, 247, 0.22);
  --legal-panel: rgba(255, 255, 255, 0.04);
  --ico-fill: rgba(63, 142, 247, 0.14);
  --hover-border: rgba(63, 142, 247, 0.4);
  --heart: #e0245e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--glow-a), transparent 60%),
    radial-gradient(700px 420px at 8% 25%, var(--glow-b), transparent 55%);
}

body > * { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(22px);
  background: var(--nav);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled {
  background: var(--nav-scrolled);
  border-bottom-color: var(--stroke);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent-2); text-decoration: none; }
.nav-links a.active { color: var(--accent-2); font-weight: 600; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: var(--grad);
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(63, 142, 247, 0.35);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(63, 142, 247, 0.45);
}
.btn.ghost {
  background: var(--glass);
  color: var(--ink) !important;
  border: 1px solid var(--stroke);
  box-shadow: none;
}
.btn.ghost:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.btn.disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.hero { padding: 56px 0 36px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(63, 142, 247, 0.4);
  background: rgba(63, 142, 247, 0.1);
}
.hero h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 16px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 44ch;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.made {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
.made .heart {
  color: var(--heart);
  display: inline-block;
}

.hero-stage {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
}
.phone-pair {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.device {
  width: 250px;
  border-radius: 44px;
  padding: 10px;
  background: var(--device-frame);
  box-shadow: var(--shadow), 0 0 0 1px var(--device-ring);
}
.device img {
  width: 100%;
  display: block;
  border-radius: 34px;
}
.device.back {
  position: absolute;
  left: 50%;
  top: 48px;
  margin-left: -40px;
  opacity: 0.78;
  transform: translateX(70px) rotate(8deg) scale(0.9);
  z-index: 1;
}
.device.front {
  position: relative;
  z-index: 2;
  box-shadow: var(--phone-glow);
  animation: float 5.5s ease-in-out infinite;
}

section { padding: 48px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--hover-border);
}
.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ico-fill);
  color: var(--accent-2);
  font-size: 20px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

.band {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: 44px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(63, 142, 247, 0.28);
}
.band h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.band p {
  max-width: 58ch;
  margin: 12px auto 0;
  opacity: 0.95;
  font-size: 17px;
}
.disclaimer {
  font-size: 14px !important;
  opacity: 0.92;
  margin-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 16px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  justify-items: center;
}
.shot { text-align: center; margin: 0; }
.shot .device { width: 240px; }
.shot figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  max-width: 28ch;
}

footer {
  border-top: 1px solid var(--stroke);
  padding: 36px 0;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

.legal-page { padding: 28px 0 80px; min-height: 70vh; }
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--legal-panel);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 40px 44px 48px;
  box-shadow: var(--shadow);
}
.legal h1 {
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.legal .updated {
  color: var(--muted);
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal .lede {
  font-size: 17px;
  color: var(--ink);
  margin: 18px 0 8px;
}
.legal h2 {
  font-size: 17px;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.legal p { margin-bottom: 12px; }
.legal ul {
  margin: 8px 0 12px 4px;
  padding: 0;
  list-style: none;
}
.legal ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--stroke);
}
.legal ul li:last-child { border-bottom: none; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.legal strong { color: var(--ink); font-weight: 600; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero-stage { height: 480px; margin-top: 8px; }
  .device.back { display: none; }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .nav-links a:not(.btn):not(.active):not(.nav-keep) { display: none; }
  .legal { padding: 24px 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device.front { animation: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
