/* =========================================================
   BlinkBoardz — Premium Visibility Network
   Light, clean, premium aesthetic
   ========================================================= */

:root {
  /* Colors */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --soft-surface: #F1F4F9;
  --border: #E5E9F0;
  --border-strong: #D4DBE6;
  --marine: #0B2A4A;
  --marine-deep: #081A2E;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --sky: #7DB9FF;
  --sky-soft: #DCEAFF;
  --champagne: #C9A96E;
  --champagne-soft: #EFE3CC;
  --teal: #0FB5A4;
  --whatsapp: #25D366;
  --slate: #3A4256;
  --muted: #7B8499;
  --pale: #B7BFCC;

  /* Type */
  --display: 'Sora', system-ui, sans-serif;
  --serif: 'Fraunces', 'Sora', serif;
  --body: 'Manrope', system-ui, sans-serif;
  --te: 'Noto Sans Telugu', 'Manrope', sans-serif;

  /* Layout */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1240px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.04), 0 1px 3px rgba(11, 42, 74, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 42, 74, 0.06), 0 2px 4px rgba(11, 42, 74, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(11, 42, 74, 0.18), 0 8px 16px -8px rgba(11, 42, 74, 0.08);
  --shadow-blue: 0 8px 24px -8px rgba(37, 99, 235, 0.35);
}

/* =========================================================
   Reset + base
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

html[lang="te"] body { font-family: var(--te); }
html[lang="te"] .display, html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] h4 {
  font-family: var(--te);
  letter-spacing: 0;
}

/* =========================================================
   Utilities
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
}
html[lang="te"] .eyebrow { letter-spacing: 0.04em; text-transform: none; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--marine);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-whatsapp:hover {
  background: #1DAE54;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-ghost {
  background: var(--surface);
  color: var(--marine);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #fff;
}

.btn-gold {
  background: transparent;
  color: var(--marine);
  border: 1px solid var(--champagne);
}
.btn-gold:hover {
  background: var(--champagne);
  color: #fff;
}

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 0; }
.logo img { height: 32px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--slate);
  transition: color 180ms ease;
}
.nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--marine);
}
.phone-link svg { width: 14px; height: 14px; color: var(--blue); }

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.lang-toggle button {
  padding: 6px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: all 180ms ease;
  min-width: 36px;
}
.lang-toggle button.active {
  background: var(--marine);
  color: #fff;
}
.lang-toggle button:nth-child(2) {
  font-family: var(--te);
  font-size: 13px;
}

/* Mobile nav */
.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav, .phone-link { display: none; }
  .header-actions .btn:not(.btn-mobile-cta) { display: none; }
  .header-inner { position: relative; }
  .menu-toggle {
    display: flex;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    color: var(--marine);
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .header.menu-open .nav {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 70;
  }
  .header.menu-open .nav a {
    display: block;
    padding: 12px 10px;
    border-radius: 8px;
  }
  .header.menu-open .nav a:hover {
    background: var(--soft-surface);
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 500px at 75% 20%, rgba(125, 185, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 600px 400px at 15% 70%, rgba(125, 185, 255, 0.15), transparent 60%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(11, 42, 74, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 40px 0 64px; }
}

.hero-content { max-width: 600px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin-top: 24px;
  margin-bottom: 24px;
}
.hero h1 .serif-italic {
  color: var(--blue);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .hero-sub { font-size: 17px; } }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.live-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--display);
  font-weight: 500;
  color: var(--slate);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.live-strip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
}
.live-strip .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.3;
  animation: pulse 2s ease-out infinite;
}
.live-strip .sep { width: 1px; height: 14px; background: var(--border); }
.live-strip strong { color: var(--marine); font-weight: 600; }
@media (max-width: 480px) {
  .live-strip { font-size: 12px; padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =========================================================
   Hero Mockup — Billboard
   ========================================================= */
.hero-mockup-wrap {
  position: relative;
  perspective: 1400px;
}
.hero-mockup {
  position: relative;
  transform: rotateY(-6deg) rotateX(2deg) rotate(-1deg);
  transform-style: preserve-3d;
  transition: transform 600ms ease;
}
.hero-mockup:hover { transform: rotateY(-3deg) rotateX(1deg) rotate(-0.5deg); }

.billboard {
  position: relative;
  background: linear-gradient(180deg, #1a1f2e 0%, #0d121d 100%);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 60px 80px -30px rgba(11, 42, 74, 0.35),
    0 30px 40px -20px rgba(11, 42, 74, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid #2a3142;
}
.billboard::before {
  /* bezel highlight */
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.billboard-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 800ms ease;
  padding: 8%;
  text-align: center;
}
.ad-slide.active { opacity: 1; }

.ad-1 {
  background: linear-gradient(135deg, #FFE8D6 0%, #FFC9A3 100%);
  color: #5C2D0F;
}
.ad-2 {
  background: linear-gradient(135deg, #0B2A4A 0%, #1E4A7C 100%);
  color: #fff;
}
.ad-3 {
  background: linear-gradient(135deg, #FAFAF7 0%, #DCEAFF 100%);
  color: var(--marine);
}
.ad-eyebrow {
  font-family: var(--display);
  font-size: clamp(9px, 1.2vw, 11px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.75;
}
.ad-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ad-sub {
  font-family: var(--display);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 500;
  opacity: 0.8;
}
.ad-icon {
  width: clamp(36px, 5vw, 56px);
  height: clamp(36px, 5vw, 56px);
  margin-bottom: 14px;
  opacity: 0.85;
}

.ad-1 .ad-title { font-family: var(--serif); font-style: italic; font-weight: 400; }

.billboard-pole {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 80px;
  background: linear-gradient(180deg, #2a3142, #1a1f2e);
  border-radius: 0 0 4px 4px;
  z-index: -1;
}
.billboard-pole::after {
  content: '';
  position: absolute;
  bottom: -8px; left: -20px;
  width: 52px; height: 12px;
  background: #1a1f2e;
  border-radius: 4px;
}

.location-pill {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--marine);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.location-pill .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 181, 164, 0.18);
}

/* Floating mini cards — premium glass dashboard */
.float-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow:
    0 24px 48px -16px rgba(11, 42, 74, 0.28),
    0 12px 24px -10px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  font-family: var(--display);
  min-width: 168px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.float-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(125, 185, 255, 0.18), transparent 45%);
}
.float-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 30px 56px -16px rgba(11, 42, 74, 0.32),
    0 16px 28px -10px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.float-card-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.float-card-icon svg { width: 18px; height: 18px; }
.float-card-body { position: relative; z-index: 1; min-width: 0; }
.float-card .label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.float-card .value {
  font-size: 20px;
  color: var(--marine);
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.1;
}
.float-card .value .plus {
  color: var(--champagne);
  font-weight: 700;
}
.float-card .value .trend {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.10);
  border-radius: 999px;
  padding: 2px 7px;
  letter-spacing: 0;
}
.float-card .value .trend.teal {
  color: var(--teal);
  background: rgba(15, 181, 164, 0.12);
}
.float-card .spark {
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  margin-top: 6px;
  display: block;
}

/* Positions — orbit OUTSIDE the screen, lightly overlapping only the bezel */
.float-card-1 {
  /* Left side — sits fully outside the left edge of the billboard */
  top: 32%;
  left: -28%;
  animation: float1 6.5s ease-in-out infinite;
  transform-origin: center;
}
.float-card-2 {
  /* Lower-right — outside the right edge */
  bottom: 6%;
  right: -22%;
  animation: float2 7.5s ease-in-out infinite;
}
.float-card-3 {
  /* Upper-right — outside the top-right corner */
  top: -8%;
  right: -14%;
  min-width: 0;
  animation: float3 8s ease-in-out infinite;
}
.float-card-3 .label { font-size: 10px; }
.float-card-3 .value { font-size: 17px; }
.float-card-3 .float-card-icon { width: 32px; height: 32px; border-radius: 10px; }
.float-card-3 .float-card-icon svg { width: 16px; height: 16px; }

@keyframes float1 {
  0%, 100% { transform: translateY(0)    rotate(-1.5deg); }
  50%      { transform: translateY(-12px) rotate(-1deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0)    rotate(1.5deg); }
  50%      { transform: translateY(10px)  rotate(1deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0)    rotate(0.8deg); }
  50%      { transform: translateY(-8px)  rotate(0.2deg); }
}

@media (max-width: 1180px) {
  .float-card-1 { left: -16%; }
  .float-card-2 { right: -12%; }
  .float-card-3 { top: -6%; right: -6%; }
}
@media (max-width: 980px) {
  .hero-mockup { transform: none; }
  .hero-mockup:hover { transform: none; }
  /* mockup gets more horizontal room on tablet — pull cards back in */
  .float-card-1 { top: 28%; left: -8%; }
  .float-card-2 { bottom: 4%; right: -6%; }
  .float-card-3 { top: -4%; right: 2%; }
}
@media (max-width: 600px) {
  .float-card { padding: 10px 12px; min-width: 138px; column-gap: 10px; }
  .float-card-icon { width: 32px; height: 32px; }
  .float-card-icon svg { width: 16px; height: 16px; }
  .float-card .label { font-size: 10px; }
  .float-card .value { font-size: 16px; }
  .float-card .spark { height: 22px; }
  .float-card-1 { top: 20%; left: -4%; }
  .float-card-2 { bottom: 0%; right: -4%; }
  .float-card-3 { top: -6%; right: 4%; }
  .float-card-3 .value { font-size: 14px; }
  .billboard-pole { height: 50px; }
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-label {
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
html[lang="te"] .trust-label { letter-spacing: 0.04em; text-transform: none; }
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.logo-pill {
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--pale);
  letter-spacing: 0.02em;
  transition: all 220ms ease;
}
.logo-pill:hover {
  border-color: var(--border-strong);
  color: var(--muted);
}
@media (max-width: 720px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Section base
   ========================================================= */
.section { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-top: 16px;
  max-width: 520px;
}
.section-head p {
  font-size: 17px;
  color: var(--slate);
  max-width: 460px;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}

/* =========================================================
   Network section
   ========================================================= */
.network {
  background: var(--soft-surface);
  position: relative;
  overflow: hidden;
}
.network-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--border);
  margin-top: 56px;
}
.stat {
  background: var(--surface);
  padding: 32px 28px;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--marine);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat .num .gold { color: var(--champagne); }
.stat .num .small { font-size: 0.6em; color: var(--muted); font-weight: 500; }
.stat .label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
html[lang="te"] .stat .label { letter-spacing: 0.02em; text-transform: none; }
@media (max-width: 720px) {
  .network-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 20px; }
}

/* Map preview */
.map-preview {
  margin-top: 56px;
  position: relative;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #DCEAFF 0%, #F1F4F9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
}
.map-pin .pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
  animation: mapPulse 2.4s ease-out infinite;
}
.map-pin .pulse.delay-1 { animation-delay: 0.6s; }
.map-pin .pulse.delay-2 { animation-delay: 1.2s; }
.map-pin .core {
  position: relative;
  width: 14px; height: 14px;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(11, 42, 74, 0.2);
}
.map-pin .label {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  color: var(--marine);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 220ms ease;
}
.map-pin:hover .label { opacity: 1; }
@keyframes mapPulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(3.5); opacity: 0; }
}

.map-corner-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--display);
  box-shadow: var(--shadow-md);
}
.map-corner-card .title { font-size: 13px; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.map-corner-card .city { font-size: 18px; font-weight: 700; color: var(--marine); letter-spacing: -0.01em; }

/* =========================================================
   Featured screens
   ========================================================= */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .screens-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .screens-grid { grid-template-columns: 1fr; } }

.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  display: flex;
  flex-direction: column;
}
.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.screen-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #EAF3FF 0%, #DCEAFF 60%, #C6DDF9 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.screen-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11, 42, 74, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 50%, transparent 90%);
}
.screen-photo svg.scene {
  position: relative;
  width: 70%;
  height: 70%;
  color: var(--marine);
  z-index: 1;
}
.screen-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coming-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.coming-pill svg { width: 11px; height: 11px; color: var(--champagne); }

.premium-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--marine);
  color: var(--champagne);
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.premium-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--champagne);
  border-radius: 50%;
}

.screen-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.screen-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--marine);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.screen-addr {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.screen-addr svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--pale); }

.screen-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 12px;
  color: var(--slate);
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.screen-stats .stat-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.screen-stats .stat-item svg { width: 13px; height: 13px; color: var(--blue); }
.screen-stats strong { color: var(--marine); font-weight: 700; }

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne) 30%, var(--champagne) 70%, transparent);
  opacity: 0.5;
  margin-bottom: 18px;
}

.screen-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.pill {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft-surface);
  color: var(--slate);
  border: 1px solid var(--border);
}
.pill.teal { background: rgba(15, 181, 164, 0.08); color: var(--teal); border-color: rgba(15, 181, 164, 0.2); }
.pill.blue { background: rgba(37, 99, 235, 0.08); color: var(--blue); border-color: rgba(37, 99, 235, 0.18); }

/* =========================================================
   How it works
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 80px;
  color: var(--sky-soft);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--marine);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.step-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 20px; height: 20px; }

/* =========================================================
   Pricing — DARK ANCHOR section
   ========================================================= */
.pricing {
  background: linear-gradient(180deg, var(--marine) 0%, var(--marine-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 0%, rgba(125, 185, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(201, 169, 110, 0.08), transparent 60%);
  pointer-events: none;
}
.pricing .container { position: relative; }
.pricing h2 { color: #fff; }
.pricing h2 .serif-italic { color: var(--sky); }
.pricing .section-head p { color: rgba(255,255,255,0.7); }
.pricing .eyebrow { color: var(--champagne); }
.pricing .eyebrow::before { background: var(--champagne); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 880px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  background: linear-gradient(180deg, rgba(125, 185, 255, 0.1) 0%, rgba(125, 185, 255, 0.02) 100%);
  border-color: rgba(125, 185, 255, 0.3);
  box-shadow:
    0 0 0 1px rgba(125, 185, 255, 0.2),
    0 30px 60px -20px rgba(0,0,0,0.4);
  transform: translateY(-12px);
}
.tier.featured .tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--champagne);
  color: var(--marine);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
html[lang="te"] .tier-name { letter-spacing: 0.02em; text-transform: none; }
.tier.featured .tier-name { color: var(--champagne); }

.tier-price {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tier-price small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); letter-spacing: 0; }
.tier-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.tier-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.tier-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.tier-features svg {
  width: 16px; height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.tier .btn { width: 100%; }
.tier .btn-tier {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.tier .btn-tier:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.tier.featured .btn-tier {
  background: var(--blue);
  border-color: var(--blue);
}
.tier.featured .btn-tier:hover { background: var(--blue-hover); }

/* =========================================================
   Results / case study
   ========================================================= */
.results-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .results-block { grid-template-columns: 1fr; gap: 40px; } }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.quote-mark {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--serif);
  font-size: 100px;
  line-height: 1;
  color: var(--sky-soft);
  font-weight: 300;
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.4;
  color: var(--marine);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
html[lang="te"] .quote-text { font-family: var(--te); font-style: normal; font-weight: 500; }
.quote-divider {
  width: 40px;
  height: 2px;
  background: var(--champagne);
  margin-bottom: 16px;
}
.quote-author { font-family: var(--display); font-weight: 700; color: var(--marine); font-size: 15px; }
.quote-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }

.results-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.result-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.result-stat .num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.result-stat .label {
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* =========================================================
   Industries
   ========================================================= */
.industries {
  background: var(--soft-surface);
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 880px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ind-grid { grid-template-columns: 1fr; } }

.ind-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 220ms ease;
  cursor: pointer;
}
.ind-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ind-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ind-icon svg { width: 22px; height: 22px; }
.ind-card h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--marine);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.ind-card p { font-size: 13px; color: var(--muted); }
.ind-arrow {
  margin-left: auto;
  color: var(--pale);
  transition: transform 220ms ease, color 220ms ease;
}
.ind-card:hover .ind-arrow { color: var(--blue); transform: translateX(4px); }
.ind-arrow svg { width: 16px; height: 16px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--marine);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .toggle-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--soft-surface);
  display: flex; align-items: center; justify-content: center;
  transition: transform 220ms ease, background 220ms ease;
  flex-shrink: 0;
  color: var(--marine);
}
.faq-item .toggle-icon svg { width: 14px; height: 14px; transition: transform 220ms ease; }
.faq-item[open] .toggle-icon { background: var(--blue); color: #fff; }
.faq-item[open] .toggle-icon svg { transform: rotate(45deg); }
.faq-item p {
  padding: 0 26px 22px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
}

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  padding: 96px 0 120px;
  text-align: center;
  position: relative;
}
.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  margin-top: 16px;
}
.final-cta h2 .serif-italic { color: var(--blue); }
.final-cta p { font-size: 19px; color: var(--slate); margin-bottom: 36px; }
.final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-foot {
  margin-top: 32px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
}
.final-cta-foot strong { color: var(--marine); font-weight: 600; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.6; }

.footer h5 {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 18px;
}
html[lang="te"] .footer h5 { letter-spacing: 0.02em; text-transform: none; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 14px;
  color: var(--slate);
  transition: color 180ms ease;
}
.footer ul a:hover { color: var(--blue); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom .legal { display: flex; gap: 20px; }

/* About page: founders */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.founder-card {
  background: #fff;
  border: 1px solid rgba(11, 42, 74, 0.1);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(11, 42, 74, 0.06);
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: #e8edf4;
  border: 1px solid rgba(11, 42, 74, 0.08);
}

.founder-card h3 {
  margin: 14px 0 4px;
  font-size: 1.05rem;
}

.founder-role {
  margin: 0 0 8px;
  color: #355778;
  font-weight: 600;
  font-size: 0.92rem;
}

.founder-bio {
  margin: 0;
  color: #4f6377;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .founder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Mobile sticky bar
   ========================================================= */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
  gap: 8px;
}
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 100px; }
}
.mobile-bar .btn {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
}

/* Mobile floating quick actions */
.mobile-fab-group { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: none !important; }
  .float-wa { display: none !important; }
  .mobile-fab-group {
    position: fixed;
    right: 14px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 70;
  }
  .mobile-fab {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(11, 42, 74, 0.2);
    border: 1px solid rgba(255,255,255,0.35);
  }
  .mobile-fab svg { width: 22px; height: 22px; }
  .mobile-fab.wa { background: var(--whatsapp); color: #fff; }
  .mobile-fab.call { background: #fff; color: var(--marine); }
  .mobile-fab.book { background: var(--blue); color: #fff; }
}

/* =========================================================
   Translation helper
   ========================================================= */
[data-te] { display: inline; }
html[lang="en"] [data-show-when="te"] { display: none !important; }
html[lang="te"] [data-show-when="en"] { display: none !important; }

/* Focus states for a11y */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection { background: var(--sky-soft); color: var(--marine); }

/* =========================================================
   PREMIUM 3D ENHANCEMENTS
   ========================================================= */

/* ---- Hero billboard glow ring ---- */
.hero-mockup-wrap { position: relative; }
.hero-glow-ring {
  position: absolute;
  inset: -8% -10%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,
      rgba(37, 99, 235, 0.22) 0%,
      rgba(37, 99, 235, 0.10) 35%,
      transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 6s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

.hero-mockup { z-index: 1; transition: transform 80ms linear !important; }

/* ---- Soft blue cast under billboard ---- */
.billboard {
  box-shadow:
    0 60px 80px -30px rgba(11, 42, 74, 0.35),
    0 30px 40px -20px rgba(37, 99, 235, 0.28),
    0 0 60px -10px rgba(125, 185, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* ---- Screen scanlines / texture ---- */
.screen-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
  opacity: 0.55;
  z-index: 5;
}
.screen-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0,0,0,0.35) 100%);
  z-index: 5;
}

/* ---- Light sweep across screen ---- */
.screen-light-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}
.screen-light-sweep::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -40%;
  width: 35%;
  height: 140%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0.04) 35%,
    rgba(255,255,255,0.20) 50%,
    rgba(255,255,255,0.04) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  filter: blur(2px);
  animation: lightSweep 5.2s ease-in-out infinite;
}
@keyframes lightSweep {
  0%   { left: -40%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

/* ---- Blink flash on ad change ---- */
.screen-blink-flash {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  opacity: 0;
  pointer-events: none;
  z-index: 7;
}
.screen-blink-flash.blink {
  animation: blinkFlash 480ms ease-out;
}
@keyframes blinkFlash {
  0%   { opacity: 0; }
  18%  { opacity: 0.9; }
  35%  { opacity: 0.15; }
  55%  { opacity: 0.7; }
  100% { opacity: 0; }
}

/* ---- LIVE badge ---- */
.screen-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.screen-live-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255,59,59,0.65);
  animation: liveBlink 1.4s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0.65); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(255,59,59,0);   opacity: 0.7; }
}

/* =========================================================
   "See Your Ad Live" — Demo Carousel
   ========================================================= */
.ad-live-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 56px;
  background: linear-gradient(180deg, #F4F7FC 0%, #ECF1F8 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  perspective: 1600px;
}
@media (max-width: 880px) {
  .ad-live-stage { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
}

/* background */
.ad-live-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.ad-live-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,42,74,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,42,74,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}
.ad-live-pin {
  position: absolute; width: 10px; height: 10px;
}
.ad-live-pin span {
  position: absolute; inset: 0;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,99,235,0.55);
  animation: pinPulse 2.6s ease-out infinite;
}
.ad-live-pin:nth-child(2) span { animation-delay: 0.6s; }
.ad-live-pin:nth-child(3) span { animation-delay: 1.2s; background: var(--champagne); box-shadow: 0 0 0 0 rgba(201,169,110,0.55);}
.ad-live-pin:nth-child(4) span { animation-delay: 1.8s; }
@keyframes pinPulse {
  0%   { transform: scale(0.5); box-shadow: 0 0 0 0 rgba(37,99,235,0.55); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 18px rgba(37,99,235,0); }
  100% { transform: scale(0.5); box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* big floating screen */
.ad-live-mockup {
  position: relative;
  transform: rotateY(-4deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 600ms ease;
  animation: alFloat 7s ease-in-out infinite;
}
@media (max-width: 880px) { .ad-live-mockup { transform: none; animation: none; } }
@keyframes alFloat {
  0%, 100% { transform: rotateY(-4deg) rotateX(3deg) translateY(0); }
  50%      { transform: rotateY(-3.4deg) rotateX(2.6deg) translateY(-8px); }
}
.ad-live-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #14192A 0%, #0A0E1A 100%);
  border-radius: 22px;
  padding: 18px;
  border: 1px solid #2a3142;
  box-shadow:
    0 60px 80px -30px rgba(11, 42, 74, 0.45),
    0 30px 40px -20px rgba(37, 99, 235, 0.30),
    0 0 80px -10px rgba(125, 185, 255, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.ad-live-screen::before {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 1;
}

/* stand under screen */
.ad-live-base {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%) translateZ(-40px);
  width: 30%;
  height: 14px;
  background: linear-gradient(180deg, #1f2533, #0d1119);
  border-radius: 0 0 20px 20px;
  border: 1px solid #2a3142;
  border-top: none;
}
.ad-live-shadow {
  position: absolute;
  left: 8%; right: 8%;
  bottom: -56px;
  height: 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(11,42,74,0.30), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

/* slides inside */
.al-slide {
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4%, 44px);
  opacity: 0;
  transform: scale(1.04) translateZ(0);
  filter: blur(6px);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
  z-index: 2;
}
.al-slide.active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  filter: blur(0);
}
.al-eyebrow {
  font-family: var(--display);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 14px;
}
.al-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.al-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.al-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.al-chip {
  font-family: var(--display);
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
}
.al-chip.light { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.12); }
.al-chip.dark  { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); }
.al-sub {
  font-family: var(--display);
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 500;
  opacity: 0.78;
}

/* slide palettes */
.al-clinic {
  background: linear-gradient(135deg, #0E2A52 0%, #1B4A8A 100%);
  color: #EAF2FF;
}
.al-clinic .al-eyebrow { color: #9FC3FF; }
.al-resto {
  background: linear-gradient(135deg, #FFE7CC 0%, #FFB87A 100%);
  color: #4A1D03;
}
.al-resto .al-title em, .al-resto .al-title { color: #4A1D03; }
.al-realty {
  background: linear-gradient(135deg, #0B1A2E 0%, #133563 50%, #C9A96E 180%);
  color: #F4E9D2;
}
.al-realty .al-eyebrow { color: #E6D2A4; }
.al-realty .al-title em { color: #EFD9A7; }
.al-retail {
  background: linear-gradient(135deg, #F8E1EE 0%, #E988C1 50%, #B83A87 100%);
  color: #fff;
}
.al-coaching {
  background: linear-gradient(135deg, #0FB5A4 0%, #0B7A75 100%);
  color: #EAFFFB;
}
.al-coaching .al-eyebrow { color: #BFF0E9; }

/* side info card */
.ad-live-info {
  position: relative;
  z-index: 2;
}
.ad-live-info-row {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 14px;
}
.ad-live-info-row .info-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 3px rgba(255,59,59,0.18);
  animation: liveBlink 1.4s ease-in-out infinite;
}
.ad-live-cat {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  color: var(--marine);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.ad-live-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.ad-live-meta > div:first-child {
  font-family: var(--display);
  color: var(--marine);
}
.ad-live-meta strong {
  font-size: 22px; font-weight: 700;
  font-feature-settings: 'tnum';
}
.ad-live-meta span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.ad-live-meta .bar {
  flex: 1; height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.ad-live-meta .bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--champagne));
  width: 0%;
  margin: 0;
}

.ad-live-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.al-tag {
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--slate);
  transition: all 220ms ease;
}
.al-tag:hover { border-color: var(--sky); color: var(--marine); transform: translateY(-1px); }
.al-tag.active {
  background: var(--marine); color: #fff; border-color: var(--marine);
  box-shadow: 0 6px 14px -4px rgba(11,42,74,0.35);
}
.ad-live-cta { padding: 12px 22px; }

/* arrows & dots */
.ad-live-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--marine);
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: all 220ms ease;
}
.ad-live-arrow:hover { transform: translateY(-50%) scale(1.06); color: var(--blue); border-color: var(--sky); }
.ad-live-arrow svg { width: 18px; height: 18px; }
.ad-live-arrow.prev { left: 18px; }
.ad-live-arrow.next { right: 18px; }
@media (max-width: 880px) {
  .ad-live-arrow.prev { left: 8px; }
  .ad-live-arrow.next { right: 8px; }
}

.ad-live-dots {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 5;
}
.ad-live-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
  border: none;
  transition: all 240ms ease;
  cursor: pointer;
}
.ad-live-dots .dot.active {
  width: 26px; border-radius: 999px;
  background: var(--marine);
}
.ad-live-dots .dot:hover { background: var(--marine); }

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  box-shadow:
    0 12px 28px -6px rgba(37, 211, 102, 0.45),
    0 6px 14px -4px rgba(11, 42, 74, 0.20);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.float-wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 32px -6px rgba(37, 211, 102, 0.55),
    0 8px 16px -4px rgba(11, 42, 74, 0.22);
}
.float-wa-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
}
.float-wa-icon svg { width: 22px; height: 22px; }
.float-wa-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--whatsapp);
  opacity: 0.35;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(0.9); opacity: 0.45; }
  100% { transform: scale(1.3); opacity: 0; }
}
@media (max-width: 720px) {
  .float-wa {
    right: 14px;
    bottom: 88px;       /* sits above mobile sticky bar */
    padding: 0;
    width: 56px; height: 56px;
    justify-content: center;
  }
  .float-wa-label { display: none; }
  .float-wa-icon { width: 28px; height: 28px; }
  .float-wa-icon svg { width: 26px; height: 26px; }
}

/* =========================================================
   Screen card 3D tilt (desktop)
   ========================================================= */
@media (min-width: 721px) {
  .screens-grid { perspective: 1400px; }
  .screen-card {
    transform-style: preserve-3d;
    transition: transform 260ms ease, box-shadow 260ms ease;
    --tx: 0deg; --ty: 0deg;
    --mx: 50%; --my: 50%;
  }
  .screen-card:hover {
    transform: translateY(-6px) rotateX(var(--tx)) rotateY(var(--ty));
    box-shadow:
      0 36px 60px -20px rgba(11, 42, 74, 0.25),
      0 18px 28px -16px rgba(37, 99, 235, 0.20) !important;
  }
  .screen-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 260ms ease;
    background: radial-gradient(
      ellipse 60% 60% at var(--mx) var(--my),
      rgba(125, 185, 255, 0.22) 0%,
      transparent 60%
    );
    mix-blend-mode: screen;
    z-index: 1;
  }
  .screen-card:hover::after { opacity: 1; }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(.2,.7,.2,1),
    transform 700ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .screen-light-sweep::after,
  .hero-glow-ring,
  .ad-live-mockup,
  .screen-live-badge .dot,
  .ad-live-info-row .info-dot,
  .ad-live-pin span,
  .float-wa-pulse { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-mockup { transform: none !important; }
}
