/* ===== MOBILE RESPONSIVE LAYOUTS ONLY - NO DESIGN CHANGES ===== */
/* This file only handles responsive layout adjustments, preserving the original white design */

/* ===== Mobile Layout Variables ===== */
:root {
    --mobile-padding: 16px;
    --mobile-gap: 12px;
    --touch-target: 44px;
}

/* ===== Performance & Touch Optimizations ===== */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ===== Base Mobile Styles (max-width: 768px) ===== */
@media screen and (max-width: 768px) {
    /* Prevent horizontal scroll and reduce bottom spacing */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Container adjustments */
    .container {
        width: 100%;
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
        max-width: 100%;
    }
    
    /* Responsive typography */
    h1 { 
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }
    
    h2 { 
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.3 !important;
    }
    
    h3 { 
        font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
    }
    
    /* Touch-friendly buttons */
    button, 
    .btn-primary, 
    .btn-secondary,
    .btn-plan,
    .btn-mega,
    a.offer-cta {
        min-height: var(--touch-target);
        touch-action: manipulation;
    }
    
    /* Prevent zoom on input focus (iOS) */
    input, 
    textarea, 
    select {
        font-size: 16px !important;
        min-height: var(--touch-target);
    }
}

/* ===== Small Mobile (320px - 375px) ===== */
@media only screen and (max-width: 375px) {
    .container {
        padding: 0 14px;
    }
    
    /* Extra small mobile pricing tabs */
    .pricing-tabs-container {
        padding: 0 8px;
    }
    
    .pricing-tabs {
        padding: 2px;
        gap: 1px;
    }
    
    .pricing-tab {
        padding: 8px 10px;
        min-width: 80px;
        font-size: 12px;
        min-height: 36px;
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-icon {
        font-size: 12px;
    }
    
    .tab-text {
        font-size: 10px;
        font-weight: 600;
    }
    
    /* Offer banner */
    .offer-banner {
        padding: 8px 0;
    }
    
    .offer-content {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .offer-text {
        display: none;
    }
    
    .countdown {
        gap: 4px;
    }
    
    .countdown-item {
        font-size: 11px;
        padding: 3px 5px;
    }
    
    .countdown {
        gap: 5px !important;
    }
    
    .countdown-item {
        font-size: 10px !important;
        padding: 5px 7px !important;
        min-width: 28px !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    /* Hero section */
    .hero {
        padding: 30px 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Trust badges */
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 10px;
    }
    
    .trust-badges img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }
    
    /* Video preview - Mobile optimized */
    .video-preview-container {
        border-radius: 8px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: unset;
        transform: none;
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    .preview-video {
        width: 100%;
        height: auto;
        min-height: unset;
        aspect-ratio: 16/9;
        object-fit: cover;
        display: block;
    }
    
    .preview-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .preview-timer {
        font-size: 11px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }
    
    .preview-play {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .floating-cards {
        display: none;
    }
    
    /* Cards padding */
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .opportunity-card,
    .roi-card,
    .growth-item,
    .viral-strategy {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    /* Single column grids */
    .features-grid,
    .testimonials-grid,
    .channels-showcase,
    .use-cases-grid,
    .proof-grid,
    .opportunity-grid,
    .roi-grid,
    .growth-timeline,
    .viral-grid,
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* CTA buttons - Small mobile specific */
    .hero-cta {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 10px;
        align-items: stretch;
    }
    
    .hero-cta button {
        width: 100% !important;
        font-size: 14px;
        padding: 14px 16px;
        justify-content: center;
        margin: 0;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 10px 0 !important;
        margin-top: 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

/* ===== Medium Mobile (376px - 414px) ===== */
@media only screen and (min-width: 376px) and (max-width: 414px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .hero {
        padding: 40px 0 50px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    /* Video preview - Medium mobile */
    .video-preview-container {
        margin-top: 25px;
        border-radius: 10px;
    }
    
    .preview-timer {
        font-size: 12px;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }
    
    .preview-play {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .trust-badges img {
        height: 50px;
    }
    
    /* Enable 2-column grids for some elements */
    .proof-grid,
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ===== Large Mobile (415px - 480px) ===== */
@media only screen and (min-width: 415px) and (max-width: 480px) {
    .hero {
        padding: 50px 0 60px;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero-cta button {
        flex: 1;
    }
    
    /* Video preview - Large mobile */
    .video-preview-container {
        margin-top: 30px;
        border-radius: 12px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .preview-timer {
        font-size: 13px;
        padding: 6px 12px;
        top: 12px;
        left: 12px;
    }
    
    .preview-play {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .trust-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .trust-badges img {
        height: 50px;
    }
    
    .floating-card {
        display: block;
        padding: 10px 14px;
        font-size: 12px;
    }
    
    /* 2-column grids */
    .use-cases-grid,
    .channels-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== Phablet (481px - 768px) ===== */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .hero {
        padding: 60px 0 70px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Video preview - Phablet */
    .video-preview-container {
        max-width: 500px;
        margin: 30px auto 0;
        border-radius: 14px;
        transform: none;
        min-height: unset;
    }
    
    .preview-video {
        width: 100%;
        height: auto;
        min-height: unset;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    
    .preview-timer {
        font-size: 14px;
        padding: 7px 14px;
        top: 14px;
        left: 14px;
    }
    
    .preview-play {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    
    /* Multi-column grids */
    .channels-showcase,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .proof-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .calc-grid,
    .bonus-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ===== Tablet (769px - 1024px) ===== */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }
    
    /* Fix video container for tablet view (803x642px) */
    .video-preview-container {
        max-width: min(70vw, 450px) !important;
        max-height: min(40vh, 300px) !important;
        margin: 10px auto 0 !important;
        transform: none !important;
        min-height: auto !important;
        aspect-ratio: 16/9;
        overflow: hidden;
    }
    
    .preview-video {
        width: 100% !important;
        height: 100% !important;
        min-height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        aspect-ratio: 16/9;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .channels-showcase {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features Columns - Tablet optimization */
    .features-columns {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        align-items: start;
    }

    .feature-column {
        padding: 18px 16px;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
    }

    .feature-column h4 {
        font-size: 18px;
        margin-bottom: 14px;
        color: #6B46C1;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .feature-column .plan-features {
        padding-left: 0;
        margin: 0;
        list-style: none;
    }

    .feature-column .plan-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 14px;
        line-height: 1.45;
        color: #374151;
        word-break: normal;
        white-space: normal;
    }

    .feature-column .plan-features li:last-child {
        border-bottom: none;
    }

    .feature-column .plan-features i {
        color: #F59E0B;
        font-size: 15px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
}

/* ===== Landscape Orientation ===== */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 20px 0 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Video preview - Landscape orientation */
    .video-preview-container {
        max-height: 300px !important;
        max-width: 533px !important; 
        margin: 10px auto 0 !important;
    }
    
    .preview-video {
        max-height: 300px !important;
        aspect-ratio: 16/9 !important;
        object-fit: cover !important;
    }
    
    .preview-play {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .preview-timer {
        font-size: 10px !important;
        padding: 3px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }
    
    .trust-badges img {
        height: 40px;
    }
    
    .offer-banner {
        padding: 6px 0;
    }
}

/* ===== General tablet video height constraint ===== */
@media screen and (min-width: 768px) and (max-width: 1024px) and (max-height: 800px) {
    .video-preview-container {
        max-height: 45vh !important;
        min-height: auto !important;
    }
    
    .preview-video {
        max-height: 100% !important;
        min-height: auto !important;
        object-fit: contain !important;
    }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover transforms on touch devices */
    .feature-card:hover,
    .testimonial-card:hover,
    .pricing-card:hover,
    .channel-card:hover,
    .use-case:hover,
    .opportunity-card:hover,
    .roi-card:hover,
    .growth-item:hover,
    .viral-strategy:hover {
        transform: none;
    }
    
    /* Active states for better feedback */
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ===== iOS Safe Areas ===== */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: calc(15px + env(safe-area-inset-top));
    }
    
    .mobile-menu {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===== Mobile Menu Specific ===== */
.mobile-menu {
    max-width: 85vw;
    width: 300px;
    height: 100vh;
    height: 100dvh;
}

.mobile-menu-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 16px;
}

/* ===== Specific fix for 803x642 tablet resolution ===== */
@media screen and (min-width: 800px) and (max-width: 850px) and (min-height: 600px) and (max-height: 700px) {
    
    /* Pricing tabs for 803x642 tablet */
    .pricing-tabs-container {
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .pricing-tabs {
        padding: 6px;
        gap: 6px;
        border-radius: 14px;
        justify-content: center;
    }
    
    .pricing-tab {
        padding: 12px 20px;
        min-width: 120px;
        font-size: 12px;
        border-radius: 10px;
        min-height: 48px;
        transition: all 0.2s ease;
    }
    
    .pricing-tab:hover {
        transform: translateY(-1px);
    }
    
    .pricing-tab.active {
        transform: translateY(-1px);
    }
    
    .tab-icon {
        font-size: 16px;
    }
    
    .tab-text {
        font-size: 11px;
        font-weight: 700;
    }
    .video-preview-container {
        max-width: 480px !important;
        max-height: 270px !important;
        margin: 20px auto 0 !important;
        transform: none !important;
        min-height: auto !important;
        aspect-ratio: 16/9;
        overflow: hidden;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    }
    
    .preview-video {
        width: 100% !important;
        height: 100% !important;
        min-height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        aspect-ratio: 16/9;
        border-radius: 12px !important;
    }
    
    .preview-overlay {
        border-radius: 12px !important;
    }
    
    .floating-cards {
        display: none !important;
    }
    
    /* Ensure proper aspect ratio even without modern CSS support */
    .video-preview-container::before {
        content: "";
        display: block;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        width: 100%;
        height: 0;
    }
    
    .preview-video {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    /* Modern browsers with aspect-ratio support */
    @supports (aspect-ratio: 16/9) {
        .video-preview-container::before {
            display: none;
        }
        
        .preview-video {
            position: relative;
        }
    }
    
    /* ROI Formula Section - Enhanced for tablet */
    .roi-formula {
        margin: 15px 0;
        padding: 15px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        border: 1px solid rgba(107, 70, 193, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .roi-formula h3 {
        font-size: 18px !important;
        text-align: center;
        margin-bottom: 15px;
        color: #333;
        font-weight: 600;
    }
    
    .roi-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .roi-card {
        text-align: center;
        padding: 12px 8px;
        background: #fff;
        border-radius: 6px;
        border: 1px solid #e5e7eb;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .roi-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
        border-color: rgba(107, 70, 193, 0.3);
    }
    
    .roi-label {
        font-size: 11px;
        color: #6b7280;
        margin-bottom: 6px;
        font-weight: 500;
        line-height: 1.2;
    }
    
    .roi-value {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #6B46C1;
        line-height: 1.1;
    }
    
    /* Specific colors for different value types */
    .roi-value.investment {
        color: #EF4444;
    }
    
    .roi-value.subscription {
        color: #F59E0B;
    }
    
    .roi-value.breakeven {
        color: #3B82F6;
    }
    
    .roi-value.target {
        color: #10B981;
    }
    
    /* Force smaller font size for all roi-value elements in tablet view */
    .roi-value,
    .roi-value.investment,
    .roi-value.subscription,
    .roi-value.breakeven,
    .roi-value.target {
        font-size: 14px !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        line-height: 1.1 !important;
    }
    
    .roi-description {
        font-size: 10px;
        color: #9ca3af;
        line-height: 1.2;
        margin: 0;
        font-weight: 400;
    }
    
    /* Special highlighting for target card */
    .roi-card:nth-child(4) {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .roi-card:nth-child(4):hover {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    }
    
    /* Viral Section - Optimized for tablet (798x642) */
    .viral-section {
        margin: 15px 0;
        padding: 15px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        border: 1px solid rgba(107, 70, 193, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .viral-section h3 {
        font-size: 16px !important;
        text-align: center;
        margin-bottom: 15px;
        color: #333;
        font-weight: 600;
    }
    
    .viral-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .viral-strategy {
        padding: 12px 10px;
        background: #fff;
        border-radius: 6px;
        border: 1px solid #e5e7eb;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .viral-strategy:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: rgba(107, 70, 193, 0.3);
    }
    
    .viral-icon {
        font-size: 20px;
        margin-bottom: 8px;
        display: block;
    }
    
    .viral-strategy h4 {
        font-size: 14px;
        margin-bottom: 10px;
        color: #333;
        font-weight: 600;
        line-height: 1.2;
    }
    
    /* Instagram Strategy - Pink theme */
    .viral-strategy.instagram h4 {
        color: #E4405F;
    }
    
    .viral-strategy.instagram {
        border-top: 3px solid #E4405F;
    }
    
    /* Twitter Strategy - Blue theme */
    .viral-strategy.twitter h4 {
        color: #1DA1F2;
    }
    
    .viral-strategy.twitter {
        border-top: 3px solid #1DA1F2;
    }
    
    /* YouTube Strategy - Red theme */
    .viral-strategy.youtube h4 {
        color: #FF0000;
    }
    
    .viral-strategy.youtube {
        border-top: 3px solid #FF0000;
    }
    
    .viral-list {
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
        text-align: left;
        flex-grow: 1;
    }
    
    .viral-list li {
        font-size: 10px;
        margin-bottom: 3px;
        color: #555;
        line-height: 1.3;
        padding: 1px 0;
    }
    
    .viral-result {
        font-size: 10px;
        font-weight: 600;
        color: white;
        padding: 4px 6px;
        border-radius: 3px;
        margin-top: auto;
    }
    
    /* Different colors for each platform result */
    .viral-strategy.instagram .viral-result {
        background: #E4405F;
    }
    
    .viral-strategy.twitter .viral-result {
        background: #1DA1F2;
    }
    
    .viral-strategy.youtube .viral-result {
        background: #FF0000;
    }
    
    .viral-total {
        text-align: center;
        padding: 12px;
        background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(16, 185, 129, 0.1));
        border-radius: 6px;
        border: 1px solid rgba(107, 70, 193, 0.2);
        margin-top: 10px;
    }
    
    .viral-total h4 {
        font-size: 14px;
        margin-bottom: 6px;
        color: #333;
        font-weight: 600;
    }
    
    .viral-total p {
        font-size: 12px;
        margin: 0;
        color: #555;
        line-height: 1.3;
    }
    
    /* Earning Calculator */
    .earning-calculator {
        margin: 20px 0;
        padding: 20px;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
        border-radius: 10px;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .earning-calculator h4 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 15px;
        color: #6B46C1;
    }
    
    .calc-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
    
    .calc-item {
        text-align: center;
        padding: 12px 8px;
        background: #fff;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
    }
    
    .calc-item.highlight {
        background: linear-gradient(135deg, #6B46C1, #9061DB);
        color: white;
        transform: scale(1.02);
        border: 2px solid #6B46C1;
    }
    
    .calc-label {
        font-size: 11px;
        margin-bottom: 6px;
        opacity: 0.9;
        display: block;
    }
    
    .calc-value {
        font-size: 16px;
        font-weight: 700;
        color: #10B981;
        display: block;
    }
    
    .calc-item.highlight .calc-value {
        color: white;
    }
    
    /* Features Columns */
    .features-columns {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin: 20px 0;
    }
    
    .feature-column {
        padding: 15px;
        background: #f9f9f9;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .feature-column h4 {
        font-size: 16px;
        margin-bottom: 12px;
        color: #6B46C1;
    }
    
    .feature-column .plan-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .feature-column .plan-features li {
        font-size: 12px;
        margin-bottom: 6px;
        display: flex;
        align-items: flex-start;
        gap: 6px;
        color: #555;
        line-height: 1.3;
        padding: 2px 0;
    }
    
    .feature-column .plan-features i {
        color: #10B981;
        font-size: 12px;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    /* Proof Grid */
    .proof-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
        margin: 20px 0;
        padding: 20px;
        background: rgba(107, 70, 193, 0.05);
        border-radius: 10px;
    }
    
    .proof-item {
        text-align: center;
        padding: 15px 10px;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .proof-item i {
        font-size: 20px;
        color: #6B46C1;
        margin-bottom: 8px;
        display: block;
    }
    
    .proof-number {
        font-size: 18px;
        font-weight: 700;
        color: #10B981;
        display: block;
        margin-bottom: 4px;
    }
    
    .proof-label {
        font-size: 11px;
        color: #666;
        font-weight: 500;
    }
    
    /* Use Cases Grid */
    .use-cases-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin: 20px 0;
        padding: 0 20px;
    }
    
    .use-case {
        text-align: center;
        padding: 15px;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .use-case:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .use-case i {
        font-size: 28px;
        color: #6B46C1;
        margin-bottom: 10px;
        display: block;
    }
    
    .use-case h3 {
        font-size: 16px;
        margin-bottom: 8px;
        color: #333;
    }
    
    .use-case p {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

    /* Earning Potential (calculator) - tablet fix */
    .earning-calculator {
        padding: 12px !important;
        border-radius: 10px !important;
        margin: 15px 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    .earning-calculator h4 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .calc-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .calc-item {
        padding: 10px 8px !important;
        min-width: 0 !important;
        background: #fff !important;
        border-radius: 6px !important;
        border: 1px solid #e0e0e0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .calc-label {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        display: block !important;
    }
    
    .calc-value {
        font-size: 16px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #10B981 !important;
        word-break: break-word !important;
    }
    
    .calc-item.highlight {
        transform: none !important;
        scale: 1 !important;
        background: linear-gradient(135deg, #6B46C1, #9061DB) !important;
        color: white !important;
        border: 2px solid #6B46C1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .calc-item.highlight .calc-label {
        color: white !important;
        opacity: 0.95 !important;
    }
    
    .calc-item.highlight .calc-value {
        color: white !important;
    }
    
    .calc-item.highlight::before {
        content: '🎯 TARGET' !important;
        position: absolute !important;
        top: -8px !important;
        right: 4px !important;
        left: auto !important;
        transform: none !important;
        background: #FCD34D !important;
        color: #1F2937 !important;
        font-size: 9px !important;
        padding: 2px 4px !important;
        border-radius: 3px !important;
        font-weight: 700 !important;
        z-index: 2 !important;
    }
    
    /* Proof Grid - Statistics section fix for tablet */
    .proof-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 15px 0 !important;
        padding: 15px 12px !important;
        background: rgba(107, 70, 193, 0.05) !important;
        border-radius: 10px !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    .proof-item {
        text-align: center !important;
        padding: 12px 6px !important;
        background: #fff !important;
        border-radius: 6px !important;
        border: 1px solid #e0e0e0 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .proof-item i {
        font-size: 16px !important;
        color: #6B46C1 !important;
        margin-bottom: 6px !important;
        display: block !important;
    }
    
    .proof-number {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #10B981 !important;
        display: block !important;
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
        word-break: break-word !important;
    }
    
    .proof-label {
        font-size: 9px !important;
        color: #666 !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Final Mobile Optimizations ===== */
@media only screen and (max-width: 768px) {
    /* Consistent section padding - Reduced bottom spacing */
    section {
        padding: clamp(30px, 5vw, 60px) 0 clamp(20px, 3vw, 40px) 0;
    }
    
    /* Optimize spacing */
    .section-header {
        margin-bottom: clamp(20px, 4vw, 40px);
        padding: 0 10px;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Reduce bottom spacing for specific sections */
    .final-cta,
    .footer,
    section:last-of-type {
        margin-bottom: 0 !important;
        padding-bottom: clamp(10px, 2vw, 20px) !important;
    }
    
    /* Fix text overflow */
    .container > * {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    /* Remove unnecessary margins and fix viewport bottom spacing */
    section {
        margin: 0;
    }
    
    /* Fix viewport bottom spacing */
    html {
        min-height: 100vh;
        height: auto;
    }
    
    body {
        min-height: 100vh;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    main {
        flex: 1;
    }
    
    /* Video preview container - General mobile fix */
    .hero-visual {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .video-preview-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto 0 !important;
        transform: none !important;
        position: relative !important;
        min-height: unset !important;
        height: auto !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    }
    
    .preview-video {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        max-height: 400px !important;
        aspect-ratio: 16/9 !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 0 !important;
    }
    
    .preview-overlay {
        border-radius: 0 !important;
    }
    
    /* Mobile-specific button optimizations */
    .btn-primary,
    .btn-secondary,
    .btn-plan,
    .btn-large,
    .btn-mega {
        width: 100%;
        margin: 8px 0;
        font-size: clamp(14px, 3vw, 18px);
        padding: 16px;
        border-radius: 8px;
    }
    
    /* Pricing tabs mobile optimization */
    .pricing-tabs-container {
        margin-bottom: clamp(20px, 4vw, 40px);
        padding: 0 12px;
    }
    
    .pricing-tabs {
        padding: 3px;
        gap: 2px;
        border-radius: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pricing-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .pricing-tab {
        padding: 10px 12px;
        min-width: 90px;
        font-size: 13px;
        border-radius: 8px;
        flex-shrink: 0;
        min-height: 40px;
    }
    
    .tab-icon {
        font-size: 14px;
    }
    
    .tab-text {
        font-size: 12px;
        font-weight: 600;
    }
    
    .pricing-tab:hover {
        transform: none;
    }
    
    .pricing-tab.active {
        transform: none;
    }
    
    /* Pricing card mobile optimization */
    .pricing-card {
        margin: 0 0 20px 0;
        padding: clamp(16px, 3vw, 24px);
    }
    
    .pricing-card.mega {
        padding: clamp(20px, 3vw, 28px);
    }
    
    /* Hero CTA mobile layout */
    .hero-cta {
        flex-direction: column !important;
        width: 100%;
        padding: 0 16px;
        gap: 16px !important;
       
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100% !important;
        margin: 0 !important;
        justify-content: center;
    }
    
    /* Fix any remaining overflow issues */
    * {
        box-sizing: border-box;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    /* Marketing strategy cards mobile */
    .viral-grid,
    .roi-grid,
    .growth-timeline {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* WhatsApp and Meta Ads strategy sections */
    div[style*="grid-template-columns: 1fr 2fr"],
    div[style*="grid-template-columns: 2fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* WhatsApp icon mobile adjustment */
    .fab.fa-whatsapp[style*="font-size: 120px"] {
        font-size: 80px !important;
    }
    
    /* Strategy section text sizing */
    div[style*="background: linear-gradient(135deg, #25D366"] h3,
    div[style*="background: linear-gradient(135deg, #1877F2"] h3 {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }
    
    /* Ensure text doesn't break layout */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
}
