/* HERO */
.hero {
  padding: 64px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-logo {
  width: clamp(76px, 13.4vw, 160px);
  height: clamp(76px, 13.4vw, 160px);
  border-radius: clamp(16px, 2.4vw, 30px);
  flex-shrink: 0;
  margin: 0;
  box-shadow: 0 12px 32px rgba(47, 34, 225, 0.22);
}
.hero h1 {
  font-size: clamp(2.25rem, 6.4vw, 4.75rem);
  font-weight: 700;
  color: var(--c-blue);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
  text-align: left;
}
.hero-lede {
  max-width: 640px;
  margin: 0 auto 12px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}
.hero-phones {
  position: relative;
  max-width: 1600px;
  width: 100%;
  margin: 40px auto 0;
  display: grid;
}
@media (min-width: 880px) { .hero-phones { max-width: 1200px; } }
@media (min-width: 1280px) { .hero-phones { max-width: 1300px; } }
.hero-phones img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  display: block;
}
.hero-phones .h-left { z-index: 1; }
.hero-phones .h-mid { z-index: 2; }
.hero-phones .h-right { z-index: 1; }

/* HOME-STYLE SECTIONS */
section.home-section { padding: 96px 24px; position: relative; }
.home-wrap { max-width: 1120px; margin: 0 auto; }
.home-section h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }

/* STATS / TRUST STRIP */
.strip {
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  margin-top: 64px;
}
.strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  justify-items: center;
}
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* WHY GRID */
.why-head { text-align: center; margin-bottom: 56px; }
.why-head p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 19, 70, 0.04);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 0%), rgba(178, 28, 223, 0.10), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.why-card:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(19, 19, 70, 0.12); background-image: linear-gradient(#ffffff, #ffffff), var(--brand-gradient); background-origin: border-box; background-clip: padding-box, border-box; }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.15rem; }
.icon-green { background: rgba(225, 225, 32, 0.20); color: #8a8a18; }
.icon-amber { background: rgba(221, 38, 57, 0.12); color: var(--c-red); }

/* FEATURE SHOWCASE */
.show {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 80px;
}
.show + .show { margin-top: 120px; }
.show.flip .show-text { order: 2; }
.show.flip .show-img { order: 1; }
.show-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
.show-text p { font-size: 1.05rem; max-width: 480px; }
.show-img { display: flex; justify-content: center; align-items: center; position: relative; }
.show-img::before {
  content: '';
  position: absolute;
  inset: 5%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(225, 225, 32, 0.14), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(178, 28, 223, 0.14), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.show-phone {
  position: relative;
  width: 270px;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background: #0a0a14;
  padding: 8px;
  box-shadow:
    0 24px 48px rgba(19, 19, 70, 0.18),
    0 0 0 2px #1d1d1f,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 1;
}
.show-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}
.show-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  display: block;
}
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-2);
  font-size: 1rem;
}
.check-list svg { width: 20px; height: 20px; color: var(--c-purple); flex-shrink: 0; margin-top: 2px; }

/* BUILT FOR SLOUGH BANNER */
.built-banner {
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  color: #fff;
}
.built-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.20), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.18), transparent 50%);
  pointer-events: none;
}
.built-banner > * { position: relative; }
.built-banner h2 { margin-bottom: 12px; color: #fff; }
.built-banner p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; color: rgba(255, 255, 255, 0.92); }

/* SAFETY */
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.safety-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(19, 19, 70, 0.04);
}
.safety-card:hover { border-color: rgba(178, 28, 223, 0.35); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19, 19, 70, 0.08); }
.safety-card svg { width: 22px; height: 22px; color: var(--c-purple); flex-shrink: 0; margin-top: 2px; }
.safety-card h3 { font-size: 1rem; margin-bottom: 4px; }
.safety-card p { font-size: 0.92rem; }

/* PREMIUM */
.premium {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 19, 70, 0.04);
}
.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}
.premium-tag {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.premium p { font-size: 0.95rem; }
.premium small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 14px; line-height: 1.5; }
.premium-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient);
  background-size: 200% 200%;
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(178, 28, 223, 0.25);
}
.premium-cta:hover { background-position: 100% 100%; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(178, 28, 223, 0.32); }

/* FINAL CTA */
.final {
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(225, 225, 32, 0.16), transparent 45%),
    radial-gradient(circle at 65% 35%, rgba(221, 38, 57, 0.14), transparent 45%),
    radial-gradient(circle at 60% 70%, rgba(178, 28, 223, 0.18), transparent 45%),
    radial-gradient(circle at 35% 65%, rgba(47, 34, 225, 0.14), transparent 45%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.final > * { position: relative; }
.final h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 16px; color: var(--ink); }
.final p { max-width: 540px; margin: 0 auto 32px; font-size: 1.1rem; }
.badges-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badges { margin: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.hero-badges .store-badge { justify-content: flex-start; }
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 32px auto 40px;
  flex-wrap: wrap;
}
.hero-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.hero-qr img { display: block; width: 200px; height: 200px; }
.hero-qr-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
@media (max-width: 720px) {
  .hero-qr { display: none; }
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0a0a14;
  border: 1px solid #0a0a14;
  padding: 12px 18px;
  border-radius: 14px;
  transition: all 0.2s;
  color: #fff;
}
.store-badge:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(178, 28, 223, 0.28);
  background-image: linear-gradient(#0a0a14, #0a0a14), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge-small { font-size: 0.65rem; color: #d1d5db; text-transform: uppercase; letter-spacing: 0.6px; }
.store-badge-big { font-size: 1.05rem; font-weight: 600; color: #fff; }

/* BANNER CTA */
.banner { padding: 64px 24px 0; }
.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 36px 32px;
  background:
    linear-gradient(135deg, rgba(19, 19, 70, 0.78) 0%, rgba(47, 34, 225, 0.65) 50%, rgba(178, 28, 223, 0.55) 100%),
    var(--brand-gradient);
  background-size: 200% 200%, 200% 200%;
  color: #fff;
}
.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  align-items: center;
}
.banner-left { display: flex; align-items: center; gap: 18px; }
.banner-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
  backdrop-filter: blur(8px);
}
.banner-logo img { width: 100%; height: 100%; border-radius: 10px; }
.banner-copy h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.banner-copy p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.banner-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0a0a0a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 10, 30, 0.22); }
.badge svg { width: 24px; height: 24px; flex-shrink: 0; fill: #fff; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-small { font-size: 0.65rem; color: #d1d5db; text-transform: uppercase; letter-spacing: 0.6px; }
.badge-big { font-size: 1rem; font-weight: 600; color: #fff; }
@media (min-width: 720px) {
  .banner-grid { grid-template-columns: 1fr auto; }
  .banner-badges { justify-content: flex-end; }
}

/* RESPONSIVE — home content */
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .show { grid-template-columns: 1fr 1fr; gap: 80px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .premium { grid-template-columns: 1fr auto; padding: 56px 48px; }
}
@media (min-width: 980px) {
  section.home-section { padding: 120px 24px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .show-phone { width: 300px; }
}

@media (prefers-reduced-motion: no-preference) {
  .why-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
  .why-grid > .reveal:nth-child(2) { transition-delay: 0.15s; }
  .why-grid > .reveal:nth-child(3) { transition-delay: 0.25s; }
  .why-grid > .reveal:nth-child(4) { transition-delay: 0.35s; }
  .safety-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
  .safety-grid > .reveal:nth-child(2) { transition-delay: 0.15s; }
  .safety-grid > .reveal:nth-child(3) { transition-delay: 0.25s; }
  .safety-grid > .reveal:nth-child(4) { transition-delay: 0.35s; }

  .hero-title { animation: fadeInUp 0.9s 0.1s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-lede { animation: fadeInUp 0.9s 0.3s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-phones { animation: fadeInUp 1s 0.45s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero h1 .accent { background-size: 200% 200%; animation: gradientShift 8s ease infinite; }
  .stat-num { background-size: 200% 200%; animation: gradientShift 6s ease infinite; }
}
