/* ================ */
/* ROOT & VARIABLES  */
/* ================ */
:root {
    /* Blue Color System */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    
    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    /* Backgrounds */
    --bg-light: #ffffff; /* Pure white background */
    --bg-dark: #0f172a; /* Dark blue background */
    --card-light: rgba(255, 255, 255, 0.95);
    --card-dark: rgba(15, 23, 42, 0.95);
    
    /* Text */
    --text-light: var(--neutral-800);
    --text-dark: var(--neutral-100);
    --text-muted: var(--neutral-500);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
  }
  
  /* =========== */
  /* DARK MODE   */
  /* =========== */
  .dark-mode {
    --bg-light: var(--bg-dark);
    --text-light: var(--text-dark);
    --card-light: var(--card-dark);
    --text-muted: var(--neutral-400);
  }
  
  /* =========== */
  /* BASE STYLES */
  /* =========== */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-light);
    transition: background-color var(--transition-normal), color var(--transition-normal);
  }
  
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
  
  p {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
  }
  
  a {
    text-decoration: none;
    color: var(--blue-600);
    transition: color var(--transition-fast);
  }
  
  a:hover {
    color: var(--blue-800);
  }
  
  .dark-mode a:hover {
    color: var(--blue-400);
  }
  
  /* ============= */
  /* UTILITY CLASSES */
  /* ============= */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
  }
  
  .section-title {
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--blue-600), var(--blue-400));
    border-radius: var(--radius-full);
  }
  
  .highlight {
    color: var(--blue-600);
    position: relative;
  }
  
  .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(59, 130, 246, 0.2);
    z-index: -1;
    border-radius: var(--radius-full);
  }
  
  /* =========== */
  /* COMPONENTS  */
  /* =========== */
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
  }
  
  .btn-primary {
    background: linear-gradient(to right, var(--blue-600), var(--blue-400));
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to right, var(--blue-700), var(--blue-500));
  }
  
  .btn-primary:active {
    transform: translateY(0);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--blue-600);
    border-color: var(--blue-600);
  }
  
  .btn-secondary:hover {
    background-color: var(--blue-50);
  }
  
  .btn-large {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1.1rem;
  }
  
  /* Header */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
  }
  
  .dark-mode .header {
    background-color: rgba(15, 23, 42, 0.95);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-700);
  }
  
  .dark-mode .logo {
    color: var(--blue-400);
  }
  
  .logo-icon {
    color: var(--blue-500);
  }
  
  .nav-links {
    height: 30px;
    display: flex;
    gap: var(--space-lg);
  }
  
  .nav-links a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue-500);
    transition: width var(--transition-fast);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
  }
  
  /* Hero Section */
  .hero {
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
  }
  
  .cta-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  
  .trust-badges {
    display: flex;
    gap: var(--space-lg);
  }
  
  .badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
  }
  
  .mockup-screen {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
  }
  .mockup-content {
    
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: var(--radius-xl);
    border-color: #2563eb;
    box-shadow: var(--shadow-xl);
    
    z-index: 100000;
  }
  
  /* Features Section */
  .features-section {
    background-color: var(--neutral-50);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
  }
  
  .feature-card {
    background-color: var(--card-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .dark-mode .feature-card {
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: white;
    font-size: 1.5rem;
    background-color: var(--blue-500);
  }
  
  .feature-title {
    margin-bottom: var(--space-sm);
  }
  
  .feature-benefits {
    list-style: none;
    margin-top: var(--space-md);
  }
  
  .feature-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .dark-mode .feature-benefits li {
    border-top-color: rgba(255, 255, 255, 0.05);
  }
  
  .feature-benefits li i {
    color: var(--blue-500);
  }
  
  /* Testimonials Section */
  .testimonials-section {
    background-color: white;
    padding: var(--space-3xl) 0;
  }
  
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
  }
  
  .testimonial-card {
    background-color: var(--card-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .testimonial-rating {
    color: #f59e0b;
    margin-bottom: var(--space-sm);
  }
  
  .testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-md);
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
  
  .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    font-size: 1.25rem;
  }
  
  /* How It Works */
  .how-it-works {
    background-color: var(--neutral-50);
    padding: var(--space-3xl) 0;
  }
  
  .steps-container {
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .step {
    position: relative;
    padding-left: calc(50px + var(--space-md));
    margin-bottom: var(--space-lg);
  }
  
  .step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--blue-600), var(--blue-400));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
  }
  
  .step-content {
    background-color: var(--card-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
  
  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    color: white;
    padding: var(--space-3xl) 0;
  }
  
  .cta-title {
    color: white;
    margin-bottom: var(--space-md);
  }
  
  .cta-description {
    color: white;
    margin-bottom: var(--space-xl);
  }
  
  /* Footer */
  .footer {
    background-color: var(--neutral-900);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .footer-title {
    color: white;
    margin-bottom: var(--space-md);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: var(--space-xs);
  }
  
  .footer-links a {
    color: var(--neutral-400);
    transition: color var(--transition-fast);
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--neutral-400);
  }
  
  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background-color: var(--card-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 100;
    border: none;
    color: var(--text-light);
    transition: all var(--transition-normal);
  }
  
  .theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
  
  /* Back to Top */
  .back-to-top {
    position: fixed;
    bottom: calc(var(--space-md) + 60px);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background-color: var(--card-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 100;
    border: none;
    color: var(--text-light);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
  
  /* ================ */
  /* RESPONSIVE DESIGN */
  /* ================ */
  @media (max-width: 1024px) {
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
    
    .hero-text {
      text-align: center;
    }
    
    .hero-description {
      margin-left: auto;
      margin-right: auto;
    }
    
    .cta-buttons {
      justify-content: center;
    }
    
    .trust-badges {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .navbar {
      height: 64px;
    }
    
    .nav-links {
      position: fixed;
      top: 64px;
      left: 0;
      width: 100%;
      background-color: var(--card-light);
      flex-direction: column;
      padding: var(--space-md);
      box-shadow: var(--shadow-md);
      display: none;
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-description {
      font-size: 1.1rem;
    }
    
    .cta-buttons {
      flex-direction: column;
    }
    
    .trust-badges {
      flex-direction: column;
      align-items: center;
    }
    
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-links {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  
  @media (max-width: 480px) {
    .section {
      padding: var(--space-2xl) 0;
    }
    
    .feature-card {
      padding: var(--space-md);
    }
    
    .step {
      padding-left: calc(40px + var(--space-sm));
    }
    
    .step::before {
      width: 40px;
      height: 40px;
    }
  }