/* ========================================
   RetireAsia — Design System
   Target audience: 50+ Australians
   Design principles: Trust, clarity, warmth
   ======================================== */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ----- CSS Variables ----- */
:root {
  /* Colors — Premium Navy/Gold/White */
  --navy: #0B1D3A;
  --navy-light: #142D54;
  --navy-soft: #1A3A6B;
  --gold: #C9973F;
  --gold-light: #E8C36A;
  --gold-soft: #F5DFA0;
  --gold-glow: rgba(201, 151, 63, 0.15);
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --cream: #FDF9F0;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D4D4D4;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #1F2937;
  --success: #059669;
  --error: #DC2626;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;
  --container-padding: 0 24px;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 20px rgba(11, 29, 58, 0.1);
  --shadow-lg: 0 8px 40px rgba(11, 29, 58, 0.12);
  --shadow-xl: 0 16px 60px rgba(11, 29, 58, 0.15);
  --shadow-gold: 0 8px 30px rgba(201, 151, 63, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* Base 18px for senior readability */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

/* ----- Container ----- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 151, 63, 0.4);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 22px 52px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

/* ----- Navigation ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  font-size: 1.8rem;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-cta {
  padding: 12px 28px !important;
  font-size: 0.9rem !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-soft) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/hero.png') center/cover no-repeat;
  opacity: 0.2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.3) 0%, rgba(11, 29, 58, 0.8) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 63, 0.15);
  border: 1px solid rgba(201, 151, 63, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.4rem;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.trust-item svg,
.trust-item .trust-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-xl) + 8px);
  border: 2px solid rgba(201, 151, 63, 0.2);
  pointer-events: none;
}

/* ----- Pain Points Section ----- */
.pain-points {
  padding: var(--section-padding);
  background: var(--off-white);
  text-align: center;
}

.pain-points h2 {
  margin-bottom: 16px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.pain-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-smooth);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}

.pain-card .pain-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--gold-glow);
}

.pain-card h4 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}

.pain-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ----- Countries Section ----- */
.countries {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-align: left;
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.country-card .card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.country-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.country-card:hover .card-image img {
  transform: scale(1.05);
}

.country-card .card-image .country-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.country-card .card-body {
  padding: 28px 24px;
}

.country-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.country-card .country-highlight {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.country-card .country-stats {
  list-style: none;
  margin-top: 16px;
}

.country-card .country-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
}

.country-card .country-stats li .stat-icon {
  color: var(--gold);
}

/* ----- What's Inside Section ----- */
.whats-inside {
  padding: var(--section-padding);
  background: var(--navy);
  color: var(--white);
}

.whats-inside h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.whats-inside .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.inside-item {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
}

.inside-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.inside-item .inside-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.inside-item h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 12px;
}

.inside-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ----- Pricing Section ----- */
.pricing {
  padding: var(--section-padding);
  background: var(--off-white);
  text-align: center;
}

.pricing h2 {
  margin-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: left;
  border: 2px solid var(--gray-200);
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 24px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card .pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.pricing-card .pricing-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.pricing-card .pricing-price {
  margin-bottom: 24px;
}

.pricing-card .pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
}

.pricing-card .pricing-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  vertical-align: super;
}

.pricing-card .pricing-price .period {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.pricing-card .pricing-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-card .pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-card .pricing-features li .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ----- Testimonials ----- */
.testimonials {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  border: 1px solid var(--gray-200);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card .author-info strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-card .author-info span {
  color: var(--gray-500);
  font-size: 0.8rem;
}

/* ----- FAQ Section ----- */
.faq {
  padding: var(--section-padding);
  background: var(--off-white);
}

.faq .container {
  max-width: 800px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-toggle {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ----- Guarantee Section ----- */
.guarantee {
  padding: 80px 0;
  background: var(--cream);
  text-align: center;
}

.guarantee-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  border: 2px solid var(--gold-soft);
  box-shadow: var(--shadow-md);
}

.guarantee-box .guarantee-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.guarantee-box h3 {
  margin-bottom: 16px;
}

.guarantee-box p {
  color: var(--gray-700);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ----- CTA Section ----- */
.final-cta {
  padding: 120px 0;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-soft) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 63, 0.1) 0%, transparent 70%);
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 2.6rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
}

/* ----- Footer ----- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 32px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom .payment-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-bottom .payment-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ----- Lead Magnet Section ----- */
.lead-magnet {
  padding: 80px 0;
  background: var(--white);
}

.lead-magnet-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.lead-magnet-content h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.lead-magnet-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lead-magnet-desc strong {
  color: var(--gold-light);
}

.lead-magnet-includes {
  list-style: none;
}

.lead-magnet-includes li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 4px 0;
}

.lead-magnet-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.lead-magnet-form .form-group {
  margin-bottom: 16px;
}

.lead-magnet-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.lead-magnet-form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  transition: border-color var(--transition-fast);
  outline: none;
}

.lead-magnet-form input:focus {
  border-color: var(--gold);
}

.lead-magnet-form input::placeholder {
  color: var(--gray-300);
}

.form-privacy {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .lead-magnet-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* ----- Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 17px; }

  :root {
    --section-padding: 72px 0;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: var(--white);
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .inside-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
  }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero h1 { font-size: 2rem; }

  .guarantee-box {
    padding: 36px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =========================================
   CONVERSION RATE OPTIMIZATION (CRO) STYLES
   ========================================= */

/* ----- Exit Intent Popup ----- */
.exit-intent-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 29, 58, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 24px;
}

.exit-intent-overlay.active {
  opacity: 1;
  visibility: visible;
}

.exit-intent-popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-intent-overlay.active .exit-intent-popup {
  transform: translateY(0);
}

.exit-intent-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.exit-intent-popup h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.exit-intent-popup p {
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ----- Sticky Mobile CTA ----- */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 1px solid var(--gray-200);
}

.sticky-mobile-cta.visible {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block; /* Only active on mobile */
  }
}

/* ----- Scarcity Banner ----- */
.scarcity-banner {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  font-weight: 600;
  font-size: 0.95rem;
  animation: pulse-border 2s infinite;
  width: auto;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.scarcity-banner .pulse-dot {
  width: 10px;
  height: 10px;
  background: #EF4444;
  border-radius: 50%;
  position: relative;
}

.scarcity-banner .pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 2px solid #EF4444;
  animation: ripple 1.5s infinite ease-out;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
