/* ===========================
   FONTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===========================
   CUSTOM PROPERTIES
   =========================== */
:root {
  --gold: #fbbf24;
  --gold-light: #fcd34d;
  --gold-dark: #f59e0b;
  --overlay-dark: rgba(0, 0, 0, 0.65);
  --overlay-darker: rgba(0, 0, 0, 0.72);
}

/* ===========================
   BASE RESET / GLOBAL
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   BACKGROUND SECTIONS
   =========================== */
.bg-hero {
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.bg-stats {
  background-image: url('../images/stats.jpg');
  background-size: cover;
  background-position: center 30%;
}

.bg-conditions {
  background-image: url('../images/conditions.jpg');
  background-size: cover;
  background-position: center center;
}

.bg-how {
  background-image: url('../images/how-it-works.jpg');
  background-size: cover;
  background-position: center 40%;
}

.bg-form {
  background-image: url('../images/form.jpg');
  background-size: cover;
  background-position: center 60%;
}

/* ===========================
   DARK OVERLAYS
   =========================== */
.overlay {
  position: absolute;
  inset: 0;
}

.overlay-60  { background: rgba(0, 0, 0, 0.60); }
.overlay-65  { background: rgba(0, 0, 0, 0.65); }
.overlay-70  { background: rgba(0, 0, 0, 0.70); }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.90);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar-logo-icon svg {
  color: #000;
  width: 1rem;
  height: 1rem;
}

.navbar-brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--gold);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #000;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(0,0,0,0.95);
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 49;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ===========================
   SECTIONS — GENERAL
   =========================== */
.section {
  position: relative;
}

.section-inner {
  position: relative;
  z-index: 10;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.40);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(251, 191, 36, 0.10);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title .accent {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.70);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.30);
  transition: background 0.25s, transform 0.15s;
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-gold:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.25s, background 0.25s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.40);
  animation: bounce 2s infinite;
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  padding: 5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: rgba(251, 191, 36, 0.40);
}

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.5rem;
  transition: transform 0.3s;
}

.stat-card:hover .stat-value {
  transform: scale(1.05);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.60);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title .accent {
  color: var(--gold);
}

.section-desc {
  color: rgba(255, 255, 255, 0.50);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===========================
   CONDITIONS SECTION
   =========================== */
.conditions-section {
  padding: 6rem 1.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.benefit-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}

.benefit-card:hover {
  border-color: rgba(251, 191, 36, 0.50);
  background: rgba(255, 255, 255, 0.10);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.benefit-card:hover .benefit-icon {
  background: rgba(251, 191, 36, 0.25);
}

.benefit-icon svg {
  color: var(--gold);
  width: 1.375rem;
  height: 1.375rem;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.how-section {
  padding: 6rem 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.step-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}

.step-card:hover {
  border-color: rgba(251, 191, 36, 0.40);
  background: rgba(255, 255, 255, 0.10);
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: rgba(251, 191, 36, 0.10);
  transition: background 0.3s;
}

.step-card:hover .step-number {
  background: rgba(251, 191, 36, 0.20);
}

.step-number span {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold);
}

.step-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.step-check svg {
  color: rgba(251, 191, 36, 0.70);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.step-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* Step connector (desktop) */
.step-connector {
  display: none;
}

/* ===========================
   FORM SECTION
   =========================== */
.form-section {
  padding: 6rem 1.5rem;
}

.form-card {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.40);
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.40);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.form-icon svg {
  width: 1rem;
  height: 1rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.40);
}

.form-input:focus {
  border-color: rgba(251, 191, 36, 0.60);
  background: rgba(255, 255, 255, 0.15);
}

/* ---- Call Center Closer highlights ---- */
@keyframes ccBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.hero-eyebrow .cc-blink {
  font-weight: 800;
  animation: ccBlink 1.4s ease-in-out infinite;
}

.cc-highlight {
  color: var(--gold);
  font-weight: 800;
  animation: ccBlink 1.4s ease-in-out infinite;
}

.cc-tagline {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ---- Polygraph question field ---- */
.form-group-question .form-question {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}

.form-group-question .form-optional {
  color: rgba(255, 255, 255, 0.45);
}

.form-control {
  position: relative;
}

.form-select {
  padding-right: 2.5rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-select option {
  color: #111;
  background: #fff;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--gold);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.20);
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: var(--gold-light);
}

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

.btn-submit svg {
  width: 1rem;
  height: 1rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.30);
  margin-top: 0.75rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.7;
  max-width: 18rem;
  margin-top: 1rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.30);
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.20);
}

.footer-location svg {
  color: rgba(251, 191, 36, 0.60);
  width: 0.75rem;
  height: 0.75rem;
}

/* ===========================
   FORM SUCCESS MESSAGE
   =========================== */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success .checkmark {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 2px solid rgba(251, 191, 36, 0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success .checkmark svg {
  color: var(--gold);
  width: 2rem;
  height: 2rem;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===========================
   KEYFRAME ANIMATIONS
   =========================== */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
.fade-up-5 { animation-delay: 0.5s; }

/* ===========================
   RESPONSIVE — TABLET (≥640px)
   =========================== */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================
   RESPONSIVE — DESKTOP (≥768px)
   =========================== */
@media (min-width: 768px) {
  .navbar {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hamburger {
    display: none !important;
  }

  .navbar-links {
    display: flex !important;
  }
}

/* ===========================
   RESPONSIVE — LARGE (≥1024px)
   =========================== */
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }

  .step-connector {
    display: block;
    position: absolute;
    top: 2rem;
    height: 1px;
    background: linear-gradient(to right, rgba(251, 191, 36, 0.50), transparent);
    z-index: 0;
    pointer-events: none;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ===========================
   RESPONSIVE — MOBILE (≤767px)
   =========================== */
@media (max-width: 767px) {
  .navbar {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hamburger {
    display: flex;
  }

  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .bg-hero {
    background-attachment: scroll;
  }
}
