/**
 * ABEXO速 - Responsive Stylesheet
 * Mobile & Tablet Optimizations
 * Breakpoints: 320px (Small Mobile), 480px (Mobile), 768px (Tablet), 1024px (Small Desktop)
 */

/* ==================== TABLET (768px - 1024px) ==================== */
@media (max-width: 1024px) {
    /* Container & Layout */
    :root {
        --container-width: 100%;
        --section-padding: 80px 0;
    }
    
    .container {
        padding: 0 30px;
    }
    
    /* Typography */
    .section-title {
        font-size: 36px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* Header */
    .header-container {
        padding: 0 30px;
        height: 70px;
    }
    
    .header-logo img {
        height: 38px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero {
        height: 80vh;
        min-height: 600px;
        
    }
    
    
    .hero-bg-1 {
        
            background-size:cover ;
            }
            
            
             .hero-bg-2 {
        
            background-size:cover ;
            }
    
    .hero-content {
        max-width: 700px;
    }
    
    .hero-title {
        font-size: clamp(36px, 4.5vw, 48px);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .hero-subheadline {
        font-size: 13px;
        letter-spacing: 2.5px;
        margin-bottom: 18px;
    }
    
    .slider-arrows {
        right: 40px;
        bottom: 35px;
    }
    
    .slider-arrows button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .slider-dots {
        bottom: 35px;
    }
    
    .social-sidebar {
        left: 30px;
        gap: 20px;
    }
    
    /* Trust Strip */
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 30px;
    }
    
    .trust-icon {
        width: 55px;
        height: 55px;
    }
    
    .trust-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .trust-label {
        font-size: 13px;
    }
    
    /* Why Section */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .why-card {
        padding: 35px 25px;
    }
    
    .why-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    /* About Section */
    .about-wrapper {
        gap: 60px;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .about-image-wrapper {
        height: 400px;
    }
    
    .about-badge {
        bottom: 20px;
        left: 20px;
        padding: 14px 20px;
    }
    
    /* Products Section */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-grid .product-panel:nth-child(4),
    .products-grid .product-panel:nth-child(5) {
        grid-column: span 1;
    }
    
    .products-grid .product-panel:nth-child(4) {
        grid-column: auto;
    }
    
    .products-grid .product-panel:nth-child(5) {
        grid-column: auto;
    }
    
    .product-visual {
        height: 220px;
    }
    
    .product-content {
        padding: 25px 20px;
    }
    
    .product-name {
        font-size: 18px;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding-bottom: 50px;
    }
    
    .footer-column:first-child {
        grid-column: span 2;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 25px;
        right: 25px;
        font-size: 16px;
    }
}

/* ==================== MOBILE (481px - 767px) ==================== */
@media (max-width: 767px) {
    /* Container & Layout */
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Typography */
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-label {
        font-size: 12px;
        letter-spacing: 1.2px;
        margin-bottom: 12px;
    }
    
    /* Header */
    .header-container {
        height: 65px;
        padding: 0 20px;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-search-btn {
        width: 38px;
        height: 38px;
    }
    
    .btn-header {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 18px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .hero-subheadline {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 5px 5px 5px 24px;
        font-size: 14px;
    }
    
    .icon-circle {
        width: 38px;
        height: 38px;
        margin-left: 16px;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .slider-arrows {
        right: 50%;
        transform: translateX(50%);
        bottom: 25px;
        gap: 20px;
    }
    
    .slider-arrows button {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .slider-dots {
        bottom: 90px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Trust Strip */
    .trust-strip {
        padding: 30px 0;
    }
    
    .trust-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .trust-item {
        gap: 12px;
    }
    
    .trust-icon {
        width: 50px;
        height: 50px;
    }
    
    .trust-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .trust-label {
        font-size: 12px;
    }
    
    /* Why Section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .why-card {
        padding: 30px 25px;
    }
    
    .why-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }
    
    .why-title {
        font-size: 17px;
    }
    
    .why-description {
        font-size: 14px;
    }
    
    /* About Section */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-description {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .about-highlights {
        gap: 14px;
        margin-bottom: 32px;
    }
    
    .highlight-item {
        gap: 12px;
    }
    
    .highlight-icon {
        width: 22px;
        height: 22px;
    }
    
    .highlight-item p {
        font-size: 14px;
    }
    
    .about-image-wrapper {
        height: 350px;
    }
    
    .about-badge {
        bottom: 16px;
        left: 16px;
        padding: 12px 18px;
        gap: 12px;
    }
    
    .badge-icon {
        width: 28px;
        height: 28px;
    }
    
    .badge-label {
        font-size: 11px;
    }
    
    .badge-title {
        font-size: 14px;
    }
    
    .about-stats {
        padding: 20px 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-divider {
        height: 36px;
    }
    
    /* Products Section */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .product-visual {
        height: 200px;
    }
    
    .product-content {
        padding: 25px 20px;
    }
    
    .product-name {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .product-positioning {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .product-benefits {
        margin-bottom: 20px;
    }
    
    .product-benefits li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .product-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .main-footer {
        padding-top: 60px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }
    
    .footer-column:first-child {
        grid-column: span 1;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .footer-description {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-contact-info {
        gap: 12px;
    }
    
    .footer-contact-info li {
        font-size: 13px;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .footer-bottom {
        padding: 25px 0;
    }
    
    .footer-bottom-content {
        font-size: 13px;
    }
    
    .cert-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    /* Search Overlay */
    .search-content h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .search-input {
        padding: 18px 65px 18px 22px;
        font-size: 15px;
    }
    
    .search-submit {
        width: 46px;
        height: 46px;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
        font-size: 15px;
    }
    
    /* Spacing Utilities */
    .mt-60 { margin-top: 40px; }
    .mt-80 { margin-top: 50px; }
    .mb-60 { margin-bottom: 40px; }
    .mb-80 { margin-bottom: 50px; }
    .py-80 { padding-top: 60px; padding-bottom: 60px; }
    .py-100 { padding-top: 70px; padding-bottom: 70px; }
}

/* ==================== SMALL MOBILE (320px - 480px) ==================== */
@media (max-width: 480px) {
    /* Container & Layout */
    :root {
        --section-padding: 50px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Typography */
    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-label {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    /* Header */
    .header-container {
        height: 60px;
        padding: 0 16px;
    }
    
    .header-logo img {
        height: 32px;
    }
    
    .header-search-btn {
        width: 36px;
        height: 36px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    /* Hero Section */
    .hero {
        height: 65vh;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-subheadline {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }
    
    .cta-button {
        padding: 4px 4px 4px 20px;
        font-size: 13px;
    }
    
    .icon-circle {
        width: 36px;
        height: 36px;
        margin-left: 14px;
    }
    
    .slider-arrows {
        gap: 16px;
        bottom: 20px;
    }
    
    .slider-arrows button {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 80px;
        gap: 12px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
    
    /* Trust Strip */
    .trust-strip {
        padding: 25px 0;
    }
    
    .trust-container {
        gap: 20px;
        padding: 0 16px;
    }
    
    .trust-icon {
        width: 46px;
        height: 46px;
    }
    
    .trust-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .trust-label {
        font-size: 11px;
    }
    
    /* Why Section */
    .why-grid {
        gap: 18px;
        margin-top: 35px;
    }
    
    .why-card {
        padding: 25px 20px;
    }
    
    .why-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .why-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .why-description {
        font-size: 13px;
    }
    
    /* About Section */
    .about-wrapper {
        gap: 40px;
    }
    
    .about-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .about-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .about-highlights {
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .highlight-item {
        gap: 10px;
    }
    
    .highlight-icon {
        width: 20px;
        height: 20px;
    }
    
    .highlight-item p {
        font-size: 13px;
    }
    
    .about-image-wrapper {
        height: 300px;
    }
    
    .about-badge {
        bottom: 14px;
        left: 14px;
        padding: 10px 16px;
        gap: 10px;
    }
    
    .badge-icon {
        width: 24px;
        height: 24px;
    }
    
    .badge-label {
        font-size: 10px;
    }
    
    .badge-title {
        font-size: 13px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        padding: 12px 0;
        border-bottom: 1px solid #E5E7EB;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Products Section */
    .products-grid {
        gap: 18px;
        margin-top: 35px;
    }
    
    .product-visual {
        height: 180px;
    }
    
    .product-content {
        padding: 20px 18px;
    }
    
    .product-name {
        font-size: 17px;
        margin-bottom: 6px;
    }
    
    .product-subtitle {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .product-positioning {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .product-benefits {
        margin-bottom: 18px;
    }
    
    .product-benefits li {
        font-size: 12px;
        margin-bottom: 7px;
        padding-left: 18px;
    }
    
    .product-benefits li:before {
        width: 5px;
        height: 5px;
        top: 7px;
    }
    
    .product-cta {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    /* Footer */
    .main-footer {
        padding-top: 50px;
    }
    
    .footer-top {
        gap: 30px;
        padding-bottom: 35px;
    }
    
    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .footer-about .footer-logo img {
        height: 36px;
    }
    
    .footer-description {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .footer-badge {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .footer-contact-info {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .footer-contact-info li {
        font-size: 12px;
        gap: 10px;
    }
    
    .footer-contact-info i {
        font-size: 14px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-content {
        font-size: 12px;
        gap: 16px;
    }
    
    .footer-certifications {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cert-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    /* Buttons */
    .btn {
        padding: 11px 20px;
        font-size: 13px;
        gap: 8px;
    }
    
    .btn-large {
        padding: 13px 24px;
        font-size: 14px;
    }
    
    /* Search Overlay */
    .search-container {
        padding: 0 16px;
    }
    
    .search-close {
        top: -45px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .search-content h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .search-input {
        padding: 16px 60px 16px 20px;
        font-size: 14px;
    }
    
    .search-submit {
        width: 42px;
        height: 42px;
    }
    
    /* Mobile Menu */
    .mobile-menu-content {
        padding: 90px 20px 30px;
    }
    
    .mobile-nav-link {
        font-size: 18px;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    /* Spacing Utilities */
    .mt-40 { margin-top: 25px; }
    .mt-60 { margin-top: 35px; }
    .mt-80 { margin-top: 40px; }
    .mb-40 { margin-bottom: 25px; }
    .mb-60 { margin-bottom: 35px; }
    .mb-80 { margin-bottom: 40px; }
    .py-60 { padding-top: 50px; padding-bottom: 50px; }
    .py-80 { padding-top: 55px; padding-bottom: 55px; }
    .py-100 { padding-top: 60px; padding-bottom: 60px; }
}

/* ==================== LANDSCAPE MODE ADJUSTMENTS ==================== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-arrows {
        bottom: 20px;
    }
}

/* ==================== TOUCH DEVICE OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for better mobile UX */
    .nav-link,
    .mobile-nav-link,
    .footer-links a {
        padding: 8px 0;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .why-card:hover,
    .product-panel:hover {
        transform: none;
    }
    
    /* Make interactive elements more obvious */
    .product-cta,
    .btn-primary,
    .btn-outline {
        box-shadow: 0 2px 8px rgba(0, 45, 88, 0.15);
    }
}

/* ==================== HIGH DPI SCREENS ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images and icons for retina displays */
    .header-logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .main-header,
    .mobile-menu-toggle,
    .scroll-to-top,
    .slider-arrows,
    .slider-dots,
    .social-sidebar,
    .header-search-btn {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .hero {
        height: auto;
        min-height: 400px;
    }
}

/* ==================== DISTRIBUTOR PAGE RESPONSIVE ==================== */

/* ==================== TABLET (768px - 1024px) ==================== */
@media (max-width: 1024px) {
    /* Distributor Section Spacing */
    .section {
        padding: 90px 0;
        margin-bottom: 30px;
    }
    
    .section-alt {
        padding: 90px 0;
    }
    
    /* Distributor Hero */
    .dist-hero {
        height: 50vh;
        min-height: 380px;
        padding: 60px 20px;
    }
    
    .dist-hero h1 {
        font-size: 44px;
    }
    
    .dist-hero p {
        font-size: 17px;
    }
    
    /* Distributor Content */
    .distributor-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .distributor-title {
        font-size: 36px;
    }
    
    .distributor-description {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .distributor-values {
        gap: 18px;
        margin-bottom: 35px;
    }
    
    .value-icon {
        width: 38px;
        height: 38px;
    }
    
    .value-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .value-item p {
        font-size: 15px;
    }
    
    /* Intro Grid */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .stats-card {
        order: -1;
    }
    
    .stats-overlay {
        padding: 22px;
    }
    
    .stats-overlay .stat-number {
        font-size: 26px;
    }
    
    .stats-overlay .stat-label {
        font-size: 12px;
    }
    
    /* License Grid */
    .license-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 50px;
    }
    
    .license-card {
        padding: 50px 35px;
    }
    
    .license-card h3 {
        font-size: 24px;
    }
    
    .license-card p {
        font-size: 15px;
    }
    
    .license-card ul li {
        font-size: 15px;
    }
    
    /* Form Wrapper */
    .form-wrapper {
        margin: -60px auto 0;
        padding: 50px 40px;
    }
    
    .form-wrapper h2 {
        font-size: 32px;
    }
    
    /* Distributor Stats */
    .distributor-stats {
        bottom: 25px;
        gap: 14px;
        max-width: 450px;
    }
    
    /* Visual Container */
    .visual-container {
        height: 480px;
    }
    
    .distributor-graphic {
        width: 220px;
        height: 220px;
    }
}

/* ==================== MOBILE (481px - 767px) ==================== */
@media (max-width: 767px) {
    /* Distributor Section Spacing */
    .section {
        padding: 60px 0;
        margin-bottom: 20px;
    }
    
    .section-alt {
        padding: 60px 0;
    }
    
    /* Distributor Hero */
    .dist-hero {
        height: 45vh;
        min-height: 350px;
        padding: 50px 20px;
        margin-top: 65px;
    }
    
    .dist-hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 18px;
    }
    
    .dist-hero p {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    /* Distributor Content */
    .distributor-content {
        gap: 50px;
    }
    
    .distributor-title {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .distributor-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .distributor-values {
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .value-icon {
        width: 36px;
        height: 36px;
    }
    
    .value-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .value-item p {
        font-size: 14px;
        padding-top: 6px;
    }
    
    /* Distributor Actions */
    .distributor-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .distributor-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Intro Grid */
    .intro-grid {
        gap: 40px;
    }
    
    .intro-text h2 {
        font-size: 28px;
    }
    
    .intro-text p {
        font-size: 15px;
    }
    
    .stats-card {
        border-radius: 2px;
    }
    
    .stats-overlay {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 18px;
    }
    
    .stats-overlay .stat-item {
        padding: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .stats-overlay .stat-item:last-child {
        border-bottom: none;
    }
    
    .stats-overlay .stat-number {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .stats-overlay .stat-label {
        font-size: 13px;
    }
    
    /* License Grid */
    .license-grid {
        gap: 30px;
        margin-top: 40px;
    }
    
    .license-card {
        padding: 40px 30px;
    }
    
    .license-card.exclusive {
        border-top-width: 5px;
    }
    
    .license-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .license-card p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .license-card ul {
        margin-top: 18px;
    }
    
    .license-card ul li {
        font-size: 14px;
        margin-bottom: 10px;
        padding-left: 22px;
    }
    
    .license-card ul li::before {
        width: 5px;
        height: 5px;
        top: 9px;
    }
    
    /* Form Wrapper */
    .form-wrapper {
        margin: 40px auto 0;
        padding: 40px 25px;
        border-radius: 2px;
    }
    
    .form-wrapper h2 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .form-wrapper p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-input {
        padding: 12px;
        font-size: 15px;
    }
    
    .form-input::placeholder {
        font-size: 14px;
    }
    
    textarea.form-input {
        min-height: 130px;
    }
    
    .form-submit {
        width: 100%;
        padding: 14px 28px;
        font-size: 14px;
    }
    
    /* Visual Container */
    .visual-container {
        height: auto;
        min-height: 480px;
        padding: 40px 20px;
    }
    
    .distributor-graphic {
        width: 180px;
        height: 180px;
        margin-bottom: 30px;
    }
    
    .tech-grid {
        background-size: 35px 35px;
    }
    
    .distributor-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 12px 14px;
    }
    
    .stat-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .stat-text strong {
        font-size: 13px;
    }
    
    .stat-text span {
        font-size: 11px;
    }
    
    /* Toaster Notification */
    #toaster {
        width: 90%;
        max-width: 340px;
        right: -100%;
        bottom: 20px;
        padding: 18px;
        font-size: 14px;
    }
    
    #toaster.show {
        right: 5%;
    }
    
    #toaster .icon {
        width: 24px;
        height: 24px;
    }
}

/* ==================== SMALL MOBILE (320px - 480px) ==================== */
@media (max-width: 480px) {
    /* Distributor Section Spacing */
    .section {
        padding: 50px 0;
        margin-bottom: 15px;
    }
    
    .section-alt {
        padding: 50px 0;
    }
    
    /* Distributor Hero */
    .dist-hero {
        height: 40vh;
        min-height: 320px;
        padding: 40px 16px;
        margin-top: 60px;
    }
    
    .dist-hero h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    
    .dist-hero p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0;
    }
    
    /* Distributor Content */
    .distributor-content {
        gap: 40px;
    }
    
    .distributor-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .distributor-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 28px;
    }
    
    .distributor-values {
        gap: 14px;
        margin-bottom: 28px;
    }
    
    .value-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
    
    .value-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .value-item {
        gap: 12px;
    }
    
    .value-item p {
        font-size: 13px;
        padding-top: 4px;
    }
    
    /* Distributor Actions */
    .distributor-actions .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    /* Intro Grid */
    .intro-grid {
        gap: 35px;
    }
    
    .intro-text h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .intro-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .stats-overlay {
        padding: 18px;
        gap: 16px;
    }
    
    .stats-overlay .stat-item {
        padding: 16px;
    }
    
    .stats-overlay .stat-number {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .stats-overlay .stat-label {
        font-size: 12px;
    }
    
    /* License Grid */
    .license-grid {
        gap: 25px;
        margin-top: 35px;
    }
    
    .license-card {
        padding: 30px 25px;
    }
    
    .license-card.exclusive {
        border-top-width: 4px;
    }
    
    .license-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .license-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .license-card ul {
        margin-top: 16px;
    }
    
    .license-card ul li {
        font-size: 13px;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .license-card ul li::before {
        width: 4px;
        height: 4px;
        top: 8px;
    }
    
    /* Form Wrapper */
    .form-wrapper {
        margin: 30px auto 0;
        padding: 30px 20px;
    }
    
    .form-wrapper h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .form-wrapper p {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .form-input {
        padding: 11px;
        font-size: 14px;
    }
    
    .form-input::placeholder {
        font-size: 13px;
    }
    
    textarea.form-input {
        min-height: 120px;
    }
    
    .form-submit {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Visual Container */
    .visual-container {
        min-height: 420px;
        padding: 30px 16px;
    }
    
    .distributor-graphic {
        width: 160px;
        height: 160px;
        margin-bottom: 25px;
    }
    
    .tech-grid {
        background-size: 30px 30px;
        opacity: 0.25;
    }
    
    .distributor-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 11px 12px;
        gap: 10px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .stat-text strong {
        font-size: 12px;
    }
    
    .stat-text span {
        font-size: 10px;
    }
    
    /* Toaster Notification */
    #toaster {
        width: 92%;
        padding: 16px;
        font-size: 13px;
        border-left-width: 4px;
    }
    
    #toaster .icon {
        width: 22px;
        height: 22px;
    }
    
    #toaster .close-btn {
        font-size: 20px;
    }
}

/* ==================== TECH & MATERIALS RESPONSIVE ==================== */

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    /* Tech Section */
    .tech-content {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 50px;
    }
    
    .tech-text {
        padding-right: 0;
        order: 2;
    }
    
    .tech-visual {
        order: 1;
    }
    
    .tech-subtitle {
        font-size: 19px;
    }
    
    .diagram-image {
        min-height: 280px;
    }
    
    /* Materials Grid */
    .materials-section {
        margin-top: 70px;
        padding-top: 55px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .material-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* MOBILE (481px - 767px) */
@media (max-width: 767px) {
    .tech-content {
        gap: 40px;
        margin-top: 40px;
    }
    
    .tech-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .tech-feature {
        margin-bottom: 24px;
    }
    
    .tech-feature h4 {
        font-size: 16px;
    }
    
    .tech-feature p {
        font-size: 14px;
    }
    
    .tech-visual {
        padding: 25px;
    }
    
    .diagram-image {
        min-height: 250px;
    }
    
    .component-labels {
        grid-template-columns: 1fr;
    }
    
    .component-item {
        padding: 10px;
    }
    
    .component-text strong {
        font-size: 14px;
    }
    
    .component-text span {
        font-size: 13px;
    }
    
    .materials-section {
        margin-top: 60px;
        padding-top: 50px;
    }
    
    .materials-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .material-card {
        padding: 30px 25px;
    }
    
    .material-card:last-child {
        max-width: none;
    }
}

/* SMALL MOBILE (320px - 480px) */
@media (max-width: 480px) {
    .tech-visual {
        padding: 20px;
    }
    
    .diagram-image {
        min-height: 200px;
    }
    
    .material-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .material-name {
        font-size: 17px;
    }
    
    .material-description {
        font-size: 14px;
    }
}

/* ==================== FITMENT GUIDE & SUPPORT RESPONSIVE ==================== */

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    /* Fitment Guide */
    .fitment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 45px;
    }
    
    .fitment-step {
        padding: 35px;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .fitment-step h3 {
        font-size: 19px;
    }
    
    .fitment-step p {
        font-size: 14px;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
        margin-top: 45px;
    }
    
    .benefit-card {
        padding: 35px;
    }
    
    /* Material Table */
    .material-table {
        font-size: 14px;
    }
    
    .material-table th,
    .material-table td {
        padding: 18px 16px;
    }
    
    /* Support Grid */
    .support-grid {
        gap: 50px;
    }
    
    .guide-box {
        padding: 35px;
    }
}

/* MOBILE (481px - 767px) */
@media (max-width: 767px) {
    /* Fitment Guide */
    .fitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .fitment-step {
        padding: 30px 25px;
    }
    
    .step-number {
        font-size: 32px;
        top: 18px;
        right: 18px;
    }
    
    .fitment-step h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .fitment-step p {
        font-size: 14px;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        margin-top: 40px;
    }
    
    .benefit-card {
        padding: 30px 25px;
    }
    
    .benefit-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }
    
    .benefit-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .benefit-desc {
        font-size: 13px;
    }
    
    /* Material Table */
    .material-table {
        display: block;
        overflow-x: auto;
        font-size: 13px;
    }
    
    .material-table th,
    .material-table td {
        padding: 16px 14px;
        min-width: 120px;
    }
    
    .material-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    /* Support Grid */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .guide-box {
        padding: 30px 25px;
    }
    
    .guide-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }
    
    .guide-list li {
        font-size: 14px;
        margin-bottom: 12px;
        padding-left: 26px;
    }
    
    /* FAQ */
    .faq-item {
        padding: 18px 0;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
        padding-top: 12px;
    }
    
    /* Contact Card */
    .contact-card {
        padding: 40px 25px;
    }
    
    .contact-info h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .contact-details {
        font-size: 14px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }
    
    .btn-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* SMALL MOBILE (320px - 480px) */
@media (max-width: 480px) {
    .fitment-step {
        padding: 25px 20px;
    }
    
    .step-number {
        font-size: 28px;
        top: 16px;
        right: 16px;
    }
    
    .fitment-step h3 {
        font-size: 17px;
    }
    
    .fitment-step p {
        font-size: 13px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 32px;
        height: 32px;
    }
    
    .benefit-title {
        font-size: 16px;
    }
    
    .material-table th,
    .material-table td {
        padding: 14px 12px;
        font-size: 12px;
    }
    
    .guide-box {
        padding: 25px 20px;
    }
    
    .guide-list li {
        font-size: 13px;
        padding-left: 24px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-answer {
        font-size: 13px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-info h3 {
        font-size: 20px;
    }
    
    .contact-details {
        font-size: 13px;
    }
    
    .btn {
        padding: 12px 22px;
        font-size: 12px;
    }
}




/* Reset mobile-specific spacing */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Mobile / Small Devices --- */
@media (max-width: 767px) {
    /* Hide desktop nav, show mobile menu button */
    .header-nav {
        display: none;
    }
    
    .header-actions .btn-header {
        display: none; /* hide header CTA */
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 999;
    }

    .mobile-menu-toggle .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: #000;
        transition: all 0.3s ease;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.85);
        z-index: 998;
        overflow-y: auto;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-content {
        background-color: #fff;
        width: 80%;
        max-width: 300px;
        height: 100%;
        padding: 2rem 1rem;
        position: relative;
        overflow-y: auto;
    }

    .mobile-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .mobile-nav-menu {
        list-style: none;
        padding: 0;
        margin-top: 50px;
    }

    .mobile-nav-item {
        margin-bottom: 1.2rem;
    }

    .mobile-nav-link {
        text-decoration: none;
        font-size: 1.1rem;
        color: #000;
        display: block;
        padding: 0.5rem 0;
        transition: 0.3s;
    }

    .mobile-nav-link:hover,
    .mobile-nav-item.active .mobile-nav-link {
        color: #e60000; /* highlight active item */
    }

    .mobile-menu-cta {
        margin-top: 2rem;
    }

    .mobile-menu-cta .btn-block {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
}

/* --- Tablet Devices --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-nav {
        display: flex;
    }

    .header-actions .btn-header {
        display: inline-block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-item {
        margin: 0;
    }
    
    /* Optional: adjust font sizes */
    .nav-link {
        font-size: 1rem;
    }
}
