/* ============================================================
   BNBVIO — Global Stylesheet
   Theme: Red (#E6232A) · Blue (#1F6BFF) · White (#FFFFFF)
   ============================================================ */

:root {
  --red: #E6232A;
  --red-dark: #B5151B;
  --red-soft: #FFE9EA;
  --blue: #1F6BFF;
  --blue-dark: #0A2FAF;
  --blue-soft: #E8F0FF;
  --navy: #0B1020;
  --navy-2: #111A33;
  --white: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --grad: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(230,35,42,.12), rgba(31,107,255,.12));
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 60px rgba(10,47,175,.18);
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.22,.8,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .muted, .section-dark p { color: rgba(255,255,255,.75); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.red { color: var(--red); background: var(--red-soft); }
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: #8EB4FF; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(230,35,42,.35); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(230,35,42,.4); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(31,107,255,.35); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-3px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.section-dark .btn-outline, .hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.section-dark .btn-outline:hover, .hero .btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-group { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 16px 0; transition: all .4s var(--ease);
  color: #fff;
}
.site-header.scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px); color: var(--ink);
  box-shadow: 0 2px 20px rgba(15,23,42,.08); padding: 10px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; }
.brand img { height: 44px; width: 44px; }
.brand .vio { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: inherit; font-weight: 500; font-size: .95rem; position: relative; opacity: .9; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 22px; font-size: .9rem; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; background: var(--navy); color: #fff; transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 50px rgba(0,0,0,.3);
  }
  .nav-open .nav { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .site-header.scrolled .nav { color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff;
  background: radial-gradient(1200px 600px at 80% 10%, rgba(31,107,255,.35), transparent 60%),
              radial-gradient(900px 500px at 10% 90%, rgba(230,35,42,.3), transparent 60%), var(--navy);
  overflow: hidden; padding: 140px 0 100px;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,.8); font-size: 1.2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(230,35,42,.3); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(230,35,42,.3);} 50% { box-shadow: 0 0 0 10px rgba(230,35,42,0);} }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.hero-stats div strong { display: block; font-size: 1.8rem; font-weight: 700; }
.hero-stats div span { font-size: .85rem; color: rgba(255,255,255,.65); }
.hero-visual { position: relative; perspective: 1200px; min-height: 420px; }
.device-stack { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; }
.device {
  position: absolute; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.4);
}
.device-laptop { width: 100%; max-width: 520px; height: 320px; left: 0; top: 40px; transform: translateZ(0) rotateY(-8deg) rotateX(4deg); }
.device-phone { width: 150px; height: 300px; right: -10px; top: 120px; transform: translateZ(90px) rotateY(-14deg); border-radius: 30px; border: 6px solid #0B1020; }
.device-float { animation: floaty 6s ease-in-out infinite; }
.device-phone.device-float { animation-delay: -2s; }
@keyframes floaty { 0%,100% { margin-top: 0 } 50% { margin-top: -18px } }
.mock-bar { height: 34px; background: #F1F5F9; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mock-bar i:nth-child(1){background:#FF5F57} .mock-bar i:nth-child(2){background:#FFBD2E} .mock-bar i:nth-child(3){background:#28C840}
.mock-hero { height: 120px; background: var(--grad); position: relative; }
.mock-hero::after { content: ""; position: absolute; left: 20px; bottom: 16px; width: 55%; height: 14px; background: rgba(255,255,255,.9); border-radius: 7px; }
.mock-hero::before { content: ""; position: absolute; left: 20px; bottom: 40px; width: 35%; height: 20px; background: rgba(255,255,255,.95); border-radius: 7px; }
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 16px 20px; }
.mock-grid div { height: 90px; background: linear-gradient(160deg,#EEF2FF,#FDE8E8); border-radius: 10px; position: relative; }
.mock-grid div::after { content:""; position:absolute; left:10px; bottom:10px; width:60%; height:8px; background:#CBD5E1; border-radius:4px; }
.mock-btn { position: absolute; right: 20px; bottom: 18px; background: var(--red); color: #fff; font-size: .75rem; padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.phone-screen { padding: 14px 12px; height: 100%; background: linear-gradient(180deg,#fff,#F6F8FC); color: var(--ink); }
.phone-screen .ph-head { height: 10px; width: 50%; background: #CBD5E1; border-radius: 5px; margin-bottom: 12px; }
.phone-screen .ph-img { height: 90px; background: var(--grad); border-radius: 12px; margin-bottom: 10px; }
.phone-screen .ph-line { height: 8px; background: #E2E8F0; border-radius: 4px; margin: 8px 0; }
.phone-screen .ph-line.short { width: 60%; }
.phone-screen .ph-btn { margin-top: 14px; background: var(--blue); color: #fff; text-align: center; font-size: .7rem; padding: 8px; border-radius: 999px; font-weight: 600; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 40px; margin: 8px auto 0; background: linear-gradient(#fff, transparent); animation: drop 1.6s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .device-laptop { max-width: 100%; height: 260px; }
  .device-phone { width: 120px; height: 240px; right: 0; top: 140px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 160px 0 90px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 0%, rgba(31,107,255,.4), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(230,35,42,.35), transparent 60%), var(--navy);
}
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: orb 12s ease-in-out infinite alternate; }
.orb-red { width: 420px; height: 420px; background: var(--red); right: -120px; top: -140px; }
.orb-blue { width: 380px; height: 380px; background: var(--blue); left: -100px; bottom: -160px; animation-delay: -5s; }
@keyframes orb { from { transform: translate3d(0,0,0) scale(1) } to { transform: translate3d(40px,30px,0) scale(1.15) } }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.35); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  transform-style: preserve-3d; position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(31,107,255,.3); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); color: var(--blue); font-size: 1.4rem; transform: translateZ(30px);
}
.card .icon svg { width: 28px; height: 28px; }
.card.red .icon { color: var(--red); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #fff; }
.section-dark .card p { color: rgba(255,255,255,.7); }
.section-dark .card .icon { background: rgba(255,255,255,.08); color: #8EB4FF; }
.tilt { will-change: transform; }

/* ---------- Comparison / Pain block ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 36px 32px; position: relative; overflow: hidden; }
.compare-col.bad { background: #fff; border: 1px solid var(--line); }
.compare-col.good { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.compare-col.good::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(31,107,255,.45), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgba(230,35,42,.4), transparent 70%); }
.compare-col > * { position: relative; }
.compare-col ul { list-style: none; padding: 0; margin: 20px 0 0; }
.compare-col li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(100,116,139,.15); }
.compare-col.good li { border-color: rgba(255,255,255,.1); }
.compare-col li::before { content: "✕"; color: var(--red); font-weight: 700; flex: none; }
.compare-col.good li::before { content: "✓"; color: #5EEAD4; }
.big-num { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.compare-col.bad .big-num { color: var(--red); }
.compare-col.good .big-num { background: linear-gradient(90deg,#fff,#8EB4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Calculator ---------- */
.calc { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.calc input[type=range] { width: 100%; accent-color: var(--red); }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .calc .row { grid-template-columns: 1fr; } }
.calc output { font-weight: 700; color: var(--blue); }
.calc-result { margin-top: 28px; padding: 24px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; text-align: center; }
@media (max-width: 600px) { .calc-result { grid-template-columns: 1fr; } }
.calc-result strong { display: block; font-size: 1.7rem; }
.calc-result .loss strong { color: #FF6B6B; }
.calc-result .win strong { color: #5EEAD4; }
.calc-result small { color: rgba(255,255,255,.65); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 32px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 2.5rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
@media (max-width: 920px) { .pricing-wrap { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; color: var(--ink); border-radius: 28px; padding: 44px 40px; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.35); transform-style: preserve-3d;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--grad); }
.price-card .ribbon { position: absolute; top: 22px; right: -42px; transform: rotate(45deg); background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 6px 50px; letter-spacing: .1em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; }
.price .amount { font-size: 3.6rem; font-weight: 700; letter-spacing: -.04em; }
.price .was { text-decoration: line-through; color: var(--muted); font-size: 1.2rem; }
.price-note { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: 20px; }
.price-list { list-style: none; padding: 0; margin: 24px 0; }
.price-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.price-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex: none; }
.price-card .btn { width: 100%; margin-top: 10px; }
.value-list { display: grid; gap: 14px; }
.value-list div { display: flex; gap: 14px; align-items: flex-start; }
.value-list .vi { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #8EB4FF; }
.value-list strong { display: block; }
.value-list span { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(31,107,255,.3); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; list-style: none; position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; transition: .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red-soft); color: var(--red); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }
.faq .answer p { margin: 0 0 .6em; }

/* ---------- Testimonials / logos ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-card p { font-size: 1.02rem; color: var(--ink-2); }
.quote-card .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.quote-card .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote-card .who strong { display: block; font-size: .95rem; }
.quote-card .who span { font-size: .82rem; color: var(--muted); }
.stars { color: #F59E0B; letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: clamp(64px,8vw,110px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 50%, rgba(230,35,42,.45), transparent 70%), radial-gradient(800px 400px at 80% 50%, rgba(31,107,255,.5), transparent 70%); }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; }
.cta-band .email { color: #8EB4FF; font-weight: 600; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: .25s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,255,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #16A34A; } .form-status.err { color: var(--red); }
.contact-info { display: grid; gap: 20px; }
.contact-info .ci { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ci .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-info .ci strong { display: block; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: #070B16; color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.7); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px) perspective(800px) rotateX(6deg); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s } .reveal-delay-2 { transition-delay: .2s } .reveal-delay-3 { transition-delay: .3s } .reveal-delay-4 { transition-delay: .4s }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: #fff; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; }
.marquee-track span { font-weight: 600; color: var(--muted); font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Floating email pill ---------- */
.float-mail {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--red); color: #fff; border-radius: 999px;
  padding: 12px 18px; font-weight: 600; font-size: .9rem; box-shadow: 0 14px 30px rgba(230,35,42,.4); display: inline-flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease);
}
.float-mail:hover { transform: translateY(-3px) scale(1.03); }
@media (max-width: 600px) { .float-mail span { display: none; } .float-mail { padding: 14px; } }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }
.notfound .code { font-size: clamp(5rem, 20vw, 12rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header: dark glass when scrolled so the white logo stays visible ---------- */
.site-header.scrolled { background: rgba(11,16,32,.86); color: #fff; box-shadow: 0 2px 24px rgba(0,0,0,.35); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand img { height: 46px; width: auto; }
.site-footer .brand img { height: 52px; }
@media (max-width: 600px) { .brand img { height: 38px; } }

/* ---------- Blog ---------- */
.post-grid { align-items: stretch; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-thumb { display: flex; align-items: flex-end; padding: 18px; height: 160px; color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; position: relative; overflow: hidden;
  background: radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, var(--red), var(--blue)); }
.post-thumb::before { content: ""; position: absolute; inset: 0; background: url("../images/logo-mark.png") no-repeat right -30px top -30px / 200px auto; opacity: .18; }
.post-thumb.cat-compliance { background: radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,.2), transparent 60%), linear-gradient(135deg, #0A2FAF, #1F6BFF); }
.post-thumb.cat-revenue { background: radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,.2), transparent 60%), linear-gradient(135deg, #B5151B, #E6232A 60%, #1F6BFF); }
.post-thumb.cat-operations { background: linear-gradient(135deg, #0B1020, #1F6BFF); }
.post-thumb.cat-technology { background: linear-gradient(135deg, #1F6BFF, #0B1020 70%, #E6232A); }
.post-thumb.cat-seo { background: linear-gradient(135deg, #E6232A, #0B1020 70%, #1F6BFF); }
.post-thumb.cat-growth { background: linear-gradient(135deg, #1F6BFF, #E6232A); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 8px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.post-body h3 { font-size: 1.1rem; line-height: 1.35; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--ink-2); font-size: .93rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-link { font-weight: 600; font-size: .92rem; margin-top: 10px; }

/* Article page */
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 900px; }
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: .92rem; margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; } .article-side { order: 2; } }
.article-side { position: sticky; top: 96px; display: grid; gap: 20px; }
@media (max-width: 920px) { .article-side { position: static; } }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.side-box h4 { margin: 0 0 12px; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc { padding-left: 1.2em; margin: 0; font-size: .92rem; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--blue); }
.side-cta { background: var(--navy); color: #fff; border: 0; }
.side-cta h4 { color: #8EB4FF; }
.side-cta p { color: rgba(255,255,255,.75); font-size: .92rem; }
.side-cta .btn { width: 100%; }
.article-content { max-width: 780px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.article-content h2 { color: var(--ink); font-size: 1.6rem; margin-top: 2.2em; scroll-margin-top: 100px; }
.article-content h3 { color: var(--ink); font-size: 1.15rem; margin-top: 1.6em; }
.article-content ul, .article-content ol { padding-left: 1.3em; }
.article-content li { margin-bottom: .5em; }
.article-content .answer-first { font-size: 1.12rem; color: var(--ink); background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 18px 22px; border-radius: 0 14px 14px 0; }
.article-content .note { font-size: .9rem; background: var(--red-soft); border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.takeaways { background: var(--navy); color: #fff; border-radius: 18px; padding: 28px 30px; margin-bottom: 34px; }
.takeaways h2 { color: #fff; margin: 0 0 14px; font-size: 1.2rem; }
.takeaways ul { margin: 0; padding: 0; list-style: none; }
.takeaways li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.88); font-size: .98rem; }
.takeaways li::before { content: "✓"; position: absolute; left: 0; color: #5EEAD4; font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.data-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.data-table tr:last-child td { border-bottom: 0; }
.article-faq { margin-top: 3em; }
.article-faq .faq { max-width: none; }
.sources { margin-top: 2.5em; font-size: .9rem; }
.sources h3 { font-size: 1rem; }
.sources ul { padding-left: 1.2em; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 3em; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-alt); font-size: .95rem; }
.author-box img { width: 56px; height: 56px; }
.author-box strong { display: block; color: var(--ink); }
