/* ====================================
   CSS Variables & Global Styles - Rivalytic Landing
   ==================================== */

:root {
  /* Instagram color palette */
  --color-primary: #0095F6;
  --color-primary-hover: #0084E0;
  --color-instagram-pink: #E1306C;
  --color-instagram-purple: #C13584;
  --color-instagram-blue: #405DE6;
  --color-like-red: #ED4956;
  --color-success-green: #00D95F;

  /* Background colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #FAFAFA;
  --color-bg-tertiary: #F5F5F5;

  /* Border colors */
  --color-border: #DBDBDB;
  --color-border-light: #EFEFEF;

  /* Text colors */
  --color-text-primary: #262626;
  --color-text-secondary: #8E8E8E;
  --color-text-tertiary: #C7C7C7;
  --color-text-link: #00376B;

  /* Spacing scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ====================================
   CSS Reset & Base Styles
   ==================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
}

body {
  line-height: 1.6;
  padding-top: 4rem; /* Espacio para el navbar fijo (64px) */
}

/* ====================================
   Navbar/Header
   ==================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.navbar-logo:hover {
  opacity: 0.8;
}

.logo-image {
  width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #405DE6 100%);
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.navbar-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.navbar-link:hover {
  color: var(--color-text-primary);
}

.navbar-cta {
  background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: none;
  transition: all 0.3s ease;
}

.navbar-cta:hover {
  background: linear-gradient(135deg, #C13584, #833AB4, #5851DB);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(193, 53, 132, 0.4);
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1rem;
  }

  .navbar-menu {
    display: none; /* Ocultar en móvil - se puede agregar menú hamburguesa después */
  }

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

/* ====================================
   Hero Section
   ==================================== */

.hero {
  padding: 6rem 1rem 4rem;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.05), rgba(193, 53, 132, 0.05), rgba(64, 93, 230, 0.05));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225, 48, 108, 0.1), transparent);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(64, 93, 230, 0.1), transparent);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Splash Intro Overlay - Oculto por defecto, JS lo activa si debe mostrarse */
.splash-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #E1306C, #C13584, #405DE6);
  display: none; /* Oculto por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9999;
  pointer-events: none;
}

/* Mostrar splash cuando está activo */
.splash-intro.splash-active {
  display: flex;
  animation: splashFadeOut 2.5s ease-in-out forwards;
}

.splash-button {
  padding: 1rem 2.5rem;
  background: white;
  color: #C13584;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  pointer-events: auto;
  animation: splashTextShrink 2.5s ease-in-out forwards;
  transition: transform 0.2s ease;
}

.splash-button:hover {
  transform: scale(1.05);
}

.splash-intro span {
  color: white;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  padding: 0 2rem;
  animation: splashTextShrink 2.5s ease-in-out forwards;
}

@keyframes splashFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
    visibility: hidden;
  }
}

@keyframes splashTextShrink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  60% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}


.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title-gradient {
  background: linear-gradient(to right, #E1306C, #C13584, #405DE6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: linear-gradient(to right, #E1306C, #C13584, #405DE6);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.hero-support-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Formulario del Hero */
.email-form-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  min-width: 70%;
}

.email-form-hero .form-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .email-form-hero .form-inputs {
    flex-direction: row;
  }
}

.email-input-hero {
  flex: 1;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  background: white;
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.email-input-hero::placeholder {
  color: var(--color-text-secondary);
}

.email-input-hero:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 149, 246, 0.1);
}

.email-submit-hero {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to right, #E1306C, #C13584, #405DE6);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.email-submit-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.email-submit-hero:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Language selector for Hero form */
.language-select-hero {
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  min-width: 90px;
}

.language-select-hero:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 149, 246, 0.1);
}

.language-select-hero:hover {
  border-color: var(--color-primary);
}

.hero-support-text strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ====================================
   Scroll Animations Base
   ==================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

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

/* ====================================
   Section Title - Modern Style
   ==================================== */

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

/* ====================================
   Benefits Section - Bento Grid Style
   ==================================== */

.benefits {
  padding: 6rem 1rem;
  background: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225, 48, 108, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  perspective: 1000px; /* Perspectiva para efecto 3D */
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
  }

  .benefit-card:nth-child(1) {
    grid-column: span 7;
  }

  .benefit-card:nth-child(2) {
    grid-column: span 5;
  }

  .benefit-card:nth-child(3) {
    grid-column: span 12;
  }
}

.benefit-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E1306C, #C13584, #405DE6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto hover con sombra elevada */
.benefit-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

/* Transición suave al salir del hover */
.benefit-card.tilt-reset {
  transition: transform 0.5s ease-out, box-shadow 0.3s ease;
}

.benefit-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #E1306C, #405DE6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.benefit-description {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.benefit-description strong {
  color: var(--color-text-primary);
}

/* Third card special layout */
@media (min-width: 768px) {
  .benefit-card:nth-child(3) {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
  }

  .benefit-card:nth-child(3) .benefit-number {
    font-size: 5rem;
  }
}

/* ====================================
   Why Now Section - Stats & Impact
   ==================================== */

.why-now {
  padding: 6rem 1rem;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  position: relative;
}

.why-now-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Stats en horizontal */
.why-now-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(225, 48, 108, 0.3), transparent);
}

@media (max-width: 640px) {
  .why-now-stats {
    gap: 1.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

.why-now-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .why-now-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-now-stat {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.why-now-stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(225, 48, 108, 0.3), transparent);
}

.why-now-stat:last-child::after {
  display: none;
}

@media (max-width: 767px) {
  .why-now-stat::after {
    display: none;
  }
}

.stat-number {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #E1306C, #C13584, #405DE6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.why-now-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-now-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px -10px rgba(225, 48, 108, 0.2);
}

.feature-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #E1306C, #405DE6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 3;
}

.feature-text {
  font-size: 1.05rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

.feature-text strong {
  font-weight: 700;
}

.impact-quote {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.05), rgba(64, 93, 230, 0.05));
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.impact-quote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #E1306C, #405DE6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  line-height: 1;
}

.impact-quote p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ====================================
   How It Works Section - Timeline Style
   ==================================== */

.how-it-works {
  padding: 6rem 1rem;
  background: var(--color-bg-secondary);
  position: relative;
  overflow: visible;
}

.how-it-works::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(64, 93, 230, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.steps-wrapper {
  position: relative;
  margin-top: 4rem;
}

/* Timeline line */
.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #E1306C, #C13584, #405DE6);
  opacity: 0.2;
  display: none;
}

@media (min-width: 768px) {
  .steps-wrapper::before {
    display: block;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  perspective: 1000px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.step-card {
  text-align: center;
  padding: 0;
  background: transparent;
  position: relative;
  transform-style: preserve-3d;
}

.step-number-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, #E1306C, #C13584, #405DE6);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px -10px rgba(225, 48, 108, 0.3);
}

.step-number span {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #E1306C, #405DE6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-content {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.step-content:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.step-content.tilt-reset {
  transition: transform 0.5s ease-out, box-shadow 0.3s ease;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.step-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* ====================================
   FAQ Section
   ==================================== */

.faq-section {
  padding: 5rem 1rem;
  background: var(--color-bg-primary);
}

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

.faq-list {
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--color-bg-secondary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ====================================
   Email Capture Section
   ==================================== */

.email-capture {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #E1306C, #C13584, #405DE6);
  color: white;
  text-align: center;
}

.email-capture-container {
  max-width: 700px;
  margin: 0 auto;
}

.email-capture h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.email-capture p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.email-form .form-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .email-form .form-inputs {
    flex-direction: row;
  }
}

.email-input {
  flex: 1;
  padding: 1.25rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.25);
}

.email-submit {
  padding: 1.25rem 2.5rem;
  background: white;
  color: var(--color-instagram-pink);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.email-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Language selector for Email Capture section */
.language-select {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  min-width: 90px;
}

.language-select:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.25);
}

.language-select:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

.language-select option {
  background: #333;
  color: white;
}

.email-note {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ====================================
   Footer
   ==================================== */

.footer {
  padding: 3rem 1rem;
  background-color: var(--color-text-primary);
  color: white;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #E1306C, #C13584, #405DE6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====================================
   Responsive Typography
   ==================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .impact-quote {
    font-size: 1.3rem;
  }

  .email-capture h2 {
    font-size: 2rem;
  }
}

/* ====================================
   Utilities
   ==================================== */

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Success Message */
.success-message {
  background: var(--color-success-green);
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================
   Language Selector
   ==================================== */

.language-selector {
  position: relative;
}

.language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.language-button:hover {
  border-color: #A855F7;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.2);
}

.flag {
  font-size: 1.25rem;
  line-height: 1;
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 10rem;
  z-index: 1000;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: white;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  text-align: left;
  text-decoration: none;
}

.language-option:hover {
  background-color: var(--color-bg-tertiary);
}

.language-option.active {
  background-color: #F3E8FF;
  color: #9333EA;
  font-weight: 500;
}

.language-option .flag {
  font-size: 1.125rem;
}

@media (max-width: 640px) {
  .language-button {
    width: 2rem;
    height: 2rem;
  }

  .flag {
    font-size: 1rem;
  }
}
