/*
* Academia de Inversiones - Estilos principales
* Diseño moderno con elementos UI volumétricos
* Esquema de color complementario
* Animaciones de partículas
* Fuentes: Manrope (títulos) y Rubik (texto)
*/

/* ===== Variables CSS ===== */
:root {
  /* Colores primarios */
  --primary-color: #1a56db;
  --primary-dark: #0f3d9e;
  --primary-light: #3b7efc;
  
  /* Colores complementarios */
  --complementary-color: #db7a1a;
  --complementary-dark: #a85c0f;
  --complementary-light: #ff9b3b;
  
  /* Colores neutrales */
  --neutral-100: #ffffff;
  --neutral-200: #f7f9fc;
  --neutral-300: #edf2f7;
  --neutral-400: #e2e8f0;
  --neutral-500: #cbd5e0;
  --neutral-600: #a0aec0;
  --neutral-700: #718096;
  --neutral-800: #4a5568;
  --neutral-900: #2d3748;
  --neutral-950: #1a202c;
  
  /* Colores de acento */
  --accent-success: #38a169;
  --accent-warning: #f6ad55;
  --accent-danger: #e53e3e;
  --accent-info: #4299e1;
  
  /* Tipografía */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Espaciado */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Radios de borde */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-outline: 0 0 0 3px rgba(66, 153, 225, 0.5);
  
  /* Animaciones */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Contenedor */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--neutral-900);
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--space-xl);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal) var(--transition-ease);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-md);
}

/* ===== Utilidades ===== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--complementary-color));
  margin: var(--space-sm) auto 0;
  border-radius: var(--radius-full);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  color: var(--neutral-700);
  font-size: 1.125rem;
}

/* ===== Botones ===== */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal) var(--transition-ease);
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn.primary, 
button.primary, 
input[type="submit"].primary {
  background-color: var(--primary-color);
  color: var(--neutral-100);
}

.btn.primary:hover, 
button.primary:hover, 
input[type="submit"].primary:hover {
  background-color: var(--primary-dark);
}

.btn.secondary, 
button.secondary, 
input[type="submit"].secondary {
  background-color: var(--complementary-color);
  color: var(--neutral-100);
}

.btn.secondary:hover, 
button.secondary:hover, 
input[type="submit"].secondary:hover {
  background-color: var(--complementary-dark);
}

.btn.outline, 
button.outline, 
input[type="submit"].outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn.outline:hover, 
button.outline:hover, 
input[type="submit"].outline:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100);
}

/* ===== Header y Navegación ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--neutral-100);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal) var(--transition-ease);
}

.header.scrolled {
  padding: var(--space-sm) 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo {
  z-index: 1001;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop ul li {
  margin-left: var(--space-lg);
}

.nav-desktop ul li a {
  color: var(--neutral-800);
  font-weight: 500;
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-desktop ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal) var(--transition-ease);
}

.nav-desktop ul li a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-desktop ul li a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--neutral-900);
  transition: all var(--transition-normal) var(--transition-ease);
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right var(--transition-normal) var(--transition-ease);
  z-index: 1000;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-mobile ul li {
  margin-bottom: var(--space-xl);
}

.nav-mobile ul li a {
  font-size: 1.5rem;
  color: var(--neutral-900);
  font-weight: 600;
}

.nav-mobile ul li a:hover {
  color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
  padding: var(--space-4xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 80px;
  color: var(--neutral-100);
}

.hero-content {
  max-width: 700px;
  z-index: 1;
  position: relative;
}

.hero h1 {
  color: var(--neutral-100);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--neutral-100);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .count {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral-100);
  font-family: var(--font-heading);
}

.stat-item .label {
  font-size: 1rem;
  color: var(--neutral-300);
}

/* ===== Features Section ===== */
.features {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal) var(--transition-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}

.feature-icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 0 auto;
}

.feature-card h3 {
  margin-bottom: var(--space-md);
  color: var(--neutral-900);
}

.feature-card p {
  color: var(--neutral-700);
}

/* ===== Methodology Section ===== */
.methodology {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-200);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.timeline-item {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: var(--space-3xl);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--neutral-100);
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.timeline-content {
  width: calc(50% - 40px);
  padding: var(--space-lg);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content h3 {
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.timeline-content p {
  margin-bottom: var(--space-lg);
  color: var(--neutral-700);
}

.timeline-content img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-100);
}

.services-carousel {
  margin-bottom: var(--space-2xl);
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-normal) var(--transition-ease);
}

.card {
  flex: 0 0 100%;
  max-width: 350px;
  margin: 0 var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: linear-gradient(135deg, var(--complementary-color), var(--complementary-light));
  color: var(--neutral-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1;
}

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-details {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  width: 100%;
}

.price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
}

.carousel-prev, .carousel-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--neutral-100);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 var(--space-sm);
  border: none;
  font-size: 1.25rem;
  transition: background-color var(--transition-normal) var(--transition-ease);
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: var(--primary-dark);
}

.carousel-dots {
  display: flex;
  gap: var(--space-sm);
  margin: 0 var(--space-md);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--neutral-400);
  cursor: pointer;
  transition: background-color var(--transition-normal) var(--transition-ease);
}

.dot.active, .dot:hover {
  background-color: var(--primary-color);
}

.progress-container {
  margin-top: var(--space-3xl);
}

.progress-container h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.progress-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.progress-timeline::before {
  content: '';
  position: absolute;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--complementary-light));
  top: 25px;
  left: 30px;
  right: 30px;
  border-radius: var(--radius-full);
}

.progress-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-md);
}

.step-content {
  padding: 0 var(--space-sm);
}

.step-content h4 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--neutral-700);
}

/* ===== Resources Section ===== */
.resources {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-200);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.resource-card {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal) var(--transition-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-card .card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.resource-card .card-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--neutral-900);
}

.resource-card p {
  color: var(--neutral-700);
  margin-bottom: var(--space-lg);
}

.resource-card .btn {
  margin-top: auto;
}

/* ===== Insights Section ===== */
.insights {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-100);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.insight-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal) var(--transition-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-card .card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.insight-card .card-date {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--neutral-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.insight-card .card-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.insight-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.insight-card p {
  color: var(--neutral-700);
  margin-bottom: var(--space-lg);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow-y: auto;
  padding: var(--space-lg);
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  color: var(--neutral-700);
  cursor: pointer;
  transition: color var(--transition-normal) var(--transition-ease);
}

.modal-close:hover {
  color: var(--accent-danger);
}

.modal-content h3 {
  padding: var(--space-lg) var(--space-lg) 0;
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
  border-bottom: 1px solid var(--neutral-300);
}

.modal-body {
  padding: 0 var(--space-lg) var(--space-lg);
}

.modal-body img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.modal-body p {
  margin-bottom: var(--space-md);
}

/* ===== Partners Section ===== */
.partners {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-200);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.partner-logo {
  background-color: var(--neutral-100);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal) var(--transition-ease);
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.testimonials {
  margin-top: var(--space-2xl);
}

.testimonials h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: flex;
  justify-content: center;
}

.testimonial-content {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-bottom: var(--space-md);
  text-align: center;
}

.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: var(--neutral-100) transparent transparent;
}

.testimonial-content p {
  font-style: italic;
  color: var(--neutral-800);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.author-info span {
  color: var(--neutral-600);
  font-size: 0.875rem;
}

/* ===== Contact Section ===== */
.contact {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-100);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info p {
  margin-bottom: var(--space-xl);
  color: var(--neutral-700);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--neutral-100);
  flex-shrink: 0;
}

.contact-item .info h4 {
  margin-bottom: var(--space-xs);
  color: var(--neutral-900);
}

.contact-item .info p {
  margin-bottom: 0;
  color: var(--neutral-700);
}

.social-links h4 {
  margin-bottom: var(--space-md);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--neutral-200);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal) var(--transition-ease);
  font-weight: 500;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  justify-content: center;
}

.form-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
}

.form-card h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--primary-color);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--neutral-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-400);
  border-radius: var(--radius-md);
  background-color: var(--neutral-100);
  transition: border-color var(--transition-normal) var(--transition-ease), box-shadow var(--transition-normal) var(--transition-ease);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--neutral-950);
  color: var(--neutral-400);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

.footer-logo p {
  color: var(--neutral-500);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer-column h4 {
  color: var(--neutral-100);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  color: var(--neutral-500);
  transition: color var(--transition-normal) var(--transition-ease);
}

.footer-column ul li a:hover {
  color: var(--neutral-100);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.footer-payments img {
  max-width: 240px;
  height: auto;
}

/* ===== Success Page ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--neutral-200);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--accent-success);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
  color: var(--neutral-100);
  font-size: 3rem;
}

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

.success-content h1 {
  color: var(--accent-success);
  margin-bottom: var(--space-md);
}

.success-content p {
  margin-bottom: var(--space-xl);
  font-size: 1.125rem;
}

/* ===== Privacy & Terms Pages ===== */
.legal-page {
  padding: 120px var(--space-lg) var(--space-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: var(--space-xl);
  color: var(--primary-color);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
  color: var(--primary-dark);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.legal-page ul li {
  margin-bottom: var(--space-sm);
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(5px, -5px) rotate(5deg);
  }
  50% {
    transform: translate(0, -10px) rotate(0deg);
  }
  75% {
    transform: translate(-5px, -5px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 15s infinite ease-in-out;
}

/* ===== Media Queries ===== */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: var(--space-3xl) 0;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }
  
  .progress-timeline {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .progress-timeline::before {
    display: none;
  }
  
  .progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
  
  .step-content {
    text-align: left;
  }
  
  .partner-logo {
    height: 80px;
  }
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-form {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .insights-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
  
  .stat-item {
    width: 100%;
  }
}