/* Suvydo website — brand: navy, turquoise, cyan, white. Mobile first. */

:root {
  --navy-950: #040e24;
  --navy-900: #061633;
  --navy-800: #0a2350;
  --navy-700: #0d3070;
  --blue-600: #0b74c4;
  --blue-500: #2f9bff;
  --cyan-400: #3fd3f0;
  --teal-300: #65ddc1;
  --white: #ffffff;

  --bg: #f7fafd;
  --surface: #ffffff;
  --tint: #eef6fc;
  --border: #dce6ef;
  --ink: #0e1b26;
  --muted: #4f6070;
  --link: #0b6bb5;
  --pending-bg: #fff6e5;
  --pending-ink: #7a4b00;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(6, 22, 51, 0.04), 0 12px 32px -12px rgba(6, 22, 51, 0.14);
  --grad-water: linear-gradient(135deg, var(--teal-300), var(--blue-500));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07142b;
    --surface: #0d1e3b;
    --tint: #0a1a35;
    --border: #1d3459;
    --ink: #eaf2f8;
    --muted: #a9b9c6;
    --link: #6cc4ff;
    --pending-bg: #2b220f;
    --pending-ink: #ffd58a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -16px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-title { width: 26px; height: 26px; color: var(--blue-500); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 22, 51, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 10px; }
.wordmark { font: 800 1.3rem/1 var(--font-display); letter-spacing: -0.03em; }
.nav { display: flex; gap: 4px; order: 3; width: 100%; padding-bottom: 10px; overflow-x: auto; }
.nav a, .lang-switch {
  color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 0.95rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(101, 221, 193, 0.5); }
.lang-switch { gap: 6px; border: 1px solid rgba(255, 255, 255, 0.2); }
.lang-switch:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

@media (min-width: 760px) {
  .nav { order: 0; width: auto; padding-bottom: 0; overflow: visible; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1000px 520px at 85% 20%, rgba(47, 155, 255, 0.35), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(101, 221, 193, 0.18), transparent 65%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700));
  padding: 56px 0 72px;
}
.hero-glow {
  position: absolute; inset: auto -20% -45% -20%; height: 60%;
  background: radial-gradient(closest-side, rgba(63, 211, 240, 0.35), transparent);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-300); background: rgba(101, 221, 193, 0.12); border: 1px solid rgba(101, 221, 193, 0.3);
}
.hero h1 { color: var(--white); max-width: 15ch; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 56ch; }
.hero .lead { color: rgba(255, 255, 255, 0.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); max-width: 52ch; }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 12px 20px; min-height: 50px; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: var(--navy-900); background: var(--white);
  box-shadow: 0 10px 30px -10px rgba(63, 211, 240, 0.7);
}
a.store-badge:hover { transform: translateY(-1px); }
.store-badge.is-soon { background: rgba(255, 255, 255, 0.95); cursor: default; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 50px; padding: 12px 20px; border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-mark {
  position: absolute; z-index: 2; width: 104px; height: 104px; left: calc(50% - 205px); bottom: 12px;
  filter: drop-shadow(0 18px 32px rgba(4, 14, 36, 0.6));
  animation: float 7s ease-in-out infinite;
}
@media (max-width: 420px) { .hero-mark { left: 4px; width: 88px; height: 88px; } }

/* Phone illustration */
.phone {
  width: 260px; padding: 10px; border-radius: 44px;
  background: linear-gradient(160deg, #1c3a6e, #0a1c3d);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-screen {
  position: relative; overflow: hidden; border-radius: 36px; padding: 40px 18px 22px;
  background: linear-gradient(180deg, #f7fafd, #e8f3fd);
  color: var(--navy-900); min-height: 500px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.phone-notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 999px; background: #0a1c3d; }
.mock-label { margin: 0; align-self: flex-start; font: 800 1.4rem/1 var(--font-display); letter-spacing: -0.02em; }
.mock-ring { position: relative; width: 150px; height: 150px; }
.ring-track { fill: none; stroke: #d8e7f4; stroke-width: 11; }
.ring-fill { fill: none; stroke-width: 11; stroke-linecap: round; }
.mock-ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mock-ring-text strong { font: 800 1.7rem/1 var(--font-display); letter-spacing: -0.03em; }
.mock-ring-text span { font-size: 0.78rem; color: #4f6070; }
.mock-water { position: relative; width: 100%; height: 64px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #cfe8fb, #9fd3f7); }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.wave-back { fill: rgba(47, 155, 255, 0.45); animation: drift 9s linear infinite; }
.wave-front { fill: rgba(11, 116, 196, 0.75); animation: drift 6s linear infinite reverse; }
.mock-chips { display: flex; gap: 8px; }
.mock-chips span { padding: 8px 14px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 0.85rem; box-shadow: 0 2px 8px rgba(6, 22, 51, 0.08); }
.mock-chips .is-fav { color: var(--white); background: var(--grad-water); }
.mock-row { display: flex; justify-content: space-between; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--white); font-size: 0.88rem; }
.mock-toast { margin-top: auto; padding: 10px 16px; border-radius: 14px; background: var(--navy-900); color: var(--white); font-size: 0.82rem; font-weight: 600; }

@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-mark { width: 128px; height: 128px; left: calc(50% - 250px); bottom: 20px; }
}

@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feature:hover { transform: translateY(-3px); }
.feature p { color: var(--muted); margin: 0; }
.feature-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 14px; color: var(--white); background: var(--grad-water);
  box-shadow: 0 8px 20px -8px rgba(47, 155, 255, 0.8);
}
.feature-icon.is-large { width: 54px; height: 54px; border-radius: 16px; }

.split { display: grid; gap: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 0.8fr; } }
.privacy-card, .facts-card { padding: 32px; }
.privacy-card p { color: var(--muted); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.facts { margin: 0 0 24px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts-card .store-badge { color: var(--white); background: var(--navy-900); box-shadow: none; }

/* ── Content pages ──────────────────────────────────────────────────────── */
.page { padding: 48px 0 80px; }
.page-head { margin-bottom: 28px; }
.page-meta { margin-top: 16px; display: grid; gap: 6px; }
.meta { margin: 0; font-size: 0.95rem; color: var(--muted); }
.pending { color: var(--pending-ink); background: var(--pending-bg); border-radius: var(--radius-sm); padding: 10px 14px; }
.policy-group { margin-bottom: 16px; padding: 28px; }
.policy-group > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
.policy-section + .policy-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.policy-section p, .policy-section li { color: var(--muted); }
.bullets { margin: 0 0 1em; padding-left: 1.2em; }
.bullets li { margin: 0.35em 0; }
.bullets li::marker { color: var(--blue-500); }

.faq-list { display: grid; gap: 12px; margin-bottom: 20px; }
.faq { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-q { font-size: 1.08rem; margin: 0; }
.faq-a { padding: 0 22px 18px; }
.faq-a p, .faq-a li { color: var(--muted); }
.report { padding: 28px; }
.note { font-size: 0.95rem; color: var(--muted); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; color: var(--white); background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(11, 116, 196, 0.9);
}
.btn-primary:hover { filter: brightness(1.06); }
.contact-card { padding: 32px; text-align: left; }
.contact-card.is-pending { border-style: dashed; }
.email { font-size: 1.25rem; font-weight: 700; word-break: break-all; }

.notfound-wrap { display: grid; gap: 16px; text-align: center; }
.code { margin: 0; font: 800 clamp(4rem, 18vw, 8rem)/1 var(--font-display); background: var(--grad-water); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound { padding: 28px; }
.notfound h1, .notfound h2 { font-size: 1.5rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.75); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 8px; }
.footer-name { margin: 0; color: var(--white); font-weight: 800; }
.footer-tag { margin: 0; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
