/* Modern RefundingRO Styles - 2025 */

:root {
  /* Modern Color Palette */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #06b6d4;
  --primary-600: #0891b2;
  --primary-700: #0e7490;
  --accent-400: #a78bfa;
  --accent-500: #8b5cf6;
  --accent-600: #7c3aed;
  
  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;
  
  /* Background Colors */
  --bg-primary: #0a0f1c;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-400) 0%, var(--primary-600) 100%);
  --gradient-bg: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  --gradient-text: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  
  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.3);
  --shadow-accent: 0 0 30px rgba(139, 92, 246, 0.3);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font-primary);
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(1deg); }
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.1);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.1);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.08);
  bottom: 20%;
  left: 60%;
  animation-delay: 4s;
}

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

.grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 15, 28, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-main {
  color: var(--text-primary);
  font-family: var(--font-display);
}

.brand-accent {
  color: var(--primary-500);
  font-family: var(--font-display);
  font-weight: 800;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.cta-button.large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.cta-button::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 var(--transition-slow);
}

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

.cta-button .icon {
  width: 18px;
  height: 18px;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-bg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-glass);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

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

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.title-line {
  display: block;
}

.gradient-text {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.trust-indicators {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-500);
  display: block;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: fadeInRight 1s ease-out 0.8s both;
}

.visual-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  min-width: 280px;
  box-shadow: var(--shadow-xl);
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.status-dot.success {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.card-content .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: var(--space-xs);
}

.card-content .details {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

/* Stats Section */
.stats {
  padding: var(--space-3xl) 0;
  background: var(--bg-glass);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-glass-hover);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-muted);
  line-height: 1.7;
}

/* How it Works Section */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--bg-glass);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-glow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.step-description {
  color: var(--text-muted);
  line-height: 1.7;
}

/* FAQ Section */
.faq {
  padding: var(--space-3xl) 0;
}

.faq-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.2);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.faq-question:hover {
  color: var(--primary-500);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-item.active .faq-answer p {
  margin-top: var(--space-md); /* Add top margin */
}



.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--bg-glass);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  font-size: 4rem;
  color: var(--primary-500);
  opacity: 0.3;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-glow);
}

.testimonial-content {
  margin-bottom: var(--space-lg);
}

.testimonial-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-location {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--gradient-bg);
  position: relative;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  margin-bottom: var(--space-xl);
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary-500);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  margin-bottom: var(--space-xl);
}

.footer-description {
  color: var(--text-muted);
  max-width: 400px;
  margin: var(--space-md) auto 0;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-glow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .trust-indicators {
    gap: var(--space-lg);
  }
  
  .features-grid,
  .steps-container,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .nav-container {
    padding: 0 var(--space-sm);
    height: 70px;
  }
  
  .brand-logo {
    font-size: 1.3rem;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  
  .logo-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .cta-button {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.9rem;
  }
  
  .cta-button.large {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px var(--space-sm);
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .trust-number {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .feature-card,
  .step-card,
  .testimonial-card {
    padding: var(--space-lg);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .visual-card {
    min-width: 240px;
    padding: var(--space-md);
  }
  
  .card-content .amount {
    font-size: 2rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .faq-question {
    padding: var(--space-md);
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
  }
  
  .section-header {
    margin-bottom: var(--space-2xl);
  }
  
  .hero-actions {
    gap: var(--space-lg);
  }
  
  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: var(--space-md);
    right: var(--space-md);
  }
  
  .scroll-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 var(--space-xs);
  }
  
  .nav-container {
    padding: 0 var(--space-xs);
  }
  
  .brand-logo {
    font-size: 1.2rem;
  }
  
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .features,
  .how-it-works,
  .testimonials,
  .cta {
    padding: var(--space-2xl) 0;
  }
  
  .stats {
    padding: var(--space-2xl) 0;
  }
  
  .faq {
    padding: var(--space-2xl) 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-icon,
  .feature-icon,
  .step-number {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .mesh-gradient,
  .floating-orbs,
  .grid-pattern {
    animation: none;
  }
  
  .gradient-text {
    animation: none;
  }
  
  .badge-dot {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --text-muted: #cccccc;
    --primary-500: #00d4ff;
    --accent-500: #a855f7;
  }
  
  .feature-card,
  .step-card,
  .testimonial-card,
  .faq-item {
    border-width: 2px;
  }
  
  .cta-button {
    border: 2px solid currentColor;
  }
}

/* Print styles */
@media print {
  .bg-effects,
  .navbar,
  .scroll-top,
  .hero-visual {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero {
    padding-top: 0;
  }
  
  .section-title,
  .hero-title,
  .cta-title {
    color: black !important;
  }
  
  .cta-button {
    border: 2px solid black;
    color: black !important;
    background: none !important;
  }
}

/* Focus styles for accessibility */
.cta-button:focus,
.faq-question:focus,
.scroll-top:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.brand-logo:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-500);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

/* Selection styles */
::selection {
  background: var(--primary-500);
  color: white;
}

::-moz-selection {
  background: var(--primary-500);
  color: white;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-500);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* Dark theme enhancement */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0a0f1c;
    --bg-secondary: #111827;
  }
}

/* Light theme fallback (if needed) */
@media (prefers-color-scheme: light) {
  /* Keep dark theme as primary design */
}
