/* =========================================================
   Zynmed — sitio web
   Paleta tomada del logo: teal #119AAF → azul #1E69E1
   ========================================================= */
:root {
  --bg: #070d1a;
  --bg-2: #0b1324;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #eef3fb;
  --muted: #9aa8c0;
  --dim: #6b7a95;
  --teal: #14b3c4;
  --blue: #2f74f0;
  --teal-d: #119aaf;
  --blue-d: #1e69e1;
  --grad: linear-gradient(135deg, #19c3c9 0%, #2f74f0 100%);
  --grad-soft: linear-gradient(135deg, rgba(25, 195, 201, .16), rgba(47, 116, 240, .16));
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a { color: var(--teal); }
p a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-head); white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(47, 116, 240, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(47, 116, 240, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-light { background: #fff; color: #0b1324; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn.is-disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; pointer-events: none; border-color: var(--border); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 13, 26, .78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px var(--font-head); letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-1 { width: 560px; height: 560px; background: #13b5c2; top: -180px; left: -160px; opacity: .28; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 640px; height: 640px; background: #2a5ff0; top: 40px; right: -220px; opacity: .32; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); font-size: 13px; color: var(--muted); font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 .nw { white-space: nowrap; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.035em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.hero-badges { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.4; }

/* Mockup */
.hero-visual { position: relative; min-height: 470px; }
.window {
  position: relative; border-radius: 18px; background: linear-gradient(180deg, #111b31, #0c1528);
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.4);
  overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); }
.win-body { display: flex; min-height: 380px; }
.win-side { width: 58px; border-right: 1px solid var(--border); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.side-logo img { width: 30px; border-radius: 8px; }
.win-side b { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); }
.win-side b.active { background: var(--grad); }
.win-main { flex: 1; padding: 18px; min-width: 0; }
.win-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.win-head small { display: block; color: var(--dim); font-size: 11px; }
.win-head strong { font: 700 17px var(--font-head); }
.pill { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--grad-soft); color: #8fd8ff; border: 1px solid rgba(47,116,240,.3); }
.slots { display: grid; gap: 8px; }
.slot {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--teal); font-size: 13px;
}
.slot time { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.slot b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot small { color: var(--dim); font-size: 11px; }
.slot em { font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.s-ok { border-left-color: var(--ok); } .s-ok em { background: rgba(52,211,153,.14); color: var(--ok); }
.s-conf { border-left-color: var(--blue); } .s-conf em { background: rgba(47,116,240,.18); color: #8db4ff; }
.s-wait { border-left-color: var(--warn); } .s-wait em { background: rgba(251,191,36,.14); color: var(--warn); }
.s-block { border-left-color: var(--dim); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.025) 8px 16px); }
.s-block b { color: var(--muted); }

.phone {
  position: absolute; right: -6px; bottom: -36px; width: 196px; height: 392px; border-radius: 34px; padding: 10px;
  background: #050a14; border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 60px -10px rgba(25,195,201,.35);
  animation: floaty 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; background: linear-gradient(180deg, #0f1c36, #0a1222); padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.phone-screen > small { color: var(--muted); font-size: 11px; }
.phone-screen > strong { font: 700 15px var(--font-head); }
.phone-card { margin-top: 6px; padding: 12px; border-radius: 16px; background: var(--grad); display: grid; gap: 2px; }
.phone-card span { font-size: 10px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.phone-card b { font: 700 16px var(--font-head); }
.phone-card small { font-size: 10.5px; opacity: .9; }
.phone-qr { margin-top: auto; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone-qr small { font-size: 10px; color: var(--muted); }
.qr {
  width: 78px; height: 78px; border-radius: 8px; background-color: #fff; padding: 6px;
  background-image:
    radial-gradient(circle at 12px 12px, #0b1324 0 7px, #fff 7px 9px, #0b1324 9px 12px, transparent 12px),
    radial-gradient(circle at 66px 12px, #0b1324 0 7px, #fff 7px 9px, #0b1324 9px 12px, transparent 12px),
    radial-gradient(circle at 12px 66px, #0b1324 0 7px, #fff 7px 9px, #0b1324 9px 12px, transparent 12px),
    repeating-conic-gradient(#0b1324 0 25%, #fff 0 50%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 9px 9px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(15, 26, 48, .85); border: 1px solid var(--border-2); backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
}
.float-chip svg { width: 18px; height: 18px; color: var(--teal); }
.chip-1 { left: -28px; bottom: -22px; animation: floaty 6s ease-in-out infinite .6s; }
.chip-2 { right: 150px; top: -20px; animation: floaty 8s ease-in-out infinite 1.2s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--border); background: rgba(255,255,255,.015); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-inner > div { padding: 30px 16px; text-align: center; border-right: 1px solid var(--border); }
.strip-inner > div:last-child { border-right: 0; }
.strip strong { display: block; font: 800 clamp(26px, 3vw, 36px) var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.strip span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; font: 700 13px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, transform .3s, background .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(25,195,201,.12), transparent 45%);
}
.card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-lg { grid-row: span 2; display: flex; flex-direction: column; }
.card-wide { grid-column: 1 / -1; }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid rgba(25,195,201,.25); color: #7fe3ee;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.mini-agenda { position: relative; margin-top: auto; padding-top: 28px; height: 200px; display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; }
.mini-agenda span {
  position: relative; left: var(--l); width: var(--w); border-radius: 10px; padding: 0 12px; display: flex; align-items: center;
  font-size: 12px; font-weight: 600; background: rgba(47,116,240,.18); border: 1px solid rgba(47,116,240,.35); color: #a9c6ff;
}
.mini-agenda span.b { background: rgba(25,195,201,.16); border-color: rgba(25,195,201,.35); color: #8eeaf2; }
.mini-agenda span.c { background: var(--grad); border: 0; color: #fff; }
.card-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-soft);
  border: 1px solid rgba(25,195,201,.35);
}
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid #7fe3ee; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 32px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 10px 22px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 600; font-family: var(--font-head); white-space: nowrap; transition: color .2s, background .2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,116,240,.7); }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); animation: fadeUp .45s ease; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 14px; }
.panel p { color: var(--muted); margin-bottom: 24px; font-size: 16.5px; }
.panel-art { position: relative; aspect-ratio: 4/3; border-radius: 22px; background: var(--grad-soft); border: 1px solid var(--border); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; }
.panel-art span { border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--border); position: relative; overflow: hidden; }
.panel-art span::after { content: ""; position: absolute; left: 14px; right: 30%; top: 16px; height: 8px; border-radius: 6px; background: rgba(255,255,255,.18); box-shadow: 0 18px 0 rgba(255,255,255,.1), 0 36px 0 -1px rgba(255,255,255,.07); }
.art-1 span:first-child, .art-3 span:nth-child(2), .art-4 span:last-child { background: var(--grad); }
.art-2 span:first-child { grid-row: span 2; background: var(--grad); }
.art-2 span:last-child { display: none; }
.art-3 span:first-child { grid-column: span 2; }
.art-3 span:last-child { display: none; }
.art-4 { grid-template-columns: 1fr; justify-items: center; }
.art-4 span { width: 60%; }
.art-4 span:nth-child(3), .art-4 span:nth-child(2) { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Security ---------- */
.security { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.security-copy > p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.sec-grid > div { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.sec-grid h4 { font-size: 16px; margin-bottom: 6px; }
.sec-grid p { color: var(--muted); font-size: 14.5px; }
.shield { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(25,195,201,.25); }
.r1 { inset: 0; animation: pulse 4s ease-in-out infinite; }
.r2 { inset: 14%; border-color: rgba(47,116,240,.3); animation: pulse 4s ease-in-out infinite .6s; }
.r3 { inset: 28%; border-color: rgba(25,195,201,.4); background: radial-gradient(circle, rgba(25,195,201,.12), transparent 70%); animation: pulse 4s ease-in-out infinite 1.2s; }
.shield-core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 30%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 30px 80px -10px rgba(47,116,240,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.shield-core svg { width: 52%; color: #fff; stroke-width: 1.6; }
@keyframes pulse { 50% { transform: scale(1.04); opacity: .6; } }

/* ---------- Downloads ---------- */
.detect {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 26px; border-radius: 20px; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid rgba(25,195,201,.3);
}
.detect small { color: var(--muted); display: block; font-size: 13px; }
.detect strong { font: 700 20px var(--font-head); }
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 18px; }
.dl {
  position: relative; padding: 32px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.dl:hover { transform: translateY(-4px); border-color: var(--border-2); }
.dl.recommended { border-color: rgba(25,195,201,.55); box-shadow: 0 0 0 1px rgba(25,195,201,.25), 0 30px 60px -20px rgba(25,195,201,.35); }
.dl.recommended::after { content: "Recomendado"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--grad); font: 700 11px var(--font-head); letter-spacing: .04em; }
.dl-tag { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(52,211,153,.14); color: var(--ok); }
.dl-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-2); margin-bottom: 18px; }
.dl-icon svg { width: 30px; height: 30px; }
.dl h3 { font-size: 21px; font-weight: 700; }
.dl-req { color: var(--muted); font-size: 14px; margin: 6px 0 22px; min-height: 2.6em; }
.dl-btn { margin-top: auto; }
.dl-meta { display: block; margin-top: 12px; color: var(--dim); font-size: 12.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step { display: flex; gap: 16px; padding: 22px; border-radius: 18px; border: 1px dashed var(--border-2); }
.step > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 800 15px var(--font-head); }
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- APK Android ---------- */
.apk { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.apk-card { padding: 36px 28px 28px; position: sticky; top: calc(var(--nav-h) + 24px); }
.apk-card:hover { transform: none; }
.apk-facts { list-style: none; padding: 0; margin: 22px 0 0; width: 100%; display: grid; gap: 8px; text-align: left; }
.apk-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.apk-facts span { color: var(--muted); }
.apk-facts b { font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.apk-hash { width: 100%; margin-top: 14px; text-align: left; }
.apk-hash small { display: block; color: var(--dim); font-size: 12px; margin-bottom: 6px; }
.apk-hash code { display: block; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--border); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); overflow-wrap: anywhere; }
.apk-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); padding: 12px 14px; border-radius: var(--radius-sm); background: var(--grad-soft); border: 1px solid rgba(25,195,201,.3); text-align: left; }
.install { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.install > h3 { font-size: 22px; margin-bottom: 22px; }
.install-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: none; }
.install-steps li { display: flex; gap: 16px; padding: 14px 0; position: relative; }
.install-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 54px; bottom: -6px; width: 2px; background: linear-gradient(var(--border-2), transparent); }
.install-steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 800 15px var(--font-head); }
.install-steps h4 { font-size: 16.5px; margin-bottom: 4px; }
.install-steps p { color: var(--muted); font-size: 14.5px; }
.install-steps b, .install-more b { color: var(--text); font-weight: 600; }
.install-more { margin-top: 18px; border-radius: 14px; border: 1px dashed var(--border-2); }
.install-more summary { cursor: pointer; padding: 16px 18px; font: 600 15px var(--font-head); color: var(--teal); }
.install-more ul { margin: 0; padding: 0 18px 0 38px; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.install-more p { padding: 12px 18px 18px; color: var(--dim); font-size: 13.5px; }
@media (max-width: 900px) {
  .apk { grid-template-columns: 1fr; }
  .apk-card { position: static; max-width: 460px; width: 100%; margin-inline: auto; }
  .install { padding: 24px 20px; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(25,195,201,.35); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 600 16.5px var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.channels { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.channels a, .channels div {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, transform .25s, background .25s;
}
.channels a:hover { border-color: rgba(25,195,201,.45); transform: translateX(4px); background: var(--surface-2); }
.ch-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: #7fe3ee; }
.ch-icon svg { width: 21px; height: 21px; }
.channels small { display: block; color: var(--dim); font-size: 12.5px; }
.channels b { font-weight: 600; word-break: break-word; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: color .2s, background .2s, transform .2s, border-color .2s; }
.socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

.contact-form { padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(5,10,20,.5);
  color: var(--text); font: 400 15px var(--font); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25,195,201,.15); }
.contact-form .invalid { border-color: #f87171; }
.contact-form select option { background: var(--bg-2); }
.form-note { font-size: 14px; color: var(--muted); min-height: 1.4em; text-align: center; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #f87171; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 120px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: 32px;
  background: linear-gradient(135deg, #0f9fb3 0%, #1e69e1 60%, #3b4fe0 100%);
  box-shadow: 0 40px 100px -30px rgba(30,105,225,.6);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 15% 0%, rgba(255,255,255,.22), transparent 50%), radial-gradient(500px circle at 100% 100%, rgba(0,0,0,.25), transparent 55%); }
.cta-box > * { position: relative; }
.cta-box img { margin: 0 auto 22px; border-radius: 16px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.4); }
.cta-box h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.cta-box p { margin-top: 12px; font-size: 18px; opacity: .9; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: #050a14; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 15px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--dim); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .security, .contact, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap .section-head { position: static; text-align: center; margin-inline: auto; }
  .shield { max-width: 340px; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: rgba(7,13,26,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
  .nav-toggle { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-lg { grid-row: auto; grid-column: span 2; }
  .card-wide { grid-column: 1 / -1; }
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .panel-art { order: -1; aspect-ratio: 16/9; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-inner > div:nth-child(2) { border-right: 0; }
  .strip-inner > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 80px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 0; padding-bottom: 60px; }
  .window { transform: none; }
  .win-side { display: none; }
  .phone { width: 150px; height: 300px; border-radius: 28px; right: -4px; bottom: 0; }
  .phone-screen { padding: 34px 10px 10px; border-radius: 20px; }
  .phone-card b { font-size: 13px; }
  .qr { width: 56px; height: 56px; }
  .phone-qr small { display: none; }
  .float-chip { font-size: 12px; padding: 8px 11px; }
  .chip-1 { left: 0; bottom: 6px; }
  .chip-2 { display: none; }
  .slot { grid-template-columns: 38px 1fr; }
  .slot em { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card-lg, .card-wide { grid-column: auto; }
  .card { padding: 24px; }
  .card-split { grid-template-columns: 1fr; }
  .tabs { width: 100%; justify-content: flex-start; }
  .tabs button { padding: 10px 16px; }
  .downloads { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .detect { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-box { padding: 56px 20px; border-radius: 24px; }
  .cta-box .btn { width: 100%; }
  .footer-cols { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Página legal ---------- */
.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.legal-date { color: var(--dim); font-size: 14px; margin: 10px 0 36px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal b { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal li::marker { color: var(--teal); }
.legal a { color: var(--teal); }
.footer-bottom a:hover { color: var(--text); }
.legal ul + p { margin-top: 16px; }
