/* ============================================================
   One Tap AI Utility — Landing Page
   Crystal UI · Royal Blue · Full 3D + Animated
   ============================================================ */

:root {
  --royal-1: #0047ba;
  --royal-2: #0066ff;
  --ink: #0b1f3f;
  --ink-soft: #41567c;
  --bg: #f4f8ff;
  --card: #ffffff;
  --line: rgba(11, 31, 63, 0.08);
  --shadow-sm: 0 6px 18px rgba(11, 31, 63, 0.07);
  --shadow-lg: 0 30px 70px rgba(0, 71, 186, 0.18);
  --radius: 22px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, "Roboto", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.section[id] { scroll-margin-top: 84px; }

/* ---------- Scroll progress bar ---------- */
#bar {
  position: fixed; top: 0; left: 0; z-index: 100;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--royal-1), var(--royal-2), #33c6ff);
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.7);
  border-radius: 0 4px 4px 0;
}

/* ---------- Animated background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; will-change: transform; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.orb-a { width: 560px; height: 560px; top: -180px; left: -140px;
  background: radial-gradient(circle, #7db4ff 0%, #0047ba 60%, transparent 75%);
  animation: drift-a 22s ease-in-out infinite alternate; }
.orb-b { width: 480px; height: 480px; top: 12%; right: -160px;
  background: radial-gradient(circle, #b39bff 0%, #0066ff 55%, transparent 78%);
  animation: drift-b 26s ease-in-out infinite alternate; }
.orb-c { width: 420px; height: 420px; bottom: -160px; left: 28%;
  background: radial-gradient(circle, #6ee7ff 0%, #0e7fd6 55%, transparent 80%);
  animation: drift-c 30s ease-in-out infinite alternate; }

@keyframes drift-a { to { transform: translate(70px, 60px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-60px, 80px) scale(0.94); } }
@keyframes drift-c { to { transform: translate(50px, -70px) scale(1.08); } }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 63, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- 3D floating shapes ---------- */
.shape { position: absolute; pointer-events: none; z-index: 0; opacity: 0.55; }
.shape-cube {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.16), rgba(51, 198, 255, 0.05));
  border: 1px solid rgba(0, 102, 255, 0.28);
  animation: spin3d 16s linear infinite;
}
.shape-ring {
  width: 150px; height: 150px; border-radius: 50%;
  border: 2px dashed rgba(0, 102, 255, 0.3);
  animation: spin3d 24s linear infinite reverse;
}
@keyframes spin3d {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}
.shape-1 { top: 6%; right: 4%; }
.shape-2 { bottom: 10%; left: 2%; }
.shape-3 { top: 9%; left: 4%; animation-duration: 20s; }
.shape-4 { bottom: 7%; right: 3%; width: 190px; height: 190px; }
.shape-5 { top: 12%; right: 5%; width: 120px; height: 120px; }
.shape-6 { bottom: 14%; left: 3%; animation-duration: 13s; }
.shape-7 { top: 10%; left: 4%; animation-duration: 20s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 16px clamp(18px, 4vw, 56px);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(11, 31, 63, 0.08);
  padding-top: 10px; padding-bottom: 10px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; display: block;
  box-shadow: 0 6px 16px rgba(0, 71, 186, 0.35);
  transition: transform 0.3s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand-name em { font-style: normal; color: var(--royal-2); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  position: relative;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-1), var(--royal-2));
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--royal-2); }
.nav-links a:hover::after { right: 0; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block; width: 20px; height: 2.4px; margin: 4px auto;
  background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn-small { padding: 10px 20px; font-size: 0.92rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  box-shadow: 0 7px 0 rgba(0, 44, 140, 0.9), 0 14px 30px rgba(0, 102, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(0, 44, 140, 0.9), 0 20px 40px rgba(0, 102, 255, 0.45); }
.btn-primary:active { transform: translateY(5px);
  box-shadow: 0 2px 0 rgba(0, 44, 140, 0.9), 0 8px 16px rgba(0, 102, 255, 0.3); }
.btn-ghost {
  color: var(--ink); background: rgba(255, 255, 255, 0.7); border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.16); }
.btn-glow { color: #fff; background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  box-shadow: 0 5px 0 rgba(0, 44, 140, 0.85), 0 10px 22px rgba(0, 102, 255, 0.3); }
.btn-glow:hover { transform: translateY(-2px); }
.btn-glow:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 44, 140, 0.85); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(20px, 4vw, 60px);
  max-width: 1240px; margin: 0 auto;
  padding: clamp(120px, 14vw, 170px) clamp(18px, 4vw, 40px) clamp(60px, 8vw, 110px);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
  font-size: 0.86rem; font-weight: 700; color: var(--royal-1);
  backdrop-filter: blur(8px);
  animation: pillGlow 3.6s ease-in-out infinite;
}
.pill-bolt { width: 14px; height: 14px; fill: #f5a800; }
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(0, 102, 255, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 900;
  margin: 22px 0 20px;
  perspective: 800px;
}
.hero h1 span { display: inline-block; }

/* ---------- 3D typography ---------- */
.text-3d {
  text-shadow:
    0 1px 0 rgba(9, 27, 56, 0.6),
    0 2px 0 rgba(9, 27, 56, 0.45),
    0 3px 0 rgba(0, 71, 186, 0.35),
    0 5px 0 rgba(0, 71, 186, 0.18),
    0 9px 16px rgba(0, 71, 186, 0.28);
}
.on-dark {
  color: #fff;
  text-shadow:
    0 1px 0 rgba(0, 20, 60, 0.9),
    0 2px 0 rgba(0, 20, 60, 0.7),
    0 3px 0 rgba(0, 102, 255, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.45);
}
.grad-anim {
  background: linear-gradient(100deg, var(--ink) 0%, var(--royal-1) 25%, var(--royal-2) 50%, #33c6ff 75%, var(--royal-1) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  animation: gradFlow 7s linear infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 102, 255, 0.35));
}
.grad-anim-light {
  background: linear-gradient(100deg, #ffffff 0%, #9fd4ff 30%, #33c6ff 55%, #9fd4ff 80%, #ffffff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  animation: gradFlow 6s linear infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 40, 120, 0.5));
}
@keyframes gradFlow { to { background-position: 250% 0; } }

.sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--ink-soft); line-height: 1.65; max-width: 54ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats { display: flex; gap: clamp(22px, 4vw, 48px); margin-top: 46px; }
.stat strong { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 900;
  background: linear-gradient(120deg, var(--royal-1), var(--royal-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- 3D phone stage ---------- */
.hero-visual {
  position: relative; height: clamp(430px, 44vw, 560px);
  perspective: 1400px; perspective-origin: 50% 30%;
}
.stage-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
  animation: stageIdle 9s ease-in-out infinite;
}
.hero-visual:hover .stage-inner { animation-play-state: paused; }
@keyframes stageIdle {
  0%, 100% { transform: rotateY(-3deg) rotateX(1.5deg); }
  50% { transform: rotateY(3.5deg) rotateX(-1.5deg); }
}

.orbit-ring {
  position: absolute; left: 50%; top: 50%;
  border: 1.5px dashed rgba(0, 102, 255, 0.35);
  border-radius: 50%;
  transform-style: preserve-3d;
}
.ring-back { width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(72deg);
  animation: spin 40s linear infinite; }
.ring-front { width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(72deg) translateZ(60px);
  border-color: rgba(0, 71, 186, 0.5);
  animation: spin-front 28s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }
@keyframes spin-front { to { transform: translate(-50%, -50%) rotateX(72deg) translateZ(60px) rotateZ(-360deg); } }

.float-chip {
  position: absolute; z-index: 3;
  padding: 9px 16px; border-radius: 14px; font-weight: 800; font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); color: var(--royal-1);
  backdrop-filter: blur(8px);
  animation: floatY 7s ease-in-out infinite;
}
.chip-pdf { top: 12%; left: 6%; }
.chip-ai  { top: 4%; right: 12%; color: #7a5cfa; animation-delay: 1.2s; }
.chip-ocr { bottom: 14%; right: 4%; color: #00a878; animation-delay: 2.1s; }
.chip-safe { bottom: 8%; left: 8%; color: #0fa968; animation-delay: 0.6s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.phone {
  position: relative; z-index: 2;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(8deg);
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.phone-frame {
  width: clamp(240px, 24vw, 290px);
  aspect-ratio: 9 / 19.2;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #1c2c4a, #0b1f3f 60%, #12294e);
  box-shadow:
    0 60px 120px rgba(0, 40, 120, 0.4),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  position: relative;
}

.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 14px; border-radius: 999px;
  background: #0b1f3f; z-index: 4;
}

.phone-screen {
  height: 100%; border-radius: 33px; overflow: hidden;
  background: #f5f9ff; position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 30%, transparent 48%);
}

/* ---------- Tool ticker ---------- */
.tool-ticker {
  position: relative; overflow: hidden;
  padding: 26px 0 34px;
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.06) 50%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  perspective: 700px;
}
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: rotateX(6deg) translateX(0); }
  to   { transform: rotateX(6deg) translateX(-50%); }
}
.ticker-set { display: flex; gap: 14px; padding-right: 14px; }
.ticker-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: 0.92rem; color: var(--ink); white-space: nowrap;
}
.ticker-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--c, var(--royal-2));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--royal-2)) 18%, transparent);
}

/* ---------- Sections ---------- */
.section {
  position: relative; overflow: hidden;
  max-width: 1240px; margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 40px);
}
.section > :not(.shape) { position: relative; z-index: 1; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.sec-tilt { will-change: transform; }

.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--royal-2);
  background: rgba(0, 102, 255, 0.08); padding: 7px 14px; border-radius: 999px;
  margin-bottom: 16px;
  animation: kickerPulse 3.5s ease-in-out infinite;
}
@keyframes kickerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(0, 102, 255, 0); }
}
.section-head h2, .privacy-copy h2, .download-card h2, .quality-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; font-weight: 900;
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px);
  perspective: 1400px;
}
.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--tint, #eef4ff), transparent 55%);
  opacity: 0; transition: opacity 0.25s;
}
.feature-card::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; z-index: 2;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: left 0.6s ease; pointer-events: none;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(0, 102, 255, 0.28); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { left: 120%; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--tint, #eef4ff); color: var(--accent, #0066ff);
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: translateZ(26px);
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: translateZ(34px) scale(1.06); }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; margin-top: 8px; }

/* ---------- App Overview & Feature Poster ---------- */
.overview { padding-bottom: clamp(60px, 8vw, 100px); }
.overview-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
.poster-card {
  position: relative;
  width: 100%;
  max-width: 980px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.poster-glow {
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.4), rgba(51, 198, 255, 0.25), rgba(122, 92, 250, 0.35));
  z-index: -1;
  filter: blur(16px);
  opacity: 0.65;
}
.poster-figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #091a38;
}
.poster-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.35s ease;
}
.poster-figure:hover img {
  transform: scale(1.02);
}
.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 63, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: 20px;
}
.poster-figure:hover .poster-overlay,
.poster-figure:focus-visible .poster-overlay {
  opacity: 1;
}
.poster-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--royal-1);
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(8px);
  transition: transform 0.25s ease;
}
.poster-figure:hover .poster-zoom-pill {
  transform: translateY(0);
}
.poster-zoom-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.poster-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding: 0 4px;
}
.poster-caption {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.zoom-poster-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 71, 186, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.zoom-poster-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 71, 186, 0.35);
}
.zoom-poster-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 980px;
}
.ov-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ov-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 71, 186, 0.12);
  border-color: rgba(0, 102, 255, 0.3);
}
.ov-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
  border: 1px solid var(--line);
  color: var(--c, var(--royal-2));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.ov-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ov-info h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 5px;
}
.ov-info p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Screenshots gallery ---------- */
.shots { padding-bottom: clamp(80px, 10vw, 130px); }

.shot-stage {
  margin-top: clamp(30px, 5vw, 54px);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.shot-row { display: flex; width: max-content; }
.row-a { animation: marquee 60s linear infinite; }
.row-b { animation: marquee 72s linear infinite reverse; margin-top: 34px; }
.shot-stage:hover .shot-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.shot-track { display: flex; gap: 26px; padding: 10px 13px 26px; }
.shot-card {
  width: 216px; flex: 0 0 auto;
  transform-style: preserve-3d;
  cursor: zoom-in;
  transition: transform 0.15s ease-out;
}
.shot-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 7px solid #0d2147;
  background: #0d2147;
  box-shadow: 0 22px 44px rgba(9, 27, 56, 0.3), 0 4px 10px rgba(0, 71, 186, 0.15);
  aspect-ratio: 786 / 1600;
  transition: box-shadow 0.3s ease;
}
.shot-card:hover .shot-frame {
  box-shadow: 0 32px 62px rgba(0, 71, 186, 0.4), 0 4px 12px rgba(0, 71, 186, 0.22);
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}
.shot-card:hover .shot-shine { transform: translateX(130%); }
.shot-card figcaption {
  margin-top: 12px; width: 100%; text-align: center;
  font-size: 0.88rem; font-weight: 800; color: var(--ink);
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-sm);
}
.swipe-hint { display: none; }

/* ---------- Quality banner ---------- */
.quality-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(135deg, #061c40 0%, #0b2e6e 55%, #0047ba 100%);
  border-radius: 30px; padding: clamp(30px, 5vw, 60px);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.quality-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(51, 198, 255, 0.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(122, 92, 250, 0.3), transparent 45%);
  pointer-events: none;
}
.quality-copy { position: relative; z-index: 2; }
.quality-card .kicker { background: rgba(255, 255, 255, 0.12); color: #9fd4ff; }
.quality-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.quality-copy p { color: rgba(255, 255, 255, 0.78); line-height: 1.65; margin: 14px 0 26px; max-width: 46ch; }
.quality-card .btn-primary { background: #fff; color: var(--royal-1);
  box-shadow: 0 7px 0 rgba(0, 20, 60, 0.55), 0 12px 30px rgba(0, 0, 0, 0.25); }
.quality-card .btn-primary:active { box-shadow: 0 2px 0 rgba(0, 20, 60, 0.55); }

.quality-doc { position: relative; z-index: 2; display: flex; justify-content: center; }
.doc-stage {
  position: relative;
  width: min(320px, 70%); aspect-ratio: 3/4.1;
  perspective: 900px;
  overflow: hidden;
  animation: sheetFloat 6s ease-in-out infinite;
}
.doc-stage::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -14%; height: 36%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0, 18, 48, 0.5), transparent 72%);
  filter: blur(14px);
  z-index: 0;
  animation: shadowPulse 6s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.7; }
}
.doc-sheet {
  position: absolute; inset: 0;
  background: #fff; border-radius: 12px; padding: 26px 22px;
  transform: rotateY(14deg) rotateX(4deg);
  overflow: hidden;
}
@keyframes sheetFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.doc-after { z-index: 1; }
.doc-after .doc-line { background: #17315c; }
.doc-after .doc-line:nth-child(2n) { background: #0b1f3f; }

.doc-before {
  z-index: 2;
  background:
    radial-gradient(120% 90% at 16% 10%, rgba(126, 96, 42, 0.22), transparent 46%),
    radial-gradient(100% 75% at 86% 78%, rgba(96, 72, 30, 0.20), transparent 52%),
    linear-gradient(160deg, #f6edda 0%, #efe2c6 45%, #e6d7b6 100%);
  clip-path: inset(100% 0 0 0);
  animation: scanReveal 9s linear infinite;
}
@keyframes scanReveal {
  0%, 8% { clip-path: inset(0 0 0 0); }
  80%, 100% { clip-path: inset(100% 0 0 0); }
}
.doc-before .doc-lines { filter: blur(1.4px) saturate(0.6); opacity: 0.8; transform: rotate(-0.7deg); }
.doc-before .doc-line { background: #a2916e; }
.doc-before .doc-line:nth-child(2n) { background: #b5a37d; }
.doc-before .doc-line:nth-child(odd) { transform: skewX(-5deg); }

.doc-stain { position: absolute; pointer-events: none; }
.stain-ring {
  width: 118px; height: 118px; top: 8%; right: 6%;
  background: radial-gradient(circle, transparent 0 34%, rgba(139, 100, 45, 0.30) 37% 47%, rgba(139, 100, 45, 0.14) 50% 62%, transparent 66%);
  border-radius: 50%;
}
.stain-blot {
  width: 150px; height: 110px; bottom: 12%; left: 2%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(112, 84, 38, 0.24), transparent 72%);
  filter: blur(3px); transform: rotate(18deg);
}
.stain-edge {
  inset: 0;
  background: linear-gradient(205deg, rgba(255, 250, 232, 0.55), transparent 32%, transparent 62%, rgba(88, 58, 18, 0.30) 100%);
}
.doc-crumple {
  position: absolute; height: 2px; width: 68%;
  background: linear-gradient(90deg, transparent, rgba(122, 96, 48, 0.42), transparent);
  filter: blur(0.5px);
}
.crumple-1 { top: 27%; left: 10%; transform: rotate(7deg); }
.crumple-2 { top: 63%; left: 22%; transform: rotate(-8deg); }
.doc-fade {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 54px rgba(74, 52, 16, 0.35);
  border-radius: inherit;
}

.doc-line { height: 8px; border-radius: 4px; margin-bottom: 12px; }
.w90 { width: 90%; } .w70 { width: 70%; } .w85 { width: 85%; }
.w55 { width: 55%; } .w75 { width: 75%; } .w60 { width: 60%; }

.scan-beam {
  position: absolute; left: -4%; right: -4%; height: 54px; top: 114%;
  z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 179, 255, 0.18) 30%, rgba(0, 179, 255, 0.42) 62%, transparent);
  animation: beamSweep 9s linear infinite;
}
.scan-beam::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: #7fe0ff;
  box-shadow: 0 0 10px 2px rgba(127, 224, 255, 0.95), 0 0 30px 8px rgba(0, 150, 255, 0.5);
}
@keyframes beamSweep { 0%, 8% { top: -16%; } 80%, 100% { top: 114%; } }

.doc-tag {
  position: absolute; z-index: 4;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; pointer-events: none;
}
.tag-before {
  top: 14px; left: 14px;
  background: rgba(122, 92, 44, 0.88);
  opacity: 0;
  animation: tagBefore 9s linear infinite;
}
@keyframes tagBefore { 0%, 10% { opacity: 1; } 17%, 100% { opacity: 0; } }
.tag-after {
  top: auto; left: auto; right: 14px; bottom: 14px;
  background: linear-gradient(135deg, #00c36a, #0077e6);
  box-shadow: 0 6px 18px rgba(0, 120, 220, 0.45);
  opacity: 1;
  animation: tagAfter 9s linear infinite;
}
@keyframes tagAfter {
  0%, 82% { opacity: 0; transform: translateY(10px) scale(0.7); }
  86% { opacity: 1; transform: translateY(0) scale(1.08); }
  91%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: clamp(12px, 2vw, 22px);
  perspective: 1200px;
}
.step {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute; top: 18px; right: 22px;
  font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(0, 102, 255, 0.35);
  transition: transform 0.3s ease;
}
.step:hover .step-num { transform: scale(1.12) rotate(-6deg); }
.step-icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0, 71, 186, 0.1), rgba(0, 102, 255, 0.16));
  color: var(--royal-2); display: grid; place-items: center;
  transform: translateZ(26px);
  transition: transform 0.3s ease;
}
.step:hover .step-icon { transform: translateZ(36px) scale(1.08); }
.step-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.08rem; font-weight: 800; }
.step p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.6; margin-top: 8px; }
.step-arrow { align-self: center; color: rgba(0, 102, 255, 0.45); }
.step-arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: arrowNudge 2.2s ease-in-out infinite; }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- Privacy ---------- */
.privacy-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 34px);
  align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 30px; padding: clamp(28px, 4.5vw, 54px);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
}
.privacy-shield {
  width: 92px; height: 92px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(0, 71, 186, 0.1), rgba(0, 102, 255, 0.18));
  color: var(--royal-2); display: grid; place-items: center;
  transform: translateZ(24px);
}
.privacy-shield svg { width: 46px; height: 46px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  animation: shieldPulse 3.4s ease-in-out infinite; }
@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.privacy-copy p { color: var(--ink-soft); line-height: 1.65; margin-top: 12px; max-width: 62ch; }
.privacy-points {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 8px;
}
.pp { display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.pp-dot { width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #0fa968, #23b377);
  box-shadow: 0 0 0 4px rgba(15, 169, 104, 0.15);
  animation: dotPulse 2.6s ease-in-out infinite; }
.pp:nth-child(2) .pp-dot { animation-delay: 0.6s; }
.pp:nth-child(3) .pp-dot { animation-delay: 1.2s; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }

/* ---------- Download ---------- */
.download-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(0, 102, 255, 0.16), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 30px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 60px);
  box-shadow: var(--shadow-sm);
}
.download-card p { color: var(--ink-soft); margin-top: 14px; line-height: 1.7; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 13px 24px; border-radius: 16px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 0 #050f22, 0 14px 30px rgba(11, 31, 63, 0.25);
  cursor: default;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #050f22, 0 20px 40px rgba(11, 31, 63, 0.32); }
.store-badge:active { transform: translateY(4px); box-shadow: 0 2px 0 #050f22, 0 8px 16px rgba(11, 31, 63, 0.2); }
.store-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-badge-apk {
  cursor: pointer;
  background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  box-shadow: 0 6px 0 #002d7a, 0 14px 30px rgba(0, 71, 186, 0.35);
}
.store-badge-apk:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #002d7a, 0 20px 40px rgba(0, 71, 186, 0.45);
}
.store-badge-apk:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #002d7a, 0 8px 16px rgba(0, 71, 186, 0.25);
}
.store-badge-disabled {
  opacity: 0.72;
  cursor: default;
}
.free-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 169, 104, 0.1);
  border: 1px solid rgba(15, 169, 104, 0.3);
  color: #0c8a54;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 20px auto 4px;
}
.free-tag {
  background: #0fa968;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.free-sep {
  opacity: 0.45;
  font-weight: 900;
}
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left;
  font-weight: 800; font-size: 1.02rem; }
.store-text small { font-size: 0.68rem; font-weight: 600; opacity: 0.7; }

/* ---------- Contact Us ---------- */
.contact-card {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 102, 255, 0.12), transparent 50%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 50px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  transform-style: preserve-3d;
}
.contact-icon-wrap {
  width: 76px; height: 76px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 71, 186, 0.12), rgba(0, 102, 255, 0.22));
  color: var(--royal-2); display: grid; place-items: center;
  transform: translateZ(24px);
  box-shadow: 0 10px 24px rgba(0, 71, 186, 0.12);
}
.contact-icon-wrap svg {
  width: 38px; height: 38px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  animation: shieldPulse 3.4s ease-in-out infinite;
}
.contact-copy p {
  color: var(--ink-soft); line-height: 1.65; margin-top: 12px; max-width: 60ch;
}
.contact-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
  margin-top: 6px;
}
.contact-email-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  color: #fff;
  padding: 14px 28px; border-radius: 18px; text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 71, 186, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 71, 186, 0.38);
  color: #fff;
}
.contact-email-btn:active {
  transform: translateY(2px);
  box-shadow: 0 6px 16px rgba(0, 71, 186, 0.25);
}
.contact-email-btn svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.email-text {
  display: flex; flex-direction: column; text-align: left; line-height: 1.2;
}
.email-text small {
  font-size: 0.72rem; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(11, 31, 63, 0.05);
}
.copy-btn:hover {
  background: rgba(0, 71, 186, 0.05);
  border-color: var(--royal-2);
  color: var(--royal-1);
  transform: translateY(-2px);
}
.copy-btn:active {
  transform: translateY(1px);
}
.copy-btn svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 8px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px);
  text-align: center; padding: 44px 20px 54px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal-1), var(--royal-2), #33c6ff, var(--royal-2), var(--royal-1));
  background-size: 200% 100%;
  animation: gradFlow 5s linear infinite;
}
.footer .brand-mark { width: 32px; height: 32px; }
.footer p { color: var(--ink-soft); font-size: 0.92rem; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin: 4px 0;
}
.footer-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--royal-2); }
.footer-email {
  font-size: 0.92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.footer-email a {
  color: var(--royal-2); font-weight: 700; text-decoration: none;
  transition: color 0.2s;
}
.footer-email a:hover { text-decoration: underline; }
.footer-legal-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
  margin-top: 4px;
}
.footer-legal-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.86rem; font-weight: 600;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--royal-1); text-decoration: underline; }
.legal-dot { opacity: 0.4; font-size: 0.85rem; }
.footer-fine { font-size: 0.8rem; opacity: 0.75; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 18, 42, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 24px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  max-width: min(94vw, 980px); max-height: 92vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: perspective(800px) rotateX(5deg) scale(0.94);
  transition: transform 0.3s ease;
}
.lightbox.open figure { transform: none; }
.lightbox img {
  max-width: 100%; max-height: 78vh; border-radius: 20px;
  border: 6px solid #0d2147;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}
.lightbox figcaption { color: #fff; font-weight: 800; font-size: 1rem; text-align: center; }
.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: perspective(1000px) translateY(46px) rotateX(10deg) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: clamp(400px, 62vw, 520px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .step-arrow svg { animation: arrowNudgeV 2.2s ease-in-out infinite; }
  @keyframes arrowNudgeV { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
  .quality-card { grid-template-columns: 1fr; text-align: center; }
  .quality-copy p { margin-left: auto; margin-right: auto; }
  .quality-doc { order: -1; }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: calc(100% + 6px); left: 14px; right: 14px;
    flex-direction: column; gap: 2px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 18px;
    padding: 12px; box-shadow: 0 24px 50px rgba(11, 31, 63, 0.18);
  }
  .nav.open .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; margin: 0; }
  .nav.open .nav-links a::after { display: none; }
  .nav.open .nav-links a:hover { background: rgba(0, 102, 255, 0.08); }

  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-stats { gap: 22px; }
  .hero-visual { height: clamp(380px, 118vw, 500px); }
  .phone-frame { width: clamp(190px, 50vw, 240px); }
  .float-chip { display: none; }
  .ring-front, .ring-back { width: 105%; }

  .feature-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .poster-card { padding: 10px; border-radius: 20px; }
  .poster-figure, .poster-figure img { border-radius: 14px; }
  .privacy-card { grid-template-columns: 1fr; text-align: center; }
  .privacy-shield { margin: 0 auto; }
  .privacy-points { justify-content: center; }

  .shot-stage { mask-image: none; -webkit-mask-image: none; }
  .shot-row {
    animation: none !important;
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .shot-row::-webkit-scrollbar { display: none; }
  .shot-track[aria-hidden="true"] { display: none; }
  .shot-track { padding: 6px; }
  .shot-card { width: 200px; scroll-snap-align: center; }
  .row-b { margin-top: 4px; }
  .swipe-hint {
    display: block; text-align: center; margin-top: 18px;
    font-weight: 700; color: var(--ink-soft); font-size: 0.9rem;
  }

  .reveal { transform: translateY(30px); filter: none; }
  .text-3d { text-shadow: 0 2px 0 rgba(9, 27, 56, 0.4), 0 4px 0 rgba(0, 71, 186, 0.2), 0 7px 12px rgba(0, 71, 186, 0.25); }
}

@media (max-width: 430px) {
  .brand-name { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: -250px;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cookie-banner.show {
  bottom: 16px;
  pointer-events: auto;
}
.cookie-inner {
  max-width: 980px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.22);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 16px 48px rgba(11, 31, 63, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 204, 255, 0.12));
  color: var(--royal-1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cookie-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cookie-content {
  flex: 1;
}
.cookie-content h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.cookie-content p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.cookie-btn:active {
  transform: scale(0.96);
}
.cookie-btn-reject {
  background: rgba(11, 31, 63, 0.08);
  color: var(--ink-soft);
  border: 1px solid rgba(11, 31, 63, 0.12);
}
.cookie-btn-reject:hover {
  background: rgba(11, 31, 63, 0.14);
  color: var(--ink);
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--royal-1), var(--royal-2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.cookie-btn-accept:hover {
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .cookie-actions {
    width: 100%;
    display: flex;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ---------- Legal Pages (Privacy, Terms, Disclaimer) ---------- */
.legal-page {
  background: var(--bg);
  min-height: 100vh;
  color: var(--ink);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(11, 31, 63, 0.04);
}
.legal-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 999px;
  color: var(--royal-1);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.legal-back-btn:hover {
  background: var(--royal-1);
  color: #fff;
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.legal-back-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.legal-hero {
  text-align: center;
  margin-bottom: 36px;
}
.legal-hero .kicker {
  display: inline-block;
  background: rgba(0, 102, 255, 0.08);
  color: var(--royal-1);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.legal-hero h1 {
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(11, 31, 63, 0.06);
  margin-bottom: 24px;
}
.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--royal-1);
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal-card p, .legal-card li {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-card ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.legal-card li {
  margin-bottom: 8px;
}
.legal-highlight-box {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(0, 204, 255, 0.06));
  border: 1px solid rgba(0, 102, 255, 0.22);
  border-left: 4px solid var(--royal-1);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
}
.legal-highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}
.legal-contact-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}
.legal-contact-box h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}
.legal-contact-box a {
  display: inline-block;
  color: var(--royal-1);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.2s;
}
.legal-contact-box a:hover {
  text-decoration: underline;
  color: var(--royal-2);
}
@media (max-width: 640px) {
  .legal-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .legal-container {
    padding: 28px 14px 60px;
  }
}
