/* SonarFish website – one stylesheet, no build step. */

:root {
  --ink: #0b1530;
  --ink-soft: #46506a;
  --muted: #6b7590;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --blue: #1f6bf5;
  --blue-dark: #1450c8;
  --teal: #0cc4d8;
  --deep: #071233;
  --deep-2: #0d2366;
  --red: #ff3b47;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(11, 21, 48, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 48px); margin: 0 auto; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--deep); box-shadow: 0 10px 30px -10px rgba(12, 196, 216, .6); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(12, 196, 216, .8); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn svg { width: 20px; height: 20px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); background: rgba(7, 18, 51, .72); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.8); font-size: .95rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { padding: 9px 18px; font-size: .9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 70% 10%, #123a9a 0%, transparent 60%), linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 55%, #0a3f86 100%); padding: 96px 0 120px; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600; margin-bottom: 24px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,59,71,.7); animation: rec 1.6s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255,59,71,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,59,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,71,0); } }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; }
.hero h1 .accent { background: linear-gradient(90deg, #7fe7f2, #9fc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.25rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.6); }

/* Sonar rings behind the hero visual */
.sonar { position: absolute; right: -120px; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); pointer-events: none; }
.sonar span { position: absolute; inset: 0; margin: auto; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(127, 231, 242, .5); animation: ping 6s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0; }
.sonar span:nth-child(2) { animation-delay: 1.5s; }
.sonar span:nth-child(3) { animation-delay: 3s; }
.sonar span:nth-child(4) { animation-delay: 4.5s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .menu-shot { width: 360px; border-radius: 16px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.hero-visual .prompt-shot { position: absolute; width: 330px; right: -10px; bottom: -40px; border-radius: 14px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.5); }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 28px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 8px 20px -6px rgba(31,107,245,.6); }
.step h3 { font-size: 1.15rem; margin-top: 6px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.shot { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.showcase-side { display: grid; gap: 28px; }
.caption { margin-top: 12px; color: var(--muted); font-size: .95rem; text-align: center; }

/* Privacy band */
.privacy { color: #fff; background: linear-gradient(140deg, var(--deep) 0%, #10307f 100%); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.privacy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.privacy p { color: rgba(255,255,255,.8); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--deep); background: #7fe7f2; }

/* Install guide */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.install .card { padding-top: 24px; }
.install .num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; }
.mock { margin: 14px 0 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); padding: 14px; font-size: .85rem; color: var(--ink-soft); }
.mock .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock .pill { padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .8rem; color: var(--ink); }
.mock .pill.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.note { margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: #fff8e8; border: 1px solid #f6dfa6; color: #6a4b00; font-size: .95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.plan.featured .tag { position: absolute; top: -14px; left: 32px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { justify-content: center; }
.plan.soon { opacity: .75; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Final call to action */
.cta { text-align: center; color: #fff; background: radial-gradient(800px 400px at 50% 0%, #1f4fc7 0%, transparent 70%), var(--deep); padding: 96px 0; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-bottom: 32px; }

/* Footer */
.footer { padding: 40px 0; background: var(--deep); color: rgba(255,255,255,.55); font-size: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.75); margin-left: 22px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { color: var(--muted); margin-bottom: 32px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .showcase, .privacy { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 24px; }
  .features, .steps, .install, .pricing { grid-template-columns: 1fr 1fr; }
  .privacy { padding: 44px 32px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .features, .steps, .install, .pricing { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-visual .prompt-shot { display: none; }
  .hero-visual .menu-shot { width: 300px; }
  .sonar { top: 78%; right: -320px; }
  .footer a { margin: 0 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sonar span, .badge .dot { animation: none; }
}
