/* Reset y Variables CSS */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* Tema Claro (Light Theme) */
:root,
[data-theme="light"] {
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --header-bg: rgba(255, 255, 255, 0.95);
  --card-bg: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.1);
}

/* Tema Oscuro (Dark Theme) */
[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --bg-light: #1f2937;
  --bg-white: #111827;
  --border-color: #374151;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --header-bg: rgba(17, 24, 39, 0.95);
  --card-bg: #1f2937;
  --hero-overlay: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

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

.section {
  padding: 4rem 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }

/* Typography */
.h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Botones específicos para secciones con fondo azul */
.btn-white {
  background-color: white;
  color: var(--text-primary);
  border: 2px solid white;
}

.btn-white:hover {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-primary);
  border: 2px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: #d97706;
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Botones específicos para la sección CTA */
.btn-success {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Header */
.header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  z-index: 1001;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

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

.theme-icon {
  width: 20px;
  height: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.theme-icon.sun {
  color: #f59e0b;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon.moon {
  color: #6366f1;
  opacity: 0;
  transform: rotate(180deg) scale(0);
  position: absolute;
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Navegación con botón de tema */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botones - Ajustes para Modo Oscuro */
[data-theme="dark"] .btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

[data-theme="dark"] .btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

[data-theme="dark"] .btn-white {
  background-color: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

[data-theme="dark"] .btn-white:hover {
  background-color: var(--bg-light);
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

[data-theme="dark"] .btn-accent {
  background-color: var(--accent-color);
  color: #1f2937;
  border: 2px solid var(--accent-color);
}

[data-theme="dark"] .btn-accent:hover {
  background-color: #f59e0b;
  color: #1f2937;
}

[data-theme="dark"] .btn-success {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

[data-theme="dark"] .btn-success:hover {
  background-color: #059669;
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8rem 0 6rem;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom;
  background-size: cover;
}

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

.hero-text h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-text .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.phone-mockup {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

.phone-svg {
  width: 100%;
  height: auto;
  max-width: 300px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* How It Works Section */
.how-it-works {
  background: var(--bg-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

/* Trust Layer Section */
.trust-layer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white !important;
  position: relative;
  overflow: hidden;
}

/* Trust Layer Dark Mode Adjustments */
[data-theme="dark"] .trust-layer {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .trust-layer h2,
[data-theme="dark"] .trust-layer .h2 {
  color: var(--text-primary) !important;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .trust-layer .lead {
  color: var(--text-secondary) !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .trust-feature h3,
[data-theme="dark"] .trust-feature .h3 {
  color: var(--text-primary) !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .trust-feature p {
  color: var(--text-secondary) !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

.trust-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.trust-layer .container {
  position: relative;
  z-index: 2;
}

.trust-layer h2,
.trust-layer .h2 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trust-layer .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-feature {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.trust-feature h3,
.trust-feature .h3 {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.trust-feature p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

.trust-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white !important;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* CTA Section */
.cta {
  background: var(--text-primary);
  color: white !important;
  text-align: center;
}

.cta h2,
.cta .h2 {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta p,
.cta .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary {
  background: var(--accent-color);
  color: var(--text-primary);
}

.cta .btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-3px);
}

/* CTA Dark Mode Adjustments */
[data-theme="dark"] .cta {
  background: var(--bg-light);
  color: var(--text-primary) !important;
}

[data-theme="dark"] .cta h2,
[data-theme="dark"] .cta .h2 {
  color: var(--text-primary) !important;
  text-shadow: none;
}

[data-theme="dark"] .cta p,
[data-theme="dark"] .cta .lead {
  color: var(--text-secondary) !important;
  text-shadow: none;
}

[data-theme="dark"] .cta .btn-primary {
  background: var(--accent-color);
  color: #1f2937;
  border: 2px solid var(--accent-color);
}

[data-theme="dark"] .cta .btn-primary:hover {
  background: #f59e0b;
  color: #1f2937;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

/* Footer Dark Mode Adjustments */
[data-theme="dark"] .footer {
  background: var(--bg-light);
  color: var(--text-primary);
}

[data-theme="dark"] .footer-section h3 {
  color: var(--accent-color);
}

[data-theme="dark"] .footer-section a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-section a:hover {
  color: var(--accent-color);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */

/* Tablet Portrait */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .h1 {
    font-size: 3rem;
  }
  
  .h2 {
    font-size: 2.25rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .trust-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Landscape & Tablet Portrait */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .h2 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .h3 {
    font-size: 1.375rem;
  }
  
  .lead {
    font-size: 1.125rem;
  }
  
  /* Header Mobile */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  .nav-links-mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    text-align: center;
  }
  
  .nav-links a {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-overlay {
    display: block;
  }
  
  /* Theme toggle en móvil */
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
  
  .theme-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Hero Mobile */
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .phone-mockup {
    max-width: 250px;
  }
  
  /* Components Mobile */
  .features-grid,
  .steps,
  .trust-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card,
  .trust-feature {
    padding: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .h2 {
    font-size: 1.75rem;
  }
  
  .h3 {
    font-size: 1.25rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Logo móvil más pequeño */
  .logo {
    font-size: 1.25rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  /* Hero ultra móvil */
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .phone-mockup {
    max-width: 200px;
  }
  
  /* Botones móviles */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.0625rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Cards móviles */
  .feature-card,
  .trust-feature {
    padding: 1.25rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .trust-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
  
  /* Footer móvil */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

/* Ultra pequeño (320px y menos) */
@media (max-width: 320px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .h1 {
    font-size: 1.75rem;
  }
  
  .h2 {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.125rem;
  }
  
  .logo img {
    height: 28px;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
}

/* Animations and Interactions */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-on-hover {
  transition: transform 0.3s ease;
}

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

/* Additional utility classes */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Mobile Optimizations */

/* Better touch targets for mobile */
@media (max-width: 768px) {
  /* Ensure all interactive elements are at least 44px */
  .btn,
  .nav-links a,
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve scroll behavior */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent zoom on form inputs */
  input, select, textarea {
    font-size: 16px;
  }
  
  /* Better focus states for accessibility */
  .btn:focus,
  .nav-links a:focus,
  .mobile-menu-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
  
  /* Optimize animations for mobile performance */
  .fade-in,
  .phone-mockup,
  .feature-card,
  .scale-on-hover {
    will-change: transform, opacity;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .phone-mockup {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-secondary: #000000;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* El sistema de temas maneja el modo oscuro dinámicamente */

/* Print styles */
@media print {
  .header,
  .mobile-menu-btn,
  .hero-buttons,
  .cta {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}