/* ============================================================
   hero.css
   Extracted from index.html (lines 493-5469).
   Self-contained CSS to render the homepage hero block in isolation.
   ============================================================ */

/* ============================================================
   CSS variables
   ============================================================ */
:root {
  --bg: #1A1A1C; --bg-2: #1F1F22;
  --surface: #131316; --surface-2: #1A1A1E; --surface-hover: #202024;
  --border: rgba(255,255,255,0.08); --border-md: rgba(255,255,255,0.14); --border-strong: rgba(255,255,255,0.22);
  --text: #FAFAFA; --text-2: #C8C8CD; --text-mute: #8A8A93; --text-dim: #5A5A62;
  --accent: #A3E635; --accent-2: #84CC16;
  --accent-glow: rgba(163, 230, 53, 0.35); --accent-soft: rgba(163, 230, 53, 0.1);
}

/* ============================================================
   Base hero layout
   ============================================================ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.hero { padding: 24px 0 16px; position: relative; }
.hero { position: relative; overflow: hidden; }

.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 900px 480px at 50% -6%, rgba(163,230,53,0.10) 0%, transparent 62%);
}

.hero-top { display: flex; gap: 40px; align-items: stretch; margin-bottom: 0; }
.hero-text-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hero-text-col > .hero-title { margin-bottom: 28px; }
.hero-text-col > .hero-cta { margin-top: -270px; margin-bottom: 0; }

.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row dense; gap: 6px 32px; align-items: start; align-content: start; }
.hero-text-col { display: contents; }
.hero-text-col > .hero-trust-row { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-bottom: 4px; }
.hero-text-col > .hero-title { grid-column: 1; grid-row: 2; align-self: start; }
.hero-text-col > .hero-pricing { grid-column: 1; grid-row: 3; align-self: start; }
.hero-text-col > .hero-cta { grid-column: 1 / -1; }
.hero-text-col > .hero-cta { grid-row: 7; }

.hero .hero-top { display: block; }
.hero .hero-text-col {
  position: relative; z-index: 2;
  display: block; text-align: center;
  max-width: 1800px; margin: 0 auto;
}
.hero .hero-title { text-align: center; }
.hero .hero-trust-row { justify-content: center; }
.hero .hero-pricing { justify-content: center; }
.hero .hero-cta { justify-content: center; }

/* Hero title */
h1.hero-title { font-size: clamp(44px, 9vw, 128px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 900; margin-bottom: 28px; }
.hero-title .row-anim { display: block; opacity: 0; transform: translateY(40px); animation: rowIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-title .row-anim:nth-child(1) { animation-delay: 0.15s; }
.hero-title .row-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-title .row-anim:nth-child(3) { animation-delay: 0.45s; }

.hero-title .accent { color: var(--accent); position: relative; display: inline-block; }
.hero-title .rot-word { display: inline-block; white-space: nowrap; line-height: inherit; vertical-align: baseline; transform-origin: center 62%; will-change: transform, opacity; position: relative; }
.hero-title .rot-word::after {
  content: ''; position: absolute; bottom: 0.06em; left: -0.4em; z-index: 3; opacity: 0;
  width: 0.4em; height: 0.4em; pointer-events: none; background: var(--accent);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.hero-title .rot-word.spark::after { animation: verbSparkle 1.6s ease-in-out 0.9s both; }
.hero-title .rot-word.is-out { opacity: 0; transform: translateY(-0.12em); transition: transform 0.22s ease, opacity 0.22s ease; }
.hero-title .rot-word.pop { animation: verbPop 0.62s cubic-bezier(0.18, 0.9, 0.24, 1.25) both; }
.hero-title .rot-word .gl { display: inline-block; animation: verbPopIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

.hero-title .accent { animation: verbTwinkle 2.8s ease-in-out infinite both; }
.hero-title .accent::before { content: none; }
.hero-title .accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

.hero-title .stroke { -webkit-text-stroke: 0.07em var(--text); color: var(--bg); paint-order: stroke fill; }
.hero-title .stroke .word-lo { letter-spacing: 0.03em; }

/* Section bubbles */
.bubbly { isolation: isolate; position: relative; }
.sec-bub { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; opacity: 0.4;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 14%, transparent 40%),
    radial-gradient(circle at 50% 62%, rgba(163,230,53,0.20) 0%, rgba(132,204,22,0.10) 46%, transparent 74%),
    conic-gradient(from 200deg, rgba(163,230,53,0.20), rgba(120,200,255,0.10), rgba(150,255,210,0.16), rgba(200,255,120,0.20), rgba(132,204,22,0.12), rgba(163,230,53,0.20));
  border: 1px solid rgba(163,230,53,0.40);
  box-shadow: inset 0 0 20px rgba(163,230,53,0.14), inset 6px 6px 14px rgba(220,255,150,0.10), 0 12px 24px rgba(0,0,0,0.34), 0 0 22px rgba(163,230,53,0.12);
  animation: hwFloat 6s ease-in-out infinite; }
.sec-bub.sbA { width: 30px; height: 30px; top: 12%; left: 3%; animation-delay: -0.5s; }
.sec-bub.sbB { width: 44px; height: 44px; bottom: 14%; right: 4%; animation-delay: -1.8s; }
.sec-bub.sbC { width: 22px; height: 22px; top: 44%; right: 2.5%; animation-delay: -2.6s; }
.sec-bub.sbD { width: 36px; height: 36px; bottom: 18%; left: 6%; animation-delay: -3.2s; }
.hero .sec-bub.sbA { top: 4%; left: 1.5%; width: 40px; height: 40px; }
.hero .sec-bub.sbB { top: 7%; right: 1.5%; width: 30px; height: 30px; }
.hero .sec-bub.sbC { bottom: 20%; left: 2%; width: 48px; height: 48px; }
.hero .sec-bub.sbD { bottom: 11%; right: 2%; width: 34px; height: 34px; }

/* ============================================================
   Widgets (monitor + google + speed + ai + phones)
   ============================================================ */
.hero-monitor-row { position: relative; display: block; width: 100%; max-width: 1500px; height: 660px; margin: 0 auto; perspective: 1600px; overflow: visible; }
.hero-monitor-row .hero-monitor { position: absolute; left: 50%; top: 4%; bottom: auto; transform: translateX(-50%); width: min(1500px, 98%); margin: 0; z-index: 2; }
.hero-monitor-row .hw-google { position: absolute; left: 8%; top: 0; z-index: 6; }
.hero-monitor-row .hw-ai { position: absolute; right: 8%; top: 4px; z-index: 6; }
.hero-monitor-row .hw-phones { position: absolute; right: 7%; top: 47%; z-index: 6; }
.hero-monitor-row .hw-speed { position: absolute; left: calc(6% - 5px); top: 56%; z-index: 6; animation-delay: -3.6s; }
.hero-monitor-row .hw-speed .hw-vid { position: relative; z-index: 1; width: 130px; height: 130px; object-fit: contain; margin: 6px auto -4px; filter: drop-shadow(0 6px 13px rgba(0,0,0,0.5)); }
.hero-monitor-row > .slot-hero { left: calc(19% - 5px); top: calc(36% - 10px); bottom: auto; z-index: 7; }
.hero-monitor-row .hw-ai { order: -1; }
.hero-monitor-row .hw-google { order: 1; }

/* phones-fan */
.phone-fan { position: relative; width: 124px; height: 132px; margin: 0 auto 8px; animation: hwFloat 5s ease-in-out infinite; animation-delay: -1.8s; }
.pf-phone { position: absolute; bottom: 0; left: 50%; width: 58px; height: 120px; border-radius: 13px; overflow: hidden; background: #0a0a0b; border: 2px solid #20232a; box-shadow: 0 10px 22px rgba(0,0,0,0.6); }
.pf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pf1 { transform: translateX(-50%) translateX(-32px) rotate(-17deg); z-index: 1; }
.pf2 { transform: translateX(-50%) rotate(0deg); z-index: 3; }
.pf3 { transform: translateX(-50%) translateX(32px) rotate(17deg); z-index: 2; }

/* Slot machine bubble */
.slot-bub { position: absolute; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 14%, transparent 40%),
    radial-gradient(circle at 50% 62%, rgba(163,230,53,0.18) 0%, rgba(132,204,22,0.08) 46%, transparent 74%),
    conic-gradient(from 200deg, rgba(163,230,53,0.18), rgba(120,200,255,0.10), rgba(150,255,210,0.16), rgba(200,255,120,0.18), rgba(132,204,22,0.12), rgba(163,230,53,0.18));
  border: 1px solid rgba(163,230,53,0.44);
  box-shadow: inset 0 0 22px rgba(163,230,53,0.16), inset -8px -10px 22px rgba(110,150,60,0.12), inset 7px 7px 16px rgba(220,255,150,0.12), 0 16px 34px rgba(0,0,0,0.42), 0 0 32px rgba(163,230,53,0.14);
  -webkit-backdrop-filter: blur(3px) saturate(1.4); backdrop-filter: blur(3px) saturate(1.4);
  animation: hwFloat 6s ease-in-out infinite; }
.slot-bub::before { content: ''; position: absolute; top: 10%; left: 15%; width: 36%; height: 26%; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 72%); filter: blur(0.5px); pointer-events: none; }
.slot-bub::after { content: ''; position: absolute; bottom: 15%; right: 19%; width: 13%; height: 10%; border-radius: 50%; z-index: 3;
  background: rgba(255,255,255,0.6); filter: blur(0.6px); pointer-events: none; }
.slot-bub .slot { position: absolute; left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); margin: 0; z-index: 2; animation: none; }

.slot { position: absolute; left: -4px; bottom: -4px; z-index: 5; width: 54px; height: 60px;
  animation: hwFloat 4s ease-in-out infinite; animation-delay: -0.8s; }
.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; filter: drop-shadow(0 5px 11px rgba(0,0,0,0.6)); }
.slot-win { position: absolute; z-index: 2; left: 20%; top: 20%; width: 37%; height: 13px; overflow: hidden; border-radius: 3px; }
.slot-reel { display: flex; flex-direction: column; animation: slotSpin 1.6s cubic-bezier(.08,.55,.2,1) both; }
.slot-reel i { flex: 0 0 15px; height: 15px; display: grid; place-items: center; }
.slot-reel i::before { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #A3E635; filter: drop-shadow(0 0 4px rgba(163,230,53,0.9)); }

/* Generic hero widget shell */
.hero-widget {
  flex: 0 0 auto; width: clamp(116px, 14vw, 166px); align-self: center;
  background: rgba(255,255,255,0.035); border: 1px solid var(--border-md);
  border-radius: 18px; padding: 15px 12px; text-align: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: hwFloat 5.5s ease-in-out infinite; position: relative; z-index: 2;
}
.hw-google { animation-delay: -2.6s; }
.hw-label { font-size: 12px; color: var(--text-2); line-height: 1.25; }
.hw-label strong { color: var(--accent); display: block; font-size: 14px; font-weight: 700; }

/* AI widget */
.ai-glass { position: relative; width: 106px; height: 106px; margin: 2px auto 4px; }
.ai-mag { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.55)); }
.ai-lens {
  position: absolute; z-index: 3;
  left: 40%; top: 36%; width: 54px; height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, rgba(28,31,40,0.5) 0%, rgba(7,8,11,0.8) 75%);
}
.ai-logos { display: flex; flex-direction: column; align-items: center; animation: aiScroll 9s cubic-bezier(0.7,0,0.25,1) infinite; }
.ai-logo { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; }
.ai-logo svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.hero-widget:hover .ai-logos { animation-play-state: paused; }

/* Google widget art */
.g-stage { position: relative; width: 162px; height: 150px; margin: 0 auto 2px; }
.g-medal { position: absolute; left: 44%; top: 0; transform: translateX(-50%); height: 124px; width: auto; z-index: 2; filter: drop-shadow(0 12px 22px rgba(0,0,0,0.6)); }
.g-trophy { position: absolute; right: -2px; top: 30px; height: 84px; width: auto; z-index: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.55)); animation: hwFloat 4.4s ease-in-out infinite; animation-delay: -1.5s; }
.g-spark { position: absolute; z-index: 3; background: #fff; opacity: 0; pointer-events: none;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.9)); animation: twinkle 2.6s ease-in-out infinite; }
.g-spark.s1 { width: 13px; height: 13px; top: 20%; left: 28%; animation-delay: 0s; }
.g-spark.s2 { width: 9px;  height: 9px;  top: 40%; left: 56%; animation-delay: .7s; }
.g-spark.s3 { width: 8px;  height: 8px;  top: 62%; left: 34%; animation-delay: 1.3s; }
.g-spark.s4 { width: 7px;  height: 7px;  top: 30%; left: 50%; animation-delay: 1.9s; }
.g-banner {
  position: absolute; left: 53%; bottom: 0; transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(180deg, #FBF7EC 0%, #ECE2C9 100%); color: #1b1b1d;
  font-weight: 800; font-size: 12.5px; line-height: 1; padding: 5px 16px;
  white-space: nowrap; box-shadow: 0 5px 12px rgba(0,0,0,0.55);
  font-variant-numeric: tabular-nums; z-index: 3;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  border-top: 1px solid #fff;
}
.hw-google .hw-label strong { color: #F2C94C; }
.hw-ai .hw-label strong { color: #cfd6e6; }

/* Hero widgets when inside monitor-row become circular soap bubbles */
.hero-monitor-row .hero-widget {
  width: 188px; height: 188px; border-radius: 50%; padding: 0; gap: 2px;
  justify-content: center; overflow: hidden;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 14%, transparent 40%),
    radial-gradient(circle at 50% 62%, rgba(163,230,53,0.18) 0%, rgba(132,204,22,0.08) 46%, transparent 74%),
    conic-gradient(from 200deg, rgba(163,230,53,0.18), rgba(120,200,255,0.10), rgba(150,255,210,0.16), rgba(200,255,120,0.18), rgba(132,204,22,0.12), rgba(163,230,53,0.18));
  border: 1px solid rgba(163,230,53,0.44);
  box-shadow: inset 0 0 22px rgba(163,230,53,0.16), inset -8px -10px 22px rgba(110,150,60,0.12), inset 7px 7px 16px rgba(220,255,150,0.12), 0 16px 34px rgba(0,0,0,0.42), 0 0 32px rgba(163,230,53,0.14);
  -webkit-backdrop-filter: blur(3px) saturate(1.4); backdrop-filter: blur(3px) saturate(1.4);
}
.hero-monitor-row .hero-widget::before {
  content: ''; position: absolute; top: 9%; left: 14%; width: 34%; height: 24%; border-radius: 50%; z-index: 5;
  background: radial-gradient(circle, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 72%); filter: blur(0.5px); pointer-events: none;
}
.hero-monitor-row .hero-widget::after {
  content: ''; position: absolute; bottom: 14%; right: 18%; width: 12%; height: 9%; border-radius: 50%; z-index: 5;
  background: rgba(255,255,255,0.6); filter: blur(0.6px); pointer-events: none;
}
.hero-monitor-row .hero-widget .hw-label { position: relative; z-index: 4; font-size: 11.5px; margin-top: -2px; }
.hero-monitor-row .hw-google .g-stage { width: 132px; height: 116px; margin: 0 auto; }
.hero-monitor-row .hw-google .g-medal { height: 96px; }
.hero-monitor-row .hw-google .g-trophy { height: 62px; top: 22px; }
.hero-monitor-row .hw-google .g-banner { font-size: 10.5px; padding: 4px 12px; }
.hero-monitor-row .hw-ai .ai-glass { width: 96px; height: 96px; margin: 12px auto 18px; transform: scale(1.34); transform-origin: center; }
.hero-monitor-row .hw-phones .phone-fan { transform: scale(0.86); margin: 0 auto -6px; }

/* Monitor */
.hero-monitor {
  position: relative; z-index: 2;
  width: 100%; max-width: 1250px;
  margin: 0 auto 4px;
  aspect-ratio: 2321 / 1410;
}
.monitor-screen {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 2321 / 1107;
  background: url('/assets/promo/monitor-screen-only.png') center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
}
.monitor-stand {
  content: '';
  position: absolute;
  top: calc(78% - 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  aspect-ratio: 1970 / 598;
  background: url('/assets/promo/monitor-stand-only.png') center / contain no-repeat;
  z-index: -2;
  pointer-events: none;
}
.hero-monitor-screen {
  position: absolute;
  left: 12%; top: 3%;
  width: 76%; height: 72%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  text-align: center; overflow: hidden;
  container-type: size;
  padding: 1.5% 2%;
  transform: translateY(-100px);
}
.hero-monitor-screen .hero-trust-row {
  margin: 0; gap: 1.4cqw; flex-wrap: wrap; justify-content: center;
  animation: fadeInDown 0.5s 0.05s ease both;
}
.hero-monitor-screen .trust-pill {
  font-size: clamp(8px, 2cqw, 13px);
  padding: 0.5cqw 1.4cqw; gap: 0.6cqw; margin: 0;
}
.hero-monitor-screen .trust-pill svg { width: 1.5cqw; height: 1.5cqw; min-width: 9px; min-height: 9px; }
.hero-monitor-screen .hero-title {
  margin: 0; font-size: clamp(40px, 13cqw, 180px); line-height: 0.95; white-space: nowrap; letter-spacing: -0.025em;
}
.hero-monitor-screen .hero-title .row-anim { white-space: nowrap; }
.hero-monitor-screen .hero-brand { display: inline-flex; align-items: center; gap: 1cqw; text-decoration: none; margin: 30px 0 -4cqh; padding: 1cqh 2.5cqw; }
.hero-monitor-screen .hero-brand-logo { width: 3.5cqw; height: 3.5cqw; min-width: 18px; min-height: 18px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); border-radius: 0.9cqw; display: grid; place-items: center; box-shadow: 0 0 10px var(--accent-glow); }
.hero-monitor-screen .hero-brand-logo svg { width: 62%; height: 62%; }
.hero-monitor-screen .hero-brand-name { font-weight: 800; font-size: 4.2cqw; letter-spacing: -0.015em; color: var(--text); }

/* ============================================================
   Project ring + marquee
   ============================================================ */
.proj-ring { position: relative; margin: 4px auto 6px; width: min(1280px, 96%); height: 200px; perspective: 1600px; z-index: 3; pointer-events: none; }
.proj-label { position: relative; margin: 15px auto 4px; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  display: flex; justify-content: center; align-items: center; gap: 10px; }
.proj-label::before, .proj-label::after { content: ''; width: 28px; height: 1px; background: var(--border-md); }
.proj-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.proj-card { position: absolute; left: 50%; top: 50%; width: 280px; aspect-ratio: 16/10; transform: translate(-50%, -50%); transform-origin: center center; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-md); box-shadow: 0 18px 36px rgba(0,0,0,0.62); background: #0e0e10; will-change: transform, opacity; backface-visibility: hidden; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.partners-strip { max-width: 1320px; margin: 0 auto 16px; padding: 6px 24px 10px; text-align: center; }
.partners-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.partners-label::before, .partners-label::after { content: ''; width: 28px; height: 1px; background: var(--border-md); }
.hero .partners-strip { display: none; }

.tpl-marquee-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; direction: ltr; }
.tpl-marquee { padding: 16px 0 36px; overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.tpl-track { display: flex; gap: 24px; width: max-content; animation: tplScroll 50s linear infinite; }
.tpl-marquee:hover .tpl-track { animation-play-state: paused; }
.tpl-card { width: 360px; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); box-shadow: 0 14px 32px rgba(0,0,0,0.4); position: relative; background: linear-gradient(135deg, #0E0E10 0%, #161618 100%); transition: transform 0.3s, border-color 0.3s; }
.tpl-card:hover { transform: translateY(-4px); border-color: var(--border-md); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.tpl-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tpl-card .tpl-tag { position: absolute; top: 10px; right: 10px; background: rgba(10,10,11,0.78); color: var(--text-2); padding: 4px 11px; border-radius: 100px; font-size: 11px; font-weight: 600; backdrop-filter: blur(8px); border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 6px; }
.tpl-card .tpl-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

/* ============================================================
   CTAs + pricing tiers + trust pills
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s; font-family: inherit; position: relative; overflow: hidden; }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -4px var(--accent-glow); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.7s; }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent), 0 16px 36px -6px var(--accent-glow); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border-md); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-strong); }
.btn .arrow { display: inline-block; transition: transform 0.25s; position: relative; z-index: 2; }
.btn:hover .arrow { transform: translateX(-4px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }
.btn-art { background-size: cover; background-position: center; background-repeat: no-repeat; }
.btn-art .btn-label { position: relative; z-index: 2; }
.btn-art-build .btn-label { text-shadow: none; }
.btn-art-seo .btn-label { text-shadow: none; }
.btn-art-build { background-image: none; background: var(--accent); color: #0A0A0B; border: 2px solid #0A0A0B; overflow: hidden; }
.btn-art-build::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,0.85); opacity: 0; animation: brakFlash 3.5s ease-out infinite; pointer-events: none; }
.btn-art-seo { background-image: none; background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent); }
.btn-art-seo:hover { background: #161b0d; border-color: var(--accent); }
.btn-art.btn-primary { box-shadow: 0 0 0 1px rgba(163,230,53,0.55), 0 3px 10px -6px rgba(163,230,53,0.14); }
.btn-art.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 6px 16px -8px rgba(163,230,53,0.22); }
.btn-art-build.btn-primary, .btn-art-build.btn-primary:hover { box-shadow: 0 6px 16px -8px rgba(0,0,0,0.5); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 34%, rgba(255,255,255,0) 52%),
    radial-gradient(ellipse 24% 36% at 24% 22%, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0) 72%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.26),
    inset 0 1px 1px rgba(255,255,255,0.40),
    inset 0 -7px 12px rgba(0,0,0,0.12);
}

/* Hero CTA group */
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; opacity: 0; transform: translateY(20px); animation: rowIn 0.8s 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Hero pricing tiers */
.hero-pricing { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 28px; opacity: 0; transform: translateY(8px); animation: fadeInDown 0.6s 0.4s ease both; }
.hero-pricing .tier { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; font-size: 14px; line-height: 1; transition: border-color 0.2s, background 0.2s; }
.hero-pricing .tier:hover { border-color: rgba(163, 230, 53,0.45); background: rgba(163, 230, 53,0.05); }
.hero-pricing .tier .name { color: var(--text-2); font-weight: 500; }
.hero-pricing .tier .old { color: var(--text-dim); text-decoration: line-through; opacity: 0.55; font-variant-numeric: tabular-nums; font-size: 13px; }
.hero-pricing .tier .new { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 16px; }

/* Trust pills */
.hero-trust-row { margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(-6px); animation: fadeInDown 0.5s 0.05s ease both; }
.trust-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 100px; font-size: 12px; line-height: 1; color: var(--text-2); background: var(--bg); border: 1px solid rgba(163, 230, 53,0.22); }
.trust-pill svg { color: var(--accent); flex-shrink: 0; }

/* Animated trust-pill icons */
.ico-code { color: var(--accent); flex-shrink: 0; }
.ico-code .caret { animation: caretBlink 1.1s steps(1) infinite; }
.ico-build { display: inline-flex; align-items: flex-end; gap: 2px; width: 15px; height: 13px; flex-shrink: 0; }
.ico-build i { width: 3px; border-radius: 1px; height: 0; background: var(--accent); animation: buildBar 1.9s ease-in-out infinite; }
.ico-build i:nth-child(1) { --bh: 6px;  animation-delay: 0s; }
.ico-build i:nth-child(2) { --bh: 10px; animation-delay: .18s; }
.ico-build i:nth-child(3) { --bh: 13px; animation-delay: .36s; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes rowIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
@keyframes verbPop {
  0%   { opacity: 0; transform: scale(0.32) translateY(0.16em); }
  50%  { opacity: 1; transform: scale(1.16) translateY(0); }
  70%  { transform: scale(0.94); }
  85%  { transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes verbPopIn {
  0%   { opacity: 0; transform: translateY(0.5em) scale(0.5); text-shadow: none; }
  45%  { opacity: 1; transform: translateY(-0.06em) scale(1.14); text-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent-glow); }
  72%  { transform: translateY(0) scale(0.97); text-shadow: 0 0 4px var(--accent-glow); }
  100% { opacity: 1; transform: translateY(0) scale(1); text-shadow: none; }
}
@keyframes verbTwinkle {
  0%, 66%, 100% { text-shadow: 0 0 0 rgba(163,230,53,0); }
  15%           { text-shadow: 0 0 18px var(--accent-glow), 0 0 6px var(--accent-glow); }
  34%           { text-shadow: 0 0 5px var(--accent-glow); }
}
@keyframes verbSparkle {
  0%, 66%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  15%           { opacity: 1; transform: scale(1.15) rotate(35deg); }
  34%           { opacity: 0.85; transform: scale(0.9) rotate(55deg); }
}
@keyframes glPop { 0% { opacity: 0; transform: translateY(0.55em) scale(0.5); } 55% { opacity: 1; transform: translateY(-0.08em) scale(1.12); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes hwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes aiScroll {
  0%, 14%  { transform: translateY(0); }
  20%, 34% { transform: translateY(-52px); }
  40%, 54% { transform: translateY(-104px); }
  60%, 74% { transform: translateY(-156px); }
  80%, 94% { transform: translateY(-208px); }
  100%     { transform: translateY(-260px); }
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(40deg); } }
@keyframes slotSpin { 0% { transform: translateY(0); } 50% { transform: translateY(-60px); } 66%, 100% { transform: translateY(-60px); } }
@keyframes leverPull { 0%, 26% { transform: rotate(0deg); } 42% { transform: rotate(38deg); } 60%, 100% { transform: rotate(0deg); } }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes buildBar { 0% { height: 0; } 38%, 78% { height: var(--bh); } 100% { height: 0; } }
@keyframes brakFlash { 0%, 80%, 100% { opacity: 0; } 82% { opacity: 0.8; } 84% { opacity: 0; } 86% { opacity: 0.45; } 89% { opacity: 0; } }
@keyframes tplScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes shine { 0%, 70% { transform: translateX(-100%); } 80%, 100% { transform: translateX(100%); } }

/* ============================================================
   Media queries
   ============================================================ */
@media (max-width: 768px) { .hero { padding: 24px 0 40px; } }
@media (max-width: 480px) { .hero { padding: 18px 0 32px; } }

@media (max-width: 768px) {
  .hero-pricing { gap: 4px; margin-bottom: 20px; flex-wrap: nowrap; }
  .hero-pricing .tier { padding: 6px 8px; font-size: 11px; gap: 4px; }
  .hero-pricing .tier .new { font-size: 12px; }
  .hero-pricing .tier .old { font-size: 10px; }
}

@media (max-width: 880px) {
  .hero-top { gap: 18px; }
  h1.hero-title { font-size: clamp(36px, 8.4vw, 64px); }
  .hero-text-col > .hero-title { margin-bottom: 18px; }
  .hero-text-col > .hero-cta { margin-top: -13px; }
}

@media (max-width: 960px) {
  .hero-top { gap: 6px 18px; }
  .hero-text-col > .hero-title { margin-bottom: 8px; }
  .hero-text-col > .hero-pricing { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .hero-top { gap: 6px 14px; }
}
@media (max-width: 420px) {
  .hero-top { gap: 4px 10px; }
}

@media (max-width: 900px) { .hero-monitor-row > .slot-hero { display: none; } }
@media (max-width: 900px) {
  .hero-monitor-row { height: auto; perspective: none; }
  .hero-monitor-row .hero-monitor { position: static; transform: none; width: 100%; }
  .proj-ring, .hero-monitor-row .hw-google, .hero-monitor-row .hw-ai, .hero-monitor-row .hw-phones, .hero-monitor-row .hw-speed { display: none; }
  .hero .partners-strip { display: block; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-monitor-row .hw-google, .hero-monitor-row .hw-ai, .hero-monitor-row .hw-phones, .hero-monitor-row .hw-speed, .hero-monitor-row > .slot-hero { display: none; }
}
@media (max-width: 900px) { .sec-bub { opacity: 0.3; } }
@media (max-width: 900px) { .proj-label { display: none; } }
@media (min-width: 901px) { .proj-label { margin-top: 5px; } }
@media (max-width: 900px) { .hero-widget { display: none; } .hero-monitor-row { gap: 0; } }

@media (min-width: 901px) { .hero .hero-cta { margin-top: -220px !important; position: relative; z-index: 4; } }
@media (min-width: 901px) { .hero-cta .btn-art-build, .hero-cta .btn-art-seo { padding: 17px 34px; font-size: 16.5px; min-width: 310px; justify-content: center; } }
@media (min-width: 901px) { .hero .hero-cta { gap: 20px; row-gap: 8px; } }
@media (min-width: 901px) { .hero-pricing { gap: 5px; } .hero-pricing .tier { font-size: 11px; padding: 7px 10px; } .hero-pricing .tier .new { font-size: 13px; } }

@media (max-width: 768px) {
  .hero-monitor { background: none; aspect-ratio: auto; max-width: none; margin: 0; }
  .hero-monitor::before { display: none; }
  .hero-monitor-screen {
    position: static; width: auto; height: auto;
    container-type: normal; overflow: visible; padding: 0; gap: 0;
    transform: none;
  }
  .hero-monitor-screen .hero-trust-row { margin: 0 0 22px; gap: 8px; }
  .hero-monitor-screen .trust-pill { font-size: 13px; padding: 7px 12px; gap: 6px; }
  .hero-monitor-screen .trust-pill svg { width: 14px; height: 14px; }
  .hero-monitor-screen .hero-title { font-size: clamp(36px, 8.4vw, 64px); }
}

@media (max-width: 900px) {
  .hero .hero-monitor-row {
    position: relative; display: block; overflow: visible; perspective: none;
    height: clamp(330px, 95vw, 430px); margin: 6px auto 0;
  }
  .hero .hero-monitor-row .hero-monitor {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 100%; margin: 0; z-index: 5;
  }
  .hero .hero-monitor-row .hero-monitor-screen {
    position: static; width: auto; height: auto; padding: 0; gap: 0; container-type: normal;
  }
  .hero .hero-monitor-row .hero-monitor-screen .hero-title {
    font-size: clamp(44px, 12.5vw, 82px); line-height: 0.98; white-space: nowrap;
  }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand { gap: 7px; margin-bottom: -8px; }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand-logo { width: 32px; height: 32px; border-radius: 9px; }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand-name { font-size: 19px; }
  .hero .hero-monitor-row .hw-google,
  .hero .hero-monitor-row .hw-ai,
  .hero .hero-monitor-row .hw-phones,
  .hero .hero-monitor-row .hw-speed { display: flex !important; }
  .hero .hero-monitor-row > .slot-hero { display: block !important; }
  .hero .hero-monitor-row .hero-widget {
    width: clamp(70px, 22vw, 92px);
    height: clamp(70px, 22vw, 92px);
  }
  .hero .hero-monitor-row .hw-google { left: clamp(2px, 1.5vw, 8px); top: 4%; right: auto; }
  .hero .hero-monitor-row .hw-ai     {
    right: clamp(2px, 1.5vw, 8px); top: 4%; left: auto;
    width: clamp(76px, 24vw, 98px); height: clamp(76px, 24vw, 98px);
    padding-bottom: 6px;
  }
  .hero .hero-monitor-row .hw-phones {
    right: clamp(8px, 5vw, 24px); top: auto; bottom: 2%; left: auto;
    width: clamp(82px, 25vw, 104px); height: clamp(82px, 25vw, 104px);
    padding-bottom: clamp(8px, 3vw, 16px);
  }
  .hero .hero-monitor-row > .slot-hero { left: 2px; top: 38%; bottom: auto; right: auto; }
  .hero .hero-monitor-row .slot-bub { width: clamp(40px, 12vw, 52px); height: clamp(40px, 12vw, 52px); }
  .hero .hero-monitor-row .hw-speed {
    left: clamp(0px, 0.5vw, 4px); bottom: 1%; top: auto; right: auto;
    width: clamp(82px, 26vw, 108px); height: clamp(82px, 26vw, 108px);
  }
  .hero .hero-monitor-row .hw-speed .hw-vid {
    width: clamp(48px, 15vw, 62px); height: clamp(48px, 15vw, 62px);
    margin: 4px auto -6px; transform: translateY(-2px);
  }
  .hero .hero-monitor-row .hw-speed .hw-label {
    font-size: clamp(6px, 1.8vw, 8px); line-height: 1.05;
    padding: 0 4px; max-width: 96%; margin: 0 auto; transform: translateY(-5px);
  }
  .hero .hero-monitor-row .hw-speed .hw-label strong {
    font-weight: 700;
    font-size: clamp(10px, 3vw, 13px) !important;
    display: block !important; color: var(--accent);
  }
  .hero .hero-monitor-row .hw-google .g-stage {
    width: clamp(58px, 18vw, 78px); height: clamp(50px, 15.5vw, 66px);
  }
  .hero .hero-monitor-row .hw-google .g-medal { height: clamp(44px, 13.5vw, 58px); }
  .hero .hero-monitor-row .hw-google .g-trophy { height: clamp(28px, 8.5vw, 36px); top: clamp(10px, 3vw, 14px); }
  .hero .hero-monitor-row .hw-google .g-banner { font-size: clamp(6px, 1.8vw, 8px); padding: 2px 7px; }
  .hero .hero-monitor-row .hw-ai .ai-glass {
    width: 96px; height: 96px;
    transform: scale(0.58);
    transform-origin: center; margin: -19px auto -22px;
  }
  .hero .hero-monitor-row .hw-phones .phone-fan {
    animation: none !important;
    transform: translate(14px, 4px) scale(0.45) !important;
    transform-origin: center; margin: -30px auto -30px;
  }
  .hero .hero-monitor-row .hw-phones .pf1 { transform: translateX(-50%) translateX(-21px) rotate(-13deg); }
  .hero .hero-monitor-row .hw-phones .pf3 { transform: translateX(-50%) translateX(21px) rotate(13deg); }
  .hero .hero-monitor-row .slot-bub .slot { transform: translate(-50%, -50%) scale(0.52); }
  .hero .hero-monitor-row .hero-widget .hw-label { font-size: clamp(5px, 1.6vw, 7px); line-height: 1.05; }
}

@media (max-width: 375px) {
  .hero .hero-monitor-row .hw-ai .ai-glass { transform: scale(0.52); }
  .hero .hero-monitor-row .hw-phones .phone-fan { transform: translate(12px, 4px) scale(0.42) !important; }
  .hero .hero-monitor-row .slot-bub .slot { transform: translate(-50%, -50%) scale(0.48); }
}

@media (max-width: 340px) {
  .hero .hero-monitor-row .hero-widget { width: 68px; height: 68px; }
  .hero .hero-monitor-row .hw-ai { width: 74px; height: 74px; }
  .hero .hero-monitor-row .hw-ai .ai-glass { transform: scale(0.46); }
  .hero .hero-monitor-row .hw-phones { width: 80px; height: 80px; right: 6px; }
  .hero .hero-monitor-row .hw-phones .phone-fan { transform: translate(10px, 4px) scale(0.38) !important; }
  .hero .hero-monitor-row .hw-speed { width: 80px; height: 80px; }
  .hero .hero-monitor-row .hw-speed .hw-vid { width: 46px; height: 46px; }
  .hero .hero-monitor-row .hw-speed .hw-label strong { font-size: 9.5px !important; }
  .hero .hero-monitor-row .slot-bub .slot { transform: translate(-50%, -50%) scale(0.44); }
}

@media (max-width: 900px) {
  .hero .hero-monitor-row .hero-monitor {
    background: url('/assets/promo/monitor-clean-t.webp') center / contain no-repeat;
    aspect-ratio: 2752 / 1536;
    width: 145vw; height: auto; top: 47%;
    transform: translate(-50%, calc(-50% + 30px));
  }
  .hero .hero-monitor-row .monitor-screen,
  .hero .hero-monitor-row .monitor-stand { display: none; }
  .hero .hero-monitor-row .hero-monitor-screen {
    position: absolute; left: 21.98%; top: 11.52%;
    width: 56.07%; height: 58.53%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    container-type: size; overflow: visible; padding: 1% 2%; gap: 1.5cqh;
    transform: translateY(-20px);
  }
  .hero .hero-monitor-row .hero-monitor-screen .hero-title {
    font-size: clamp(20px, 15.2cqw, 120px); line-height: 0.96; white-space: nowrap; margin-top: -10px;
  }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand { gap: 1.6cqw; margin-bottom: -2cqh; }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand-logo {
    width: 9.5cqw; height: 9.5cqw; min-width: 0; min-height: 0; border-radius: 2.2cqw;
  }
  .hero .hero-monitor-row .hero-monitor-screen .hero-brand-name { font-size: 7cqw; }
}

@media (max-width: 600px) { .hero-trust-row { margin-bottom: 14px; gap: 6px; } .trust-pill.hide-mobile { display: none; } }

@media (max-width: 768px) { .hero-cta { justify-content: center; gap: 10px; } .hero-cta .btn { flex: 1 1 100%; justify-content: center; } }

@media (max-width: 768px) { .tpl-card { width: 240px; } .tpl-marquee { padding: 10px 0 16px; } .tpl-track { gap: 14px; animation-duration: 38s; } }
@media (max-width: 480px) { .tpl-card { width: 200px; border-radius: 12px; } .tpl-marquee { padding: 8px 0 12px; mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%); } .tpl-track { gap: 12px; animation-duration: 32s; } }
@media (max-width: 360px) { .tpl-card { width: 168px; } .tpl-track { gap: 10px; } }

@media (prefers-reduced-motion: reduce) { .hero-title .rot-word::after { animation: none; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .accent { animation: none; }
  .hero-title .accent::before { animation: none; opacity: 0; }
}

/* H1-bubbles safety: keep title above floating sec-bubbles regardless of H1 length */
.hero .hero-title { position: relative; z-index: 5; }
.hero .hero-text-col { position: relative; z-index: 4; }
.hero .sec-bub { pointer-events: none; z-index: 1; }

