/*
Theme Name: Brilliant
Theme URI: https://brilliant.ai
Author: Chilly Pills
Author URI: https://chillypills.com
Description: Brilliant AI shopping assistant landing page
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brilliant
*/

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body { font-family: 'Outfit', sans-serif; color: rgb(30,34,63); background: #fff; overflow-x: hidden; }
a { text-decoration: none; }
svg { display: block; flex-shrink: 0; }

/* ─── Shared variables ─── */
:root {
  --purple: rgb(96,47,101);
  --purple-mid: rgb(147,79,176);
  --pink: rgb(222,100,177);
  --dark: rgb(50,31,66);
  --text: rgb(30,34,63);
  --accent-light: rgb(216,178,220);
  --max-w: 1280px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: none; cursor: pointer;
  border-radius: 50px; padding: 14px 32px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px;
  transition: filter .18s, transform .18s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-dark  { background: var(--purple); color: #fff; box-shadow: 0 0 0 2px var(--purple); }
.btn-light { background: #fff; color: var(--purple-mid); box-shadow: 0 0 0 2px #fff; }
.btn-dark-outline { background: transparent; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

/* ─── HERO animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardsIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cursor {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 660px;
  background:
    radial-gradient(ellipse 80% 70% at 20% 15%, rgba(138,56,198,1) 0%, rgba(138,56,198,0) 52%),
    radial-gradient(ellipse 68% 60% at 82% 22%, rgba(224,68,172,0.96) 0%, rgba(224,68,172,0) 52%),
    radial-gradient(ellipse 50% 55% at 50% 95%, rgba(180,100,215,0.32) 0%, rgba(180,100,215,0) 60%),
    linear-gradient(162deg, #8b6ac5 0%, #ba7ec8 28%, #dba0d6 52%, #f0d5f5 72%, #faf0fc 86%, #fff 100%);
}

/* nav */
.hero-nav {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 32px 46px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 20;
}
.nav-lang {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px; padding: 8px 18px;
  color: #fff; font-size: 15px; cursor: pointer;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  user-select: none;
}
.lang-dropdown {
  display: none; flex-direction: column;
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 68px;
  background: rgba(28,18,48,.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 4px;
  z-index: 200;
}
.nav-lang:focus-within .lang-dropdown,
.nav-lang.open .lang-dropdown { display: flex; }
.lang-opt {
  background: none; border: none;
  color: rgba(255,255,255,.65); cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 7px; text-align: center;
  text-decoration: none; display: block;
  transition: background .15s, color .15s;
}
.lang-opt:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang-opt.active { color: #fff; background: rgba(255,255,255,.14); }

/* hero content */
.hero-body {
  flex: 1;
  position: relative;
  z-index: 15;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  padding: 80px 24px clamp(24px, 10vh, 90px);
  text-align: center;
}

.powered-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,8,44,.26);
  border-radius: 23px; padding: 8px 18px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 13px;
  animation: fadeUp .6s ease both;
}

.hero-headline {
  display: flex; align-items: center; gap: 18px;
  margin-top: 24px;
  animation: fadeUp .6s .18s ease both;
}
.hero-headline .word {
  font-weight: 700;
  font-size: clamp(50px, 6.8vw, 110px);
  line-height: 1; color: #fff;
  text-shadow: 0 2px 40px rgba(80,20,100,.2);
}
.hero-headline .word-brilliant { letter-spacing: -2px; }
.hero-star-icon { width: clamp(38px, 4.6vw, 76px); height: clamp(38px, 4.6vw, 76px); color: #fff; }

.hero-tagline {
  font-weight: 600;
  font-size: clamp(16px, 2vw, 34px);
  color: rgba(255,255,255,.92); margin-top: 18px;
  letter-spacing: .2px;
  animation: fadeUp .6s .34s ease both;
}

.hero-btns {
  display: flex; gap: 14px; margin-top: 30px;
  flex-wrap: wrap; justify-content: center;
  animation: fadeUp .6s .48s ease both;
}

/* Override primary button for hero */
.hero .btn-dark {
  background: linear-gradient(135deg, rgb(105,45,112), rgb(78,32,84));
  box-shadow: 0 6px 24px rgba(80,30,90,.45), 0 0 0 0 transparent;
}

/* hero bottom: marquee orbit + pill + fade */
.hero-bottom {
  position: relative;
  /* never taller than the space left after 460px for content */
  height: max(200px, min(clamp(300px, 40vh, 400px), calc(100svh - 460px)));
  flex-shrink: 0;
  z-index: 5;
  overflow: hidden;
  animation: cardsIn .8s .6s ease both;
}

.marquee-stage {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hcard {
  position: absolute;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(90,30,110,.13), 0 3px 8px rgba(0,0,0,.06);
  padding: 11px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  transform-origin: bottom center;
  will-change: transform;
  cursor: pointer;
}
.hcard-img {
  width: 100%; height: 0; padding-bottom: 100%;
  border-radius: 9px;
  background: center/cover no-repeat #f0e8f5;
  pointer-events: none;
}
.hcard-name {
  margin-top: 8px; font-weight: 700; font-size: 13px; color: var(--text); line-height: 1.3;
  pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hcard-price { margin-top: 4px; font-weight: 600; font-size: 13px; color: var(--purple-mid); pointer-events: none; white-space: nowrap; }

/* search pill */
.hero-search {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 22%; z-index: 12;
  width: clamp(270px, 38vw, 620px);
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 0 0 3px rgba(200,160,220,.5), 0 6px 12px rgba(0,0,0,.1), 0 20px 48px rgba(180,120,210,.32), 0 28px 40px -8px rgba(120,60,160,.25);
  padding: 20px 40px;
}
.hero-search p {
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 30px);
  color: var(--text); text-align: center;
}
.hero-search p::after {
  content: '|';
  margin-left: 2px;
  color: var(--purple-mid);
  animation: cursor 1.1s ease infinite;
}

/* fade-out at bottom */
.hero-fade {
  position: absolute; left: 0; bottom: 0; right: 0;
  height: 140px; z-index: 8; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 55%, #fff 100%);
}

/* gradient bridge between hero and sections below */
.hero-gradient-bridge {
  height: 120px;
  margin-top: -120px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
  pointer-events: none;
  position: relative;
  z-index: 5;
}

/* ─── SECTION COMMON ─── */
.section { padding: 96px 24px; }
.section-center { text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(222,100,177,.16);
  border-radius: 60px; padding: 7px 18px;
  font-weight: 600; font-size: 13px; letter-spacing: .8px;
  color: var(--purple-mid); text-transform: uppercase;
}
h2.section-h {
  font-weight: 500; font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1; color: var(--text);
  max-width: 700px; margin: 0 auto;
}
h2.section-h strong {
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45; color: var(--text);
  max-width: 520px; margin: 18px auto 0;
}

/* ─── GUIDE BETTER ─── */
.guide { background: #fff; }

/* browser mockup */
.browser-wrap { display: flex; justify-content: center; margin-top: 56px; padding: 0 24px; }
.browser {
  position: relative;
  width: 100%; max-width: 973px;
  border-radius: 20px; overflow: hidden;
  max-height: 790px;
  box-shadow: inset 0 0 38.5px rgba(63,31,66,.1);
  background: #fff;
  cursor: default; user-select: none;
}
.browser * { cursor: default !important; pointer-events: none; }
.browser-bar {
  height: 42px; background: #f0f0f0;
  display: flex; align-items: center;
  padding: 0 18px; gap: 9px;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.browser-url {
  flex: 1; margin: 0 12px;
  background: rgba(255,255,255,.6);
  border-radius: 6px; padding: 5px 12px;
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: rgba(0,0,0,.4); text-align: center;
}

/* store nav */
.store-nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin: 14px 85px 0;
  background: rgba(255,255,255,.7);
  border: .6px solid rgba(200,200,215,.6);
  border-radius: 10px; padding: 8px 14px;
}
.store-brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 12.54px; color: #1E2939; letter-spacing: -.28px;
}
.store-icon-btn {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.store-search {
  flex: 1; position: relative;
  background: rgba(245,245,248,.8);
  border: .6px solid rgba(200,200,215,.5);
  border-radius: 6px; padding: 6px 10px 6px 26px;
  font-family: 'Inter', sans-serif; font-size: 10.03px;
  color: rgba(10,10,10,.4);
}
.store-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.cart-badge {
  position: relative; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.badge-dot {
  position: absolute; top: -4px; right: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #B46CBB; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 7.5px;
  font-weight: 600; display: flex; align-items: center; justify-content: center;
}

/* store section: contains featured header + grid */
.store-section { padding: 30px 85px 0; }

.store-featured {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 0 20px;
}
.featured-label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18.81px; color: #1E2939; letter-spacing: .25px; }
.featured-sub { font-family: 'Inter', sans-serif; font-size: 10.03px; color: #4A5565; margin-top: 3px; letter-spacing: -.2px; }
.view-all {
  background: rgba(255,255,255,.6);
  border: .627px solid rgba(255,255,255,.8);
  border-radius: 8.78px; padding: 8.15px 15.68px;
  font-family: 'Inter', sans-serif; font-weight: 500;
  font-size: 10.03px; color: #364153; cursor: pointer; letter-spacing: -.2px;
}

/* product grid — 2 rows × 3 cols, row 2 partially visible */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 15px; padding: 0;
}
.pcard {
  border-radius: 10.03px; overflow: hidden;
  background: rgba(255,255,255,.4);
  border: .627px solid rgba(255,255,255,.6);
  box-shadow: 0 6.27px 9.41px -1.88px rgba(0,0,0,.1), 0 2.51px 3.76px -2.51px rgba(0,0,0,.1);
}
.pcard-img {
  position: relative; width: 100%; aspect-ratio: 1;
  background: center/cover no-repeat #E4DBD6;
}
.pcard-cat {
  position: absolute; left: 7.52px; top: 7.52px;
  background: rgba(255,255,255,.8); border-radius: 999px;
  border: .627px solid rgba(255,255,255,.9);
  padding: 2.51px 7.52px; font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 7.52px; color: #364153;
}
.pcard-icon {
  position: absolute; right: 7.62px; top: 8.15px;
  width: 35.11px; height: 35.11px; border-radius: 12.54px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--pink) 100%);
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 9.41px rgba(0,0,0,.2));
}
.pcard-body { padding: 10.03px 10.03px 0; }
.pcard-title {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 11.29px; color: #1E2939; letter-spacing: -.28px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-stars { color: #FDC700; font-size: 9px; margin-top: 2px; letter-spacing: 1px; }
.pcard-rating { font-family: 'Inter', sans-serif; font-size: 8.78px; color: #6A7282; letter-spacing: -.09px; }
.pcard-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 7.52px; padding-bottom: 10px; }
.pcard-price { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.05px; color: #B46CBB; letter-spacing: .04px; }
.pcard-add {
  background: #B46CBB; border-radius: 6.27px;
  padding: 5.02px 15.05px; font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 8.78px; color: #fff; letter-spacing: -.09px;
}

/* gradient fade over second row */
.browser-content-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 70%, #fff 100%);
  pointer-events: none; z-index: 2;
}

/* assistant button */
.browser-assistant {
  position: absolute; left: 28px; bottom: 18px;
  width: 96px; height: 96px; border-radius: 32px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--pink) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

/* ─── THREE PILLARS ─── */
.pillars {
  display: flex; justify-content: center;
  gap: 0; margin: 72px auto 0;
  max-width: 1150px; padding: 0 24px;
  padding-top: 60px;
}
.pillar {
  flex: 1; text-align: center;
  padding: 0 48px;
  font-size: 26.69px;
  font-weight: 600; line-height: 1.2;
  color: var(--text);
}
.pillar:first-child { padding: 0 64px; }
.pillar span {
  font-weight: 400; display: block; margin-top: 10px;
  font-size: 26.69px;
  color: var(--text);
  line-height: 1.2;
}
.pillar + .pillar { border-left: 1px solid rgba(30,34,63,.1); }

/* ─── DISCOVERY ─── */
.discovery {
  padding: 96px 0 48px; text-align: center;
  background: #fff;
}
.discovery h2.section-h { color: var(--dark); }

/* slider wrapper */
.discovery-slider { overflow-x: clip; overflow-y: visible; margin-top: 20px; padding: 40px 0; }
.discovery-track {
  display: flex; gap: 20px; padding-left: 19vw;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* each slide = full white card, two columns */
.dcard {
  flex: 0 0 62vw;
  background: #fff; border-radius: 40px;
  box-shadow: inset 0 0 35px rgba(216,178,220,.4);
  padding: clamp(24px, 2.5vw, 40px) clamp(52px, 6vw, 88px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px); align-items: center;
  text-align: left; cursor: default;
}
.dcard--active { box-shadow: 0 0 35px rgba(216,178,220,.5); }
.dcard:not(.dcard--active) { cursor: pointer; }

.dcard-text { display: flex; flex-direction: column; }
.dcard-text .section-tag {
  align-self: flex-start;
  background: rgba(222,100,177,.20);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
  font-size: 18px; font-weight: 500;
  padding: 8px 20px; gap: 10px;
}
.dcard-text .section-tag .badge-text {
  background: linear-gradient(90deg, #934FB0 3%, #DE64B1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dcard h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.15;
  color: var(--dark); margin-top: 16px;
}
.dcard p {
  font-size: clamp(14px, 1.2vw, 16px); line-height: 1.65;
  color: #6b7280; margin-top: 14px;
}
.dcard-image {
  border-radius: 24px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dcard-image img {
  width: 100%; height: auto;
  object-fit: contain; display: block;
  border-radius: 14px;
  filter: drop-shadow(0 8px 24px rgba(100,40,140,.13));
}


/* mockup panel inside card */
.dcard-visual {
  display: flex; flex-direction: column; gap: 14px;
}
.dm-searchbar {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgb(228,221,231); border-radius: 999px;
  padding: 10px 18px; background: #fafafa;
}
.dm-searchbar span { flex: 1; font-size: 13px; color: #9ca3af; }
.dm-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3;
  background: url(assets/woman.png) center/cover no-repeat #e8e0f0;
}
.dm-photo-overlay { position: absolute; inset: 0; background: rgba(30,20,40,.22); }
.dm-frame {
  position: absolute; left: 50%; top: 25%; transform: translateX(-50%);
  width: 56px; height: 80px; border: 2px solid #fff; border-radius: 6px;
}
.dm-bubble {
  background: rgb(241,231,242); border-radius: 12px 12px 12px 3px;
  padding: 10px 14px; font-size: 12px; line-height: 1.5; color: var(--text);
}
.dm-chat { display: flex; flex-direction: column; gap: 10px; }
.dm-msg {
  border-radius: 12px 12px 12px 3px; padding: 10px 14px;
  font-size: 12px; line-height: 1.5; max-width: 85%;
  background: #f3f4f6; color: var(--text); align-self: flex-start;
}
.dm-msg.ai {
  border-radius: 12px 12px 3px 12px;
  background: linear-gradient(135deg, var(--purple-mid), var(--pink));
  color: #fff; align-self: flex-end;
}
.dm-suggestions { display: flex; flex-direction: column; gap: 10px; }
.dm-suggest-item {
  display: flex; align-items: center; gap: 12px;
  background: #fafafa; border: 1px solid #f0e8f5;
  border-radius: 12px; padding: 10px 14px;
}
.dm-suggest-thumb {
  width: 42px; height: 42px; border-radius: 8px;
  object-fit: cover; background: #e8e0f0; flex-shrink: 0;
}
.dm-suggest-name { font-size: 12px; font-weight: 600; color: var(--dark); }
.dm-suggest-price { font-size: 11px; color: var(--purple-mid); margin-top: 2px; }

/* ─── STATS ─── */
.stats {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 24px 60px;
  padding: 40px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #faf5fd 100%);
}
.stat { text-align: center; }
.stat-n {
  font-weight: 400; font-size: clamp(52px, 5.5vw, 76px);
  line-height: 1;
  background: linear-gradient(90deg, #934FB0 3%, #DE64B1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-l { font-size: clamp(14px, 1.4vw, 18px); color: var(--dark); margin-top: 10px; }

/* ─── POWERFUL ─── */
.powerful {
  background: var(--dark);
  padding: clamp(60px, 8vw, 108px) clamp(24px, 8vw, 120px);
}
.powerful-head {
  text-align: center; max-width: 900px; margin: 0 auto;
}
.powerful-head h2 {
  font-weight: 500; font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1; color: #fff;
}
.powerful-head h2 strong { font-weight: 700; color: #D8B2DC; }
.powerful-head p {
  font-weight: 400; font-size: clamp(18px, 1.85vw, 26.69px);
  line-height: 1.35; color: #fff;
  max-width: 800px; margin: 22px auto 0;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px; max-width: 1100px; margin: 52px auto 0;
}
.feature-item { border-radius: 28px; padding: 38px 46px; }
.feature-icon {
  width: 84px; height: 84px; border-radius: 42px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.feature-item h4 {
  font-weight: 700; font-size: clamp(20px, 1.8vw, 26px);
  color: var(--accent-light); margin-top: 22px;
}
.feature-item p {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45; color: rgba(255,255,255,.85);
  margin-top: 10px; max-width: 320px;
}

/* ─── FINAL CTA ─── */
.final-cta {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px;
  background:
    radial-gradient(70% 80% at 30% 35%, rgba(168,92,206,.9) 0%, rgba(168,92,206,0) 60%),
    radial-gradient(70% 70% at 75% 50%, rgba(224,124,190,.85) 0%, rgba(224,124,190,0) 58%),
    linear-gradient(180deg, #9f7fd4 0%, #c98fce 60%, #d99fc8 100%);
}
.final-cta h2 {
  font-weight: 500; font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1; color: #fff;
}
.final-cta h2 strong { font-weight: 700; }
.final-cta .sub {
  font-weight: 600; font-size: clamp(16px, 1.85vw, 26.69px);
  color: #fff; margin-top: 20px;
}
.cta-btns { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* ─── FOOTER ─── */
footer { display: none; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */

/* ── Pantallas grandes (≥1440px) ── */
@media (min-width: 1440px) {
  .btn { font-size: 17px; padding: 16px 38px; }
  .hcard-name { font-size: 18px; margin-top: 12px; }
  .hcard-price { font-size: 17px; margin-top: 6px; }
  .powered-badge { font-size: 15px; padding: 9px 20px; }
  .hero-bottom { height: max(280px, min(clamp(340px, 44vh, 440px), calc(100svh - 480px))); }
}

/* ── Pantallas bajas (laptop corto, landscape) ── */
@media (max-height: 800px) {
  /* reducir hero-bottom para dejar más sitio al contenido */
  .hero-bottom { height: max(180px, min(26vh, calc(100svh - 430px))); }
  /* compactar contenido sin aplastarlo */
  .hero-body { padding-top: 72px; padding-bottom: max(44px, 10vh); }
  .hero-headline { margin-top: 18px; }
  .hero-tagline { margin-top: 12px; }
  .hero-btns { margin-top: 22px; }
}

@media (max-height: 660px) {
  .hero-bottom { height: max(160px, min(24vh, calc(100svh - 380px))); }
  .hero-body { padding-top: 62px; }
  .hero-headline { margin-top: 14px; }
  .hero-tagline { margin-top: 10px; }
  .hero-btns { margin-top: 16px; }
  .btn { padding: 11px 24px; font-size: 14px; }
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-nav { padding: 24px 32px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* hero layout */
  .hero { min-height: 100svh; }
  .hero-nav { padding: 24px 24px; }
  .hero-nav img { width: 52px; height: 52px; }
  .hero-body { padding: 72px 20px clamp(16px, 5vh, 40px); }
  .hero-headline { flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 20px; }
  .hero-headline .word { font-size: clamp(48px, 14.5vw, 80px); }
  .hero-star-icon { width: clamp(40px, 12vw, 64px); height: clamp(40px, 12vw, 64px); }
  .powered-badge { font-size: 12px; padding: 7px 14px; }
  .hero-tagline { margin-top: 14px; font-size: clamp(16px, 4.5vw, 22px); }
  .hero-btns { margin-top: 24px; gap: 12px; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  .hero-btns .btn { width: 240px; justify-content: center; align-self: center; }
  .btn { padding: 15px 28px; font-size: 15px; gap: 10px; }

  /* cards */
  .hero-bottom { height: max(220px, min(280px, calc(100svh - 440px))); }
  .hcard { border-radius: 12px; padding: 8px; }
  .hcard-name { font-size: 12px; margin-top: 7px; }
  .hcard-price { font-size: 12px; margin-top: 3px; }
  .hero-fade { height: 100px; }

  /* search pill */
  .hero-search { top: auto; bottom: 100px; width: clamp(200px, 68vw, 340px); padding: 13px 24px; }
  .hero-search p { font-size: clamp(13px, 3.8vw, 18px); }

  /* other sections */
  .section { padding: 64px 1em; }
  .guide .section-h { font-size: clamp(34px, 10vw, 48px); text-align: center; }
  .guide .section-sub { font-size: clamp(15px, 4vw, 18px); text-align: center; max-width: 100%; }
  .browser-wrap { padding: 0 1em; margin-top: 36px; }
  .pillars { flex-direction: column; align-items: center; gap: 0; padding-top: 40px; max-width: 100%; }
  .pillar { padding: 16px 32px !important; font-size: 26px; }
  .pillar span { font-size: 26px; }
  .pillar + .pillar { border-left: none; border-top: 1px solid rgba(30,34,63,.1); }
  .discovery { padding: 64px 0 40px; }
  .discovery .section-h { padding: 0 1em; }
  .discovery-track { padding-left: 6vw; gap: 14px; }
  .dcard { flex: 0 0 86vw; grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; border-radius: 48px; }
  .dcard-image { }
  .stats { flex-direction: column; align-items: center; gap: 32px; padding: 48px 24px 64px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .store-nav { margin: 10px 12px 0; flex-wrap: wrap; gap: 6px 8px; padding: 8px 10px; }
  .store-brand { order: 1; }
  .store-actions { order: 2; margin-left: auto; }
  .store-search { order: 3; flex: 0 0 100%; }
  .store-section { padding: 12px 10px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-grid .pcard:nth-child(5),
  .product-grid .pcard:nth-child(6) { display: none; }
  .browser-assistant { width: 56px; height: 56px; border-radius: 18px; left: 14px; bottom: 12px; }
  .browser-assistant img { width: 28px; height: 28px; }
  .pcard-icon img { width: 20px !important; height: 20px !important; }
  .pcard-add { font-size: 7px; padding: 4px 7px; white-space: nowrap; }
  .browser-assistant img { width: 28px !important; height: 28px !important; }
  .powerful { padding: 60px 24px; }
  .powerful-head { text-align: left; }
  .powerful-head h2 { font-size: clamp(36px, 9vw, 48px); margin: 0; }
  .powerful-head p { margin: 16px 0 0; }
  .feature-item { padding: 0; }
  .feature-icon { width: 60px; height: 60px; border-radius: 30px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-item h4 { font-size: 22px; margin-top: 16px; }
  .feature-item p { font-size: 16px; max-width: 100%; }
  .final-cta { min-height: 80svh; padding: 80px 24px; }
  .final-cta h2 { font-size: clamp(28px, 7vw, 40px); }
  .final-cta .sub { font-size: 18px; }
  .cta-btns { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .cta-btns .btn { justify-content: center; width: 240px; align-self: center; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero { min-height: 560px; }
  .hero-nav { padding: 16px 20px; }
  .hero-body { padding: 60px 16px clamp(12px, 4vh, 32px); }
  .hero-headline { gap: 8px; margin-top: 16px; }
  .hero-headline .word-brilliant { letter-spacing: -1px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .hero-btns .btn { justify-content: center; }
  .hero-bottom { height: max(160px, min(200px, calc(100svh - 400px))); }
  .hcard { border-radius: 8px; padding: 6px; }
  .hcard-name { font-size: 10px; }
  .hcard-price { font-size: 10px; }
  .hero-fade { height: 100px; }
  .hero-search { top: auto; bottom: 90px; width: clamp(190px, 68vw, 300px); padding: 11px 20px; }
  .hero-search p { font-size: clamp(12px, 3.5vw, 16px); }
  .powered-badge { font-size: 11px; padding: 6px 12px; }
}
