/* assets/css/responsive.css - Responsive Design Styles */
/* assets/css/responsive.css - Responsive Styles */

/* Prevent horizontal scrolling on all devices */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* LARGE DESKTOP (1440px+) */
@media (min-width: 1440px) { .container { max-width: 1400px; } .hero-title { font-size: 3.5rem; } .section-title { font-size: 3rem; } }

/* DESKTOP (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) { .container { max-width: 1200px; } }

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .logo-icon { width: 44px; height: 44px; }
  .logo-text { font-size: 1.375rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .steps-visual { order: -1; }
  .crypto-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; margin-bottom: var(--spacing-lg); }
  
  /* Testimonials - Show 2 cards on tablet */
  .testimonial-card {
    flex: 0 0 calc(50% - var(--spacing-lg) / 2);
    min-width: calc(50% - var(--spacing-lg) / 2);
  }
}

/* MOBILE LANDSCAPE (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) { .stats-grid, .features-grid, .crypto-grid { grid-template-columns: repeat(2, 1fr); } .security-grid { grid-template-columns: 1fr; } }

/* MOBILE (480px - 639px) */
@media (min-width: 480px) and (max-width: 639px) {
    .hero-stats, .stats-grid, .features-grid, .crypto-grid, .security-grid { grid-template-columns: 1fr; }
    .testimonials-stats { flex-direction: column; }
    .stat-divider { width: 100%; height: 1px; }
    /* Compact mobile tokens */
    :root { --m-scale: .92; --m-pad: .9; }
}

/* SMALL MOBILE (< 480px) */
@media (max-width: 479px) {
  * { box-sizing: border-box; }
  html { font-size: 14px; overflow-x: hidden; }
  body { overflow-x: hidden; width: 100%; max-width: 100vw; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text { font-size: 1.125rem; }
  
  /* Improved Hero Section for Mobile */
  .hero-title { 
    font-size: clamp(1.75rem, 7vw, 2.25rem); 
    line-height: 1.25; 
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-weight: 800;
  }
  
  .hero-badge {
    font-size: 0.8125rem;
    padding: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-description { 
    font-size: 1rem; 
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
  }
  
  .section-title { font-size: 1.4rem; line-height: 1.3; margin-bottom: var(--spacing-sm); }
  .section-description { font-size: 0.875rem; padding: 0 var(--spacing-sm); line-height: 1.5; }
  .section-badge { font-size: 0.7rem; padding: 6px 10px; }
  
  /* Reduce section padding on small mobile */
  .stats-section,
  .crypto-to-bank-section,
  .features-section {
    padding: var(--spacing-md) 0 !important;
  }
  
  .section-header {
    margin-bottom: var(--spacing-md);
  }
  
  .container { padding: 0 var(--spacing-md); max-width: 100vw; }
  .main-nav { padding: var(--spacing-sm) 0; }
  .hero-section { min-height: initial; padding: 80px 0 var(--spacing-xl); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--spacing-sm); width: 100%; }
  .stat-item { padding: var(--spacing-sm); width: 100%; }
  .stat-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .stat-value { font-size: 1.1rem; }
  .hero-cta { flex-direction: column; gap: var(--spacing-sm); width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-scroll-indicator { display: none; }
  .stats-grid { gap: var(--spacing-sm); grid-template-columns: 1fr; }
  .stat-card { padding: var(--spacing-sm); width: 100%; }
  .stat-card-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .stat-card-value { font-size: 1.05rem; max-width: 100%; white-space: nowrap; line-height: 1.2; }
  .stat-card-label { font-size: 0.75rem; margin-bottom: 4px; line-height: 1.3; }
  .stat-card-trend { font-size: 0.65rem; gap: 3px; }
  .stat-card-trend i { font-size: 0.65rem; }
  .stat-card-trend span { font-size: 0.65rem; }
    .features-grid { gap: var(--spacing-md); grid-template-columns: repeat(2, minmax(0,1fr)); }
    .feature-card { padding: var(--spacing-md); min-height: initial; width: 100%; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .feature-title { font-size: 1rem; line-height: 1.3; margin-bottom: 6px; }
  .feature-description { font-size: 0.8rem; line-height: 1.4; }
  .crypto-icon-group { flex-wrap: wrap; }
  .crypto-icon-group img, .crypto-more { width: 28px; height: 28px; }
  .phone-mockup-large { 
    max-width: 200px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
  }
  .steps-visual {
    display: flex !important;
    justify-content: center;
    margin: 0 auto;
    visibility: visible !important;
  }
    .step-card { padding: var(--spacing-sm); flex-direction: column; width: 100%; }
  .step-number span { width: 42px; height: 42px; font-size: 1.1rem; }
  .step-title { font-size: 1rem; word-wrap: break-word; line-height: 1.3; margin-bottom: 6px; }
  .step-description { font-size: 0.8rem; line-height: 1.4; margin-bottom: 8px; }
  /* Keep step features inline on small mobile with smaller sizing */
  .step-features-inline { flex-wrap: nowrap; overflow-x: hidden; gap: 3px; justify-content: flex-start; }
  .step-features-inline::-webkit-scrollbar { display: none; }
  .step-feature { flex-shrink: 0; font-size: 0.575rem; padding: 3px 5px; white-space: nowrap; gap: 2px; }
  .step-feature span { font-size: 0.575rem; }
  .step-feature img { width: 11px; height: 11px; }
  .feature-arrow { flex-shrink: 0; font-size: 0.65rem; margin: 0 1px; }
  .crypto-categories { gap: var(--spacing-sm); }
  .category-btn { padding: var(--spacing-sm) var(--spacing-md); font-size: 0.875rem; }
  .crypto-grid { gap: var(--spacing-md); }
  .crypto-card { padding: var(--spacing-md); }
  .crypto-icon { width: 40px; height: 40px; }
  .security-grid { gap: var(--spacing-lg); }
  .security-card { padding: var(--spacing-lg); }
  .security-card-icon { width: 48px; height: 48px; font-size: 1.5rem; }
  .certifications-grid { gap: var(--spacing-md); }
  .testimonial-card { 
    flex: 0 0 100%;
    min-width: 100%;
    padding: var(--spacing-lg);
  }
  .testimonial-avatar { width: 48px; height: 48px; }
  .testimonials-stats { flex-direction: column; gap: var(--spacing-md); padding: var(--spacing-lg); }
  .stat-divider { width: 100%; height: 1px; }
  .faq-grid { gap: var(--spacing-md); }
  .faq-question { padding: var(--spacing-md); font-size: 0.9375rem; }
  .faq-answer p, .faq-answer ol { padding: 0 var(--spacing-md) var(--spacing-md); font-size: 0.875rem; }
  .faq-cta { padding: var(--spacing-lg); }
  .faq-cta-content h3 { font-size: 1.5rem; }
  .faq-cta-content p { font-size: 1rem; }
  .faq-cta-buttons { flex-direction: column; gap: var(--spacing-sm); }
  .faq-cta-buttons .btn { width: 100%; }
  .cta-section { padding: var(--spacing-xl) 0; }
  .cta-icon { width: 64px; height: 64px; font-size: 2rem; }
  .cta-title { font-size: 1.75rem; }
  .cta-description { font-size: 1rem; }
  .cta-buttons { flex-direction: column; gap: var(--spacing-md); }
  .download-btn { width: 100%; padding: var(--spacing-md) var(--spacing-lg); }
  .cta-stats { flex-direction: column; gap: var(--spacing-md); }
  .main-footer { padding: var(--spacing-xl) 0 var(--spacing-md); }
  .footer-content { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .footer-social { justify-content: center; }
  .footer-column { text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom { flex-direction: column; gap: var(--spacing-md); text-align: center; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
  .back-to-top { width: 40px; height: 40px; bottom: var(--spacing-lg); right: var(--spacing-lg); }
  .cookie-content { flex-direction: column; gap: var(--spacing-md); text-align: center; }
    .partners-row { gap: var(--spacing-xs); flex-wrap: nowrap; }
    /* Ensure only 2 rows visible on extra small screens */
    .partners-row:nth-child(n+3) {
        display: none !important;
    }
    .partner-logo-wrapper { min-width: 56px; height: 56px; padding: var(--spacing-xs); flex-shrink: 0; }
    .partner-logo { width: 30px; height: 30px; }
    .partners-track { gap: var(--spacing-xs); } /* tighten row spacing on extra small devices */
}

/* EXTRA SMALL MOBILE (< 375px) */
@media (max-width: 374px) { 
  html { font-size: 13px; }
  
  .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin: var(--spacing-sm) 0 var(--spacing-md);
  }
  
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-badge {
    font-size: 0.65rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
  }
  
  /* Even smaller stats on extra small screens */
  .stat-card {
    padding: 10px;
  }
  
  .stat-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .stat-card-value {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  
  .stat-card-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .stat-card-trend {
    font-size: 0.6rem;
  }
  
  .section-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  
  .section-description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin: var(--spacing-md) 0;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
  
  .stat-value {
    font-size: 1.125rem;
    font-weight: 800;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  .hero-cta {
    gap: var(--spacing-xs);
  }
  
  .hero-cta .btn {
    font-size: 0.95rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .phone-mockup-large { 
    max-width: 180px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
  }
  .steps-visual {
    display: flex !important;
    justify-content: center;
    margin: 0 auto;
    visibility: visible !important;
  }
  .testimonial-card { flex: 0 0 260px; scroll-snap-align: center; scroll-snap-stop: always; padding: var(--spacing-md); }
  /* Ensure only 2 rows visible on extra small screens */
  .partners-row:nth-child(n+3) {
    display: none !important;
  }
}

/* LANDSCAPE ORIENTATION */
@media (max-height: 600px) and (orientation: landscape) { .hero-section { min-height: initial; padding: 100px 0 var(--spacing-xl); } .hero-scroll-indicator { display: none; } }

/* HIGH DPI DISPLAYS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .phone-frame, .phone-frame-large { box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 0.5px rgba(255,255,255,0.1) inset; } }

/* REDUCED MOTION */
@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; } }

/* DARK MODE PREFERENCE */
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --bg-color: var(--bg-dark); --surface-color: var(--surface-dark); --card-color: var(--card-dark); --text-primary: var(--text-primary-dark); --text-secondary: var(--text-secondary-dark); --text-tertiary: var(--text-tertiary-dark); --border-color: var(--border-dark); --divider-color: var(--divider-dark); --shadow-color: rgba(0, 0, 0, 0.3); } }

/* TOUCH DEVICE OPTIMIZATIONS */
@media (hover: none) and (pointer: coarse) { .btn, .nav-link, .category-btn, .faq-question, .footer-social a { min-height: 44px; min-width: 44px; } .testimonials-slider { scroll-snap-type: x mandatory; } .testimonial-card { scroll-snap-align: center; } }

/* MOBILE (<= 767px) - consolidated mobile tweaks */
@media screen and (max-width: 767px) {
    /* Prevent horizontal scroll */
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* Improved Hero Section for Mobile */
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: var(--spacing-lg);
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .hero-text {
        order: -1;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        display: inline-flex;
        margin-bottom: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-md);
        background: rgba(0, 120, 255, 0.08);
        border: 1px solid rgba(0, 120, 255, 0.2);
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8.5vw, 3rem);
        line-height: 1.15;
        margin: var(--spacing-md) 0 var(--spacing-lg);
        font-weight: 900;
        letter-spacing: -0.025em;
        word-spacing: 0.1em;
    }
    
    .hero-description {
        font-size: 1.0625rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-xl);
        max-width: 100%;
        color: var(--text-secondary);
    }
    
    .gradient-text {
        display: inline;
    }
    
    /* Hero Stats - Larger and more prominent */
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin: var(--spacing-xl) 0;
        padding: var(--spacing-lg);
        background: linear-gradient(135deg, rgba(0, 120, 255, 0.05), rgba(0, 210, 255, 0.05));
        border-radius: var(--radius-lg);
        border: 1px solid rgba(0, 120, 255, 0.1);
    }
    
    .stat-item {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .stat-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.375rem;
        font-weight: 800;
    }
    
    .stat-label {
        font-size: 0.7rem;
        font-weight: 600;
    }
    
    /* Hero CTA - Full width prominent buttons */
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-cta .btn {
        width: 100%;
        font-weight: 700;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }

    .phone-mockup { 
        max-width: 280px; 
        margin: var(--spacing-lg) auto 0; 
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Stats Section */
    .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--spacing-xs); }

    .stat-card {
        padding: var(--spacing-sm);
    }

    .stat-card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .stat-card-value {
        font-size: 1.3rem;
        max-width: 100%;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .stat-card-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .stat-card-trend {
        font-size: 0.7rem;
    }

    /* Features Section */
    .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--spacing-sm); }

    .feature-card {
        padding: var(--spacing-sm);
        min-height: 140px;
    }

    .feature-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .feature-icon {
        font-size: 1.4rem;
    }

    .feature-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .feature-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .crypto-icon-group img {
        width: 32px;
        height: 32px;
    }

    .crypto-more {
        width: 32px;
        height: 32px;
        font-size: 0.625rem;
    }

    .feature-timeline {
        flex-wrap: wrap;
    }

    .timeline-step {
        flex: 1;
        min-width: 60px;
    }

    .timeline-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .timeline-label {
        font-size: 0.625rem;
    }

    .timeline-connector {
        margin: 0 0.25rem;
    }

    .feature-pricing {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .pricing-divider {
        width: 100%;
        height: 1px;
    }

    /* How It Works Section */
    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: grid !important;
    }

    .steps-visual {
        max-width: 220px;
        margin: 0 auto;
        display: flex !important;
        justify-content: center;
        visibility: visible !important;
    }

    .phone-mockup-large {
        max-width: 220px;
        margin: 0 auto;
        display: block !important;
        visibility: visible !important;
    }

    .step-card {
        padding: var(--spacing-sm);
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .step-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 5px;
    }
    
    .step-description {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    /* Keep step features inline like desktop with compact sizing */
    .step-features-inline {
        flex-wrap: nowrap;
        overflow-x: hidden;
        gap: 2px;
    }
    
    .step-features-inline::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .step-feature {
        flex-shrink: 0;
        font-size: 0.55rem;
        padding: 2px 4px;
        white-space: nowrap;
        gap: 2px;
    }
    
    .step-feature span {
        font-size: 0.55rem;
    }
    
    .step-feature img {
        width: 10px;
        height: 10px;
    }
    
    .feature-arrow {
        flex-shrink: 0;
        font-size: 0.6rem;
        margin: 0;
    }

    /* Supported Crypto Section */
    .crypto-categories {
        gap: 0.375rem;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .crypto-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--spacing-md); }

    .crypto-card {
        padding: var(--spacing-md);
    }

    .crypto-icon {
        width: 40px;
        height: 40px;
    }

    .crypto-name {
        font-size: 1rem;
    }

    .crypto-price {
        font-size: 1.25rem;
    }

    /* .crypto-more padding already defined earlier */

    .crypto-more-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    /* Security Section */
    .security-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }

    .security-card {
        padding: var(--spacing-md);
    }

    .security-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .security-certifications {
        padding: var(--spacing-lg);
    }

    .certifications-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-md);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .certification-badge img {
        height: 20px;
        max-width: 100%;
    }

    .certification-badge span {
        font-size: 0.75rem;
    }

    /* Testimonials Section */
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: var(--spacing-md);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-name {
        font-size: 1rem;
    }
    
    .testimonials-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonials-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }

    .testimonials-stats .stat-divider {
        width: 100%;
        height: 1px;
    }

    /* Partners Section */
    .partners-header .section-title {
        font-size: 1.75rem;
    }

    .partners-header .section-description {
        font-size: 1rem;
    }

    .partners-track {
        gap: var(--spacing-md); /* tighten gap between rows */
    }

    /* Show only first 2 rows on mobile */
    .partners-row:nth-child(n+3) {
        display: none !important;
    }

    .partners-row {
        gap: var(--spacing-md);
        flex-wrap: nowrap;
    }

    .partner-logo-wrapper {
        min-width: 75px;
        height: 75px;
        padding: var(--spacing-sm);
        flex-shrink: 0;
    }

    .partner-logo {
        width: 40px;
        height: 40px;
    }

    .partners-cta {
        padding: var(--spacing-lg);
    }

    .partners-cta p {
        font-size: 1rem;
    }

    /* FAQ Section */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .faq-question {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }

    .faq-answer p {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
        font-size: 0.875rem;
    }

    .faq-cta {
        padding: var(--spacing-lg);
    }

    .faq-cta-buttons {
        flex-direction: column;
    }

    .faq-cta-buttons .btn {
        width: 100%;
    }

    /* CTA Section */
    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .download-btn-icon {
        font-size: 2rem;
    }

    .download-btn-label {
        font-size: 0.625rem;
    }

    .download-btn-store {
        font-size: 1rem;
    }

    .cta-qr {
        margin-bottom: var(--spacing-lg);
    }

    .cta-qr img {
        width: 150px;
        height: 150px;
    }

    .cta-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Cookie Consent */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content .btn {
        width: 100%;
    }
}

/* ==================== SMALL MOBILE STYLES (max-width: 480px) ==================== */
@media screen and (max-width: 480px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.25rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
    }

    html {
        font-size: 13px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Improved Hero Section */
    .hero-section {
        padding-top: 75px;
        padding-bottom: var(--spacing-xl);
    }

    .hero-title {
        font-size: clamp(1.875rem, 7vw, 2.625rem);
        line-height: 1.12;
        margin: var(--spacing-md) 0 var(--spacing-lg);
        font-weight: 900;
        letter-spacing: -0.03em;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        margin-bottom: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-md);
        background: rgba(0, 120, 255, 0.1);
        border: 1px solid rgba(0, 120, 255, 0.2);
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin: var(--spacing-lg) 0;
        padding: var(--spacing-md);
        background: linear-gradient(135deg, rgba(0, 120, 255, 0.06), rgba(0, 210, 255, 0.06));
        border-radius: var(--radius-md);
    }
    
    .stat-item {
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
        background: transparent;
        border: none;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
        font-weight: 800;
    }
    
    .stat-label {
        font-size: 0.65rem;
        font-weight: 600;
    }

    .hero-visual {
        max-width: 250px;
        margin-top: var(--spacing-lg);
    }

    .phone-mockup {
        max-width: 220px;
    }

    /* Stats Section */
    .stat-card-value {
        font-size: 1.75rem;
    }

    /* Features Section */
    .feature-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    /* Crypto Section */
    .category-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.625rem;
    }

    .crypto-card-header {
        gap: var(--spacing-sm);
    }

    .crypto-icon {
        width: 36px;
        height: 36px;
    }

    .crypto-name {
        font-size: 0.875rem;
    }

    .crypto-symbol {
        font-size: 0.75rem;
    }

    .crypto-price {
        font-size: 1.125rem;
    }
    
    /* How It Works - Keep features inline with compact sizing */
    .step-card {
        padding: var(--spacing-sm);
    }
    
    .step-number span {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .step-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .step-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .step-features-inline {
        flex-wrap: nowrap;
        overflow-x: hidden;
        gap: 3px;
        justify-content: flex-start;
    }
    
    .step-features-inline::-webkit-scrollbar {
        display: none;
    }
    
    .step-feature {
        flex-shrink: 0;
        font-size: 0.575rem;
        padding: 3px 5px;
        white-space: nowrap;
        gap: 2px;
        border-radius: 3px;
    }
    
    .step-feature span {
        font-size: 0.575rem;
    }
    
    .step-feature img {
        width: 11px;
        height: 11px;
    }
    
    .feature-arrow {
        flex-shrink: 0;
        font-size: 0.65rem;
        margin: 0 1px;
    }

    /* Security Section */
    .certifications-title {
        font-size: 1rem;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }

    .certification-badge {
        gap: 4px;
    }

    .certification-badge img {
        height: 18px;
        max-width: 100%;
    }

    .certification-badge span {
        font-size: 0.625rem;
    }

    /* CTA Section */
    .cta-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .download-btn {
        padding: var(--spacing-sm);
    }

    .download-btn-icon {
        font-size: 1.75rem;
    }

    .download-btn-label {
        font-size: 0.5rem;
    }

    .download-btn-store {
        font-size: 0.875rem;
    }

    .cta-qr img {
        width: 120px;
        height: 120px;
    }

    /* Footer */
    .footer-logo img {
        width: 32px;
        height: 32px;
    }

    .footer-logo .logo-text {
        font-size: 1.25rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    /* Partners Section */
    .partners-header .section-title {
        font-size: 1.5rem;
    }

    .partners-header .section-description {
        font-size: 0.875rem;
    }

    .partners-track {
        gap: var(--spacing-sm); /* reduce vertical gap on small mobile */
    }

    /* Ensure only 2 rows show on all small mobile screens */
    .partners-row:nth-child(n+3) {
        display: none !important;
    }

    .partners-row {
        gap: var(--spacing-sm);
        flex-wrap: nowrap;
    }

    .partner-logo-wrapper {
        min-width: 65px;
        height: 65px;
        padding: var(--spacing-xs);
        flex-shrink: 0;
    }

    .partner-logo {
        width: 36px;
        height: 36px;
    }

    .partners-cta {
        padding: var(--spacing-md);
    }

    .partners-cta p {
        font-size: 0.9375rem;
    }

    .footer-badges img {
        height: 24px;
    }
}

/* ==================== LANDSCAPE MOBILE (max-height: 500px) ==================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: initial;
        padding: var(--spacing-xl) 0;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== HIGH RESOLUTION DISPLAYS ==================== */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    :root {
        --spacing-2xl: 5rem;
    }

    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .main-header,
    .hero-scroll-indicator,
    .back-to-top,
    .cookie-consent,
    .cta-section,
    .footer-social {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .partners-row-1,
    .partners-row-2 {
        animation: none !important;
    }
}
