/* SmartWelcome · "studio light" layer (2026-10-08).
   Loaded last on the home page. Brand stays: Manrope / DM Mono, dark graphite, amber accent.
   Everything that moves is switched off under prefers-reduced-motion. */

.site-shell {
  --wow-amber: #f1a21d;
  --wow-amber-hi: #ffd27a;
  --wow-teal: #5ee0c8;
  --wow-ease: cubic-bezier(.2, .75, .12, 1);
}

/* ---------- Atmosphere: slow amber/teal light behind the hero ---------- */
.hero-aurora {
  position: absolute;
  inset: -8% -12% 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 62%, transparent 100%);
}
.hero-aurora i {
  position: absolute;
  width: 46vw;
  max-width: 720px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .55;
  will-change: transform;
}
.hero-aurora i:nth-child(1) {
  top: 2%; right: 4%;
  background: radial-gradient(circle, rgba(241, 162, 29, .22), rgba(241, 162, 29, .06) 38%, transparent 66%);
  animation: wow-drift-a 26s ease-in-out infinite alternate;
}
.hero-aurora i:nth-child(2) {
  top: 30%; right: 30%;
  width: 34vw;
  background: radial-gradient(circle, rgba(94, 224, 200, .13), transparent 62%);
  animation: wow-drift-b 31s ease-in-out infinite alternate;
}
.hero-aurora i:nth-child(3) {
  top: -12%; left: -8%;
  width: 38vw;
  background: radial-gradient(circle, rgba(130, 112, 255, .12), transparent 64%);
  animation: wow-drift-c 35s ease-in-out infinite alternate;
}
.site-shell .hero-copy,
.site-shell .hero-visual { position: relative; z-index: 1; }

/* ---------- Headline: a slow amber sheen across the accent line ---------- */
.site-shell .hero h1 em {
  background: linear-gradient(100deg, var(--wow-amber) 0%, var(--wow-amber) 38%, var(--wow-amber-hi) 50%, var(--wow-amber) 62%, var(--wow-amber) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wow-sheen 7s ease-in-out 1.2s infinite;
}

/* ---------- Staged entrance of the first screen ---------- */
.site-shell .hero-kicker,
.site-shell .hero h1,
.site-shell .hero-lead,
.site-shell .hero-actions,
.site-shell .hero-trust {
  animation: wow-rise .9s var(--wow-ease) both;
}
.site-shell .hero h1 { animation-delay: .08s; }
.site-shell .hero-lead { animation-delay: .2s; }
.site-shell .hero-actions { animation-delay: .3s; }
.site-shell .hero-trust { animation-delay: .4s; }
.site-shell .hero-visual { animation: wow-stage 1.25s var(--wow-ease) .12s both; }

/* ---------- Product pair: 3D tilt toward the cursor + spotlight ---------- */
.site-shell .hero-visual { perspective: 1400px; }
.site-shell .hero-product-pair {
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .45s var(--wow-ease);
}
.site-shell .hero-visual::after {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--spot-x, 62%) var(--spot-y, 42%), rgba(255, 210, 122, .10), transparent 60%);
  transition: background-position .2s;
}
.site-shell .hero-product-photo-white,
.site-shell .hero-product-photo-black {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgb(0 0 0 / 45%), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.site-shell .hero-product-photo-white::before,
.site-shell .hero-product-photo-black::before {
  /* thin amber rim light along the top edge */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 196, 92, .16), transparent 26%);
  opacity: .8;
}
.site-shell .hero-product-photo-white img { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45)); }
.site-shell .hero-product-photo-black img { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }

/* ---------- Wi-Fi signal: rings that leave the routers ---------- */
.hero-signal {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.hero-signal span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(241, 162, 29, .38);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.25);
  opacity: 0;
  animation: wow-ring 5.4s cubic-bezier(.15, .6, .3, 1) infinite;
}
.hero-signal span:nth-child(2) { animation-delay: 1.8s; border-color: rgba(94, 224, 200, .26); }
.hero-signal span:nth-child(3) { animation-delay: 3.6s; }

/* ---------- Price on the first screen ---------- */
.site-shell .hero-chip-price {
  right: 1%;
  bottom: 3%;
  z-index: 4;
  display: grid;
  gap: 3px;
  padding: 12px 15px 11px;
  border-color: rgba(241, 162, 29, .45);
  border-radius: 12px;
  color: #c9cfdb;
  background: rgba(14, 17, 29, .82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 0 1px rgba(241, 162, 29, .06), 0 0 38px rgba(241, 162, 29, .14);
  text-decoration: none;
  animation: wow-pop .8s var(--wow-ease) 1.05s both;
  transition: transform .25s var(--wow-ease), border-color .25s;
}
.site-shell .hero-chip-price b {
  color: #fff;
  font: 800 22px/1 Manrope, sans-serif;
  letter-spacing: -.02em;
}
.site-shell .hero-chip-price span { font: 500 10px/1.3 'DM Mono', monospace; letter-spacing: .02em; }
.site-shell .hero-chip-price:hover { transform: translateY(-3px); border-color: var(--wow-amber); }

/* ---------- Primary buttons: a light sweep every few seconds ---------- */
.site-shell .button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .55) 46%, transparent 64%);
  transform: translateX(-130%);
  animation: wow-sweep 5.5s ease-in-out 2.2s infinite;
  pointer-events: none;
}
.site-shell .button-primary { box-shadow: 0 14px 34px rgba(241, 162, 29, .22); }
.site-shell .button-primary:hover { box-shadow: 0 18px 44px rgba(241, 162, 29, .34); }

/* ---------- Stats: numbers feel like instruments ---------- */
.hr-stats strong { font-variant-numeric: tabular-nums; text-shadow: 0 0 28px rgba(241, 162, 29, .25); }

/* ---------- Product cards: warm rim on hover ---------- */
.site-shell .product-card { transition: transform .45s var(--wow-ease), box-shadow .45s var(--wow-ease), border-color .45s; }
.site-shell .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 162, 29, .35);
  box-shadow: 0 36px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(241, 162, 29, .08), 0 0 60px rgba(241, 162, 29, .08);
}

/* ---------- Link from a product card to its model page ---------- */
.site-shell .product-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 10px;
  color: var(--wow-amber);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.site-shell .product-more svg { transition: transform .25s var(--wow-ease); }
.site-shell .product-more:hover svg { transform: translateX(4px); }

/* ---------- Sections fade in as they arrive ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--wow-ease), transform .9s var(--wow-ease);
}
html.reveal-ready [data-reveal][data-in] { opacity: 1; transform: none; }

/* ---------- Mobile: router and price inside the first screen ---------- */
@media (max-width: 800px) {
  .site-shell .hero-copy { display: contents; }
  .site-shell .hero-kicker { order: 1; margin-top: 46px; }
  .site-shell .hero h1 { order: 2; margin-bottom: 4px; }
  .site-shell .hero-visual { order: 3; min-height: 0; margin: 6px 0 4px; }
  .site-shell .hero-lead { order: 4; }
  .site-shell .hero-actions { order: 5; margin-top: 20px; }
  .site-shell .hero-trust { order: 6; margin: 18px 0 64px; }
  .site-shell .hero-bottom { order: 7; }
  .site-shell .hero-product-pair { height: 268px; }
  .site-shell .hero-chip-top { top: 4%; right: 2%; }
  .site-shell .hero-chip-bottom { display: none; }
  .site-shell .hero-chip-price { right: 0; bottom: -4px; padding: 9px 12px 8px; }
  .site-shell .hero-visual { margin-bottom: 16px; }
  .site-shell .hero-chip-price b { font-size: 19px; }
  .hero-aurora i { width: 90vw; }
  .hero-signal span { width: 118vw; }

  /* consent banner: same choices, less screen */
  .cookie-consent {
    left: 12px; right: 12px; bottom: 12px;
    width: auto;
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cookie-consent p { font-size: 11px; margin: 4px 0; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions button { min-height: 42px; font-size: 10px; }
}

@media (max-width: 380px) {
  .site-shell .hero-product-pair { height: 236px; }
}

/* ---------- Keyframes ---------- */
@keyframes wow-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes wow-stage { from { opacity: 0; transform: translateY(26px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes wow-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes wow-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes wow-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.22); }
  12% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes wow-sweep { 0%, 62% { transform: translateX(-130%); } 82%, 100% { transform: translateX(130%); } }
@keyframes wow-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9vw, 6vh, 0) scale(1.12); } }
@keyframes wow-drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12vw, -5vh, 0) scale(.9); } }
@keyframes wow-drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(7vw, 9vh, 0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora i,
  .hero-signal span,
  .site-shell .hero h1 em,
  .site-shell .button-primary::after,
  .site-shell .hero-kicker,
  .site-shell .hero h1,
  .site-shell .hero-lead,
  .site-shell .hero-actions,
  .site-shell .hero-trust,
  .site-shell .hero-visual,
  .site-shell .hero-chip-price { animation: none !important; }
  .hero-signal { display: none; }
  .site-shell .hero-product-pair,
  .site-shell .product-card { transition: none; transform: none !important; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
