/* Earnne public (nologin) design system – extracted from header.php to cut HTML payload */

  /* Earnne-inspired Design System */
  :root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #8b5cf6;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --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;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

  html {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: scroll;
    overflow-x: visible;
  }

  body {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: visible;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #ffffff;
  }

  #headerMainNav {
    margin-top: 0 !important;
    top: 0 !important;
  }

  /* Logo Styles */
  .earnne-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
  }

  .earnne-logo:hover {
    color: var(--primary-dark);
    text-decoration: none;
  }

  /* Modern Navigation – avoid transition:all (animates Bootstrap style arrival = CLS jump) */
  .navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #4e00d5 0%, #8173f1 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(78, 0, 213, 0.15);
  }
  #headerMainNav.navbar {
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar.scrolled {
    background: linear-gradient(135deg, #4e00d5 0%, #8173f1 100%);
    box-shadow: 0 6px 25px rgba(78, 0, 213, 0.25);
  }

  .navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
  }

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

  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
  }

  .navbar-nav .nav-link:hover::before {
    left: 0;
  }

  .navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
  }

  .navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
  }
  
  /* Dropdown Styles */
  .dropdown-menu .dropdown-item {
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
  }
  
  .dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
  }

  /* Buttons */
  .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
  }

  .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 12px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  .btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
  }

  /* Navigation Button Styles */
  .navbar .btn {
    transition: all 0.3s ease;
  }

  .navbar .btn:hover {
    transform: translateY(-2px);
  }

  .navbar .btn[style*="background: rgba(255, 255, 255, 0.1)"]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  }

  .navbar .btn[style*="background: rgba(255, 255, 255, 0.95)"]:hover {
    background: white !important;
    color: #4e00d5 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
  }

  /* Modern Navigation Button Hover Effects - Matching index.php style */
  .navbar .btn[style*="background: linear-gradient(135deg, rgba(255, 255, 255, 0.15)"]:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1)) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(78, 0, 213, 0.2);
  }

  .navbar .btn[style*="background: linear-gradient(135deg, #FFD700"]:hover {
    background: linear-gradient(135deg, #FFE55C, #FFB84D) !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  }

  /* Yellow CTAs (Start earnings, Get started, header signup, sticky) — font-weight 600 */
  a.earnne-yellow-cta,
  a.earnne-yellow-btn,
  .header-nav-btn--signup,
  .hero-desktop-cta-btn,
  .article-sticky-cta__btn,
  .cta-section .create-account-btn,
  .cta-section .cta-calm__btn.create-account-btn,
  a.btn[style*="FFD700"],
  a.btn[style*="ffd700"],
  a[style*="linear-gradient(135deg, #FFD700"],
  a[style*="linear-gradient(135deg, #ffd700"],
  a[style*="linear-gradient(135deg,#FFD700"],
  a[style*="linear-gradient(135deg,#ffd700"] {
    font-weight: 600 !important;
  }

  .navbar .btn:hover div {
    left: 100%;
  }

  /* Mobile nav: see header-body.php (#headerMainNav .header-mobile-menu) */
  @media (max-width: 991.98px) {
    .navbar .d-flex {
      flex-direction: column;
      gap: 0.75rem;
      width: 100%;
    }
  }

  /* Responsive Typography - Proportional Scale */
  @media (max-width: 768px) {
    /* Hero title/subtitle locked in critical + comprehensive mobile rules (match index.php) */
    
    .earn-title {
      font-size: 1.9rem !important; /* 80% of 2.4rem */
    }
    
    .earn-description {
      font-size: 1.1rem !important; /* Larger for better readability */
    }
    
    .feature-title {
      font-size: 1.5rem !important; /* 80% of 1.9rem */
    }
    
    .feature-description {
      font-size: 0.9rem !important; /* 80% of 1.1rem */
    }
  }
  
  @media (max-width: 576px) {
    /* Hero typography locked in critical CSS – do not override here */
    
    .earn-title {
      font-size: 1.6rem !important; /* 67% of 2.4rem */
    }
    
    .earn-description {
      font-size: 1rem !important; /* Larger for better mobile readability */
    }
    
    .feature-title {
      font-size: 1.3rem !important; /* 67% of 1.9rem */
    }
    
    .feature-description {
      font-size: 0.8rem !important; /* 67% of 1.1rem */
    }
  }

  /* Hero Section - non-modern pages only (homepage uses .hero-section--modern + critical CSS) */
  .hero-section:not(.hero-section--modern) {
    background: #f8f9fa;
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
  }

  .hero-gradient-container {
    background: linear-gradient(135deg, #8139FF, #9f6aff);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
  }

  /* .hero-title / .hero-subtitle sizes: critical CSS + index.php only (avoids mobile CLS) */

  .feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
  }

  .feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
    font-family: 'Poppins', sans-serif;
  }

  .feature-list li i {
    color: white;
    margin-right: 0.75rem;
    font-size: 1.2rem;
  }

  /* App Store Buttons - 2x2 Grid Layout */
  .app-store-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 400px;
  }

  .app-store-btn {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
  }

  .app-store-btn:hover {
    transform: translateY(-2px);
  }

  .btn-image {
    width: 100%;
    height: auto;
    max-width: 180px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
  }

  .app-store-btn:hover .btn-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* Modern Sections */
  .section {
    padding: 5rem 0;
    position: relative;
  }

  .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

  .section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  /* Modern Cards */
  .card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
  }

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

  .card-body {
    padding: 2rem;
  }

  .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
  }

  .card-text {
    color: var(--gray-600);
    line-height: 1.6;
  }

  /* About Section - Exact Match to Image */
  .about-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .about-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .about-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
  }

  .about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
  }

  /* Man with Phone - CSS Art */
  .man-with-phone {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .man-figure {
    position: relative;
    width: 200px;
    height: 350px;
  }

  .man-head {
    width: 80px;
    height: 80px;
    background: #8B4513;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .man-head::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    left: 20px;
  }

  .man-head::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    right: 20px;
  }

  .man-body {
    width: 120px;
    height: 150px;
    background: #2E8B57;
    border-radius: 20px 20px 0 0;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .man-body::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 80px;
    background: #F5DEB3;
    border-radius: 15px;
    top: 20px;
    left: 10px;
  }

  .man-arms {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone {
    width: 60px;
    height: 100px;
    background: #000;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .phone::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 4px;
    top: 10px;
    left: 5px;
  }

  .phone::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .feature-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .feature-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }

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

  .feature-card.card-1 {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
  }

  .feature-card.card-2 {
    background: #faf5ff;
    border-left: 4px solid #a855f7;
  }

  .feature-card.card-3 {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
  }

  .feature-card.card-1 .card-icon {
    background: #0ea5e9;
    color: white;
  }

  .feature-card.card-2 .card-icon {
    background: #a855f7;
    color: white;
  }

  .feature-card.card-3 .card-icon {
    background: #22c55e;
    color: white;
  }

  .card-icon i {
    font-size: 1.5rem;
  }

  .card-content {
    flex: 1;
  }

  .card-content .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
  }

  .card-content .card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
  }

  /* Earn Section - Exact Match to Image */
  .earn-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .earn-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .earn-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .earn-app-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 350px;
  }

  .earn-app-btn {
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
    font-family: 'Poppins', sans-serif;
  }

  .earn-app-btn:hover {
    transform: translateY(-2px);
    color: white;
  }

  .earn-app-btn i {
    font-size: 26px;
    margin-right: 0.25rem;
  }

  .phone-container {
    background: #8B5CF6;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }

  .phone-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
  }

  .phone-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    position: relative;
    z-index: 2;
  }

  /* Features Section - Exact Match to Image */
  .features-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .features-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 0;
  }

  .features-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .features-cards .feature-card {
    background: #f0f9ff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
  }

  .features-cards .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }

  .features-cards .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
  }

  .features-cards .card-icon i {
    font-size: 1.5rem;
  }

  .features-cards .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .features-cards .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
  }

  .features-cards .card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
  }

  .learn-more-btn {
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
  }

  .learn-more-btn:hover {
    background: #7C3AED;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* How to Start Section - Exact Match to Image */
  .how-to-start-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .how-to-start-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 0;
  }

  .how-to-start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .how-to-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }

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

  .purple-card {
    background: #8B5CF6;
    color: white;
  }

  .purple-card .card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  .purple-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    flex: 1;
  }

  .learn-more-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
  }

  .learn-more-link:hover {
    color: white;
    transform: translateX(4px);
  }

  .book-covers-card {
    padding: 0;
  }

  .book-covers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    height: 100%;
  }

  .book-cover {
    aspect-ratio: 3/4;
    border-radius: 8px;
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }

  .book-title {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 800;
  }

  .book-author {
    font-size: 9px;
    opacity: 0.9;
    font-weight: 600;
  }

  /* Individual book cover styles */
  .book-dopamine { 
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  }
  .book-strangers { 
    background: linear-gradient(135deg, #e74c3c 0%, #ff6b6b 100%);
  }
  .book-serve-up { 
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
  }
  .book-am-club { 
    background: linear-gradient(135deg, #2ecc71 0%, #58d68d 100%);
  }
  .book-human { 
    background: linear-gradient(135deg, #9b59b6 0%, #bb8fce 100%);
  }
  .book-zero-one { 
    background: linear-gradient(135deg, #f1c40f 0%, #f7dc6f 100%);
  }

  .how-to-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
  }

  .how-to-card .card-icon i {
    font-size: 1.5rem;
  }

  .how-to-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .how-to-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .how-to-card .card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
  }

  /* Responsive adjustments for How to Start */
  @media (max-width: 992px) {
    .how-to-start-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .how-to-start-grid {
      grid-template-columns: 1fr;
    }
  }

  /* CTA Container - Purple Gradient Background */
  .cta-container {
    background: linear-gradient(135deg, #8139FF, #9f6aff);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
  }

  .cta-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }

  /* Responsive CTA */
  @media (max-width: 768px) {
    .cta-text {
      font-size: 1.5rem;
    }
    
    .cta-container {
      padding: 2rem 1.5rem;
    }
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
    
    .app-store-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .app-store-btn {
      /* width: 100%; */
      max-width: 280px;
      justify-content: center;
    }
  }

  @media (max-width: 576px) {
    .section {
      padding: 3rem 0;
    }
  }

  /* Cards */
  .feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
  }

  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .feature-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .feature-card .icon i {
    color: white;
    font-size: 1.5rem;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
  }

  /* Footer */
  .footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 2rem;
  }

  .footer h5 {
    color: white;
    margin-bottom: 1rem;
  }

  .footer a {
    color: var(--gray-300);
  text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer a:hover {
    color: white;
  }

  .nav-item:first-of-type {
  margin-left: 20px;
}


  /* Responsive */
  @media (max-width: 768px) {
    .app-store-buttons {
      justify-content: center;
    }
    .nav-item:first-of-type {
  margin-left: 0;
}
  }

  /* Sharper logo, step icons and TrustPilot on mobile (reduce scaling blur) */
  @media (max-width: 768px) {
    .earnne-logo img,
    .footer-brand .brand-logo img,
    .how-to-earn-step-icon img,
    .trustpilot-logo {
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
    }
  }

  /* ============================================
     COMPREHENSIVE MOBILE RESPONSIVE STYLES
     For Non-Logged-In Users Only
     ============================================ */
  
  @media (max-width: 768px) {
    /* Section Padding - Reduce significantly - Override inline styles (hero has its own rules below) */
    .section,
    section.section {
      padding: 2rem 0 !important;
    }
    
    /* Target sections with inline padding styles */
    section[style*="padding: 100px"],
    section[style*="padding:100px"],
    .section[style*="padding: 100px"] {
      padding: 2rem 0 !important;
    }
    
    /* Override any inline padding on sections except hero (hero sizing is locked in critical CSS) */
    section[style*="padding"]:not(.hero-section) {
      padding: 2rem 0 !important;
    }
    
    /* Container Padding */
    .container {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
    
    /* Hero Title - keep in sync with index.php critical/final mobile hero */
    .hero-section .hero-title,
    h1.hero-title {
      font-size: clamp(2.1rem, 7.2vw, 4.2rem) !important;
      line-height: 1.1 !important;
      margin-bottom: 1.25rem !important;
      font-weight: 600;
    }
    
    /* Hero Subtitle */
    .hero-section .hero-subtitle,
    p.hero-subtitle {
      font-size: clamp(1.1rem, 3.6vw, 1.9rem) !important;
      line-height: 1.35 !important;
      margin-bottom: 1.5rem !important;
      font-weight: 400;
    }

    .hero-section,
    section.hero-section {
      min-height: auto !important;
      align-items: flex-start !important;
      padding: clamp(36px, 5.5vh, 52px) 0 clamp(40px, 8vh, 120px) !important;
    }

    .hero-ratings-bar {
      margin-bottom: 0.85rem !important;
    }

    .hero-image {
      margin-top: 1.25rem !important;
    }
    
    /* Section Titles - Override inline styles */
    .section-title,
    .earn-title,
    .about-title,
    .features-title,
    .how-to-start-title,
    h2.earn-title,
    h2.section-title,
    h2[style*="font-size: 2.4rem"],
    h2[style*="font-size: 2.8rem"],
    h2[style*="font-size:2.4rem"],
    h2[style*="font-size:2.8rem"],
    .earn-title[style*="font-size"],
    .section-title[style*="font-size"] {
      font-size: 1.6rem !important;
      line-height: 1.3 !important;
      margin-bottom: 1rem !important;
    }
    
    /* Section Subtitles/Descriptions - Override inline styles */
    .section-subtitle,
    .earn-description,
    .about-description,
    .features-description,
    p.earn-description,
    p[style*="font-size: 1.3rem"],
    p[style*="font-size: 1.25rem"],
    p[style*="font-size:1.3rem"],
    p[style*="font-size:1.25rem"],
    .earn-description[style*="font-size"] {
      font-size: 0.95rem !important;
      line-height: 1.5 !important;
      margin-bottom: 1.5rem !important;
    }
    
    /* Feature Cards - Reduce padding - Override inline styles */
    .modern-feature-card,
    .feature-card,
    .card,
    article[style*="padding: 2.5rem"],
    article[style*="padding:2.5rem"],
    article[style*="padding"],
    .modern-feature-card[style*="padding"],
    .feature-card[style*="padding"] {
      padding: 1.25rem !important;
      border-radius: 15px !important;
    }
    
    /* Feature Titles */
    .feature-title,
    h3.feature-title {
      font-size: 1.3rem !important;
      margin-bottom: 0.75rem !important;
    }
    
    /* Feature Descriptions */
    .feature-description,
    p.feature-description {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
      margin-bottom: 1rem !important;
    }
    
    /* Feature Icons */
    .feature-icon,
    .card-icon {
      width: 50px !important;
      height: 50px !important;
      margin-bottom: 0.75rem !important;
    }
    
    .feature-icon i,
    .card-icon i {
      font-size: 1.2rem !important;
    }
    
    /* Feature Stats */
    .feature-stats,
    .stat-item {
      gap: 0.75rem !important;
      margin-bottom: 1rem !important;
    }
    
    .stat-item div:first-child {
      font-size: 1.2rem !important;
    }
    
    .stat-item div:last-child {
      font-size: 0.75rem !important;
    }
    
    /* Buttons - Reduce padding (exclude marketing yellow CTAs / hero) */
    .modern-feature-btn,
    .btn-primary,
    .btn:not(.earnne-yellow-cta),
    a[style*="padding: 15px 30px"] {
      padding: 10px 20px !important;
      font-size: 0.9rem !important;
      border-radius: 10px !important;
    }

    /* Homepage-parity: hero type + yellow CTAs (hero + purple bottom bands) */
    .hero-section .hero-title,
    section.hero-section h1.hero-title,
    h1.hero-title {
      font-size: clamp(2.1rem, 7.2vw, 4.2rem) !important;
      line-height: 1.1 !important;
      margin-bottom: 1.25rem !important;
      font-weight: 600 !important;
      letter-spacing: -0.025em;
    }

    .hero-section .hero-subtitle,
    section.hero-section p.hero-subtitle,
    p.hero-subtitle {
      font-size: clamp(1.1rem, 3.6vw, 1.9rem) !important;
      line-height: 1.35 !important;
      margin-bottom: 1.5rem !important;
      font-weight: 400 !important;
    }

    .hero-cta,
    .hero-section .hero-cta {
      width: 100% !important;
      max-width: 100% !important;
    }

    .hero-cta a.btn,
    .hero-cta a.earnne-yellow-cta,
    .hero-cta a[href*="/registration"],
    .hero-section .hero-cta a.btn,
    .hero-section a.btn[style*="FFD700"],
    .hero-section a.btn[style*="ffd700"],
    section[style*="#4e00d5"] a.btn[style*="FFD700"],
    section[style*="#4e00d5"] a.btn[style*="ffd700"],
    section[style*="#4e00d5"] a.earnne-yellow-cta,
    a.earnne-yellow-cta,
    .cta-section .create-account-btn,
    .cta-section .cta-calm__btn.create-account-btn {
      width: 100% !important;
      max-width: 100% !important;
      min-height: 60px !important;
      padding: 16px 28px !important;
      font-size: 1.22rem !important;
      font-weight: 600 !important;
      letter-spacing: 0.01em !important;
      line-height: 1.25 !important;
      border-radius: 14px !important;
      box-sizing: border-box !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      box-shadow: none !important;
    }
    
    /* App Store Buttons */
    .app-store-btn,
    .app-store-buttons {
      gap: 0.5rem !important;
      margin-top: 1rem !important;
    }
    
    .app-store-btn .btn-image,
    .btn-image {
      height: 45px !important;
      min-width: 140px !important;
    }
    
    /* Trust Badge */
    .trust-badge {
      padding: 6px 12px !important;
      font-size: 0.8rem !important;
      margin-bottom: 1rem !important;
    }
    
    /* Quick Features - Keep horizontal on mobile */
    .quick-features {
      margin-bottom: 1rem !important;
    }
    
    .quick-features .row.g-3 {
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      justify-content: center !important;
    }
    
    .quick-features .col-md-4,
    .quick-features .col-sm-6,
    .quick-features .col-4 {
      flex: 0 0 auto !important;
      width: auto !important;
      max-width: none !important;
      margin: 0 4px !important;
      padding-left: 0.25rem !important;
      padding-right: 0.25rem !important;
    }
    
    .feature-item {
      margin-bottom: 0 !important;
      flex-direction: row !important;
      white-space: nowrap !important;
    }
    
    .feature-item > div:first-child {
      width: 32px !important;
      height: 32px !important;
      margin-right: 8px !important;
      margin-bottom: 0 !important;
      flex-shrink: 0 !important;
    }
    
    .feature-item span {
      font-size: 0.75rem !important;
      white-space: nowrap !important;
    }
    
    /* Timeline Steps */
    .timeline-step {
      margin-bottom: 2rem !important;
    }
    
    .step-icon {
      width: 80px !important;
      height: 80px !important;
      margin-bottom: 1rem !important;
    }
    
    .step-icon i {
      font-size: 1.8rem !important;
    }
    
    .timeline-step h4 {
      font-size: 1.1rem !important;
      margin-bottom: 0.5rem !important;
    }
    
    .timeline-step p {
      font-size: 0.9rem !important;
    }
    
    /* Testimonial Cards */
    .testimonial-card,
    div[style*="padding: 2rem"][class*="testimonial"] {
      padding: 1.25rem !important;
      border-radius: 15px !important;
    }
    
    .testimonial-card h4 {
      font-size: 1.1rem !important;
      margin-bottom: 0.75rem !important;
    }
    
    .testimonial-card p {
      font-size: 0.85rem !important;
      line-height: 1.5 !important;
      margin-bottom: 1rem !important;
    }
    
    /* Labels/Badges */
    .earn-label,
    .about-label,
    .features-label,
    .how-to-start-label {
      padding: 6px 14px !important;
      font-size: 0.75rem !important;
      margin-bottom: 0.75rem !important;
    }
    
    /* How To Start Grid */
    .how-to-start-grid {
      gap: 1rem !important;
    }
    
    .how-to-card {
      padding: 1.25rem !important;
    }
    
    .how-to-card .card-title {
      font-size: 1.1rem !important;
      margin-bottom: 0.75rem !important;
    }
    
    .how-to-card .card-text {
      font-size: 0.85rem !important;
    }
    
    /* Features Cards Grid */
    .features-cards {
      gap: 1rem !important;
    }
    
    .features-cards .feature-card {
      padding: 1.25rem !important;
      min-width: auto !important;
    }
    
    /* CTA Container */
    .cta-container {
      padding: 1.5rem 1rem !important;
      margin: 1.5rem 0 !important;
    }
    
    .cta-text {
      font-size: 1.2rem !important;
    }
    
    /* Hero Gradient Container */
    .hero-gradient-container {
      padding: 1.5rem 1rem !important;
      border-radius: 15px !important;
    }
    
    /* Feature List */
    .feature-list {
      margin: 1rem 0 !important;
    }
    
    .feature-list li {
      font-size: 0.9rem !important;
      margin-bottom: 0.75rem !important;
    }
    
    .feature-list li i {
      font-size: 1rem !important;
      margin-right: 0.5rem !important;
    }
    
    /* Row Gaps */
    .row.g-4 {
      --bs-gutter-y: 1rem !important;
    }
    
    /* Margin Bottom Adjustments */
    .mb-4 {
      margin-bottom: 1rem !important;
    }
    
    .mb-5 {
      margin-bottom: 1.5rem !important;
    }
    
    /* Text Center Spacing */
    .text-center.mb-5 {
      margin-bottom: 1.5rem !important;
    }
    
    /* Floating Badges - Hide or reduce on mobile */
    div[style*="position: absolute"][style*="top:"] {
      display: none !important;
    }
    
    /* Hero Image Container */
    .hero-image {
      margin-top: 1.25rem !important;
    }
    
    /* Col Padding */
    .col-lg-6,
    .col-md-12,
    .col-lg-4,
    .col-md-6 {
      padding-left: 0.5rem !important;
      padding-right: 0.5rem !important;
    }
    
    .ps-lg-5 {
      padding-left: 0.5rem !important;
    }
  }
  
  @media (max-width: 576px) {
    /* Extra small devices - Even more compact (hero typography stays on 768 clamp from index.php) */
    .section {
      padding: 1.5rem 0 !important;
    }
    
    section[style*="padding: 100px"]:not(.hero-section) {
      padding: 1.5rem 0 !important;
    }
    
    .section-title,
    .earn-title,
    .about-title,
    .features-title,
    .how-to-start-title,
    h2.earn-title {
      font-size: 1.4rem !important;
    }
    
    .section-subtitle,
    .earn-description,
    .about-description,
    p.earn-description {
      font-size: 0.85rem !important;
    }
    
    .modern-feature-card,
    .feature-card,
    .card,
    article[style*="padding: 2.5rem"] {
      padding: 1rem !important;
    }
    
    .feature-title,
    h3.feature-title {
      font-size: 1.1rem !important;
    }
    
    .feature-description,
    p.feature-description {
      font-size: 0.85rem !important;
    }
    
    .modern-feature-btn,
    .btn-primary,
    .btn:not(.earnne-yellow-cta) {
      padding: 8px 16px !important;
      font-size: 0.85rem !important;
    }

    .hero-cta a.btn,
    .hero-cta a.earnne-yellow-cta,
    .hero-cta a[href*="/registration"],
    .hero-section .hero-cta a.btn,
    .hero-section a.btn[style*="FFD700"],
    .hero-section a.btn[style*="ffd700"],
    section[style*="#4e00d5"] a.btn[style*="FFD700"],
    section[style*="#4e00d5"] a.btn[style*="ffd700"],
    section[style*="#4e00d5"] a.earnne-yellow-cta,
    a.earnne-yellow-cta,
    .cta-section .create-account-btn,
    .cta-section .cta-calm__btn.create-account-btn {
      min-height: 58px !important;
      padding: 15px 24px !important;
      font-size: 1.18rem !important;
      border-radius: 14px !important;
    }
    
    .app-store-btn .btn-image,
    .btn-image {
      height: 40px !important;
      min-width: 120px !important;
    }
    
    .container {
      padding-left: 0.75rem !important;
      padding-right: 0.75rem !important;
    }
    
    .testimonial-card {
      padding: 1rem !important;
    }
    
    .how-to-card {
      padding: 1rem !important;
    }
  }
