/* ================================================================
   AI-ADVERTISER FUNNEL — DESIGN SYSTEM & STYLES
   ================================================================ */

/* --- Self-hosted font --- */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 900;font-display:swap;src:url('../fonts/dm-sans-latin-variable.woff2') format('woff2')}

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-color: #000000;
  --primary-blue: #2563EB;
  --primary-blue-hover: #3b82f6;
  --primary-blue-glow: rgba(37, 99, 235, 0.4);
  --primary-blue-glow-intense: rgba(37, 99, 235, 0.6);
  --accent-gold: #FBBF24;
  --surface-dark: #0A0A0A;
  --border-dark: #262626;
  --text-primary: #FFFFFF;
  --text-secondary: #A3A3A3;
  --font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --ghl-vertical-bleed: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-color);
}

body {
  font-family: var(--font-family);
  background: var(--bg-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

html:has(.ai-advertiser-funnel),
body:has(.ai-advertiser-funnel) {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg-color) !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

body:has(.ai-advertiser-funnel) :is(.hl_page-preview--content, .fullSection, .c-section, .c-row, .c-column, .inner, .row, .col, [class*="section"], [class*="row"], [class*="col"]):has(.ai-advertiser-funnel) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--bg-color) !important;
}

.ai-advertiser-funnel {
  position: relative;
  isolation: isolate;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: calc(-1 * var(--ghl-vertical-bleed));
  margin-bottom: calc(-1 * var(--ghl-vertical-bleed));
  padding-top: var(--ghl-vertical-bleed);
  padding-bottom: var(--ghl-vertical-bleed);
  overflow: hidden;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.5;
}

.ai-advertiser-funnel > :not(.bg-animation) {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================================================================
   ANIMATED BACKGROUND — Slow-moving blurred light streaks
   ================================================================ */
.bg-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-animation__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  will-change: transform;
}

.bg-animation__shape--1 {
  width: 500px;
  height: 900px;
  background: linear-gradient(180deg, #06b6d4, #2563eb);
  opacity: 0.18;
  top: -20%;
  left: -5%;
  animation: float-vertical-1 25s ease-in-out infinite alternate;
}

.bg-animation__shape--2 {
  width: 400px;
  height: 1000px;
  background: linear-gradient(180deg, #7c3aed, #2563eb);
  opacity: 0.12;
  top: 10%;
  right: -8%;
  animation: float-vertical-2 30s ease-in-out infinite alternate;
}

.bg-animation__shape--3 {
  width: 350px;
  height: 800px;
  background: linear-gradient(180deg, #0ea5e9, #6366f1);
  opacity: 0.10;
  top: 30%;
  left: 40%;
  animation: float-vertical-3 22s ease-in-out infinite alternate;
}

@media (max-width: 640px) {
  .bg-animation { display: none; }
}

@keyframes float-vertical-1 {
  0% { transform: translateY(0) rotate(2deg); }
  100% { transform: translateY(-180px) rotate(-2deg); }
}

@keyframes float-vertical-2 {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(200px) rotate(1deg); }
}

@keyframes float-vertical-3 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-150px) rotate(3deg); }
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   REUSABLE COMPONENTS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-blue);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--primary-blue-glow);
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px var(--primary-blue-glow-intense);
  background-color: var(--primary-blue-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary--full {
  width: 100%;
  max-width: 600px;
  padding: 16px 32px;
}

/* ================================================================
   A. TOP NOTIFICATION BAR
   ================================================================ */
.notification-bar {
  width: 100%;
  background-color: var(--primary-blue);
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.4;
  position: relative;
  z-index: 100;
}

/* ================================================================
   B. HEADER SECTION
   ================================================================ */
.header-section {
  margin-top: 60px;
  text-align: center;
  padding-bottom: 28px;
}

.header-section__headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.header-section__headline .highlight {
  color: var(--primary-blue);
}

.header-section__sub2 {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.45;
  font-weight: 700;
}

/* ================================================================
   C. VIDEO SECTION
   ================================================================ */
.video-section {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.video-bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 22px;
}

.video-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.video-bullet__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.video-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  aspect-ratio: 16/9;
  position: relative;
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper vturb-smartplayer {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-wrapper vturb-smartplayer {
  margin: 0 auto;
}

.video-cta {
  text-align: center;
  margin-top: 32px;
}

/* ================================================================
   D. APPLICATION / TYPEFORM SECTION
   ================================================================ */
.application-section {
  margin-top: 80px;
  text-align: center;
}

.application-section__headline {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.application-section__headline .highlight {
  color: var(--primary-blue);
}

.ghl-survey-wrapper {
  max-width: 672px;
  margin: 0 auto;
  min-height: 430px;
  background:
    radial-gradient(circle at 72% 42%, rgba(47, 125, 246, 0.18), transparent 280px),
    linear-gradient(135deg, rgba(7, 11, 25, 0.98), rgba(4, 5, 9, 0.98));
  border-radius: 12px;
  border: 0;
  overflow: visible;
  position: relative;
}

.ghl-survey-wrapper iframe {
  width: 100%;
  height: 430px;
  min-height: 430px;
  border: none;
  display: block;
  background: transparent;
}

@media (max-width: 720px) {
  .ghl-survey-wrapper {
    min-height: 480px;
  }

  .ghl-survey-wrapper iframe {
    height: 480px;
    min-height: 480px;
  }
}

.application-section__footnote {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.application-section__cta {
  text-align: center;
  margin-top: 8px;
}

/* ================================================================
   E. SOCIAL PROOF / COMMUNITY SECTION
   ================================================================ */
.social-proof-section {
  margin-top: 100px;
  text-align: center;
}

.social-proof-section__headline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.social-proof-section__headline .highlight-gold {
  color: var(--accent-gold);
}

.social-proof-section__sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 40px auto 0;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible;
}

.masonry-grid__item {
  display: block;
  width: 100%;
  min-width: 0;
}

.masonry-grid__item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-height: 1px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  display: block;
  background: var(--surface-dark);
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-grid__item img:hover {
  transform: scale(1.015);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.social-proof-section__cta {
  text-align: center;
  margin-top: 48px;
}

/* ================================================================
   F. FAQ SECTION
   ================================================================ */
.faq-section {
  margin-top: 100px;
  padding-bottom: 80px;
  text-align: center;
}

.faq-section__headline {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-item__header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item__question {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.4;
  padding-right: 16px;
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #fff;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-item__answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
  padding: 0 20px;
  transition: padding 0.35s ease;
}

.faq-item.is-open .faq-item__answer-inner {
  padding-bottom: 20px;
}

.faq-item__answer-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ================================================================
   G. FOOTER
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--border-dark);
  padding: 40px 20px;
  text-align: center;
}

.site-footer__disclaimer {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 20px;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.site-footer__link {
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: #fff;
}

.site-footer__copyright {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 768px) {
  .header-section__headline {
    font-size: 32px;
  }

  .header-section__sub2 {
    font-size: 14px;
    max-width: 620px;
  }

  .header-section {
    margin-top: 40px;
  }

  .application-section__headline {
    font-size: 26px;
  }

  .social-proof-section__headline {
    font-size: 28px;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .faq-section__headline {
    font-size: 26px;
  }

  .btn-primary--full {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .header-section__headline {
    font-size: 28px;
  }

  .header-section__sub2 {
    font-size: 13px;
  }

  .social-proof-section__headline {
    font-size: 24px;
  }

  .notification-bar {
    font-size: 11px;
    padding: 8px 12px;
  }

  .video-bullet {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ================================================================
   ENTRANCE ANIMATIONS
   ================================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up--delay-1 { transition-delay: 0.1s; }
.fade-in-up--delay-2 { transition-delay: 0.2s; }
.fade-in-up--delay-3 { transition-delay: 0.3s; }
.fade-in-up--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .bg-animation__shape { animation: none; }
  .fade-in-up,
  .fade-in-up.is-visible { opacity: 1; transform: none; transition: none; }
}
