/* ===== Velarium VPN — Landing ===== */
:root {
  --bg: #0b0304;
  --bg-2: #120506;
  --card: rgba(38, 12, 15, 0.55);
  --card-solid: #1c090b;
  --border: rgba(255, 90, 90, 0.14);
  --border-strong: rgba(255, 90, 90, 0.3);
  --accent: #ff3b3b;
  --accent-2: #ff6a5b;
  --accent-deep: #c81f28;
  --accent-dim: rgba(255, 59, 59, 0.14);
  --text: #f7efef;
  --text-dim: #c4a6a8;
  --text-faint: #8b6a6c;
  --success: #5fe3a1;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --maxw: 1140px;
  --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --shadow-accent: 0 20px 50px -20px rgba(255, 59, 59, 0.5);
}

* { box-sizing: border-box; }

/* ===== Icon system (Lucide-style, matches app's icons.js) ===== */
.icon { display: block; flex-shrink: 0; width: 20px; height: 20px; }
.btn .icon { width: 18px; height: 18px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 55%, var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Ambient background ===== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.blob-1 { width: 620px; height: 620px; top: -240px; left: -160px;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.5), transparent 70%); animation: drift1 22s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; top: 240px; right: -180px;
  background: radial-gradient(circle, rgba(200, 31, 40, 0.42), transparent 70%); animation: drift2 26s ease-in-out infinite; }
.grid-fade { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 90, 90, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 90, 90, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%); }
@keyframes drift1 { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-70px, -50px) scale(1.08); } }

/* ===== Glass ===== */
.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%, var(--accent-deep)); box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -18px rgba(255, 59, 59, 0.65); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 90, 90, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ===== Announcement bar ===== */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 20px; font-size: 14px; color: var(--text); text-align: center;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 50%, var(--accent-deep));
  transition: filter 0.2s ease; }
.promo-bar:hover { filter: brightness(1.08); }
.promo-bar b { font-weight: 700; }
.promo-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); animation: pulse 2s infinite; }
.promo-cta { font-family: var(--font-head); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Hero conversion bits ===== */
.cta-micro { display: flex; align-items: center; gap: 7px; color: var(--text-faint); font-size: 13.5px; margin: -18px 0 20px; }
.cta-micro .icon { width: 15px; height: 15px; color: var(--text-faint); }
.social-proof { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.star-row { display: inline-flex; align-items: center; gap: 2px; }
.star-row .icon { width: 15px; height: 15px; color: #ffcf4a; }
.sp-stars.star-row .icon { width: 14px; height: 14px; }
.sp-text { color: var(--text-dim); font-size: 14px; }
.sp-text b { color: var(--text); }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 3, 4, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: grid; place-items: center; color: var(--accent); filter: drop-shadow(0 4px 10px rgba(255, 59, 59, 0.5)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-dim { color: var(--text-faint); margin-left: 2px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ===== Intro / Jellyfish splash ===== */
.intro { position: relative; min-height: calc(100svh - 60px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 20px; }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 34%, rgba(255, 59, 59, 0.18), transparent 70%); }

.jelly-stage { position: relative; z-index: 2; height: min(56svh, 500px); filter: drop-shadow(0 30px 60px rgba(255, 40, 40, 0.35)); }
.jelly { height: 100%; width: auto; display: block; animation: jellyFloat 7s ease-in-out infinite; transform-origin: 50% 40%; }
@keyframes jellyFloat { 0%,100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-26px) rotate(0.6deg); } }

.halo { animation: haloBreath 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes haloBreath { 0%,100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.08); } }

.bell { transform-box: fill-box; transform-origin: 50% 22%; animation: bellPulse 3.6s ease-in-out infinite; }
@keyframes bellPulse { 0%,100% { transform: scaleY(1) scaleX(1); } 45% { transform: scaleY(0.9) scaleX(1.05); } 70% { transform: scaleY(1.03) scaleX(0.98); } }

.bell-core { animation: coreGlow 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes coreGlow { 0%,100% { opacity: 0.8; } 45% { opacity: 1; transform: scale(1.12); } }

.tentacle { transform-box: fill-box; transform-origin: top center; animation: tentSway 5.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes tentSway { 0%,100% { transform: rotate(-3.2deg) translateX(-2px); } 50% { transform: rotate(3.2deg) translateX(2px); } }

.arms { transform-box: fill-box; transform-origin: top center; animation: armSway 4.6s ease-in-out infinite; }
@keyframes armSway { 0%,100% { transform: rotate(-1.6deg) scaleY(0.99); } 50% { transform: rotate(1.6deg) scaleY(1.02); } }

/* bioluminescent sparks rising */
.sea { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.spark { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,150,0.95), rgba(255,59,59,0)); opacity: 0; animation: rise linear infinite; }
.spark:nth-child(1){left:12%;animation-duration:9s;animation-delay:0s}
.spark:nth-child(2){left:22%;animation-duration:11s;animation-delay:2s;width:3px;height:3px}
.spark:nth-child(3){left:33%;animation-duration:8s;animation-delay:4s}
.spark:nth-child(4){left:44%;animation-duration:12s;animation-delay:1s;width:5px;height:5px}
.spark:nth-child(5){left:52%;animation-duration:10s;animation-delay:5s}
.spark:nth-child(6){left:61%;animation-duration:9.5s;animation-delay:3s;width:3px;height:3px}
.spark:nth-child(7){left:70%;animation-duration:13s;animation-delay:0.5s}
.spark:nth-child(8){left:78%;animation-duration:8.5s;animation-delay:6s;width:5px;height:5px}
.spark:nth-child(9){left:87%;animation-duration:11.5s;animation-delay:2.5s}
.spark:nth-child(10){left:29%;animation-duration:10.5s;animation-delay:7s;width:3px;height:3px}
.spark:nth-child(11){left:56%;animation-duration:9s;animation-delay:8s}
.spark:nth-child(12){left:83%;animation-duration:12.5s;animation-delay:4.5s;width:4px;height:4px}
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 0.9; } 88% { opacity: 0.7; } 100% { transform: translateY(-88svh) scale(0.4); opacity: 0; } }

.intro-copy { position: relative; z-index: 3; margin-top: -84px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: clamp(44px, 8vw, 92px); letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, #fff, #ffb3b3 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 8px 40px rgba(255, 59, 59, 0.3); animation: fadeUp 1s ease 0.2s both; }
.wordmark span { -webkit-text-fill-color: var(--accent); color: var(--accent); font-weight: 600; }
.intro-tag { color: var(--text-dim); font-size: clamp(15px, 2.2vw, 20px); margin-top: 14px; animation: fadeUp 1s ease 0.45s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-faint);
  animation: fadeUp 1s ease 0.9s both, bob 2.4s ease-in-out 1.2s infinite; }
.scroll-hint-text { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 76px 22px 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-dim);
  background: var(--accent-dim); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot, .pill-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(95, 227, 161, 0.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero-copy h1 { font-size: clamp(38px, 5.4vw, 62px); }
.lead { color: var(--text-dim); font-size: clamp(16px, 1.7vw, 19px); margin: 20px 0 30px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 30px; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--border); }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.hero-trust span { color: var(--text-faint); font-size: 13.5px; }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.card-hero { width: 100%; max-width: 360px; padding: 22px; box-shadow: var(--shadow); }
.card-hero-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.pill { font-size: 12px; font-weight: 600; color: var(--text-dim); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.pill-live { color: var(--success); }
.speed { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.speed-num { font-family: var(--font-head); font-size: 42px; font-weight: 700; line-height: 1; }
.speed-num span { font-size: 15px; color: var(--text-faint); margin-left: 6px; }
.speed-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.speed-bars i { width: 7px; border-radius: 3px; background: linear-gradient(var(--accent-2), var(--accent-deep)); animation: eq 1.3s ease-in-out infinite; }
.speed-bars i:nth-child(1){height:40%;animation-delay:0s}.speed-bars i:nth-child(2){height:70%;animation-delay:.1s}.speed-bars i:nth-child(3){height:55%;animation-delay:.2s}.speed-bars i:nth-child(4){height:90%;animation-delay:.3s}.speed-bars i:nth-child(5){height:65%;animation-delay:.4s}.speed-bars i:nth-child(6){height:80%;animation-delay:.5s}.speed-bars i:nth-child(7){height:50%;animation-delay:.6s}
@keyframes eq { 50% { transform: scaleY(0.55); } }
.hero-rows { display: flex; flex-direction: column; gap: 10px; }
.hero-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-dim); padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-md); }
.hero-row .flag.loc-code { font-size: 11px; }
.hero-row .ping { margin-left: auto; font-weight: 600; font-size: 13px; }
.ping.ok { color: var(--success); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 10px 14px; box-shadow: var(--shadow); }
.chip .ic { display: inline-flex; }
.chip .icon { width: 15px; height: 15px; color: var(--accent-2); }
.chip-1 { top: 30px; left: -6px; animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: 40px; right: -10px; animation: float 5s ease-in-out infinite 1.2s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ===== Strip ===== */
.strip { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 8px 22px 30px; color: var(--text-faint); font-size: 14px; }
.strip-items { display: flex; gap: 22px; }
.strip-items span { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); }

/* ===== Sections ===== */
.section { padding: 72px 22px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 17px; }

.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 26px; transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.25s ease; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feat-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--accent-2); background: var(--accent-dim); border: 1px solid var(--border); margin-bottom: 16px; }
.feat-ic .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* Steps */
.steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); box-shadow: var(--shadow-accent); margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 15px; margin: 0; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -14px; width: 28px; height: 2px; background: linear-gradient(90deg, var(--border-strong), transparent); }

/* Pricing */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price { position: relative; padding: 30px 26px; display: flex; flex-direction: column; transition: transform 0.22s ease, border-color 0.22s ease; }
.price:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-featured { border-color: var(--border-strong); box-shadow: var(--shadow-accent); background: linear-gradient(180deg, rgba(255, 59, 59, 0.1), var(--card)); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(120deg, var(--accent-2), var(--accent-deep)); padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-accent); }
.price-head h3 { font-size: 20px; }
.price-amount { font-family: var(--font-head); margin: 14px 0 4px; color: var(--text); }
.price-amount b { font-size: 46px; font-weight: 700; }
.price-amount span { color: var(--text-faint); font-size: 15px; margin-left: 4px; }
.price-desc { color: var(--text-dim); font-size: 14.5px; min-height: 42px; margin: 0 0 18px; }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: 15px; }
.price-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px; width: 15px; height: 15px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pricing-note { text-align: center; margin-top: 26px; color: var(--text-dim); font-size: 15.5px; }
.pricing-note b { color: var(--text); }
.price-permonth { color: var(--text-faint); font-size: 13.5px; margin: -2px 0 14px; }
.price-permonth b { color: var(--accent-2); }
.price-save { position: absolute; top: 18px; right: 18px; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  color: var(--success); background: rgba(95, 227, 161, 0.12); border: 1px solid rgba(95, 227, 161, 0.3); padding: 4px 9px; border-radius: 999px; }

/* Reassurance band */
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 30px; }
.reassure-item { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); font-size: 14.5px; }
.reassure-item .icon { width: 16px; height: 16px; color: var(--accent-2); }
.reassure-item b { color: var(--text); font-weight: 700; }

/* ===== Sticky mobile CTA ===== */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(11, 3, 4, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong); transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-cta.show { transform: none; }
.mobile-cta-info { display: flex; flex-direction: column; line-height: 1.25; }
.mobile-cta-info b { font-family: var(--font-head); font-size: 17px; }
.mobile-cta-info span { color: var(--accent-2); font-size: 12.5px; font-weight: 500; }
.mobile-cta .btn { padding: 12px 26px; }

/* Apps */
.apps { grid-template-columns: repeat(3, 1fr); }
.app { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 22px; transition: transform 0.2s ease, border-color 0.2s ease; }
.app:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.app img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; margin-bottom: 6px; }
.app b { font-family: var(--font-head); font-size: 17px; }
.app span { color: var(--text-faint); font-size: 13px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 11px; height: 11px; border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint); transform: rotate(45deg); transition: transform 0.25s ease; flex-shrink: 0; }
.faq details.open .chev { transform: rotate(-135deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: 60px 30px; margin: 20px 0 10px;
  border-color: var(--border-strong); background: linear-gradient(160deg, rgba(255, 59, 59, 0.12), var(--card)); }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.final-cta p { color: var(--text-dim); margin: 14px auto 26px; font-size: 17px; max-width: 34em; }
.ambient-mini { position: absolute; width: 420px; height: 420px; top: -180px; left: 50%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.4), transparent 70%); filter: blur(60px); pointer-events: none; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 44px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--text-dim); font-size: 14.5px; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 26px; align-content: start; }
.footer-links a { color: var(--text-dim); font-size: 14.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; color: var(--text-faint); font-size: 14px; }

/* ===== Stats band ===== */
.stats-wrap { padding: 10px 22px 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 30px 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 6px 10px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat b { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--text); line-height: 1; }
.stat span { color: var(--text-faint); font-size: 13.5px; }

/* ===== Comparison ===== */
.compare-wrap { padding: 6px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 540px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); font-size: 14px; }
.compare td:first-child, .compare th:first-child { color: var(--text); }
.compare tbody td:not(:first-child), .compare thead th:not(:first-child) { text-align: center; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .col-us { background: linear-gradient(180deg, rgba(255, 59, 59, 0.1), transparent); }
.compare thead th.col-us { color: var(--accent); font-weight: 700; }
.compare .yes, .compare .no { display: inline-flex; }
.compare .yes .icon { width: 18px; height: 18px; color: var(--success); }
.compare .no .icon { width: 15px; height: 15px; color: var(--text-faint); }
.compare .mid { color: var(--text-dim); }

/* ===== Security ===== */
.security-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.section-p { color: var(--text-dim); font-size: 17px; margin: 14px 0 24px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.sec-list li { display: flex; gap: 14px; align-items: flex-start; }
.sec-ic { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; color: var(--accent-2); background: var(--accent-dim); border: 1px solid var(--border); }
.sec-ic .icon { width: 21px; height: 21px; }
.sec-list b { font-family: var(--font-head); font-size: 17px; }
.sec-list p { margin: 4px 0 0; color: var(--text-dim); font-size: 14.5px; }
.security-visual { position: relative; height: 340px; display: grid; place-items: center; overflow: hidden; }
.shield { position: relative; z-index: 2; width: 128px; height: 128px; filter: drop-shadow(0 12px 30px rgba(255, 59, 59, 0.5)); animation: float 5s ease-in-out infinite; }
.sec-ring { position: absolute; border-radius: 50%; border: 1px solid var(--border-strong); }
.sec-ring-1 { width: 200px; height: 200px; animation: pulsering 4s ease-out infinite; }
.sec-ring-2 { width: 300px; height: 300px; animation: pulsering 4s ease-out infinite 1.2s; }
@keyframes pulsering { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.1); opacity: 0; } }
.sec-tag { position: absolute; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--text-dim); padding: 7px 12px; z-index: 3; }
.sec-tag-1 { top: 40px; left: 30px; animation: float 6s ease-in-out infinite; }
.sec-tag-2 { bottom: 54px; right: 34px; animation: float 6s ease-in-out infinite 1s; }
.sec-tag-3 { bottom: 40px; left: 40px; animation: float 6s ease-in-out infinite 2s; }

/* ===== Network ===== */
.network-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.loc-list { list-style: none; margin: 22px 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.loc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: var(--radius-md); }
.loc-name { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.loc-code { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--text-dim);
  background: var(--accent-dim); border: 1px solid var(--border); padding: 3px 7px; border-radius: 6px; }
.loc-ping { font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.loc-ping.ok { color: var(--success); }
.loc-note { color: var(--text-faint); font-size: 13.5px; margin: 0; }

.network-visual { position: relative; padding: 20px; display: grid; place-items: center; overflow: hidden; }
.net-svg { width: 100%; max-width: 420px; height: auto; }
.net-link { animation: netFlow 1.6s linear infinite; animation-delay: var(--nd, 0s); }
@keyframes netFlow { to { stroke-dashoffset: -24; } }
.net-node .ring { fill: none; stroke: var(--accent-2); stroke-width: 1.4; opacity: 0.6;
  transform-box: fill-box; transform-origin: center; animation: nodePulse 2.4s ease-out infinite; animation-delay: var(--pd, 0s); }
@keyframes nodePulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.net-node circle:not(.ring) { filter: drop-shadow(0 0 6px rgba(255, 90, 90, 0.7)); }
.hub-ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0.5;
  transform-box: fill-box; transform-origin: center; animation: hubPulse 3s ease-in-out infinite; }
@keyframes hubPulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.15); opacity: 0.85; } }
.net-hub circle[fill*="hubGrad"] { filter: drop-shadow(0 0 12px rgba(255, 59, 59, 0.8)); }
.net-caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--text-faint); font-size: 12.5px; }

/* ===== Reviews ===== */
.reviews { grid-template-columns: repeat(3, 1fr); }
.review { padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.22s ease, border-color 0.22s ease; }
.review:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.stars.star-row .icon { width: 16px; height: 16px; }
.review > p { color: var(--text); font-size: 15.5px; margin: 0; flex: 1; line-height: 1.55; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); }
.review-author b { font-family: var(--font-head); font-size: 15px; display: block; }
.review-author span { color: var(--text-faint); font-size: 13px; }

/* ===== Scroll progress bar ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 100;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-deep));
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.6); transition: width 0.1s linear; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* staggered card reveals */
.reveal-item { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--rd, 0s); }
.reveal-item.in { opacity: 1; transform: none; }

/* ===== Cursor spotlight on cards ===== */
.tilt { position: relative; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 100, 100, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease; }
.tilt:hover::before { opacity: 1; }

/* ===== Primary button shine ===== */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent); transform: skewX(-18deg); }
.btn-primary:hover::after { animation: shine 0.85s ease; }
@keyframes shine { from { left: -80%; } to { left: 140%; } }

/* ===== Scrollspy nav underline ===== */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-deep)); transform: scaleX(0); transform-origin: center; transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

/* ===== Smooth FAQ accordion ===== */
.js .faq details p { overflow: hidden; max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, padding 0.4s ease; }
.js .faq details.open p { opacity: 1; padding-bottom: 20px; }
.faq summary { transition: color 0.2s ease; }
.faq details.open summary { color: var(--accent-2); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-visual { order: -1; min-height: 320px; margin-bottom: 8px; }
  .features, .steps, .pricing, .apps, .reviews { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .steps .step::after { display: none; }
  .security-grid { grid-template-columns: 1fr; gap: 30px; }
  .security-visual { order: -1; height: 260px; }
  .network-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
  .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 620px) {
  .features, .steps, .pricing, .apps, .reviews { grid-template-columns: 1fr; }
  .price-featured { order: -1; }
  .hero-trust { gap: 20px; }
  .nav-cta .btn-ghost { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .mobile-cta { display: flex; }
  main { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
