/* ============================================
   SEOwer Website - Estilos principales
   Diseño moderno, profesional y responsive
   ============================================ */

:root {
  --primary: #1476b0;
  --primary-dark: #0c486c;
  --primary-light: #60a5fa;
  --accent: #10b981;
  --accent-warm: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #5c7080;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --bg: #f4f6f9;
  --gradient-primary: linear-gradient(135deg, #1476b0 0%, #0c486c 100%);
  --gradient-hero: linear-gradient(135deg, #0c486c 0%, #1476b0 50%, #1e88c7 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(20, 118, 176, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.nav-brand .badge {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

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

.nav-menu a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(20, 118, 176, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 118, 176, 0.4);
  color: white;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: white;
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
}

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

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge h1 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.hero h2.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h2.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 28px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.hero-stat span {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  perspective: 1000px;
}

.mockup-window {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
}

.mockup-window:hover {
  transform: rotateY(0) rotateX(0);
}

.mockup-header {
  background: var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
}

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

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  background: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-500);
  margin-left: 8px;
}

.mockup-content {
  padding: 20px;
  min-height: 340px;
  background: var(--gray-50);
  position: relative;
}

.mockup-bar {
  background: var(--gradient-primary);
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  margin-bottom: 16px;
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.mockup-bar-logo {
  background: white;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 900;
}

.mockup-radar {
  width: 220px;
  height: 220px;
  margin: 20px auto;
  position: relative;
}

.mockup-score-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.mockup-score-card {
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.mockup-score-card strong {
  color: var(--primary);
  font-size: 14px;
}

/* ============================================
   SECTIONS GENERALES
   ============================================ */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(20, 118, 176, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
  background: var(--gray-50);
}

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

.feature-card {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(20, 118, 176, 0.25);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================
   BAR SHOWCASE
   ============================================ */
.bar-showcase {
  background: white;
}

.bar-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bar-showcase-content h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.bar-showcase-content > p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.bar-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-features-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bar-features-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  margin-top: 2px;
}

.bar-features-list strong {
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
}

.bar-features-list span {
  color: var(--gray-600);
  font-size: 14px;
}

.bar-demo {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.bar-demo-page {
  background: var(--gray-50);
  height: 380px;
  position: relative;
  padding-top: 50px;
}

.bar-demo-content {
  padding: 20px;
  height: 100%;
  background:
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
    repeating-linear-gradient(0deg, transparent 0, transparent 19px, var(--gray-200) 20px),
    repeating-linear-gradient(90deg, transparent 0, transparent 19px, var(--gray-200) 20px);
  background-blend-mode: normal;
}

.bar-demo-content h4 {
  color: var(--gray-700);
  margin-bottom: 8px;
}

.bar-demo-content p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.5;
}

.bar-mockup {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
}

.bar-mockup-logo {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.bar-mockup-logo span {
  background: white;
  color: var(--primary);
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 2px;
  font-size: 8px;
}

.bar-mockup-metric {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  border-right: 1px solid rgba(255,255,255,0.2);
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-mockup-metric:last-of-type {
  border-right: none;
}

.bar-mockup-score {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 900;
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================
   DASHBOARD SHOWCASE
   ============================================ */
.dashboard-showcase {
  background: var(--gray-50);
}

.dashboard-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0 12px 0;
}

.dashboard-tab {
  background: white;
  border: 2px solid var(--gray-200);
  padding: 9px 16px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dashboard-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dashboard-tab:hover,
.dashboard-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(20, 118, 176, 0.05);
}

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

.dashboard-screen {
  display: none;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.dashboard-screen.active {
  display: block;
  animation: fadeIn 0.5s;
}

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

.dashboard-screen-header {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-screen-header h4 {
  font-size: 15px;
  font-weight: 700;
}

.dashboard-screen-body {
  padding: 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 15px;
  text-align: center;
  background:
    linear-gradient(white, white),
    repeating-linear-gradient(45deg, var(--gray-100) 0 10px, transparent 10px 20px);
  background-blend-mode: normal;
}

.dashboard-screen-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.placeholder-img {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
  width: 100%;
}

.placeholder-img::before {
  content: '🖼️';
  display: block;
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* ============================================
   COMPETITOR COMPARISON
   ============================================ */
.competitor-section {
  background: white;
}

.competitor-table {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 900px;
  margin: 0 auto;
}

.competitor-table table {
  width: 100%;
  border-collapse: collapse;
}

.competitor-table th,
.competitor-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.competitor-table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.competitor-table tr:last-child td {
  border-bottom: none;
}

.competitor-table .badge-yes {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

.competitor-table .badge-no {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

/* ============================================
   GOOGLE DOCS CTA
   ============================================ */
.docs-cta {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.docs-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

.docs-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.docs-cta p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.docs-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.docs-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 13px;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: var(--primary-dark);
}

.docs-mockup {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  padding: 24px;
  color: var(--dark);
  transform: rotate(2deg);
  transition: var(--transition);
}

.docs-mockup:hover {
  transform: rotate(0);
}

.docs-mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.docs-mockup-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.docs-mockup-content {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-700);
}

.docs-mockup-score {
  background: linear-gradient(135deg, var(--accent), #34d399);
  color: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 16px;
}

.docs-mockup-score strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
}

.docs-mockup-score span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: var(--gray-50);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  background: white;
  padding: 36px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: white;
}

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

.testimonial {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.testimonial-info strong {
  display: block;
  color: var(--dark);
  font-size: 14px;
}

.testimonial-info span {
  color: var(--gray-500);
  font-size: 13px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -1px;
}

.final-cta p {
  font-size: 19px;
  opacity: 0.95;
  margin-bottom: 36px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn {
  position: relative;
  font-size: 17px;
  padding: 18px 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  color: white;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand .badge {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
}

.footer-desc {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--gray-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-400);
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--gray-50);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.legal-content .legal-date {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-top: 32px;
  margin-bottom: 14px;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content strong {
  color: var(--dark);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.footer-legal-links {
  display: inline;
  gap: 0;
}

.footer-legal-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.legal-content section {
  margin-bottom: 24px;
  padding: 0;
}

.legal-content section h2 {
  margin-top: 0;
}

/* ============================================
   INSTRUCCIONES PAGE
   ============================================ */
.instructions-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--gray-50);
}

.instructions-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.instructions-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.instructions-hero p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.instr-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.instr-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.instr-sidebar h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 16px;
  font-weight: 700;
}

.instr-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.instr-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.instr-toc a:hover,
.instr-toc a.active {
  background: rgba(20, 118, 176, 0.08);
  color: var(--primary);
}

.instr-content {
  background: white;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.instr-content section {
  padding: 0;
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.instr-content section:last-child {
  margin-bottom: 0;
}

.instr-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.instr-content h2 .num {
  background: var(--gradient-primary);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.instr-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-800);
  margin-top: 28px;
  margin-bottom: 12px;
}

.instr-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.instr-content p {
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.instr-content ul,
.instr-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.instr-content li {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.instr-content strong {
  color: var(--dark);
}

.instr-tip {
  background: rgba(20, 118, 176, 0.05);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.instr-tip strong {
  color: var(--primary-dark);
}

.instr-tip p {
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 14.5px;
}

.instr-img {
  margin: 24px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

/* Inline check for lists */
.check-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 10px;
  font-weight: bold;
  vertical-align: -2px;
  margin-right: 4px;
}

.check-inline::before {
  content: '✓';
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  position: relative;
  margin-left: 8px;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--gray-200);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher-btn:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-switcher-btn svg {
  width: 14px;
  height: 14px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 6px;
  z-index: 1000;
  display: none;
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.lang-dropdown-item:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.lang-dropdown-item.active {
  background: rgba(20, 118, 176, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.lang-dropdown-item .flag {
  font-size: 10px;
  font-weight: bold;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--dark);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  flex: 1;
  font-size: 14px;
  margin: 0;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-banner button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.cookie-banner button:hover {
  background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .hero-content,
  .bar-showcase-grid,
  .docs-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instr-layout {
    grid-template-columns: 1fr;
  }

  .instr-sidebar {
    position: static;
  }

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

  .hero h1 {
    font-size: 36px;
  }

  section {
    padding: 60px 0;
  }

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

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

  .nav-menu.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

  .legal-content,
  .instr-content {
    padding: 28px 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .dashboard-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}
