/* ==========================================================================
   GlobeIPTV — Design System
   ========================================================================== */

:root {
  --bg: #0a0e17;
  --bg-alt: #0d1220;
  --surface: rgba(20, 26, 43, .56);
  --surface-2: rgba(26, 34, 54, .62);
  --border: #242e45;
  --glass-border: rgba(255, 255, 255, .09);
  --text: #eef1f8;
  --text-muted: #9aa5bd;
  --text-faint: #6b7690;

  --font-sans: 'Geist Variable', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --primary: #7b5cf0;
  --primary-2: #00c2ff;
  --gradient: linear-gradient(135deg, #7b5cf0 0%, #00c2ff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(123,92,240,.15) 0%, rgba(0,194,255,.15) 100%);

  --accent: #ffb020;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;

  --success: #2ecc71;
  --star: #ffc93c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);

  --max-width: 1220px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ---------- Aurora animated background (fixed, GPU-composited, behind all content) ---------- */
body::before,
body::after,
html::before {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: screen;
  will-change: transform;
}
body::before {
  width: 58vw; height: 58vw;
  top: -22vw; left: -12vw;
  background: radial-gradient(circle, #7b5cf0, transparent 70%);
  animation: auroraDrift1 24s ease-in-out infinite;
}
body::after {
  width: 52vw; height: 52vw;
  bottom: -24vw; right: -10vw;
  background: radial-gradient(circle, #00c2ff, transparent 70%);
  animation: auroraDrift2 28s ease-in-out infinite;
}
html::before {
  width: 40vw; height: 40vw;
  top: 30vh; left: 32vw;
  background: radial-gradient(circle, #ffb020, transparent 72%);
  opacity: .22;
  animation: auroraDrift3 32s ease-in-out infinite;
}
@keyframes auroraDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vw) scale(1.15); }
}
@keyframes auroraDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, -6vw) scale(1.12); }
}
@keyframes auroraDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 6vw) scale(1.2); }
}
@media (max-width: 768px) {
  body::before, body::after, html::before { filter: blur(48px); opacity: .34; }
  html::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, html::before { animation: none !important; }
}
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-2);
  background: var(--gradient-soft);
  border: 1px solid rgba(123,92,240,.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 17px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(123,92,240,.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(123,92,240,.5); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 12px 30px rgba(37,211,102,.45); }

/* Glow-pulse on the primary hero/CTA WhatsApp buttons only (cheap: opacity+scale on a blurred pseudo-layer) */
.hero .btn-whatsapp, .cta-banner .btn-whatsapp {
  position: relative;
  overflow: visible;
  z-index: 0;
}
.hero .btn-whatsapp::after, .cta-banner .btn-whatsapp::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(37,211,102,.55), transparent 70%);
  z-index: -1;
  filter: blur(14px);
  animation: glowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn-whatsapp::after, .cta-banner .btn-whatsapp::after { animation: none; opacity: .6; }
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary-2); color: var(--primary-2); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10,14,23,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--text);
  flex: none;
  transition: opacity .15s ease;
}
.logo:hover { opacity: .88; }
.logo .dot { color: var(--primary-2); }
.logo-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  filter: drop-shadow(0 2px 8px rgba(123,92,240,.35));
}
.logo-icon { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.lang-btn:hover { color: var(--text); border-color: var(--primary-2); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 300;
}
.lang-switch.open .lang-menu { display: flex; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.active { color: var(--primary-2); font-weight: 700; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.menu-toggle span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .28s cubic-bezier(.16,.84,.44,1), opacity .2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(123,92,240,.35), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(0,194,255,.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero-lead { font-size: 18px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-badge b { color: var(--text); }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

/* ================= IPTV Dashboard mockup (hero right side) ================= */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

/* Ambient moving glow behind the glass panel */
.dash-glow {
  position: absolute;
  inset: -16% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 25% 20%, rgba(123,92,240,.45), transparent 70%),
    radial-gradient(40% 45% at 80% 75%, rgba(0,194,255,.4), transparent 70%),
    radial-gradient(30% 35% at 70% 10%, rgba(37,211,102,.16), transparent 70%);
  filter: blur(50px);
  opacity: .85;
  animation: dashGlowMove 14s ease-in-out infinite;
  will-change: transform;
}
@keyframes dashGlowMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.08); }
}

/* The glass dashboard panel */
.dash-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(26,34,54,.65), rgba(15,19,32,.78));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08), 0 0 60px rgba(123,92,240,.15);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 22px;
  animation: dashFloat 6s ease-in-out infinite, dashEnter .9s cubic-bezier(.16,.84,.44,1) both;
}
@keyframes dashFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes dashEnter {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Top bar: clock, search, connected status, avatar */
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dash-time {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: .02em;
  white-space: nowrap;
}
.dash-top-actions { display: flex; align-items: center; gap: 8px; }
.dash-icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  flex: none;
}
.dash-icon-btn svg { width: 15px; height: 15px; }
.dash-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #4ee08a;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.3);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.dash-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #25d366; flex: none;
  animation: livePulse 2s ease-in-out infinite;
}
.dash-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  flex: none;
}

/* Main: 3 circular feature cards */
.dash-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.dash-circle {
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 18px 6px;
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .25s cubic-bezier(.16,.84,.44,1), border-color .2s ease, background .2s ease;
  animation: dashCircleFloat 4.5s ease-in-out infinite;
}
.dash-circle:hover {
  transform: translateY(-6px);
  border-color: rgba(123,92,240,.4);
  background: rgba(255,255,255,.05);
}
.dash-circle-1 { animation-delay: 0s; }
.dash-circle-2 { animation-delay: .3s; }
.dash-circle-3 { animation-delay: .6s; }
@keyframes dashCircleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.dash-circle-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: #fff;
  animation: dashIconPulse 3s ease-in-out infinite;
}
.dash-circle-1 .dash-circle-icon { background: radial-gradient(circle, #7b5cf0, #5a3fc4); box-shadow: 0 0 24px rgba(123,92,240,.55); }
.dash-circle-2 .dash-circle-icon { background: radial-gradient(circle, #00c2ff, #0091c4); box-shadow: 0 0 24px rgba(0,194,255,.5); animation-delay: .4s; }
.dash-circle-3 .dash-circle-icon { background: radial-gradient(circle, #ff5ec4, #b23a8a); box-shadow: 0 0 24px rgba(255,94,196,.45); animation-delay: .8s; }
.dash-circle-icon svg { width: 24px; height: 24px; }
@keyframes dashIconPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.15); }
}
.dash-circle-label { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; white-space: nowrap; }
.dash-circle-sub { font-size: 10px; color: var(--text-faint); }

/* Bottom feature badges */
.dash-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 7px 11px;
  border-radius: 999px;
}
.dash-badge svg { width: 13px; height: 13px; flex: none; }
.dash-badge b { color: var(--primary-2); font-weight: 800; margin-left: 2px; }
.dash-badge-accent {
  background: rgba(255,176,32,.12);
  border-color: rgba(255,176,32,.35);
  color: #ffc85c;
  font-weight: 700;
}
.dash-badge-success {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.3);
  color: #4ee08a;
}
.dash-badge-success .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #25d366; flex: none;
  animation: livePulse 2s ease-in-out infinite;
}

/* Simplified stacked version — mobile only */
.dash-mobile { display: none; }
.dash-mobile-row .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #25d366; flex: none;
  animation: livePulse 2s ease-in-out infinite;
}

@media (max-width: 1000px) {
  .dash-panel { max-width: 420px; padding: 18px; }
  .dash-circle-icon { width: 44px; height: 44px; }
  .dash-circle-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 760px) {
  .hero-visual { min-height: 0; }
  .hero-visual .dash-panel,
  .hero-visual .dash-glow { display: none; }
  .dash-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 380px;
  }
  .dash-mobile-row {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 14px; font-weight: 600; color: var(--text);
  }
  .dash-mobile-row svg { width: 18px; height: 18px; color: var(--primary-2); flex: none; }
  .dash-mobile-row.accent { color: #ffc85c; border-color: rgba(255,176,32,.3); }
}

/* ================= Server Infrastructure Dashboard (Quality & Reliability section) ================= */
.infra-dash {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infra-glow {
  position: absolute;
  inset: -18% -14%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 20% 25%, rgba(123,92,240,.4), transparent 70%),
    radial-gradient(38% 42% at 85% 70%, rgba(0,194,255,.38), transparent 70%),
    radial-gradient(30% 32% at 60% 90%, rgba(37,211,102,.14), transparent 70%);
  filter: blur(55px);
  opacity: .8;
  animation: dashGlowMove 16s ease-in-out infinite;
  will-change: transform;
}

/* Main card: network map with glowing nodes */
.infra-map-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 300px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(26,34,54,.65), rgba(15,19,32,.8));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow: hidden;
  animation: dashFloat 7s ease-in-out infinite;
}
.infra-map-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(123,92,240,.2), transparent 70%),
    radial-gradient(50% 50% at 75% 70%, rgba(0,194,255,.18), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 26px 26px;
  animation: infraBgShift 10s ease-in-out infinite;
}
@keyframes infraBgShift {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.infra-map-svg { position: relative; width: 100%; height: 100%; z-index: 1; }
.infra-node {
  fill: #00c2ff;
  transform-box: fill-box;
  transform-origin: center;
  animation: infraNodePulse 2.6s ease-in-out infinite;
}
.infra-node.alt { fill: #7b5cf0; }
@keyframes infraNodePulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
.infra-line {
  fill: none;
  stroke: url(#infraLineGrad);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
  opacity: .5;
  animation: infraLineFlow 3s linear infinite;
}
@keyframes infraLineFlow { to { stroke-dashoffset: -18; } }
.infra-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  animation: infraParticleDrift 7s ease-in-out infinite;
}
@keyframes infraParticleDrift {
  0% { transform: translate(0, 0); opacity: 0; }
  15%, 85% { opacity: .8; }
  100% { transform: translate(24px, -34px); opacity: 0; }
}

/* Overlay glass cards */
.infra-card {
  position: absolute;
  z-index: 2;
  background: linear-gradient(160deg, rgba(26,34,54,.78), rgba(15,19,32,.88));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 14px 16px;
  transition: transform .3s cubic-bezier(.16,.84,.44,1), border-color .2s ease;
  animation: infraCardFloat 5s ease-in-out infinite;
}
.infra-card:hover { transform: translateY(-6px) !important; border-color: rgba(123,92,240,.4); }
@keyframes infraCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes infraCardFloat5 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}
.infra-card-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  white-space: nowrap;
}
.infra-stat { font-size: 19px; font-weight: 800; font-family: var(--font-sans); color: var(--text); line-height: 1.25; }
.infra-stat-label { font-size: 10px; color: var(--text-faint); margin-top: 1px; }
.infra-stat-group + .infra-stat-group { margin-top: 10px; }
.infra-live-row { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 11px; font-weight: 700; color: #4ee08a; }
.infra-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #25d366; flex: none;
  animation: livePulse 2s ease-in-out infinite;
}
.infra-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.infra-tag {
  font-size: 9.5px; font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Bento positions around the map card */
.infra-card-1 { top: -6%; left: -8%; width: 168px; animation-delay: 0s; }
.infra-card-2 { top: -8%; right: -6%; width: 158px; animation-delay: .4s; }
.infra-card-3 { bottom: -10%; left: -10%; width: 150px; animation-delay: .8s; }
.infra-card-4 { bottom: -12%; right: -8%; width: 172px; animation-delay: 1.2s; }
.infra-card-5 { bottom: -18%; left: 50%; width: 190px; animation-delay: 1.6s; animation-name: infraCardFloat5; transform: translateX(-50%); }
.infra-card-5:hover { transform: translateX(-50%) translateY(-6px) !important; }

@media (max-width: 1000px) {
  .infra-dash { min-height: 460px; }
  .infra-map-card { max-width: 380px; height: 260px; }
  .infra-card { padding: 11px 13px; }
  .infra-card-1, .infra-card-2 { width: 128px; }
  .infra-card-3, .infra-card-4 { width: 128px; }
  .infra-card-5 { width: 160px; }
  .infra-stat { font-size: 16px; }
}
@media (max-width: 760px) {
  /* Mobile: simple stacked glass cards instead of the floating bento layout */
  .infra-dash { min-height: 0; display: block; }
  .infra-glow { display: none; }
  .infra-map-card { display: none; }
  .infra-card {
    position: static !important;
    width: 100% !important;
    margin-bottom: 10px;
    animation: none !important;
    transform: none !important;
  }
  .infra-card:last-child { margin-bottom: 0; }
}

/* ================= VOD Library Dashboard (movies-series "Library Info" section) ================= */
.vod-dash {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vod-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(26,34,54,.65), rgba(15,19,32,.8));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08), 0 0 60px rgba(0,194,255,.12);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 20px;
  animation: dashFloat 6.5s ease-in-out infinite;
}

.vod-topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.vod-search {
  flex: 1;
  min-width: 0;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vod-search svg { width: 14px; height: 14px; flex: none; color: var(--text-faint); }
.vod-counter {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,176,32,.12);
  border: 1px solid rgba(255,176,32,.3);
  border-radius: 14px;
  padding: 7px 13px;
  flex: none;
}
.vod-counter b { font-size: 15px; font-weight: 800; font-family: var(--font-sans); color: #ffc85c; line-height: 1; }
.vod-counter span { font-size: 8px; color: #ffc85c; text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; white-space: nowrap; }

.vod-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.vod-tab {
  font-size: 11px; font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--text-faint);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
}
.vod-tab.active { color: #fff; background: var(--gradient); border-color: transparent; }

.vod-posters { display: flex; gap: 8px; margin-bottom: 16px; }
.vod-poster {
  position: relative;
  flex: 1 1 30%;
  min-width: 0;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--p1, #7b5cf0), var(--p2, #3a2a80));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s cubic-bezier(.16,.84,.44,1);
  animation: dashCircleFloat 4.5s ease-in-out infinite;
}
.vod-poster:hover { transform: scale(1.08) translateY(-3px); z-index: 2; }
.vod-poster-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.vod-poster-icon svg { width: 22px; height: 22px; }
.vod-poster-badge {
  position: absolute; top: 5px; left: 5px;
  font-size: 8px; font-weight: 800;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  padding: 2px 5px;
  border-radius: 5px;
  color: #fff;
  letter-spacing: .02em;
}

.vod-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.vod-categories .pill { padding: 5px 11px; font-size: 10.5px; }

.vod-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.vod-langs { display: flex; gap: 4px; }
.vod-lang-flag {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
}
.vod-quality-badges { display: flex; gap: 6px; }

@media (max-width: 1000px) {
  .vod-dash { min-height: 420px; }
  .vod-panel { max-width: 420px; padding: 17px; }
}
@media (max-width: 760px) {
  .vod-dash { min-height: 0; display: block; }
  .vod-panel { max-width: 100%; }
  .vod-poster { animation: none; }
  .vod-tab { font-size: 10px; padding: 6px 10px; }
}

/* ================= Live Sports Dashboard (sports "Fan Favorite" section) ================= */
.sports-dash {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sports-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(26,34,54,.65), rgba(15,19,32,.8));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08), 0 0 60px rgba(123,92,240,.15);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 20px;
  animation: dashFloat 6.5s ease-in-out infinite;
}

/* Live match card */
.live-match {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  transition: transform .3s cubic-bezier(.16,.84,.44,1), border-color .2s ease;
}
.live-match:hover { transform: translateY(-4px); border-color: rgba(123,92,240,.35); }
.live-match-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  color: #ff6b6b;
  background: rgba(255,70,70,.14);
  border: 1px solid rgba(255,70,70,.35);
  padding: 5px 10px;
  border-radius: 999px;
}
.live-dot-red { width: 6px; height: 6px; border-radius: 50%; background: #ff3b3b; animation: liveRedPulse 1.6s ease-in-out infinite; }
@keyframes liveRedPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,59,.6); }
  50% { box-shadow: 0 0 0 6px rgba(255,59,59,0); }
}
.viewer-count { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-faint); font-weight: 600; }
.viewer-count svg { width: 13px; height: 13px; flex: none; }

.live-match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.live-team { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
.live-team-crest {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: var(--gradient);
}
.live-team:nth-child(3) .live-team-crest { background: linear-gradient(135deg, #00c2ff, #0091c4); }
.live-team-score { font-size: 24px; font-weight: 800; font-family: var(--font-sans); color: var(--text); }
.live-match-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; padding: 0 4px; }
.live-timer {
  font-size: 11px; font-weight: 700; color: var(--primary-2);
  background: rgba(0,194,255,.1);
  border: 1px solid rgba(0,194,255,.3);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.live-match-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.sports-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin-bottom: 10px; }
.upcoming-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.upcoming-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 9px 12px;
  transition: transform .25s ease, border-color .2s ease;
}
.upcoming-row:hover { transform: translateX(3px); border-color: rgba(123,92,240,.3); }
.upcoming-teams { font-size: 12px; font-weight: 600; color: var(--text); }
.upcoming-time { font-size: 10.5px; color: var(--text-faint); font-weight: 600; white-space: nowrap; }

.sports-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sports-chips .pill { padding: 6px 12px; font-size: 11px; }

@media (max-width: 1000px) {
  .sports-dash { min-height: 420px; }
  .sports-panel { max-width: 420px; padding: 17px; }
}
@media (max-width: 760px) {
  .sports-dash { min-height: 0; display: block; }
  .sports-panel { max-width: 100%; }
}

/* ================= Content Library Bento Grid (homepage) ================= */
.bento-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  transition: background .3s ease;
  animation: bentoFloat 6s ease-in-out infinite;
  color: inherit;
}
.bento-card:hover { background: linear-gradient(135deg, rgba(123,92,240,.7), rgba(0,194,255,.6)); }
@keyframes bentoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.bento-card-inner {
  position: relative;
  height: 100%;
  border-radius: 23px;
  background: linear-gradient(160deg, rgba(26,34,54,.82), rgba(15,19,32,.92));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 28px;
  transition: transform .3s cubic-bezier(.16,.84,.44,1), box-shadow .3s ease;
}
.bento-card:hover .bento-card-inner {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 44px rgba(123,92,240,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Big feature cards (Live TV / Movies / Series / Sports) */
.bento-lg { grid-column: span 3; }
.bento-lg .bento-card-inner { display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.bento-card-top { display: flex; align-items: center; justify-content: space-between; }
.bento-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(123,92,240,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-2);
  flex: none;
}
.bento-icon svg { width: 25px; height: 25px; }
.bento-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.bento-value { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; font-family: var(--font-sans); color: var(--text); line-height: 1; }
.bento-sub { font-size: 13.5px; color: var(--text-muted); }
.bento-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

/* Small stat cards */
.bento-sm { grid-column: span 2; }
.bento-sm .bento-card-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px;
  padding: 24px 14px;
}
.bento-sm-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(123,92,240,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-2);
}
.bento-sm-icon svg { width: 20px; height: 20px; }
.bento-sm-value { font-size: 19px; font-weight: 800; font-family: var(--font-sans); color: var(--text); line-height: 1; }
.bento-sm-label { font-size: 11px; color: var(--text-faint); font-weight: 600; }

@media (max-width: 1000px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .bento-sm { grid-column: span 1; }
  .bento-lg .bento-card-inner { min-height: 0; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg, .bento-sm { grid-column: span 1; }
}

.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-sans); font-size: 30px; font-weight: 800; }
.hero-stats .label { font-size: 13px; color: var(--text-faint); }

/* trust strip */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg-alt);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.trust-item svg { width: 20px; height: 20px; color: var(--primary-2); flex: none; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(123,92,240,.4); box-shadow: var(--shadow); }

/* ---------- Glassmorphism (applies to all "surface" components) ---------- */
.card, .channel-card, .price-card, .review-card, .blog-card,
.rating-summary, .faq-item, .lang-menu, .blog-cta,
.contact-form input, .contact-form textarea, .contact-form select {
  border-color: var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .channel-card, .price-card, .review-card, .blog-card,
  .rating-summary, .faq-item, .lang-menu, .blog-cta {
    background: var(--bg-alt);
  }
}
@media (max-width: 768px) {
  /* Lighter blur on mobile: keeps the glass look without taxing weaker GPUs.
     backdrop-filter is one of the costliest paint operations on mid/low-end
     mobile GPUs, so every glass surface gets a much cheaper radius here —
     including the dashboard mockups, which originally only had a desktop value. */
  .card, .channel-card, .price-card, .review-card, .blog-card,
  .rating-summary, .faq-item, .lang-menu, .blog-cta,
  .contact-form input, .contact-form textarea, .contact-form select,
  .dash-panel, .infra-map-card, .infra-card, .vod-panel, .sports-panel,
  .bento-card-inner, .live-match, .upcoming-row,
  .menu-toggle, .lang-float-btn, .lang-float-menu {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(123,92,240,.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary-2);
}
.feature-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* poster / channel cards */
.poster-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 2/3;
  display: flex; align-items: flex-end;
}
.poster-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-card .tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #241800;
  font-size: 11px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px;
  letter-spacing: .04em;
}
.poster-card .info {
  position: relative; z-index: 1; width: 100%;
  padding: 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(6,8,14,.95));
}
.poster-card .info h4 { font-size: 14.5px; margin: 0 0 3px; color: #fff; }
.poster-card .info span { font-size: 12px; color: rgba(255,255,255,.65); }

.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.channel-card .flag { font-size: 30px; margin-bottom: 10px; }
.channel-card h4 { font-size: 15px; margin-bottom: 4px; }
.channel-card span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(123,92,240,.12), var(--surface) 40%);
  transform: scale(1.035);
  box-shadow: var(--shadow-lg);
}
.price-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}
.price-card .plan-name { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); font-weight: 700; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.price-card .price .amount { font-family: var(--font-sans); font-size: 44px; font-weight: 800; }
.price-card .price .currency { font-size: 20px; font-weight: 700; color: var(--text-muted); }
.price-card .per { font-size: 13px; color: var(--text-faint); margin-bottom: 22px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-muted); }
.price-card li svg { width: 17px; height: 17px; color: var(--success); flex: none; margin-top: 2px; }

/* ---------- Testimonials ---------- */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.stars { color: var(--star); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-size: 14.5px; color: var(--text-muted); }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 14px; flex: none;
}
.review-who .name { font-size: 14px; font-weight: 700; color: var(--text); }
.review-who .loc { font-size: 12.5px; color: var(--text-faint); }
.rating-summary {
  display: flex; align-items: center; gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.rating-summary .big { font-family: var(--font-sans); font-size: 46px; font-weight: 800; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; color: var(--primary-2); flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; font-size: 14.5px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); }
.cta-banner .cta-actions { justify-content: center; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.12); }
.cta-banner .btn-whatsapp { box-shadow: 0 10px 26px rgba(0,0,0,.25); }

/* ---------- Blog ---------- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.blog-card .thumb { height: 170px; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card .meta { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; }
.blog-card h3 { font-size: 17px; }
.blog-card .readmore { font-size: 13.5px; font-weight: 700; color: var(--primary-2); margin-top: auto; }

.post-body { max-width: 780px; margin: 0 auto; }
.post-body h2 { font-size: 26px; margin-top: 1.4em; }
.post-body h3 { font-size: 20px; margin-top: 1.2em; }
.post-body p, .post-body li { color: var(--text-muted); font-size: 16px; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 1.2em; }
.post-body li { margin-bottom: .5em; list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid var(--border);
}
.post-hero img { width: 100%; height: 340px; object-fit: cover; }
.post-hero .icon-tile { height: 300px; }

/* ---------- Icon tile: lightweight neon-icon-on-grid graphic (pure CSS/SVG, no image download) ---------- */
.icon-tile {
  position: relative;
  width: 100%; height: 100%;
  min-height: 100%;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(55% 65% at 50% 42%, color-mix(in srgb, var(--tile-color, #4ea8ff) 20%, transparent), transparent 72%),
    #070a12;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.icon-tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 26%, rgba(255,255,255,.55), transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 20%, rgba(255,255,255,.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 27% 78%, rgba(255,255,255,.35), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 72%, rgba(255,255,255,.45), transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 15%, rgba(255,255,255,.3), transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 60%, rgba(255,255,255,.3), transparent 100%);
  pointer-events: none;
}
.icon-tile svg {
  position: relative;
  width: 30%; height: 30%;
  max-width: 92px; max-height: 92px;
  color: var(--tile-color, #4ea8ff);
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--tile-color, #4ea8ff) 75%, transparent));
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .icon-tile { background: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 32px 32px, #070a12; }
  .icon-tile svg { filter: drop-shadow(0 0 16px var(--tile-color, #4ea8ff)); }
}
.post-meta-row { display: flex; gap: 16px; align-items: center; color: var(--text-faint); font-size: 13.5px; margin-bottom: 18px; flex-wrap: wrap; }
.post-meta-row span { display: flex; align-items: center; gap: 6px; }
.post-title { font-size: clamp(28px, 4vw, 40px); }
.blog-cta {
  margin: 46px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 420px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(123,92,240,.28), transparent 70%);
  z-index: 0; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 16.5px; }
.breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary-2); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.footer-social a:hover { color: #fff; border-color: var(--primary-2); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-faint); }
.footer-langs { display: flex; gap: 10px; }
.footer-langs a { font-size: 13px; color: var(--text-faint); }
.footer-langs a.active, .footer-langs a:hover { color: var(--primary-2); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 400;
  display: flex; align-items: center; gap: 10px;
  background: var(--whatsapp);
  color: #06210f;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float span { white-space: nowrap; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 30px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
}

/* ---------- Floating language switcher (mobile only — desktop already has the header dropdown) ---------- */
.lang-float { display: none; }
@media (max-width: 1000px) {
  .lang-float {
    display: block;
    position: fixed;
    bottom: 24px; left: 20px;
    z-index: 400;
  }
}
.lang-float-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  color: var(--text);
  font-size: 21px;
  line-height: 1;
  box-shadow: var(--shadow);
}
.lang-float-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang-float.open .lang-float-menu { display: flex; }
.lang-float-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.lang-float-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-float-menu a.active { color: var(--primary-2); font-weight: 700; }

/* ---------- Misc ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col img { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.two-col img.floaty {
  animation: floatBig 5.5s ease-in-out infinite;
  will-change: transform;
  box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04);
}
@keyframes floatBig {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .two-col img.floaty { animation: none !important; }
}
.divider { height: 1px; background: var(--border); margin: 60px 0; }
.center { text-align: center; }
.table-compat { width: 100%; border-collapse: collapse; }
.table-compat th, .table-compat td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14.5px; color: var(--text-muted); }
.table-compat th { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-2); }
.contact-form label { font-size: 13.5px; color: var(--text-muted); margin-bottom: -8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  /* Keep the mobile top bar clean & professional: logo + menu only.
     WhatsApp is still one tap away via the floating button + inside the menu. */
  .nav-right { gap: 10px; }
  .nav-right .lang-switch,
  .nav-right > .btn-whatsapp,
  .nav-right > .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-icon { width: 20px; height: 20px; }
  .grid-4, .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .section { padding: 60px 0; }
}

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg);
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.16,.84,.44,1), visibility 0s linear .32s;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .28s ease, transform .32s cubic-bezier(.16,.84,.44,1), visibility 0s linear 0s;
}
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mobile-nav a {
  padding: 14px 12px;
  font-size: 16.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  color: var(--text);
  border-radius: 8px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav a.active { color: var(--primary-2); border-left-color: var(--primary-2); background: var(--surface-2); }
.mobile-nav a[href*="wa.me"] {
  margin-top: 16px;
  background: var(--whatsapp);
  color: #06210f;
  border: none;
  border-left: none;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(37,211,102,.28);
}
.mobile-nav a[href*="wa.me"]:hover { background: var(--whatsapp-dark); }
.mobile-nav .close-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text);
  font-size: 22px;
  transition: background .15s ease, border-color .15s ease;
}
.mobile-nav .close-btn:hover { background: var(--surface-2); border-color: var(--primary-2); }
.mobile-nav .mobile-langs { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.mobile-nav .mobile-langs a {
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
.mobile-nav .mobile-langs a:hover { background: var(--surface-2); border-color: var(--primary-2); }

/* ---------- Scroll reveal (JS adds .reveal on load, .is-visible via IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Opacity-only variant for elements that already carry their own permanent transform (e.g. .price-card.popular's scale) */
.reveal-fade { opacity: 0; transition: opacity .7s ease; transition-delay: var(--reveal-delay, 0s); }
.reveal-fade.is-visible { opacity: 1; }

/* ---------- Magnetic buttons (JS sets inline transform on desktop only) ---------- */
.btn-magnetic { transition: transform .25s cubic-bezier(.16,.84,.44,1), box-shadow .18s ease, background .18s ease, border-color .18s ease; }

/* ---------- Mouse parallax targets (JS sets inline transform, desktop only) ---------- */
.parallax-target { will-change: transform; }

/* ---------- Reduced motion: hard-disable every animation/transition site-wide ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
