/* Chen Chen Xpress — 2025 Premium Financial Services */
/* Optimized for performance, accessibility, and modern UX */

:root {
  /* 2025 Color System - Restored Brand Yellow */
  --bg: #ffffff;
  --bg-gradient: radial-gradient(1200px 800px at 70% -10%, rgba(254, 218, 21, 0.08), transparent 60%),
                 radial-gradient(800px 600px at 30% 20%, rgba(25, 227, 138, 0.06), transparent 50%),
                 linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-elevated: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-subtle: rgba(15, 23, 42, 0.04);
  
  /* Brand Colors - Yellow */
  --primary: #feda15;
  --primary-600: #feda15;
  --primary-700: #feda15;
  --primary-hover: #f8db4d;
  --primary-50: #fffbeb;
  --primary-100: #fef3c7;
  --accent: #19e38a;
  --accent-hover: #34f297;
  --accent-50: #ecfdf5;
  
  /* Semantic Colors - 2025 Professional */
  --success: #10b981;
  --success-50: #ecfdf5;
  --warning: #feda15;
  --warning-50: #fffbeb;
  --error: #ef4444;
  --error-50: #fef2f2;
  --info: #3b82f6;
  --info-50: #eff6ff;
  
  /* Modern Shadow System - Subtle & Professional */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.1), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 6px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.1), 0 4px 6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.1), 0 8px 10px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px rgba(15, 23, 42, 0.15);
  
  /* Modern Effects - Refined */
  --blur: 16px;
  --blur-sm: 8px;
  --glow: 0 0 0 4px var(--primary-100);
  --glow-accent: 0 0 0 4px var(--accent-50);
  
  /* Modern Spacing & Layout System */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Layout Constants */
  --topbar-height: 44px;
  --header-height: 76px;
  --top-offset: calc(var(--topbar-height) + var(--header-height));
  
  /* Animation System */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Performance & Modern Base Styles */
* {
  box-sizing: border-box;
}

/* Text Selection Color */
::selection {
  background-color: #feda15;
  color: #1a1a1a;
}

::-moz-selection {
  background-color: #feda15;
  color: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-gradient);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Loading State */
body.loading {
  overflow: hidden;
}

/* Focus Management */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Modern Typography System - 2025 Professional */
h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75em 0;
  color: var(--text);
  text-wrap: balance;
  line-height: 1.2;
}

h1 { 
  font-size: clamp(2.25rem, 6vw, 3.75rem); 
  line-height: 1.1; 
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 { 
  font-size: clamp(1.875rem, 4vw, 2.25rem); 
  line-height: 1.2; 
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
  line-height: 1.3; 
  font-weight: 600;
  letter-spacing: -0.015em;
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
}

.section h2 { 
  margin: 0 0 0.75em 0; 
}

/* Text Utilities */
.text-balance {
  text-wrap: balance;
}

.yellowi {
  color: #6acd6d;
}

.text-pretty {
  text-wrap: pretty;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip-link:focus {
  left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px;
}

/* Topbar */
.topbar {
  --tb-bg: var(--primary);
  --tb-text: #111827;
  --tb-muted: #7a5a00;
  --tb-line: rgba(17, 24, 39, 0.12);
  --tb-accent: #111827;
  position: sticky;
  top: 0;
  z-index: 60;
  /* Remove blur to avoid seam between bars */
  backdrop-filter: none;
  background: var(--tb-bg);
  border-bottom: 0;
  margin-bottom: 0;
}
.topbar .container.topbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 0;
  gap: 16px;
}
.tb-left, .tb-right { display: flex; align-items: center; gap: 16px; }
.tb-left:empty { display: none; }
.tb-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tb-text); text-decoration: none; font-weight: 600; font-size: 14px; }
.tb-link:hover { color: var(--tb-accent); }
.tb-muted { color: var(--tb-muted); font-weight: 500; }
.tb-icon { width: 18px; height: 18px; color: var(--tb-accent); display: inline-block; }
.tb-icon.wa { color: #25d366; }
.tb-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--tb-text); opacity: .35; }

/* Header */
.site-header {
  position: sticky;
  top: var(--topbar-height);
  z-index: 50;
  /* Remove blur to avoid seam between bars */
  backdrop-filter: none;
  background: #feda15;
  border-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
}
.brand-mark { height: 120px; width: auto; filter: drop-shadow(0 0 10px rgba(254, 218, 21, 0.15)); }
.brand-name { font-weight: 700; letter-spacing: 0.02em; }
.brand-subtitle { 
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-top: 2px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Base Navigation - Desktop First */
.nav { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
}

.nav a { 
  color: #1a1a1a; 
  text-decoration: none; 
  font-weight: 700; 
  padding: 10px 14px; 
  border-radius: 10px; 
}

.nav a:not(.btn):hover { 
  color: var(--text); 
  background: rgba(255,255,255,0.06); 
}

.nav a.active, .nav a[aria-current="page"] { 
  color: var(--text); 
  background: rgba(255,255,255,0.10); 
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); 
}

.nav a.btn, .nav a.btn-primary { 
  color: #1a1a1a !important; 
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-elevated);
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.faq-item h3 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Modern Mobile Menu Button - 2025 */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: var(--space-3);
  color: #ffffff;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.menu-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.menu-toggle svg { 
  display: block; 
  transition: transform var(--transition);
}

/* Modern hamburger animation */
.site-header.is-open .menu-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
  color: #025492;
}

.site-header.is-open .menu-toggle svg {
  transform: rotate(90deg);
  color: #025492;
}

/* Modern Button System - 2025 Professional */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.005em;
  background: var(--surface);
  color: var(--text);
}

.btn:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
}

.btn:active {
  transform: translateY(0);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Primary Button - Brand Yellow */
.btn-primary {
  color: #1a1a1a;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border-color: #feda15;
  box-shadow: 0 8px 24px rgba(254, 218, 21, 0.5), 0 0 0 3px rgba(254, 218, 21, 0.3);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
  transform: translateY(-2px);
}

.btn-primary:active {
  box-shadow: var(--shadow-sm), inset 0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(var(--blur-sm));
}

.btn-secondary:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}

.btn-ghost:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Special Effects */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #ceb217, #f8db4d);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

/* Loading State */
.btn-loading {
  color: transparent;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modern Hero Section - 2025 Professional Financial Theme */
.hero { 
  position: relative; 
  overflow: clip;
  padding: 0 0 var(--space-20);
  background: var(--bg-gradient);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.hero .container { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  align-items: start; 
  min-height: calc(100vh - var(--top-offset) - 8rem); 
  gap: var(--space-16);
  padding-top: var(--space-6);
}

.hero-text {
  animation: fadeInUp 0.8s var(--transition) forwards;
  animation-delay: 0.2s;
  opacity: 0;
  padding-top: 1rem;
}

.hero h1 { 
  color: var(--text);
  font-weight: 700;
  margin-bottom: var(--space-6);
  position: relative;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero h1::after {
  content: "";
  position: absolute;
  bottom: -var(--space-3);
  left: 0;
  width: var(--space-16);
  height: var(--space-1);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  opacity: 0.8;
}

.hero p { 
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 60ch; 
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.hero-ctas { 
  display: flex; 
  gap: var(--space-4); 
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--transition) forwards;
  animation-delay: 0.6s;
  opacity: 0;
  margin-top: var(--space-2);
}

/* Financial highlights in hero */
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-xl);
  background: #6acd6d; border: 1px solid #7aae7d;
  color: #043105; font-weight: 600; font-size: 0.8125rem;
}
.pill .coin { width: 16px; height: 16px; color: var(--primary-600); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.card.product { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.product-icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: var(--space-2); }
.badge-gold { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-xl); background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--primary-700); font-weight: 600; font-size: 0.75rem; }
.product-meta { display: flex; gap: var(--space-3); margin-top: var(--space-3); color: var(--text-secondary); font-weight: 500; font-size: 0.8125rem; }
.product-meta span::before { content: "• "; color: var(--primary); }

/* Stats blocks */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.stat-card { padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); text-align: center; box-shadow: var(--shadow-xs); }
.stat-value { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2rem); color: var(--primary); }
.stat-label { color: var(--text-secondary); margin-top: var(--space-2); font-weight: 500; font-size: 0.8125rem; }

/* Requirements & steps */
.req-steps { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.req-list, .step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req-item, .step-item { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.req-item .icon, .step-item .icon { width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }
.req-item strong, .step-item strong { color: var(--text); }

/* Responsive additions for new blocks */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: 1fr; }
  .req-steps { grid-template-columns: 1fr; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Hero Elements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #feda15, #feda15) !important;
  border: linear-gradient(135deg, #feda15, #feda15) !important;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(254, 218, 21, 0.2);
}

.badge-icon {
  font-size: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
}

.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: #374151;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.hero-trust {
  margin-top: 2rem;
}

.trust-indicators {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

.trust-icon {
  font-size: 1rem;
}

/* Enhanced Visual Elements */
.hero-graph-container {
  position: relative;
  height: min(64vh, 560px);
  display: grid;
  place-items: center;
}

.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.iso-card:hover .card-shine {
  left: 100%;
}

/* Enhanced Card System Additions */
.card-metric {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
}

.metric-label {
  font-size: 0.8125rem;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Trust Section */
.trust-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.06), 
    rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.trust-badge:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.trust-badge .badge-icon {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, 
    rgba(254, 218, 21, 0.15), 
    rgba(25, 227, 138, 0.1));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.badge-content strong {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9375rem;
}

.badge-content span {
  font-size: 0.8125rem;
  color: #374151;
}

/* Progress Bar for Wizard */
.wizard-progress {
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.04), 
    rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0.25rem;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* Enhanced Form States */
.auto-save-notice {
  background: linear-gradient(135deg, 
    rgba(25, 227, 138, 0.1), 
    rgba(25, 227, 138, 0.05));
  border: 1px solid rgba(25, 227, 138, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--success);
}

.btn-close {
  background: none;
  border: none;
  color: currentColor;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.btn-close:hover {
  opacity: 1;
}

.form-error-global {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.1), 
    rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.error-icon {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.success-state {
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Sub-hero for internal pages */
.sub-hero { 
  position: relative; 
  padding: var(--space-6) 0 40px; 
  border-bottom: 1px solid var(--line); 
}
.sub-hero .container { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 32px; 
  align-items: center; 
}
.sub-hero h1 { 
  color: var(--text); 
  font-size: clamp(32px, 4.2vw, 52px); 
  line-height: 1.1; 
}
.sub-hero p { 
  margin-top: 8px; 
  max-width: 62ch; 
}
.sub-hero .sub-visual { 
  height: 280px; 
  border-radius: 18px; 
  overflow: hidden; 
  border: 1px solid var(--line); 
  box-shadow: 0 18px 44px rgba(0,0,0,0.28); 
}
.sub-hero .sub-visual img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  filter: saturate(110%); 
}

.hero-bg { 
  display: none;
}

/* Light theme for all pages - Financial professional look */
body, 
body .section,
body.homepage,
body:not(.homepage) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
}

/* Ensure all internal pages use light theme */
body:not(.homepage) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body:not(.homepage) .sub-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  color: #0f172a;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  color: #0f172a !important;
  font-weight: 600;
}

/* Ensure all headings are dark on light backgrounds */
body:not(.homepage) h1,
body:not(.homepage) h2,
body:not(.homepage) h3,
body:not(.homepage) h4,
body:not(.homepage) h5,
body:not(.homepage) h6 {
  color: #0f172a !important;
}

body p {
  color: #1f2937;
  line-height: 1.7;
}

body .card p {
  color: #1f2937;
}

body .cta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 8px 20px rgba(15, 23, 42, 0.05);
}

body .cta-card h2 {
  color: #1a202c;
}

body .cta-card p {
  color: #1f2937;
}

body label span {
  color: #1f2937;
  font-weight: 600;
}

body input, body textarea, body select {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.16);
  color: #0f172a;
}

body input::placeholder, body textarea::placeholder, body select::placeholder {
  color: #6b7280;
}

body .testimonial blockquote {
  color: #1f2937;
}

body .testimonial .name {
  color: #1a202c;
}

body .testimonial .meta {
  color: #374151;
}

/* Dark background testimonials for historias.html */
.testimonial.card {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
  border: 1px solid #4b5563 !important;
  color: #ffffff !important;
}

.testimonial.card blockquote {
  color: #f9fafb !important;
}

.testimonial.card .name {
  color: #feda15 !important;
  font-weight: 600;
}

.testimonial.card .meta {
  color: #d1d5db !important;
}

.hero-visual { 
  position: relative; 
  height: min(64vh, 560px); 
  display: grid; 
  place-items: start center;
  margin-top: -1rem;
}

.hero-graph { 
  position: absolute; 
  width: 520px; 
  height: 520px; 
  opacity: 0.8; 
  filter: drop-shadow(0 24px 80px rgba(0,0,0,0.25)); 
  animation: float 12s ease-in-out infinite;
  z-index: 1;
}

.hero-graph-container { position: relative; width: 100%; height: 100%; }
.hero-graph-img { position: absolute; inset: auto 0 105px 0; margin: 0 auto; width: min(900px, 95%); height: auto; opacity: .95; filter: drop-shadow(0 30px 90px rgba(0,0,0,0.45)); z-index: 1; }

@keyframes float {
  0%, 100% { transform: translateY(-8px) rotate(0.5deg); }
  50% { transform: translateY(8px) rotate(-0.5deg); }
}

.isometric-cards { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; z-index: 5; }
.iso-card {
  position: relative; 
  width: 160px; 
  height: 120px; 
  border-radius: 16px; 
  padding: 16px; 
  color: #ffffff;
  background: linear-gradient(180deg, #374151, #1f2937);
  border: 1px solid #4b5563;
  transform: skewY(-6deg) rotate(-6deg); 
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 8px 16px rgba(0,0,0,0.15);
}
.iso-card span { 
  position: absolute; 
  bottom: 12px; 
  left: 12px; 
  font-weight: 600; 
  color: #ffffff;
}
.iso-icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 6px; }
/* Match old/ index color scheme */
.iso-icon.speed { background: linear-gradient(135deg, #19e38a, #6cf0b8); }
.iso-icon.trust { background: linear-gradient(135deg, #9fa6b2, #e5e7eb); }
.iso-icon.flexible { background: linear-gradient(135deg, #f8db4d, #feda15); }
.iso-emoji { position: absolute; top: -12px; right: -12px; font-size: 18px; line-height: 1; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2); padding: 6px; border-radius: 10px; }

.tiltable { transition: transform 0.12s ease-out; will-change: transform; }

/* Sections */
.section { 
  padding: var(--space-20) 0; 
}
.section-head { 
  text-align: center; 
  margin-bottom: var(--space-16); 
}
.section-head p { 
  margin-top: var(--space-2); 
}

/* Modern Card System - 2025 */
.card-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: var(--space-6);
}

.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-100), 
    transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  opacity: 1;
}

.glass { 
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
}

.card-elevated {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.04) 100%);
  box-shadow: var(--shadow);
}

.card-interactive {
  cursor: pointer;
  transition: all var(--transition);
}

.card-interactive:hover {
  transform: translateY(-6px) scale(1.02);
}

.card-interactive:active {
  transform: translateY(-2px) scale(1.01);
  transition: all var(--transition-fast);
}

.icon.premium { 
  width: 3.5rem; 
  height: 3.5rem; 
  color: var(--accent); 
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, 
    rgba(25, 227, 138, 0.15), 
    rgba(25, 227, 138, 0.05));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(25, 227, 138, 0.2);
}

.card h3 { 
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Content grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.media-card { 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 16px 40px rgba(0,0,0,0.25); 
}
.media-card img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.content-block { display: grid; gap: 12px; }
.content-block p { line-height: 1.75; }

/* How it works */
.steps { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  counter-reset: steps; 
}
.step { 
  position: relative; 
  padding: 22px; 
  border: 1px solid var(--line); 
  border-radius: var(--radius); 
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); 
}
.step-badge {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #0b1220;
  background: linear-gradient(180deg, var(--primary), var(--primary-600)); box-shadow: 0 10px 24px rgba(254, 218, 21, 0.3);
}
.step h3 { 
  margin-top: 12px; 
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.avatar { grid-row: span 2; }
.avatar-shape {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #1a1a1a;
  background: #feda15; border: 1px solid #f8db4d;
}
.testimonial blockquote { 
  margin: 0; 
  color: var(--text); 
  font-size: 18px; 
  line-height: 1.5; 
}
.testimonial .name { 
  font-weight: 600; 
}
.testimonial .meta { 
  color: var(--muted); 
  margin-left: 8px; 
}

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 8px 20px var(--shadow); }
.avatar-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 4px 12px var(--shadow); }

/* CTA */
.cta-final { position: relative; }
.cta-bg { display: none; }
.cta-card {
  position: relative; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
/* Contact Information Section */
.contact-info-wrapper {
  text-align: center;
  margin-bottom: var(--space-8);
}

.contact-info-wrapper .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.contact-info-wrapper .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.contact-info-card {
  text-align: center;
  padding: var(--space-8);
  transition: all var(--transition);
  cursor: default;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  color: var(--primary-700);
  transition: all var(--transition);
}

.contact-icon.whatsapp {
  background: linear-gradient(135deg, #dcf8c6 0%, #25d366 100%);
  color: #ffffff;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.contact-info-card p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.contact-info-card p a {
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.contact-info-card p a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.contact-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive adjustments for contact info */
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .contact-info-wrapper .section-title {
    font-size: 1.75rem;
  }
  
  .contact-info-card {
    padding: var(--space-6);
  }
  
  .contact-icon {
    width: 56px;
    height: 56px;
  }
}

/* Enhanced Form System */
.contact-form { 
  margin-top: 1.5rem; 
  display: grid; 
  gap: 1.5rem; 
}

.form-row { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 1rem; 
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label span { 
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.form-group.error label span {
  color: var(--error);
}

.form-group.success label span {
  color: var(--success);
}

input, textarea, select {
  width: 100%; 
  padding: var(--space-3) var(--space-4); 
  border-radius: var(--radius); 
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  outline: none; 
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}

/* Ensure visible select text and arrow on light backgrounds */
select {
  background-color: var(--surface);
  color: var(--text);
}

/* Force readable select styling across all themes */
body select,
body:not(.homepage) select {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

input:hover, textarea:hover, select:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow-sm);
}

input:focus, textarea:focus, select:focus { 
  border-color: var(--primary);
  box-shadow: var(--glow);
  background: var(--surface);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--error);
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: var(--success);
}

input::placeholder, 
textarea::placeholder, 
select::placeholder {
  color: #6b7280;
  opacity: 0.9;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-success {
  font-size: 0.8125rem;
  color: var(--success);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-note { 
  font-size: 0.8125rem; 
  color: #4b5563; 
  margin-top: 0.75rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--primary);
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

/* Checkbox and Radio Styling */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: var(--primary);
}

.checkbox-group,
.radio-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.checkbox-group label,
.radio-group label {
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

/* Footer */
.site-footer { 
  border-top: 1px solid var(--line); 
  padding: 18px 0; 
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); 
}
.site-footer .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 12px; 
}
.footer-left { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: #4b5563; 
}
.footer-right { 
  display: flex; 
  gap: 16px; 
}
.footer-right a { 
  color: #4b5563; 
  text-decoration: none; 
}
.footer-right a:hover { 
  color: #1f2937; 
}

/* Enhanced Animation System */
.reveal { 
  opacity: 0; 
  transform: translateY(2rem); 
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(2rem);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animations */
.reveal-stagger {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger:nth-child(6) { transition-delay: 0.6s; }

/* Loading and skeleton states */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.04) 25%, 
    rgba(255, 255, 255, 0.08) 50%, 
    rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 1rem auto;
}

/* Pulse animation for interactive elements */
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Bounce animation for CTAs */
.bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0, 0, 0); }
  40%, 43% { transform: translate3d(0, -8px, 0); }
  70% { transform: translate3d(0, -4px, 0); }
  90% { transform: translate3d(0, -2px, 0); }
}

/* Page transition effects */
.page-enter {
  opacity: 0;
  transform: translateY(1rem);
}

.page-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.page-exit {
  opacity: 1;
  transform: translateY(0);
}

.page-exit-active {
  opacity: 0;
  transform: translateY(-1rem);
  transition: all 0.3s ease;
}

/* Wizard */
.wizard { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.wizard-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; margin: 0 0 16px 0; }
.wizard-steps li { text-align: center; padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,0.06); color: var(--muted); font-weight: 600; border: 1px solid var(--line); }
.wizard-steps li.active { color: var(--text); background: rgba(254, 218, 21, 0.22); }
.wizard-steps li.done { color: var(--text); background: rgba(24, 208, 139, 0.15); border-color: rgba(24, 208, 139, 0.3); }
.wizard-panels { display: grid; gap: 14px; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }

/* Simple Form Styles */
.simple-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-subtle);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkbox-full {
  cursor: pointer;
  user-select: none;
}

.checkbox-full input[type="checkbox"] {
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-full:hover {
  opacity: 0.9;
}

/* Form validation states */
/* Only show validation after touch */
.touched:invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.touched:valid {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Signature pad */
.signature-section { margin-top: 1rem; }
.signature-pad {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.signature-pad canvas {
  width: 100%;
  height: 180px;
  background: #ffffff;
  border-radius: 8px;
  cursor: crosshair;
  display: block;
  border: 1px solid rgba(0,0,0,0.1);
}
.signature-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

/* Success message */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
  border-radius: var(--radius);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-success .success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.form-success h2 {
  color: var(--success);
  margin-bottom: 1rem;
}

.form-success .success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .simple-form {
    padding: 1.5rem;
  }
  
  .form-success .success-actions {
    flex-direction: column;
  }
}

/* Enhanced Mobile-First Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-6: 16px;
    --space-8: 24px;
    --space-12: 32px;
    --space-16: 48px;
    --space-20: 64px;
    --space-24: 80px;
  }

  .container {
    width: min(100%, calc(100% - 2rem));
    margin: 0 auto;
  }

  /* Enhanced Mobile Topbar */
  .topbar .container.topbar-row { 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.75rem 0; 
  }
  
  .tb-left, .tb-right { 
    gap: 1rem; 
    flex-wrap: wrap; 
    justify-content: center; 
  }
  
  /* Mobile Hero Vector Fix */
  .hero-graph-img { 
    bottom: 40px !important; 
    width: min(400px, 85%) !important; 
    transform: translateX(-50%) scale(0.8) !important;
  }

  /* Mobile Header - Center Logo */
  .site-header {
    width: 100% !important;
    min-height: 140px !important;
    padding: 1.5rem 0 !important;
  }
  
  .site-header .container {
    justify-content: space-between !important;
    position: relative;
    width: 100% !important;
    padding: 1rem 1rem !important;
    min-height: 120px !important;
    align-items: center !important;
  }
  
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  /* Modern Mobile Navigation - 2025 */
  .menu-toggle { 
    display: inline-flex;
    z-index: 1001;
    position: absolute;
    right: 0;
  }
  
  .nav { 
    position: fixed !important; 
    top: 120px !important; 
    left: 0 !important;
    right: 0 !important;
    height: calc(100vh - 120px) !important;
    display: none !important; 
    flex-direction: column !important; 
    padding: 2rem 1rem !important; 
    background: #ffffff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15) !important;
    z-index: 1000 !important;
    gap: 0.5rem !important;
    overflow-y: auto !important;
  }
  
  .site-header.is-open .nav { 
    display: flex !important; 
  }

  /* Clean backdrop overlay */
  .site-header.is-open::before {
    content: "";
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(4px);
    z-index: 999;
  }
  
  .nav a { 
    font-size: 1.1rem !important; 
    font-weight: 500 !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #0f172a !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
  }
  
  .nav a:hover {
    color: #0f172a !important;
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    transform: translateX(4px) !important;
  }
  
  .nav a.active,
  .nav a[aria-current="page"] {
    color: #0f172a !important;
    background: #fffbeb !important;
    border-color: #fef3c7 !important;
    font-weight: 600 !important;
  }
  
  .nav a.btn-primary {
    background: linear-gradient(135deg, #feda15, #feda15) !important;
    border-color: #feda15 !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.06) !important;
  }
  
  .nav a.btn-primary:hover {
    background: #ceb217 !important;
    color: #1a1a1a !important;
    border-color: #ceb217 !important;
    transform: translateX(0) translateY(-1px) !important;
    box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
  }

  /* Simple spacing between nav items */
  .nav a + a {
    margin-top: 0.25rem;
  }

  /* Enhanced Mobile Hero */
  .hero .container { 
    grid-template-columns: 1fr; 
    min-height: auto; 
    padding: var(--space-6) 0 var(--space-12);
    gap: var(--space-12);
    text-align: center;
  }
  
  .hero-visual { 
    height: 280px; 
    order: -1;
    margin-top: 0;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .isometric-cards { 
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .iso-card {
    width: 120px;
    height: 90px;
    padding: 0.75rem;
  }

  /* Mobile Card Grids */
  .card-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .steps { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .testimonial-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  /* Enhanced Mobile Forms */
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 1.25rem;
  }

  .contact-form {
    gap: 1.25rem;
  }

  /* Mobile Layout Adjustments */
  .sub-hero .container { 
    grid-template-columns: 1fr; 
    gap: var(--space-lg);
    text-align: center;
  }
  
  .sub-hero .sub-visual { 
    height: 200px; 
    order: -1;
  }
  
  .media-card img { 
    min-height: 200px; 
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Mobile Typography Adjustments */
  h1 { 
    font-size: clamp(2rem, 8vw, 3rem); 
  }
  
  h2 { 
    font-size: clamp(1.5rem, 6vw, 2rem); 
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-head {
    margin-bottom: var(--space-12);
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero .container {
    gap: var(--space-12);
  }

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

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

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-graph-img {
    bottom: 80px !important;
    width: min(720px, 90%) !important;
    transform: translateX(-50%) scale(0.9) !important;
  }
}

/* Large Screen Optimizations */
@media (min-width: 1400px) {
  .container {
    width: min(1200px, 90%);
  }

  .hero .container {
    gap: var(--space-24);
  }

  .section {
    padding: var(--space-24) 0;
  }
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brief-reviews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; }
.brief-reviews li { color: #e6eaf2; opacity: 0.9; }
@media (max-width: 768px) { .brief-reviews { grid-template-columns: 1fr; } }

/* Modern Header - 2025 Professional Theme */
.site-header {
  background: #025492;
  color: #ffffff;
  border-bottom: 0;
  box-shadow: none;
}
.site-header .nav a {
  color: #ffffff;
  font-weight: 1000;
}
.site-header .nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.site-header .nav a.active,
.site-header .nav a[aria-current="page"] {
  color: #025492;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}
.brand {
  color: var(--text);
  font-weight: 700;
}
.site-header .nav a.btn,
.site-header .nav a.btn-primary {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Ensure darkest text on active header CTA */
.site-header .nav a.btn-primary.active,
.site-header .nav a.btn-primary[aria-current="page"] {
  color: #0b1220 !important;
}

.site-header .nav a.btn,
.site-header .nav a.btn-primary {
  transition: none !important;
}

.site-header .nav a.btn:hover,
.site-header .nav a.btn-primary:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
  transition: none !important;
}

.site-header .nav a.btn-glow:hover::before {
  background: linear-gradient(135deg, #ceb217, #f8db4d) !important;
}

/* Fix main CTA button on homepage */
.hero-ctas .btn-primary {
  transition: none !important;
}

.hero-ctas .btn-primary:hover {
  background: #ceb217 !important;
  color: #1a1a1a !important;
  border-color: #ceb217 !important;
  box-shadow: 0 12px 28px rgba(206, 178, 23, 0.6), 0 0 0 4px rgba(206, 178, 23, 0.35) !important;
  transition: none !important;
}

.site-header .nav a.btn:active,
.site-header .nav a.btn-primary:active {
  color: #0b1220 !important;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(254, 218, 21, 0.6), 0 0 40px rgba(254, 218, 21, 0.4);
  }
  50% { 
    box-shadow: 0 0 30px rgba(254, 218, 21, 0.8), 0 0 60px rgba(254, 218, 21, 0.6);
  }
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #20ba5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: float-bounce 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
}

@keyframes float-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Legal bar readability */
.legal-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 0 24px;
  margin-top: 8px;
  border-top: 1px solid var(--line-subtle);
  color: #6b7280;
  font-size: 0.8125rem;
}
.legal-bar a {
  color: #374151;
  text-decoration: underline;
}
.legal-bar a:hover {
  color: #111827;
}

/* Responsive WhatsApp widget */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}


