/* ============================================================
   STYLE.CSS — Dubai Off-Plan Property Webinar
   Premium Landing Page Styles
   ============================================================ */

/* ============================================================
   TABLE OF CONTENTS
   1.  CSS Custom Properties
   2.  Reset & Base
   3.  Typography
   4.  Utility Classes
   5.  Buttons
   6.  Badges
   7.  Header & Navigation
   8.  Hero Section
   9.  Trust Bar
   10. Problems Section
   11. Speaker Section
   12. Details & Register Section
   13. Final CTA Section
   14. FAQ Section
   15. Footer
   16. Reveal Animations
   17. Responsive — 1200px
   18. Responsive — 992px (Tablet)
   19. Responsive — 768px (Mobile)
   20. Responsive — 480px (Small Mobile)
   21. Accessibility & Reduced Motion
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* — Color Palette — */
  --clr-navy:         #0F1B2A;
  --clr-navy-mid:     #1A2E43;
  --clr-navy-dark:    #08111A;
  --clr-gold:         #D4A95F;
  --clr-gold-light:   #E8C88A;
  --clr-gold-dark:    #B88840;
  --clr-gold-dim:     rgba(212, 169, 95, 0.12);
  --clr-beige:        #F8F4EE;
  --clr-beige-dark:   #EDE8DF;
  --clr-white:        #FFFFFF;
  --clr-text:         #1A2332;
  --clr-text-muted:   #6B7A8D;
  --clr-text-faint:   #9BA8B5;
  --clr-border:       #E8EDF2;
  --clr-red:          #EF5350;

  /* — Typography — */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* — Spacing Scale — */
  --sp-1:  0.25rem;   /*  4px */
  --sp-2:  0.5rem;    /*  8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* — Layout — */
  --container-max:     1200px;
  --container-pad:     1.5rem;
  --header-h:          72px;

  /* — Border Radius — */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* — Shadows — */
  --sh-sm:   0 1px 4px  rgba(15, 27, 42, 0.08);
  --sh-md:   0 4px 16px rgba(15, 27, 42, 0.10);
  --sh-lg:   0 8px 32px rgba(15, 27, 42, 0.14);
  --sh-xl:   0 16px 48px rgba(15, 27, 42, 0.18);
  --sh-gold: 0 4px 24px rgba(212, 169, 95, 0.30);

  /* — Transitions — */
  --t-fast: 0.15s ease;
  --t-base: 0.30s ease;
  --t-slow: 0.50s ease;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--clr-text);
  background-color: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  font-weight: 700;
  border-radius: var(--r-sm);
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: var(--sp-4);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.0625rem, 2vw, 1.375rem); }

p { line-height: 1.7; }

.text-gold { color: var(--clr-gold); }


/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-20);
}

/* Section header — shared across all sections */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
}

.section-tag--light {
  color: var(--clr-gold-light);
}

.section-title {
  color: var(--clr-navy);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

/* Gold variant */
.btn--gold {
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  color: var(--clr-navy-dark);
  border: 2px solid transparent;
  box-shadow: var(--sh-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 169, 95, 0.50);
  outline: none;
}

.btn--gold:active {
  transform: translateY(0);
  box-shadow: var(--sh-gold);
}

/* Sizes */
.btn--sm  { padding: 0.625rem 1.375rem; font-size: 0.875rem; }
.btn--lg  { padding: 1rem 2.75rem;      font-size: 1rem; }
.btn--xl  { padding: 1.125rem 3.5rem;   font-size: 1.125rem; }
.btn--full { width: 100%; padding-block: 1rem; font-size: 1rem; }


/* ============================================================
   6. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.badge--gold {
  background: rgba(212, 169, 95, 0.15);
  color: var(--clr-gold-light);
  border: 1px solid rgba(212, 169, 95, 0.35);
}


/* ============================================================
   7. HEADER & NAVIGATION
   ============================================================ */
.header {
  position: relative;
  height: var(--header-h);
  background: rgba(15, 27, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 169, 95, 0.15);
  transition: background var(--t-base), box-shadow var(--t-base);
}

/* Scroll-based styles removed - header no longer changes on scroll */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-8);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  color: var(--clr-gold);
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  color: var(--clr-white);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Nav links */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.header__nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-block-end: 2px;
  transition: color var(--t-fast);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  border-radius: var(--r-full);
  transition: width var(--t-base);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--clr-gold);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-base);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: var(--sp-16) var(--sp-32);
  overflow: hidden;

  /* Hero background with Dubai skyline image */
  background-image: 
    linear-gradient(
      to bottom,
      rgba(8, 17, 26, 0.55) 0%, 
      rgba(15, 27, 42, 0.65) 40%,
      rgba(8, 17, 26, 0.70) 100%
    ),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Fallback gradient if image is not yet loaded */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #08111A 0%, #0F1B2A 45%, #152336 100%);
  z-index: -1;
}

.hero__bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 169, 95, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(212, 169, 95, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero__badge {
  margin-bottom: var(--sp-8);
}

.hero__headline {
  color: var(--clr-white);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  margin-bottom: var(--sp-6);
  font-weight: 700;
}

.hero__subheadline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--sp-6);
}

.hero__description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: var(--sp-10);
}

/* Meta strip */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-8);
  margin-bottom: var(--sp-10);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(212, 169, 95, 0.22);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero__meta-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--clr-gold);
}

.meta-label {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}

.meta-value {
  display: block;
  font-size: 0.9375rem;
  color: var(--clr-white);
  font-weight: 600;
}

.meta-value--price {
  color: var(--clr-gold);
}

.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(212, 169, 95, 0.2);
  flex-shrink: 0;
}

/* CTA group */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.hero__seats-note {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
}

/* Pulse dots */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse-green 2.2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(76, 175, 80, 0); }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(212, 169, 95, 0.45);
  border-bottom: 2px solid rgba(212, 169, 95, 0.45);
  transform: rotate(45deg);
  margin-top: 2px;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(3px, 3px); }
}


/* ============================================================
   9. TRUST BAR
   ============================================================ */
.trust-bar {
  background: linear-gradient(135deg, #0A1929 0%, #0F1B2A 50%, #0A1929 100%);
  padding-block: var(--sp-10);
  border-top:    2px solid rgba(212, 169, 95, 0.40);
  border-bottom: 1px solid rgba(212, 169, 95, 0.15);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-align: center;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}

.trust-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.52);
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: rgba(212, 169, 95, 0.2);
  flex-shrink: 0;
}


/* ============================================================
   10. PROBLEMS SECTION
   ============================================================ */
.problems {
  background: var(--clr-beige);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-5);
}

.problem-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-dark));
  opacity: 0;
  transition: opacity var(--t-base);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: rgba(212, 169, 95, 0.32);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.75rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
  color: var(--clr-gold);
  background: var(--clr-gold-dim);
  border-radius: var(--r-md);
}

.problem-card h3 {
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* — Highlight Box (Alternative Single Content) — */
.problems__highlight-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--clr-white) 0%, var(--clr-beige-dark) 100%);
  border: 2px solid var(--clr-gold);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.problems__highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 169, 95, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.highlight-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-size: 2.5rem;
  color: var(--clr-gold);
  background: var(--clr-white);
  border: 3px solid var(--clr-gold);
  border-radius: 50%;
  margin: 0 auto var(--sp-6);
  box-shadow: var(--sh-gold);
  position: relative;
  z-index: 1;
}

.highlight-box__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.highlight-box__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-5);
  line-height: 1.3;
}

.highlight-box__text {
  font-size: 14px;
  color: var(--clr-text);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-box__text + .highlight-box__text {
  margin-top: var(--sp-5);
}

.highlight-box__text--emphasis {
  font-weight: 600;
  color: var(--clr-navy);
  font-size: 16px;
  padding: var(--sp-5);
  background: rgba(212, 169, 95, 0.08);
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--r-md);
  margin-top: var(--sp-6);
}


/* ============================================================
   11. SPEAKER SECTION
   ============================================================ */
.speaker {
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
}

.speaker__card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-16);
  align-items: start;
  background: var(--clr-beige);
  border: 1px solid var(--clr-beige-dark);
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  box-shadow: var(--sh-xl);
}

.speaker__visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.speaker__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  border: 2px solid rgba(212, 169, 95, 0.22);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.speaker__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  display: block;
}

.speaker__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.cred-badge {
  display: inline-block;
  padding: 0.3125rem 0.75rem;
  background: rgba(212, 169, 95, 0.10);
  border: 1px solid rgba(212, 169, 95, 0.28);
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--clr-gold-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Speaker body */
.speaker__pretitle {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-2);
}

.speaker__name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--clr-navy);
  margin-bottom: var(--sp-2);
}

.speaker__role {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  font-weight: 500;
  margin-bottom: var(--sp-8);
}

.speaker__bio {
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

/* Speaker stats row */
.speaker__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-beige-dark);
}

.speaker__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-1);
}

.s-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}

.s-label {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  line-height: 1.3;
}


/* ============================================================
   12. DETAILS & REGISTER SECTION
   ============================================================ */
.details {
  background: var(--clr-navy);
  position: relative;
  overflow: hidden;
   border-bottom: 3px solid rgba(212, 169, 95, 0.35);
  
}

/* Ambient glow */
.details::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 169, 95, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.details .section-title  { color: var(--clr-white); }
.details .section-tag    { color: var(--clr-gold); }

/* Two-column layout */
.details__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-16);
  align-items: start;
}

/* Detail rows */
.details__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.detail-row {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 169, 95, 0.12);
  border-radius: var(--r-md);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.detail-row:hover {
  background: rgba(212, 169, 95, 0.07);
  border-color: rgba(212, 169, 95, 0.25);
}

.detail-row__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 38px;
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
}

.detail-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-row__label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-row__value {
  font-size: 1rem;
  color: var(--clr-white);
  font-weight: 600;
}

.detail-row__value--gold {
  color: var(--clr-gold);
  font-size: 1.0625rem;
}

/* Register card */
.register-card {
  background: var(--clr-white);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  box-shadow: var(--sh-xl);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-8));
}

.register-card__head {
  text-align: center;
  padding-bottom: var(--sp-8);
  margin-bottom: var(--sp-8);
  border-bottom: 1px solid var(--clr-border);
}

.register-card__head h3 {
  font-size: 1.5rem;
  color: var(--clr-navy);
  margin-bottom: var(--sp-1);
}

.register-card__head p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}

.register-card__price {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.price-main {
  display: block;
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.price-sub {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
}

.register-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.register-card__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--clr-text);
  font-weight: 500;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: var(--clr-navy-dark);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 900;
  line-height: 1;
}

.check-icon i {
  font-size: 0.625rem;
}

.register-card__urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  text-align: center;
}

.urgency-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  animation: pulse-red 2s ease-in-out infinite;
}

.urgency-dot--red {
  background: var(--clr-red);
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(239, 83, 80, 0); }
}

.register-card__secure {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--clr-text-faint);
  margin-top: var(--sp-2);
}


/* ============================================================
   13. FINAL CTA SECTION
   ============================================================ */
.final-cta {
  background:  var(--clr-navy);
  position: relative;
  overflow: hidden;
  text-align: center;
 border-bottom: 3px solid rgba(212, 169, 95, 0.35);
}

.final-cta .hero__bg-layer {
  background:
    radial-gradient(ellipse 80% 65% at 50% 50%, rgba(212, 169, 95, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212, 169, 95, 0.06) 0%, transparent 60%);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.final-cta__title {
  color: var(--clr-white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.final-cta__body {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin-bottom: var(--sp-10);
}

.final-cta__urgency {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.25rem;
  background: rgba(239, 83, 80, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.30);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  color: #FF8A88;
  font-weight: 500;
  margin-bottom: var(--sp-10);
}

.final-cta__footnote {
  margin-top: var(--sp-6);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
}


/* ============================================================
   14. FAQ SECTION
   ============================================================ */
.faq {
  background: var(--clr-beige);
}

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.faq-item {
  border: 1px solid var(--clr-beige-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: var(--sh-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq-item.active {
  border-color: rgba(212, 169, 95, 0.50);
  box-shadow: var(--sh-md);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-8);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-navy);
  text-align: left;
  background: var(--clr-white);
  font-family: var(--font-sans);
  transition: background var(--t-fast), color var(--t-fast);
}

.faq-item__q:hover {
  background: var(--clr-beige);
}

.faq-item.active .faq-item__q {
  background: var(--clr-beige);
  color: var(--clr-navy);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--clr-gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--t-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-item__a {
  max-height: 500px;
}

.faq-item__a p {
  padding: 0 var(--sp-8) var(--sp-8);
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}


/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--clr-navy);
  color: rgba(255, 255, 255, 0.70);
  padding: var(--sp-12) 0 var(--sp-6);
  border-top: none;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  padding-bottom: var(--sp-10);
  margin-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo-img {
  height: 50px;
  width: auto;
}

.footer__logo-fallback {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-gold);
}

.footer__logo-fallback i {
  font-size: 2rem;
}

.footer__nav {
  display: flex;
  gap: var(--sp-8);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast);
}

.footer__nav a:hover {
  color: var(--clr-gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.footer__left {
  flex: 1;
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer__copy a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__copy a:hover {
  color: var(--clr-white);
}

.footer__right {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.footer__socials {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all var(--t-base);
}

.social-btn:hover {
  background: rgba(212, 169, 95, 0.2);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-2px);
}

.footer__scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--clr-gold);
  border-radius: var(--r-sm);
  color: var(--clr-navy);
  font-size: 1.125rem;
  font-weight: 700;
  transition: all var(--t-base);
  box-shadow: 0 4px 12px rgba(212, 169, 95, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.footer__scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer__scroll-top:hover {
  /* background: var(--clr-gold-bright); */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 169, 95, 0.5);
}


/* ============================================================
   16. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays — problem cards */
.problems__grid .reveal:nth-child(1) { transition-delay: 0.00s; }
.problems__grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.problems__grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.problems__grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.problems__grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.problems__grid .reveal:nth-child(6) { transition-delay: 0.35s; }
.problems__grid .reveal:nth-child(7) { transition-delay: 0.42s; }
.problems__grid .reveal:nth-child(8) { transition-delay: 0.49s; }


/* ============================================================
   17. RESPONSIVE — 1200px (Large Desktop Adjustments)
   ============================================================ */
@media (max-width: 1200px) {
  .speaker__card {
    grid-template-columns: 280px 1fr;
    gap: var(--sp-10);
  }

  .details__layout {
    grid-template-columns: 1fr 380px;
    gap: var(--sp-10);
  }
}


/* ============================================================
   18. RESPONSIVE — 992px (Tablet: Collapse Nav)
   ============================================================ */
@media (max-width: 992px) {
  .header__nav {
    display: none;
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(8, 17, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--sp-6) var(--container-pad) var(--sp-8);
    gap: var(--sp-1);
    border-bottom: 1px solid rgba(212, 169, 95, 0.2);
    z-index: 99;
  }

  .header__nav.open a {
    font-size: 1rem;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .header__nav.open a:hover,
  .header__nav.open a.active {
    color: var(--clr-gold) !important;
  }

  .header__nav.open a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  /* Speaker */
  .speaker__card {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    padding: var(--sp-10);
  }

  .speaker__photo {
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }

  .speaker__photo img {
    width: 100%;
    height: 100%;
  }

  .speaker__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }

  .speaker__name {
    font-size: 1.875rem;
  }

  .speaker__role {
    font-size: 1rem;
  }

  /* Details */
  .details__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  /* Footer */
  .footer__nav {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-6);
    text-align: center;
  }
}


/* ============================================================
   19. RESPONSIVE — 768px (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sp-32: 5rem;
    --sp-24: 4rem;
    --sp-20: 3.5rem;
    --sp-16: 3rem;
    --container-pad: 1.25rem;
  }

  /* Section spacing */
  .section {
    padding-block: var(--sp-16);
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--sp-10);
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .section-tag {
    font-size: 0.75rem;
    margin-bottom: var(--sp-3);
  }

  /* Hero */
  .hero {
    text-align: center;
    padding-block-start: var(--sp-12);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__description {
    max-width: 100%;
  }

  .hero__meta {
    justify-content: center;
    gap: var(--sp-4);
  }

  .hero__meta-divider {
    display: none;
  }

  .hero__meta-item {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-1);
  }

  .hero__cta-group {
    align-items: center;
  }

  /* Hide header CTA button on mobile (hamburger menu is primary) */
  .header__cta {
    display: none;
  }

  /* Details section mobile layout */
  .details__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .details__info {
    gap: var(--sp-4);
  }

  .detail-row {
    padding: var(--sp-5) var(--sp-5);
    gap: var(--sp-4);
    flex-direction: row;
    align-items: flex-start;
  }

  .detail-row__icon {
    font-size: 1.125rem;
    width: 32px;
    margin-top: 2px;
  }

  .detail-row__label {
    font-size: 0.625rem;
  }

  .detail-row__value {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  /* Register card mobile */
  .register-card {
    position: static;
    padding: var(--sp-8);
    border-radius: var(--r-lg);
  }

  .register-card__head h3 {
    font-size: 1.375rem;
  }

  .register-card__head p {
    font-size: 0.8125rem;
  }

  .price-main {
    font-size: 2.75rem;
  }

  .price-sub {
    font-size: 0.75rem;
  }

  .register-card__list {
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
  }

  .register-card__list li {
    font-size: 0.875rem;
    gap: var(--sp-3);
  }

  .btn--full {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* Grids → single column */
  .problems__grid {
    grid-template-columns: 1fr;
  }

  /* Highlight box mobile adjustments */
  .problems__highlight-box {
    padding: var(--sp-8) var(--sp-6);
  }

  .highlight-box__icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
    margin-bottom: var(--sp-5);
  }

  .highlight-box__title {
    font-size: 1.5rem;
    margin-bottom: var(--sp-4);
  }

  .highlight-box__text {
    font-size: 0.9375rem;
  }

  /* Trust bar */
  .trust-divider {
    display: none;
  }

  .trust-bar__inner {
    gap: var(--sp-6);
  }

  .trust-number {
    font-size: 1.75rem;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  /* Speaker section mobile adjustments */
  .speaker__card {
    padding: var(--sp-8);
    gap: var(--sp-8);
  }

  .speaker__photo {
    aspect-ratio: 1 / 1;
    max-height: 100%;
  }

  .speaker__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
  }

  .speaker__name {
    font-size: 1.625rem;
  }

  .speaker__bio {
    font-size: 0.875rem;
  }

  /* FAQ */
  .faq-item__q {
    font-size: 0.9375rem;
    padding: var(--sp-5) var(--sp-6);
  }

  .faq-item__a p {
    padding: 0 var(--sp-6) var(--sp-6);
  }

  /* Footer */
  .footer__nav {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-5);
    text-align: center;
  }

  /* Scroll to top button */
  .footer__scroll-top {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}


/* ============================================================
   20. RESPONSIVE — 480px (Small Mobile)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --sp-32: 4rem;
    --sp-20: 3rem;
    --sp-16: 2.5rem;
    --sp-12: 2rem;
  }

  /* Typography */
  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .section-tag {
    font-size: 0.6875rem;
  }

  /* Header */
  .header__logo {
    gap: var(--sp-2);
  }

  .logo-text {
    font-size: 0.8125rem;
  }

  .logo-mark svg {
    width: 28px;
    height: 28px;
  }

  /* Hero */
  .hero__headline {
    font-size: 2.25rem;
  }

  .hero__meta {
    flex-direction: column;
    gap: var(--sp-5);
    padding: var(--sp-5) var(--sp-6);
  }

  .hero__meta-item {
    flex-direction: row;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
    gap: var(--sp-3);
  }

  .hero__meta-item > div {
    text-align: left;
  }

  .btn--xl {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Details section - more compact on small mobile */
  .details__layout {
    gap: var(--sp-8);
  }

  .details__info {
    gap: var(--sp-3);
  }

  .detail-row {
    padding: var(--sp-4) var(--sp-4);
    gap: var(--sp-3);
    border-radius: var(--r-sm);
  }

  .detail-row__icon {
    font-size: 1rem;
    width: 28px;
  }

  .detail-row__label {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
  }

  .detail-row__value {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Register card - compact version */
  .register-card {
    padding: var(--sp-6);
    border-radius: var(--r-md);
  }

  .register-card__head {
    padding-bottom: var(--sp-6);
    margin-bottom: var(--sp-6);
  }

  .register-card__head h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .register-card__head p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .price-main {
    font-size: 2.5rem;
  }

  .price-sub {
    font-size: 0.6875rem;
  }

  .register-card__list {
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
  }

  .register-card__list li {
    font-size: 0.8125rem;
    gap: var(--sp-2);
    line-height: 1.5;
  }

  .check-icon {
    width: 18px;
    height: 18px;
    font-size: 0.5625rem;
  }

  .btn--full {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .register-card__urgency {
    font-size: 0.75rem;
    margin-top: var(--sp-4);
  }

  .register-card__secure {
    font-size: 0.75rem;
  }

  /* Speaker section for small mobile */
  .speaker__card {
    padding: var(--sp-5);
    gap: var(--sp-6);
    border-left-width: 3px;
  }

  .speaker__photo {
    aspect-ratio: 4 / 5;
  }

  .speaker__badges {
    gap: var(--sp-2);
    justify-content: center;
  }

  .cred-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.625rem;
  }

  .speaker__name {
    font-size: 1.5rem;
  }

  .speaker__role {
    font-size: 0.9375rem;
  }

  .speaker__bio {
    font-size: 0.8125rem;
    line-height: 1.7;
  }

  .speaker__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .s-number {
    font-size: 1.25rem;
  }

  .s-label {
    font-size: 0.6875rem;
  }

  /* Trust bar */
  .trust-number {
    font-size: 1.5rem;
  }

  .trust-label {
    font-size: 0.6875rem;
  }

  /* Problem cards */
  .problem-card {
    padding: var(--sp-6);
  }

  /* FAQ */
  .faq-item__q {
    font-size: 0.875rem;
    padding: var(--sp-4) var(--sp-5);
  }

  .faq-item__a p {
    font-size: 0.875rem;
    padding: 0 var(--sp-5) var(--sp-5);
  }

  /* Footer */
  .footer__scroll-top {
    width: 44px;
    height: 44px;
    font-size: 0.875rem;
  }
}


/* ============================================================
   21. ACCESSIBILITY & REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Ensure reveal elements are always visible for reduced-motion users */
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
