/* ===================== Fonts (self-hosted Inter, from aiconnect.ph) ===================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc,
    u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304,
    u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0,
    u+2113, u+2c60-2c7f, u+a720-a7ff;
}

/* ===================== Brand tokens (copied from aiconnect.ph) ===================== */
:root {
  /* Core palette, matched to aiconnect.ph */
  --primary: #ff009a;              /* hsl(320 100% 50%) brand magenta */
  --primary-600: #e00089;
  --primary-050: rgba(255, 0, 154, 0.08);
  --accent: #a78bfa;              /* purple accent used in site gradients */
  --accent-pink: #f472b6;

  --bg: #ffffff;
  --bg-tint: #fdf4fa;            /* very light pink wash */
  --surface: #ffffff;
  --text: #0a0f1a;              /* hsl(222 84% 4.9%) */
  --muted: #64748b;             /* hsl(215 16% 47%) */
  --border: #e6e8ee;            /* hsl(214 32% 91%) */

  --radius: 0.5rem;            /* --radius from site */
  --radius-lg: 0.9rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);
  --shadow-primary: 0 10px 24px rgba(255, 0, 154, 0.28);

  --container: 720px;
  --container-narrow: 560px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===================== Reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* ===================== Hero (above the fold) ===================== */
.hero {
  position: relative;
  padding: 22px 0 30px;
  background:
    radial-gradient(circle at 12% 8%, rgba(167, 139, 250, 0.14), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(244, 114, 182, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, rgba(255, 0, 154, 0.06) 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 18px; }
.brand__logo { width: 40px; height: 40px; border-radius: 10px; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--text); }
.brand__name span { color: var(--primary); }

.hero__headline {
  font-size: clamp(1.6rem, 6.4vw, 2.35rem);
  font-weight: 800;
  text-align: center;
  max-width: 20ch;
  margin-bottom: 0.5em;
}
.hero__headline .hl { color: var(--primary); }
.hero__sub {
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 3.6vw, 1.1rem);
  max-width: 42ch;
  margin-bottom: 22px;
}
.hero__sub strong { color: var(--text); font-weight: 700; }

/* Video stage: holder reserves the vertical 3:4 space so nothing jumps when docked */
.video-holder {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
}
.video-inner { position: relative; width: 100%; }

/* Keep-watching cue */
.hero__cue {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.hero__cue-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(255, 0, 154, 0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 154, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 154, 0); }
}

/* ===================== Sticky mini-player (after reveal, on scroll) ===================== */
body.mini-video .video-inner {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 132px;
  max-width: 40vw;
  z-index: 9998;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  overflow: hidden;
  animation: dockIn 0.28s ease;
}
@keyframes dockIn {
  from { transform: translateY(14px) scale(0.96); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

/* ===================== Offer (hidden until revealed) ===================== */
.offer { display: none; }
body.revealed .offer { display: block; }

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
}
body.revealed .reveal-item {
  animation: revealIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
/* gentle stagger */
body.revealed .reveal-item:nth-child(1) { animation-delay: 0.02s; }
body.revealed .reveal-item:nth-child(2) { animation-delay: 0.08s; }
body.revealed .reveal-item:nth-child(3) { animation-delay: 0.14s; }
@keyframes revealIn {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; animation: none !important; }
  body.mini-video .video-inner { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== Sections ===================== */
.section { padding: 40px 0; border-top: 1px solid var(--border); }
.section--cta-top { border-top: 0; padding-top: 34px; }
.section--tint { background: var(--bg-tint); }
.section--final {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 154, 0.10), transparent 55%),
    var(--bg-tint);
}
.section__title { font-size: clamp(1.35rem, 5.2vw, 1.75rem); font-weight: 800; }
.section__title--faq { margin-top: 34px; }
.section__lead { color: var(--muted); font-size: 1.02rem; }
.section__note { margin-top: 14px; font-weight: 700; color: var(--primary-600); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem;
  font-weight: 700; color: var(--primary); margin-bottom: 6px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 55%, var(--accent) 130%);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 0, 154, 0.36); }
.btn--primary:active { transform: translateY(0); }
.btn--xl {
  width: 100%;
  max-width: 460px;
  padding: 17px 24px;
  font-size: 1.06rem;
  line-height: 1.25;
}
.btn-note { margin-top: 10px; color: var(--muted); font-size: 0.86rem; }

/* ===================== Pain list ===================== */
.pain-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.pain-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm);
}
.pain-list__icon { font-size: 1.6rem; line-height: 1; flex: none; }
.pain-list h3 { font-size: 1.05rem; margin-bottom: 3px; }
.pain-list p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ===================== Cards (4-in-1) ===================== */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 18px 18px; box-shadow: var(--shadow-sm);
}
.card__num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  margin-bottom: 10px; font-size: 0.95rem;
}
.card h3 { font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chips li {
  background: var(--primary-050); color: var(--primary-600);
  border: 1px solid rgba(255, 0, 154, 0.18);
  border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.85rem;
}

/* ===================== Galleries ===================== */
.gallery { display: grid; gap: 12px; margin-top: 22px; }
.gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: #fff; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.gallery--influencers { grid-template-columns: repeat(2, 1fr); }
.gallery--influencers img { aspect-ratio: 3 / 4; }
.gallery--products { grid-template-columns: repeat(2, 1fr); }
.gallery--testimonials { grid-template-columns: 1fr; }

/* ===================== Value stack ===================== */
.stack {
  margin-top: 22px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stack__row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.stack__row span { color: var(--text); }
.stack__row b { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stack__row--bonus { background: var(--primary-050); }
.stack__row--bonus span, .stack__row--bonus b { color: var(--primary-600); font-weight: 800; }
.stack__row--total {
  background: var(--text); color: #fff; border-bottom: 0; padding: 16px;
  font-size: 1.05rem; font-weight: 800;
}
.stack__row--total span, .stack__row--total b { color: #fff; }

.price { text-align: center; margin-top: 26px; }
.price__was { color: var(--muted); font-size: 1rem; }
.price__was s { color: var(--muted); }
.price__now {
  font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 900; color: var(--primary);
  letter-spacing: -0.02em; margin: 4px 0 10px;
}
.price__line { color: var(--muted); font-size: 0.98rem; max-width: 46ch; margin: 0 auto 20px; }

.price-stack-img { margin: 22px auto 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 420px; width: 100%; }

/* ===================== Assurance + FAQ ===================== */
.assurance { display: grid; gap: 12px; margin-top: 22px; }
.assurance__item {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius); padding: 14px 16px; font-size: 0.96rem; color: var(--muted);
}
.assurance__item b { color: var(--text); }

.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 16px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 0.96rem; }

/* ===================== Footer ===================== */
.footer { padding: 40px 0 60px; border-top: 1px solid var(--border); background: var(--bg-tint); }
.footer__logo { margin: 0 auto 10px; border-radius: 8px; }
.footer p { color: var(--muted); font-size: 0.9rem; margin: 0 auto 8px; max-width: 46ch; }
.footer__fine { font-size: 0.78rem; opacity: 0.85; }

/* ===================== Larger screens ===================== */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery--influencers { grid-template-columns: repeat(3, 1fr); }
  .gallery--products { grid-template-columns: repeat(3, 1fr); }
  .gallery--testimonials { grid-template-columns: repeat(2, 1fr); }
  body.mini-video .video-inner { width: 168px; }
}
