/* Global Styles */
:root {
  --primary-color: #ff3131;
  --primary-dark: #e02b2b;
  --primary-light: #ff6b6b;
  --text-color: #1e293b;
  --text-light: #475569;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  --animation-duration: 0.3s;
  --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
}

/* Modern Theme Colors - Updated to brighter colors */
.theme-modern {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.theme-dark {
  --primary-color: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.theme-purple {
  --primary-color: #a855f7;
  --primary-dark: #9333ea;
  --primary-light: #c084fc;
  --gradient: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

.theme-orange {
  --primary-color: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;
  --gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

/* New Bright Theme Colors */
.theme-pink {
  --primary-color: #ec4899;
  --primary-dark: #db2777;
  --primary-light: #f472b6;
  --gradient: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.theme-cyan {
  --primary-color: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #22d3ee;
  --gradient: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.theme-yellow {
  --primary-color: #eab308;
  --primary-dark: #ca8a04;
  --primary-light: #facc15;
  --gradient: linear-gradient(135deg, #eab308 0%, #facc15 100%);
}

.theme-lime {
  --primary-color: #84cc16;
  --primary-dark: #65a30d;
  --primary-light: #a3e635;
  --gradient: linear-gradient(135deg, #84cc16 0%, #a3e635 100%);
}

.theme-rose {
  --primary-color: #f43f5e;
  --primary-dark: #e11d48;
  --primary-light: #fb7185;
  --gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.theme-indigo {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --gradient: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

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

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv01' 1, 'ss01' 1;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 40%, #f1f0f9 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  padding-top: var(--safe-area-inset-top);
  padding-bottom: var(--safe-area-inset-bottom);
  padding-left: var(--safe-area-inset-left);
  padding-right: var(--safe-area-inset-right);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-left: max(20px, var(--safe-area-inset-left));
  padding-right: max(20px, var(--safe-area-inset-right));
}

/* Enhanced Button Styles with Better Animations and Touch Targets */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  min-height: 48px;
  min-width: 44px;
  /* Minimum touch target size */
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gradient);
  box-shadow: var(--shadow);
  transform: translateY(0);
  will-change: transform, box-shadow;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn::before {
  content: '';
  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;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 49, 49, 0.25), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 49, 49, 0.35), 0 4px 8px rgba(0, 0, 0, 0.06);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 49, 49, 0.2);
  color: var(--text-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Enhanced Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.1);
}

/* Ensure text is always visible */
.btn span {
  color: inherit;
  font-weight: inherit;
  pointer-events: none;
}

.btn i {
  color: inherit;
  pointer-events: none;
}

/* Force button visibility for all buttons */
.btn * {
  color: inherit !important;
}

.btn span,
.btn i {
  color: inherit !important;
  font-weight: inherit;
}

/* Enhanced Header Styles with Animations */
.header {
  padding: 40px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: slideInFromTop 0.8s var(--animation-timing);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  animation: expandWidth 1s var(--animation-timing) 0.5s forwards;
}

.header-top-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  animation: fadeInUp 0.8s var(--animation-timing) 0.2s both;
}

.header-actions {
  margin-top: 20px;
  animation: fadeInUp 0.8s var(--animation-timing) 0.2s both;
}

.header-actions .btn {
  margin: 0 8px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  font-family: inherit;
  min-height: 36px;
}

.lang-btn:hover {
  background: rgba(255, 49, 49, 0.1);
  color: var(--primary-color);
}

.lang-btn.active {
  background: var(--gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 49, 49, 0.3);
}

.lang-btn i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .header-top-right {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .language-switcher {
    order: -1;
  }

  .social-proof {
    width: 100%;
  }

  .trust-badges {
    justify-content: center;
  }
}

.logo {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s var(--animation-timing);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-50%);
  animation: expandWidth 0.8s var(--animation-timing) 0.8s forwards;
}

.logo-red {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
  animation: fadeInUp 0.8s var(--animation-timing) 0.1s both;
}

/* Enhanced Hero Section with Animations */
.hero {
  text-align: center;
  padding: clamp(60px, 10vw, 100px) 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  animation: fadeInUp 0.8s var(--animation-timing) 0.3s both;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 49, 49, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.04) 0%, transparent 50%);
  animation: rotate 25s linear infinite;
  pointer-events: none;
}

.hero h2 {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -0.03em;
  text-wrap: balance;
  animation: fadeInUp 0.8s var(--animation-timing) 0.4s both;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.8s var(--animation-timing) 0.5s both;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--animation-timing) 0.6s both;
  position: relative;
  z-index: 1;
}

.hero-actions .btn {
  min-width: 180px;
}

/* Hero CTA Register Section */
.hero-cta-register {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.8s var(--animation-timing) 0.7s both;
  position: relative;
  z-index: 1;
}

.btn-cta-register {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 30px rgba(16, 185, 129, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 56px;
}

.btn-cta-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}

.btn-cta-register:hover::before {
  left: 100%;
}

.btn-cta-register:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(16, 185, 129, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-register:active {
  transform: translateY(-1px);
}

.btn-cta-register i {
  font-size: 1.2rem;
}

.cta-subtext {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.cta-subtext i {
  color: #10b981;
  font-size: 0.85rem;
}

.cta-subtext a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Hero Actions Secondary */
.hero-actions-secondary {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile responsiveness for hero CTA */
@media (max-width: 768px) {
  .hero-cta-register {
    margin-top: 24px;
    width: 100%;
    padding: 0 16px;
  }

  .btn-cta-register {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    font-size: 1rem;
    justify-content: center;
  }

  .cta-subtext {
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-actions-secondary {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 16px;
  }

  .hero-actions-secondary .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .btn-cta-register {
    padding: 14px 28px;
    font-size: 0.95rem;
    min-height: 52px;
  }

  .btn-cta-register i {
    font-size: 1rem;
  }
}

/* Enhanced Features with Staggered Animations */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 40px);
  margin: clamp(60px, 10vw, 80px) 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  padding: clamp(30px, 5vw, 40px);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s var(--animation-timing);
  will-change: transform, box-shadow;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

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

.feature-card h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}

/* Enhanced Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 30px 30px 0 0;
  animation: fadeInUp 0.8s var(--animation-timing) 0.7s both;
}

/* Enhanced Modal Styles with Better Animations */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding-top: max(20px, var(--safe-area-inset-top));
  padding-bottom: max(20px, var(--safe-area-inset-bottom));
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--border-radius);
  width: 92%;
  max-width: 450px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.modal.show .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  min-width: 44px;
  min-height: 44px;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 24px;
  animation: fadeInUp 0.5s var(--animation-timing);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  min-height: 48px;
  background: rgba(255, 255, 255, 0.8);
  font-family: 'Outfit', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 49, 49, 0.1);
  background: var(--white);
  transform: translateY(-1px);
}

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

.auth-switch {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.auth-switch a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    padding-left: max(16px, var(--safe-area-inset-left));
    padding-right: max(16px, var(--safe-area-inset-right));
  }

  .hero {
    padding: 40px 20px;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .header-actions {
    margin-top: 16px;
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .modal-content {
    margin: 10px;
    padding: 24px 20px;
    max-height: 85vh;
    width: 95%;
  }

  .close-modal {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .modal .payment-access-grid,
  .modal-content .payment-access-grid {
    grid-template-columns: 1fr;
  }

  .modal .payment-access-card,
  .modal-content .payment-access-card {
    padding: 24px 20px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .header {
    padding: 30px 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px 15px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .features {
    margin: 30px 5px;
  }

  .modal-content {
    padding: 25px 15px;
    margin: 5px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* Enhanced Loading States with Better Animations */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Animation Keyframes */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes expandWidth {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced Focus styles for better accessibility */
.btn:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #d32f2f;
    --text-color: #000;
  }
}

/* =========================================
   DARK MODE — Landing Page
   Activated by data-theme="dark" on <html>
   ========================================= */
[data-theme="dark"] {
  --text-color: #e2e8f0;
  --text-light: #94a3b8;
  --light-gray: #1e293b;
  --white: #0f172a;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: linear-gradient(160deg, #0b1120 0%, #111827 40%, #0f172a 100%);
  color: #e2e8f0;
}

/* Header */
[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(51, 65, 85, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .header::before {
  opacity: 0.7;
}

/* Language switcher */
[data-theme="dark"] .language-switcher {
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .lang-btn {
  color: #94a3b8;
}

[data-theme="dark"] .lang-btn:hover {
  background: rgba(255, 49, 49, 0.15);
}

/* Hero */
[data-theme="dark"] .hero {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(51, 65, 85, 0.4);
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 49, 49, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .hero h2,
[data-theme="dark"] .hero-title {
  color: #f1f5f9;
}

[data-theme="dark"] .hero p,
[data-theme="dark"] .hero-description {
  color: #94a3b8;
}

/* Hero badges & stats */
[data-theme="dark"] .hero-badge {
  background: rgba(102, 126, 234, 0.15);
  color: #a5b4fc;
  border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .hero-stats .stat {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .hero-stats .stat-number {
  color: #f1f5f9;
}

[data-theme="dark"] .hero-stats .stat-label {
  color: #94a3b8;
}

[data-theme="dark"] .hero-guarantee {
  color: #94a3b8;
}

[data-theme="dark"] .hero-social-proof .social-proof-item {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
  color: #94a3b8;
}

/* Buttons */
[data-theme="dark"] .btn-secondary {
  background: rgba(30, 41, 59, 0.95);
  color: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(30, 41, 59, 1);
  border-color: rgba(255, 49, 49, 0.3);
  color: #f1f5f9;
}

[data-theme="dark"] .btn-outline {
  color: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255, 49, 49, 0.1);
  border-color: var(--primary-color);
}

/* Feature cards */
[data-theme="dark"] .feature-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .feature-card:hover {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .feature-card h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .feature-card p {
  color: #94a3b8;
}

[data-theme="dark"] .feature-icon {
  background: rgba(255, 49, 49, 0.1);
}

[data-theme="dark"] .feature-benefits li {
  color: #94a3b8;
}

[data-theme="dark"] .feature-benefits li::before {
  color: var(--primary-color);
}

/* Section headers */
[data-theme="dark"] .section-header h2 {
  color: #f1f5f9;
}

[data-theme="dark"] .section-header p {
  color: #94a3b8;
}

/* Success stories */
[data-theme="dark"] .story-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .story-card h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .story-card .story-business {
  color: var(--primary-color);
}

[data-theme="dark"] .story-card .story-quote {
  color: #94a3b8;
}

[data-theme="dark"] .story-card .story-stats span {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.5);
}

/* Use cases */
[data-theme="dark"] .case-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .case-card:hover {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .case-card h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .case-card p {
  color: #94a3b8;
}

[data-theme="dark"] .case-icon {
  background: rgba(255, 49, 49, 0.1);
}

/* Pricing */
[data-theme="dark"] .pricing-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .pricing-card.featured {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .pricing-card h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .pricing-features li {
  color: #cbd5e1;
}

[data-theme="dark"] .pricing-header p {
  color: #94a3b8;
}

/* Domain & Payment cards */
[data-theme="dark"] .domain-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .domain-card.featured {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .domain-info h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .domain-info p {
  color: #94a3b8;
}

[data-theme="dark"] .domain-note,
[data-theme="dark"] .payment-access-note {
  background: rgba(30, 41, 59, 0.5);
  color: #94a3b8;
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .payment-access-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .payment-access-card.featured {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .payment-access-card h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .payment-access-features li {
  color: #cbd5e1;
}

/* Premium section */
[data-theme="dark"] .premium-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .premium-card.featured {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .premium-card h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .premium-features li {
  color: #cbd5e1;
}

/* Footer */
[data-theme="dark"] .footer {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
  color: #94a3b8;
}

[data-theme="dark"] .footer a {
  color: #94a3b8;
}

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

/* Modals */
[data-theme="dark"] .modal-content {
  background: rgba(30, 41, 59, 0.97);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .close-modal {
  background: rgba(51, 65, 85, 0.5);
  color: #94a3b8;
}

[data-theme="dark"] .close-modal:hover {
  background: rgba(239, 68, 68, 0.8);
  color: white;
}

/* Forms */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(51, 65, 85, 0.8);
  color: #e2e8f0;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  background: rgba(15, 23, 42, 1);
  border-color: var(--primary-color);
}

[data-theme="dark"] .form-group label {
  color: #e2e8f0;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: #64748b;
}

/* Auth switch */
[data-theme="dark"] .auth-switch {
  border-color: rgba(51, 65, 85, 0.5);
}

/* Checkbox */
[data-theme="dark"] .checkbox-label {
  background-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .checkbox-label:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .checkbox-label input[type="checkbox"] {
  background-color: #1e293b;
}

/* Trust badges */
[data-theme="dark"] .badge {
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
  border-color: rgba(51, 65, 85, 0.5);
}

/* CTA subtext */
[data-theme="dark"] .cta-subtext {
  color: #94a3b8;
}

/* Social proof */
[data-theme="dark"] .social-proof {
  color: #94a3b8;
}

/* Loading spinner */
[data-theme="dark"] .loading::after {
  border-color: #334155;
  border-top-color: var(--primary-color);
}

/* Header top-right button */
[data-theme="dark"] #login-btn {
  color: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.8);
}

/* Dark mode toggle button styling */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-light, #475569);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 40px;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.dark-mode-toggle:hover {
  background: rgba(255, 49, 49, 0.1);
  color: var(--primary-color);
  transform: rotate(15deg) scale(1.1);
}

[data-theme="dark"] .dark-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

[data-theme="dark"] .dark-mode-toggle:hover {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* Header Top Bar (badges row) */
[data-theme="dark"] .header-top {
  background: rgba(15, 23, 42, 0.9);
  border-bottom-color: rgba(51, 65, 85, 0.4);
}

[data-theme="dark"] .trust-badges .badge {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
  color: #94a3b8;
}

/* Header Top Right (login btn fix) */
[data-theme="dark"] .header-top-right .btn-outline {
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.6);
}

[data-theme="dark"] .header-top-right .btn-outline:hover {
  background: rgba(255, 49, 49, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Phone Mockup / Store Preview */
[data-theme="dark"] .phone-screen {
  background: #1e293b;
}

[data-theme="dark"] .store-preview {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .preview-header h3 {
  color: #e2e8f0;
}

[data-theme="dark"] .preview-product {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .preview-product h4,
[data-theme="dark"] .preview-product .product-name {
  color: #e2e8f0;
}

[data-theme="dark"] .preview-product .product-price,
[data-theme="dark"] .preview-product p {
  color: #94a3b8;
}

[data-theme="dark"] .preview-product .product-image,
[data-theme="dark"] .preview-product-img {
  background: rgba(255, 49, 49, 0.15);
}

[data-theme="dark"] .preview-cta {
  background: rgba(255, 49, 49, 0.15);
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .preview-cta span {
  color: #e2e8f0;
}

/* Hero Stats Row */
[data-theme="dark"] .hero-stat {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .hero-stat .stat-number,
[data-theme="dark"] .hero-stat h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .hero-stat .stat-label,
[data-theme="dark"] .hero-stat p {
  color: #94a3b8;
}

/* Enterprise CTA Section */
[data-theme="dark"] .enterprise-section {
  background: rgba(15, 23, 42, 0.6);
}

[data-theme="dark"] .enterprise-cta {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .enterprise-cta h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .enterprise-cta p {
  color: #94a3b8;
}

/* Demo Stores Section */
[data-theme="dark"] .demo-stores-section {
  background: rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .demo-store-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .demo-store-card:hover {
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .demo-store-card.featured {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 49, 49, 0.3);
}

[data-theme="dark"] .demo-store-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, rgba(30, 41, 59, 0.2) 100%);
}

[data-theme="dark"] .demo-store-name {
  color: #f1f5f9;
}

[data-theme="dark"] .demo-store-type {
  color: #94a3b8;
}

[data-theme="dark"] .demo-store-features li {
  color: #cbd5e1;
}

[data-theme="dark"] .demo-store-body {
  background: transparent;
}

/* Demo Stores CTA Box (the white "¿Listo para crear tu propia tienda?" box) */
[data-theme="dark"] .demo-stores-cta {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .demo-stores-cta h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .demo-stores-cta p {
  color: #94a3b8;
}

/* CTA Section — secondary buttons need dark bg */
[data-theme="dark"] .cta-section .btn-secondary,
[data-theme="dark"] .cta-actions .btn-secondary {
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .cta-section .btn-secondary:hover {
  background: rgba(30, 41, 59, 1);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .cta-guarantee {
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
[data-theme="dark"] .footer-modern {
  background: rgba(15, 23, 42, 0.95);
  border-top-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .footer-column h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .footer-column p,
[data-theme="dark"] .footer-column a {
  color: #94a3b8;
}

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

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(51, 65, 85, 0.5);
  color: #64748b;
}

[data-theme="dark"] .footer-social a {
  background: rgba(30, 41, 59, 0.8);
  color: #94a3b8;
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .footer-social a:hover {
  background: rgba(255, 49, 49, 0.15);
  color: var(--primary-color);
}

/* Smooth transition for theme changes */
html[data-theme] body,
html[data-theme] .header,
html[data-theme] .header-top,
html[data-theme] .hero,
html[data-theme] .feature-card,
html[data-theme] .footer,
html[data-theme] .footer-modern,
html[data-theme] .modal-content,
html[data-theme] .story-card,
html[data-theme] .case-card,
html[data-theme] .pricing-card,
html[data-theme] .domain-card,
html[data-theme] .payment-access-card,
html[data-theme] .premium-card,
html[data-theme] .demo-store-card,
html[data-theme] .demo-stores-cta,
html[data-theme] .phone-screen,
html[data-theme] .store-preview,
html[data-theme] .dark-mode-toggle {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced WhatsApp Support Button */
.whatsapp-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: bounceIn 0.6s var(--animation-timing) 1s both;
  min-width: 60px;
  min-height: 60px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.whatsapp-support:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-support::before {
  content: 'Soporte';
  position: absolute;
  right: 70px;
  background: #25d366;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-support:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-support::after {
  content: '';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #25d366;
  opacity: 0;
  transition: all 0.3s ease;
}

.whatsapp-support:hover::after {
  opacity: 1;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .whatsapp-support {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
    min-width: 50px;
    min-height: 50px;
  }

  .whatsapp-support::before {
    display: none;
  }

  .whatsapp-support::after {
    display: none;
  }
}

/* Enhanced Checkbox label styles */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  transition: var(--transition);
  min-height: 54px;
  padding: 12px;
  border-radius: var(--border-radius);
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid transparent;
}

.checkbox-label:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  min-width: 24px;
  min-height: 24px;
  cursor: pointer;
  /* Restore native checkbox appearance that was removed by .form-group input */
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
  accent-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background-color: #fff;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.checkbox-label span {
  color: var(--text-color);
  flex: 1;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 2px 4px;
  border-radius: 4px;
}

.checkbox-label a:hover {
  background-color: rgba(255, 49, 49, 0.1);
  color: var(--primary-dark);
}

/* Enhanced Terms and Privacy Modal Styles */
.terms-content {
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  animation: scaleIn 0.5s var(--animation-timing);
  -webkit-overflow-scrolling: touch;
}

.terms-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-color);
  text-align: center;
}

.terms-body {
  margin-bottom: 32px;
  line-height: 1.6;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
  -webkit-overflow-scrolling: touch;
}

.terms-body p {
  margin-bottom: 16px;
  color: var(--text-color);
}

.terms-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 0 12px 0;
  color: var(--text-color);
}

.terms-body h3:first-child {
  margin-top: 0;
}

.terms-body ul {
  margin: 12px 0;
  padding-left: 24px;
}

.terms-body li {
  margin-bottom: 8px;
  color: var(--text-color);
}

.terms-body strong {
  font-weight: 600;
  color: var(--text-color);
}

#accept-terms-btn,
#accept-privacy-btn {
  width: 100%;
  margin-top: 16px;
}

/* Enhanced Responsive Design for All Devices */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
    padding-left: max(24px, var(--safe-area-inset-left));
    padding-right: max(24px, var(--safe-area-inset-right));
  }

  .hero h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    padding-left: max(16px, var(--safe-area-inset-left));
    padding-right: max(16px, var(--safe-area-inset-right));
  }

  .hero {
    padding: 40px 20px;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .header-actions {
    margin-top: 16px;
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .modal-content {
    margin: 10px;
    padding: 24px 20px;
  }

  .terms-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .header {
    padding: 30px 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px 15px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .features {
    margin: 30px 5px;
  }

  .modal-content {
    padding: 20px 16px;
    margin: 5px;
    width: 98%;
    max-height: 88vh;
    border-radius: 16px;
  }

  .modal .payment-access-price .amount,
  .modal-content .payment-access-price .amount {
    font-size: 1.75rem;
  }

  .modal .payment-access-header h4,
  .modal-content .payment-access-header h4 {
    font-size: 1.1rem;
  }

  .terms-content {
    padding: 20px 15px;
  }

  .terms-body h3 {
    font-size: 1.1rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
  }
}

/* Enhanced Tablet Support */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h2 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

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

/* Enhanced Large Screen Support */
@media (min-width: 1025px) {
  .container {
    max-width: 1400px;
  }

  .hero h2 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

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

/* Enhanced Landscape Mobile Support */
@media (max-height: 500px) and (orientation: landscape) {
  .header {
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .hero {
    padding: 30px 0;
    margin-bottom: 30px;
  }

  .hero h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }

  .features {
    margin: 30px 0;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }

  .modal {
    height: -webkit-fill-available;
  }

  .modal-content {
    max-height: -webkit-fill-available;
  }
}

/* Fix for iOS Safari input zoom prevention */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {

  .btn,
  .close-modal,
  .checkbox-label {
    min-height: 44px;
    min-width: 44px;
  }

  .form-group input,
  .form-group textarea {
    min-height: 44px;
  }
}

/* Enhanced loading state for mobile */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
}

.loading-state i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  animation: spin 1s linear infinite;
}

.loading-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
}

.loading-state p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 300px;
  line-height: 1.5;
}

/* Enhanced notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 400px;
  margin-right: var(--safe-area-inset-right);
  margin-top: var(--safe-area-inset-top);
}

.notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-success {
  border-left: 4px solid #28a745;
}

.notification-error {
  border-left: 4px solid #dc3545;
}

.notification-warning {
  border-left: 4px solid #ffc107;
}

.notification-info {
  border-left: 4px solid #17a2b8;
}

.notification i {
  font-size: 1.2rem;
}

.notification-success i {
  color: #28a745;
}

.notification-error i {
  color: #dc3545;
}

.notification-warning i {
  color: #ffc107;
}

.notification-info i {
  color: #17a2b8;
}

@media (max-width: 768px) {
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100%);
  }

  .notification.show {
    transform: translateY(0);
  }
}

/* Enhanced Header with Social Proof */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

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

.badge i {
  color: var(--primary-color);
  font-size: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: fadeInUp 0.8s var(--animation-timing) 0.15s both;
}

/* Enhanced Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
  text-align: left;
  padding: clamp(60px, 10vw, 100px) 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s var(--animation-timing) 0.3s both;
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: fadeInUp 0.8s var(--animation-timing) 0.4s both;
}

.hero h2 {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  margin-bottom: 40px;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.6;
}

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

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

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-large {
  padding: 20px 32px;
  font-size: 1.1rem;
  min-height: 60px;
  position: relative;
}

.btn-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.8;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-guarantee i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Hero Badge Styles */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 49, 49, 0.1);
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-color);
  border: 1px solid rgba(255, 49, 49, 0.2);
  animation: fadeInUp 0.8s var(--animation-timing) 0.2s both;
}

.hero-badge i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

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

/* Hero Social Proof Styles */
.hero-social-proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
  animation: fadeInUp 0.8s var(--animation-timing) 0.6s both;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.social-proof-item i {
  color: var(--primary-color);
  font-size: 1rem;
}

.social-proof-item span {
  color: var(--text-light);
}

/* Responsive styles for hero badge and social proof */
@media (max-width: 768px) {
  .hero-social-proof {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .social-proof-item {
    font-size: 0.85rem;
  }
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s var(--animation-timing) 0.5s both;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2d3748, #4a5568);
  border-radius: 30px;
  padding: 8px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: var(--transition);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.store-preview {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.preview-header {
  text-align: center;
  margin-bottom: 20px;
}

.preview-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.preview-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.preview-products {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.preview-product {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.preview-image {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 8px;
  flex-shrink: 0;
}

.preview-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.preview-info p {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.preview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.preview-cta i {
  font-size: 1.1rem;
}

/* Enhanced Features Section */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 60px);
  animation: fadeInUp 0.8s var(--animation-timing);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  text-wrap: balance;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: clamp(30px, 5vw, 40px);
  margin: clamp(60px, 10vw, 80px) 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(30px, 5vw, 40px);
  border-radius: 20px;
  text-align: left;
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s var(--animation-timing);
  will-change: transform, box-shadow;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 49, 49, 0.15);
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(255, 49, 49, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(255, 49, 49, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
}

.feature-benefits {
  list-style: none;
  padding: 0;
}

.feature-benefits li {
  padding: 8px 0;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-left: 24px;
}

.feature-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* Success Stories Section */
.success-stories {
  margin: clamp(80px, 12vw, 120px) 0;
  animation: fadeInUp 0.8s var(--animation-timing);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.story-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  animation: fadeInUp 0.8s var(--animation-timing);
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(255, 49, 49, 0.15);
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.story-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.story-business {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.story-quote {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.story-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.story-stats span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Use Cases Section */
.use-cases {
  margin: clamp(80px, 12vw, 120px) 0;
  animation: fadeInUp 0.8s var(--animation-timing);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.case-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
  animation: fadeInUp 0.8s var(--animation-timing);
}

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

.case-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.case-card:hover .case-icon {
  transform: scale(1.1);
}

.case-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.case-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.case-card li {
  padding: 6px 0;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.case-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* Pricing Section */
.pricing {
  margin: clamp(80px, 12vw, 120px) 0;
  animation: fadeInUp 0.8s var(--animation-timing);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.8s var(--animation-timing);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

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

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--text-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features i {
  color: var(--primary-color);
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Enhanced Pricing Options */
.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.pricing-option {
  padding: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.5);
}

.pricing-option:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.8);
}

.pricing-option.featured-option {
  border-color: var(--primary-color);
  background: rgba(255, 49, 49, 0.05);
  position: relative;
}

.pricing-option.featured-option::before {
  content: 'Recomendado';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.option-label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.option-price {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.option-savings {
  display: block;
  font-size: 0.9rem;
  color: #28a745;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Payment Access Section */
.payment-access-section {
  margin-top: 60px;
  text-align: center;
}

.payment-access-section .section-header h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.payment-access-section .section-header p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.payment-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.payment-access-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
}

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

.payment-access-card.featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 49, 49, 0.05) 100%);
}

.payment-access-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-access-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-access-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
}

.payment-access-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.payment-access-price .currency {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 600;
}

.payment-access-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.payment-access-price .period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.payment-access-header p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.payment-access-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.payment-access-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-color);
}

.payment-access-features li i {
  color: #28a745;
  font-size: 0.9rem;
}

.payment-access-note {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
}

.payment-access-note i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ============================================
   PayPal Button Container Wrappers
   Styling the containers around SDK-rendered buttons
   ============================================ */

/* All PayPal button containers */
[id^="paypal-"] {
  width: 100%;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* PayPal containers inside domain cards */
.domain-card [id^="paypal-"] {
  margin-top: 16px;
  min-width: 220px;
}

/* PayPal containers inside payment access cards */
.payment-access-card [id^="paypal-"] {
  margin-top: 24px;
}

/* Style the PayPal iframe wrapper to have rounded corners */
[id^="paypal-"] .paypal-buttons {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* "Powered by PayPal" line styling */
[id^="paypal-"] .paypal-powered-by {
  font-size: 0.75rem;
  opacity: 0.7;
  padding: 4px 0;
}

/* PayPal button label - add a small header above the buttons */
.paypal-btn-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paypal-btn-label i {
  color: #ffc43a;
}

/* Secure badge below PayPal buttons */
.paypal-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 10px;
  opacity: 0.7;
}

.paypal-secure-badge i {
  color: #10b981;
  font-size: 0.8rem;
}

/* Dark mode overrides for PayPal containers */
[data-theme="dark"] .paypal-btn-label {
  color: #94a3b8;
}

[data-theme="dark"] .paypal-secure-badge {
  color: #64748b;
}

[data-theme="dark"] [id^="paypal-"] .paypal-powered-by {
  opacity: 0.5;
}

/* Payment access card PayPal section divider */
.payment-access-card [id^="paypal-"]::before {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 49, 49, 0.2), transparent);
  margin: 0 auto 16px;
}

[data-theme="dark"] .payment-access-card [id^="paypal-"]::before {
  background: linear-gradient(90deg, transparent, rgba(255, 49, 49, 0.15), transparent);
}

/* Domain card PayPal section */
.domain-card [id^="paypal-"]::before {
  content: '';
  display: block;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 49, 49, 0.2), transparent);
  margin: 0 auto 12px;
}

[data-theme="dark"] .domain-card [id^="paypal-"]::before {
  background: linear-gradient(90deg, transparent, rgba(255, 49, 49, 0.15), transparent);
}

/* Domain note info-box styling */
.domain-note {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  margin: 24px auto 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
}

[data-theme="dark"] .domain-note {
  background: rgba(30, 41, 59, 0.6);
  color: #94a3b8;
  border: 1px solid rgba(51, 65, 85, 0.4);
}

.domain-note i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Premium note styling */
.premium-note {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  margin: 24px auto 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
}

[data-theme="dark"] .premium-note {
  background: rgba(30, 41, 59, 0.6);
  color: #94a3b8;
  border: 1px solid rgba(51, 65, 85, 0.4);
}

.premium-note i {
  color: #fbbf24;
  font-size: 1.1rem;
}

/* Store.html PayPal payment option styling */
.payment-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  transform: translateY(-2px);
}

.payment-icon-paypal {
  color: #003087;
}

[data-theme="dark"] .payment-icon-paypal {
  color: #009cde;
}

/* Google Login Button Styles */
.google-login-btn {
  width: 100%;
  background-color: #ffffff !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.google-login-btn:hover {
  background-color: #f8f9fa !important;
  border-color: #c6c6c6 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.google-login-btn:active {
  background-color: #eee !important;
}

.google-login-btn img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Dark background variant - white text */
.modal-content .google-login-btn,
.dark-bg .google-login-btn {
  background-color: #4285f4 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.modal-content .google-login-btn:hover,
.dark-bg .google-login-btn:hover {
  background-color: #3367d6 !important;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

/* Modal Payment Access Grid Styles */
.modal .payment-access-grid,
.modal-content .payment-access-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.modal .payment-access-card,
.modal-content .payment-access-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
}

.modal .payment-access-card:hover,
.modal-content .payment-access-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal .payment-access-card.featured,
.modal-content .payment-access-card.featured {
  border: 2px solid #ff3131;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.modal .payment-access-badge,
.modal-content .payment-access-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 49, 49, 0.3);
}

.modal .payment-access-header,
.modal-content .payment-access-header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 8px;
}

.modal .payment-access-header h4,
.modal-content .payment-access-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.modal .payment-access-price,
.modal-content .payment-access-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.modal .payment-access-price .currency,
.modal-content .payment-access-price .currency {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 600;
}

.modal .payment-access-price .amount,
.modal-content .payment-access-price .amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ff3131;
  line-height: 1;
}

.modal .payment-access-price .period,
.modal-content .payment-access-price .period {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.modal .payment-access-header p,
.modal-content .payment-access-header p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.modal .payment-access-features,
.modal-content .payment-access-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.modal .payment-access-features li,
.modal-content .payment-access-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #374151;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3f4f6;
}

.modal .payment-access-features li:last-child,
.modal-content .payment-access-features li:last-child {
  border-bottom: none;
}

.modal .payment-access-features li i,
.modal-content .payment-access-features li i {
  color: #10b981;
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Domain Section */
.domain-section {
  margin-top: 60px;
  text-align: center;
}

.domain-section .section-header h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.domain-section .section-header p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.domain-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 20px;
  transition: var(--transition);
}

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

.domain-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.domain-info i {
  font-size: 2rem;
  color: var(--primary-color);
}

.domain-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.domain-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.domain-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-right: 20px;
}

.domain-price .original-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
}

.domain-price .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.domain-price .period {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.domain-price .discount {
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 600;
  background: rgba(40, 167, 69, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

.domain-note {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.domain-note i {
  color: var(--primary-color);
}

.domain-card.featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 49, 49, 0.05) 100%);
  position: relative;
}

.domain-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Premium Section */
.premium-section {
  margin-top: 80px;
  text-align: center;
}

.premium-section .section-header h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

.premium-section .section-header p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.premium-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

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

.premium-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.premium-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.premium-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium-header {
  text-align: center;
  margin-bottom: 32px;
}

.premium-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.premium-price {
  margin-bottom: 12px;
}

.premium-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  vertical-align: top;
}

.premium-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.premium-price .period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.premium-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.premium-features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  text-align: left;
}

.premium-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.premium-features li:last-child {
  border-bottom: none;
}

.premium-features i {
  color: var(--primary-color);
  font-size: 1rem;
  min-width: 16px;
}

.premium-note {
  color: var(--text-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

.premium-note i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  padding: clamp(60px, 10vw, 100px) 0;
  border-radius: var(--border-radius);
  margin: clamp(80px, 12vw, 120px) 0;
  text-align: center;
  animation: fadeInUp 0.8s var(--animation-timing);
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-guarantee i {
  font-size: 1.2rem;
}

/* Enhanced Footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  text-align: center;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

  .trust-badges {
    gap: 16px;
  }

  .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
    transform: none;
  }

  .phone-mockup:hover {
    transform: none;
  }

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

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

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

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

  .pricing-card.featured {
    transform: none;
  }

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

  .domain-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .domain-info {
    flex-direction: column;
    text-align: center;
  }

  .domain-price {
    margin-right: 0;
  }

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

  .premium-card {
    padding: 24px 20px;
    position: relative;
  }

  .premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    padding: 4px 8px;
    z-index: 10;
  }

  .premium-card.featured {
    transform: none;
  }

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

  .premium-price .amount {
    font-size: 2.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== ENTERPRISE SECTION STYLES ===== */
.enterprise-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.enterprise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.enterprise-section .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.enterprise-section .section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.enterprise-section .section-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.enterprise-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.enterprise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.enterprise-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

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

.enterprise-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.enterprise-icon i {
  font-size: 28px;
  color: #ffffff;
}

.enterprise-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.enterprise-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.enterprise-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.enterprise-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.enterprise-benefits li i {
  color: #4ade80;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.enterprise-cta {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.enterprise-cta-content {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 48px;
  text-align: center;
}

.enterprise-cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.enterprise-cta-content>p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.enterprise-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.enterprise-actions .btn {
  padding: 18px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  min-width: 200px;
  cursor: pointer;
}

.enterprise-actions .btn i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.enterprise-actions .btn .btn-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
}

.enterprise-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.enterprise-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.enterprise-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.enterprise-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.enterprise-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.enterprise-guarantee i {
  color: #4ade80;
  font-size: 1rem;
}

.enterprise-guarantee span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 768px) {
  .enterprise-section {
    padding: 60px 20px;
  }

  .enterprise-section .section-header h2 {
    font-size: 2rem;
  }

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

  .enterprise-benefits {
    grid-template-columns: 1fr;
  }

  .enterprise-cta-content {
    padding: 32px 20px;
  }

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

  .enterprise-actions .btn {
    width: 100%;
    min-width: unset;
  }
}

/* ===== CTA SECTION STYLES ===== */
.cta-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-content>p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-actions .btn {
  padding: 18px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-actions .btn i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.cta-actions .btn .btn-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
}

.cta-actions .btn-primary {
  background: #ffffff;
  color: #ff3131;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-guarantee i {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.cta-guarantee span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

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

  .cta-actions .btn {
    width: 100%;
  }
}

/* Demo Stores Section Styles */
.demo-stores-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.demo-stores-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.demo-stores-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.demo-stores-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-stores-section .section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.demo-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.demo-store-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.demo-store-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demo-store-card.featured {
  background: linear-gradient(135deg, rgba(255, 49, 49, 0.05) 0%, rgba(255, 107, 107, 0.02) 100%);
  border: 2px solid rgba(255, 49, 49, 0.2);
  transform: scale(1.02);
}

.demo-store-card.featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 49, 49, 0.3);
  z-index: 10;
}

.demo-store-header {
  padding: 32px 24px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  position: relative;
}

.demo-store-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.demo-store-card.featured .demo-store-icon {
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  transform: scale(1.1);
}

.demo-store-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}

.demo-store-badge {
  display: inline-block;
  background: rgba(255, 49, 49, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 49, 49, 0.2);
}

.demo-store-preview {
  padding: 24px;
}

.demo-store-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.demo-store-info p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.demo-store-features {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.demo-store-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.demo-store-features span i {
  color: #28a745;
  font-size: 0.8rem;
  min-width: 12px;
}

.demo-store-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.demo-store-actions .btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.demo-store-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.demo-store-note {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.demo-stores-cta {
  text-align: center;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.demo-stores-cta h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-stores-cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.demo-stores-cta .btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
}

/* Responsive Design for Demo Stores */
@media (max-width: 768px) {
  .demo-stores-section {
    padding: 60px 0;
  }

  .demo-stores-section .section-header h2 {
    font-size: 2rem;
  }

  .demo-stores-section .section-header p {
    font-size: 1rem;
    padding: 0 16px;
  }

  .demo-stores-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .demo-store-card {
    margin: 0 16px;
  }

  .demo-store-header {
    padding: 24px 20px 20px;
  }

  .demo-store-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .demo-store-header h3 {
    font-size: 1.3rem;
  }

  .demo-store-preview {
    padding: 20px;
  }

  .demo-stores-cta {
    padding: 32px 20px;
    margin: 0 16px;
  }

  .demo-stores-cta h3 {
    font-size: 1.5rem;
  }

  .demo-stores-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .demo-stores-section {
    padding: 40px 0;
  }

  .demo-stores-section .section-header h2 {
    font-size: 1.8rem;
  }

  .demo-store-card {
    margin: 0 12px;
  }

  .demo-store-header {
    padding: 20px 16px 16px;
  }

  .demo-store-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .demo-store-header h3 {
    font-size: 1.2rem;
  }

  .demo-store-preview {
    padding: 16px;
  }

  .demo-stores-cta {
    padding: 24px 16px;
    margin: 0 12px;
  }

  .demo-stores-cta h3 {
    font-size: 1.3rem;
  }
}

/* Animation for demo store cards */
.demo-store-card {
  animation: fadeInUp 0.6s ease-out;
}

.demo-store-card:nth-child(1) {
  animation-delay: 0.1s;
}

.demo-store-card:nth-child(2) {
  animation-delay: 0.2s;
}

.demo-store-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE FOR iOS & ANDROID ===== */

/* Global Mobile Improvements */
@media (max-width: 768px) {

  /* Safe area support for notch devices */
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  /* Touch-friendly tap targets */
  .btn,
  button,
  a,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Prevent text size adjustment */
  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  /* Improved form inputs on mobile */
  input,
  textarea,
  select {
    font-size: 16px;
    /* Prevents iOS zoom on focus */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
}

/* Extra small devices (phones under 375px) */
@media (max-width: 375px) {
  .logo {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-stats .stat-number {
    font-size: 1.8rem;
  }

  .btn-large {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 8px;
  }

  .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }

  .hero {
    min-height: auto;
  }

  /* Fix for modals */
  .modal {
    height: -webkit-fill-available;
  }

  .modal-content {
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 40px);
  }

  /* Fix for sticky footer on iOS */
  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  /* Fix for WhatsApp button position with safe area */
  .whatsapp-support {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* Android Chrome specific fixes */
@media screen and (max-width: 768px) {

  /* Smooth scrolling containers */
  .terms-body,
  .modal-content,
  .ai-preview-content {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Better font rendering on Android */
  body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
}

/* Touch device improvements */
@media (pointer: coarse) {

  /* Larger touch targets */
  .close-modal {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
  }

  .lang-btn {
    min-height: 44px;
    padding: 12px 16px;
  }

  /* Hover effects removed for touch devices */
  .btn:hover,
  .feature-card:hover,
  .story-card:hover,
  .case-card:hover {
    transform: none;
  }

  .btn:active,
  .feature-card:active {
    transform: scale(0.98);
  }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 16px;
    gap: 20px;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .modal-content {
    max-height: 90vh;
    margin: 5vh auto;
  }
}

/* PWA installed mode */
@media (display-mode: standalone) {
  .header-top {
    padding-top: env(safe-area-inset-top);
  }

  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .logo,
  .hero-title,
  h1,
  h2,
  h3 {
    text-rendering: optimizeLegibility;
  }
}

/* Reduced motion preference for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .whatsapp-support {
    animation: none;
  }
}

/* =====================================
   PREMIUM PAYMENT MODAL STYLES
   ===================================== */

.payment-modal-premium {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.payment-modal-content {
  max-width: 720px !important;
  width: 95%;
  padding: 0 !important;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close Button */
.payment-modal-content .close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  color: #64748b;
}

.payment-modal-content .close-modal-btn:hover {
  background: rgba(255, 49, 49, 0.1);
  color: #ff3131;
  transform: rotate(90deg);
}

/* Modal Header */
.payment-modal-header {
  text-align: center;
  padding: 40px 32px 32px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.payment-modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.payment-modal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 12px 40px rgba(255, 49, 49, 0.4);
  position: relative;
}

.payment-modal-icon i {
  font-size: 32px;
  color: white;
}

.payment-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  letter-spacing: -0.02em;
}

.payment-modal-header p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

/* Plans Container */
.payment-plans-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 32px;
  background: #f1f5f9;
}

/* Plan Cards */
.payment-plan-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.payment-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Featured Plan */
.payment-plan-card.featured {
  border-color: #ff3131;
  background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
  transform: scale(1.02);
  box-shadow:
    0 8px 30px rgba(255, 49, 49, 0.15),
    0 0 0 1px rgba(255, 49, 49, 0.1);
}

.payment-plan-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 16px 50px rgba(255, 49, 49, 0.2);
}

/* Plan Badge */
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff3131 0%, #ff6b6b 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(255, 49, 49, 0.35);
}

.plan-badge i {
  font-size: 0.7rem;
}

/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 8px;
}

.payment-plan-card.featured .plan-header {
  padding-top: 16px;
}

.plan-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

/* Plan Price */
.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 2px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff3131;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

/* Plan Billing */
.plan-billing {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.plan-billing.plan-savings {
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.plan-savings i {
  font-size: 0.8rem;
}

/* Plan Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #475569;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: #10b981;
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.plan-features li.highlight-feature {
  color: #16a34a;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.08) 0%, transparent 100%);
  margin: 0 -24px;
  padding: 10px 24px;
  border-radius: 8px;
}

.plan-features li.highlight-feature i {
  color: #16a34a;
}

/* PayPal Button Container */
.plan-paypal-btn {
  min-height: 55px;
}

/* Modal Footer */
.payment-modal-footer {
  background: white;
  padding: 24px 32px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.secure-badge i {
  font-size: 0.75rem;
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.footer-note i {
  color: #3b82f6;
  flex-shrink: 0;
}

/* =====================================
   PAYMENT MODAL MOBILE RESPONSIVENESS
   ===================================== */

@media (max-width: 768px) {
  .payment-modal-content {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    border-radius: 24px 24px 0 0;
    max-height: 95vh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes modalSlideUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .payment-modal-header {
    padding: 32px 24px 24px;
  }

  .payment-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .payment-modal-icon i {
    font-size: 28px;
  }

  .payment-modal-header h2 {
    font-size: 1.5rem;
  }

  .payment-modal-header p {
    font-size: 0.9rem;
  }

  .payment-plans-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
    max-height: 50vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .payment-plan-card {
    padding: 24px 20px;
  }

  .payment-plan-card.featured {
    transform: none;
    order: -1;
  }

  .payment-plan-card.featured:hover {
    transform: translateY(-2px);
  }

  .plan-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .price-amount {
    font-size: 2rem;
  }

  .plan-features li {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .plan-features li.highlight-feature {
    margin: 0 -20px;
    padding: 8px 20px;
  }

  .payment-modal-footer {
    padding: 20px 16px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .footer-note {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .payment-modal-content .close-modal-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .payment-modal-header {
    padding: 28px 20px 20px;
  }

  .payment-modal-icon {
    width: 56px;
    height: 56px;
  }

  .payment-modal-icon i {
    font-size: 24px;
  }

  .payment-modal-header h2 {
    font-size: 1.3rem;
  }

  .payment-plans-container {
    padding: 20px 12px;
  }

  .payment-plan-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .plan-header h3 {
    font-size: 1.1rem;
  }

  .price-amount {
    font-size: 1.75rem;
  }

  .price-currency,
  .price-period {
    font-size: 0.85rem;
  }

  .plan-features li {
    gap: 10px;
  }

  .plan-features li.highlight-feature {
    margin: 0 -16px;
    padding: 8px 16px;
  }

  .footer-note {
    flex-direction: column;
    gap: 4px;
  }
}

/* iOS Safe Area Support */
@supports (padding: max(0px)) {
  .payment-modal-content {
    padding-bottom: max(0px, env(safe-area-inset-bottom)) !important;
  }
}

/* Android Touch Optimization */
@media (hover: none) and (pointer: coarse) {
  .payment-plan-card {
    -webkit-tap-highlight-color: transparent;
  }

  .payment-plan-card:active {
    transform: scale(0.98);
  }

  .payment-plan-card.featured:active {
    transform: scale(0.99);
  }
}

/* Landscape orientation for payment modal */
@media (max-height: 600px) and (orientation: landscape) {
  .payment-modal-content {
    max-height: 95vh;
    border-radius: 16px;
    position: relative;
    bottom: auto;
    margin: 2.5vh auto;
  }

  .payment-modal-header {
    padding: 20px;
  }

  .payment-modal-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .payment-plans-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    max-height: none;
  }

  .payment-modal-footer {
    padding: 16px;
    flex-direction: row;
    justify-content: space-between;
  }
}