/* ===================================
   CCSE Simulado — Landing Page Styles
   =================================== */

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

:root {
  --spain-red: #c60b1e;
  --spain-red-dark: #a00a18;
  --spain-red-light: #e8132a;
  --spain-yellow: #ffc400;
  --spain-yellow-light: #ffd740;
  --navy: #1a1a2e;
  --navy-dark: #0f0f1e;
  --navy-light: #16213e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --green: #10b981;
  --green-light: #d1fae5;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #f97316;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

/* =========== Typography =========== */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, var(--spain-red), var(--spain-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========== Buttons =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--spain-red);
  color: var(--white);
  border-color: var(--spain-red);
}

.btn-primary:hover {
  background: var(--spain-red-dark);
  border-color: var(--spain-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 11, 30, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--spain-red);
  color: var(--spain-red);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--spain-red);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-nav {
  background: var(--spain-red);
  color: var(--white);
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-nav:hover {
  background: var(--spain-red-dark);
}

/* =========== Navbar =========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 15, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-logo {
  color: var(--navy);
  text-shadow: none;
}

.flag-icon {
  width: 32px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-stripe {
  flex: 1;
}

.flag-red {
  background: var(--spain-red);
}

.flag-yellow {
  background: var(--spain-yellow);
  flex: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

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

.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--spain-red);
}

.navbar.scrolled .nav-links .btn-nav {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

/* =========== Hero =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(198, 11, 30, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 196, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(198, 11, 30, 0.05) 0%, transparent 70%);
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-el {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.el-1 { top: 15%; left: 5%; animation-delay: 0s; font-size: 3rem; }
.el-2 { top: 25%; right: 8%; animation-delay: 1s; }
.el-3 { top: 60%; left: 8%; animation-delay: 2s; }
.el-4 { bottom: 20%; right: 15%; animation-delay: 0.5s; font-size: 2.5rem; }
.el-5 { top: 10%; left: 45%; animation-delay: 1.5s; }
.el-6 { bottom: 30%; left: 35%; animation-delay: 3s; }

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

.hero-text {
  color: var(--white);
}

.hero-text h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-text h1 .text-gradient {
  background: linear-gradient(135deg, var(--spain-yellow), #ffe066);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--spain-yellow);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-top: 20px;
  max-width: 520px;
}

.hero-subtitle strong {
  color: var(--spain-yellow);
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-cta .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
}

.hero-cta .btn-outline:hover {
  border-color: var(--spain-yellow);
  color: var(--spain-yellow);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--navy);
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.social-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.social-text strong {
  color: var(--white);
}

/* Hero Visual — Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  background: var(--gray-800);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--gray-800);
  border-radius: 0 0 16px 16px;
  margin: -12px auto 0;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
}

.mock-header {
  background: var(--white);
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid var(--spain-red);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.mock-flag-icon {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    var(--spain-red) 0%, var(--spain-red) 25%,
    var(--spain-yellow) 25%, var(--spain-yellow) 75%,
    var(--spain-red) 75%, var(--spain-red) 100%
  );
}

.mock-progress-text {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.mock-progress-bar {
  height: 4px;
  background: var(--gray-200);
}

.mock-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--spain-red), var(--spain-yellow));
  border-radius: 4px;
  transition: width 1s ease;
}

.mock-question {
  padding: 20px 16px;
}

.mock-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.mock-q-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
}

.mock-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.mock-choice-selected {
  border-color: var(--spain-red);
  background: rgba(198, 11, 30, 0.04);
  color: var(--navy);
  font-weight: 600;
}

.mock-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-500);
  flex-shrink: 0;
}

.mock-circle-active {
  background: var(--spain-red);
  color: var(--white);
}

.mock-btn-answer {
  margin-top: 20px;
  background: var(--spain-red);
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Floating Result Card */
.result-card-float {
  position: absolute;
  bottom: 40px;
  right: -40px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

.result-emoji {
  font-size: 2rem;
  margin-bottom: 4px;
}

.result-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.05em;
}

.result-score {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* =========== Stats Bar =========== */
.stats-bar {
  padding: 60px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* =========== Section Headers =========== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(198, 11, 30, 0.08);
  color: var(--spain-red);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* =========== Features =========== */
.features {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-red { background: rgba(198, 11, 30, 0.1); color: var(--spain-red); }
.icon-yellow { background: rgba(255, 196, 0, 0.15); color: #d4a000; }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: var(--purple); }
.icon-orange { background: rgba(249, 115, 22, 0.1); color: var(--orange); }

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========== How It Works =========== */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  text-align: center;
  max-width: 280px;
  padding: 0 20px;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(198, 11, 30, 0.08);
  line-height: 1;
  margin-bottom: 20px;
}

.step-visual {
  margin-bottom: 20px;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(198, 11, 30, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
  background: rgba(198, 11, 30, 0.12);
  transform: scale(1.05);
}

.step-card h3 {
  margin-bottom: 10px;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.step-connector {
  margin-top: 80px;
  color: var(--gray-300);
  flex-shrink: 0;
}

/* =========== Exam Preview =========== */
.exam-preview {
  padding: 100px 0;
  background: var(--gray-50);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.preview-text h2 {
  margin-bottom: 20px;
}

.preview-text > p {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.preview-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}

.preview-list li svg {
  flex-shrink: 0;
}

/* Browser Mockup */
.browser-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-family: monospace;
}

.browser-content {
  padding: 0;
}

/* Mock Dashboard */
.mock-dashboard {
  padding: 20px;
}

.mock-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.mock-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.mock-wave {
  font-size: 1.5rem;
}

.mock-name {
  font-weight: 700;
  font-size: 1rem;
}

.mock-sub {
  font-size: 0.8rem;
  opacity: 0.7;
}

.mock-start-btn {
  background: var(--spain-red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mock-stat-card {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

.mock-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.mock-stat-label {
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.mock-stat-green .mock-stat-num { color: var(--green); }
.mock-stat-red .mock-stat-num { color: var(--spain-red); }
.mock-stat-yellow .mock-stat-num { color: #d4a000; }

.mock-history-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.mock-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: 0.78rem;
}

.mock-score-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.mock-score-pass { background: var(--green); }
.mock-score-fail { background: #ef4444; }

.mock-history-info {
  flex: 1;
  font-weight: 600;
  color: var(--navy);
}

.mock-history-date {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 400;
}

.mock-badge-pass {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.mock-badge-fail {
  background: #fee2e2;
  color: #ef4444;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* =========== Pricing =========== */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  border-color: var(--spain-red);
  background: linear-gradient(180deg, rgba(198, 11, 30, 0.02) 0%, var(--white) 100%);
  transform: scale(1.03);
}

.pricing-featured:hover {
  border-color: var(--spain-red);
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 40px rgba(198, 11, 30, 0.15);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--spain-red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.pricing-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 28px 0;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* =========== Testimonials =========== */
.testimonials {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

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

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  color: var(--spain-yellow);
  font-size: 1.2rem;
}

.testimonial-card > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

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

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

/* =========== FAQ =========== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--spain-red);
  box-shadow: 0 4px 12px rgba(198, 11, 30, 0.08);
}

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

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

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--spain-red);
}

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

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

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========== Final CTA =========== */
.final-cta {
  padding: 100px 0;
  background: var(--gray-50);
}

.cta-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-spain-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-flag-stripe {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.06;
}

.cta-stripe-1 {
  background: var(--spain-red);
  top: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
}

.cta-stripe-2 {
  background: var(--spain-yellow);
  bottom: -80px;
  right: -40px;
  width: 350px;
  height: 350px;
}

.cta-card h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-bottom: 36px;
  position: relative;
}

.cta-buttons {
  position: relative;
}

/* =========== Footer =========== */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand .nav-logo {
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* =========== Responsive =========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 20px auto 0;
  }

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

  .hero-social-proof {
    justify-content: center;
  }

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

  .preview-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }

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

  .nav-links a {
    color: var(--gray-600) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .phone-mockup {
    width: 280px;
  }

  .phone-screen {
    min-height: 420px;
  }

  .result-card-float {
    right: -10px;
    bottom: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    margin-top: 0;
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-4px);
  }

  .cta-card {
    padding: 50px 30px;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .phone-mockup {
    width: 260px;
  }
}
