/* ==========================================================================
   Responsive Styles (Mobile First / Breakpoints)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    .headline {
        font-size: 2.8rem;
    }
    .amount {
        font-size: 5rem;
    }
    .bento-grid, .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-2 {
        grid-column: span 1;
    }
    .feature-flex, .single-app-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links, .nav-cta {
        display: none; /* Em um cenário real, aqui entraria o menu hamburger */
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        margin: 0 auto;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .fc-1 {
        left: 0;
        bottom: 0;
    }
    
    .fc-2 {
        right: 0;
        top: 0;
    }

    .problem-grid, .feature-flex, .single-app-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .bento-grid, .showcase-grid {
        grid-template-columns: 1fr;
    }

    .solution-card, .premium-glass, .pricing-body, .pricing-header {
        padding: 32px 24px;
    }

    .amount {
        font-size: 4rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2.2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .pricing-features li {
        font-size: 1rem;
    }
    
    .single-price-box .price {
        font-size: 2.5rem;
    }
    
    .single-app-hero {
        padding: 120px 0 60px;
    }

    .features-detail-grid {
        grid-template-columns: 1fr;
    }

    .carousel-viewport {
        height: 380px;
        padding: 12px;
    }

    .carousel-btn.prev {
        left: 6px;
    }

    .carousel-btn.next {
        right: 6px;
    }

    .carousel-thumb {
        width: 45px;
        height: 62px;
    }
}

@media (max-width: 768px) {
    .carousel-viewport {
        height: 440px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }
}

@media (max-width: 1024px) {
    .features-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        gap: 40px;
    }

    .light-bars {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ribbon-items {
        justify-content: center;
        gap: 18px;
    }

    .ribbon-item {
        font-size: 0.85rem;
    }

    .circle-backdrop {
        width: 300px;
        height: 300px;
    }

    .donut-widget {
        right: 0px;
        top: -30px;
        padding: 10px 14px;
    }

    .donut-circle {
        width: 38px;
        height: 38px;
    }

    .donut-circle::after {
        width: 20px;
        height: 20px;
    }

    .pill-badge-float {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
        justify-content: center;
        padding: 8px 16px;
    }

    .light-bars {
        display: none;
    }

    /* ==========================================================================
       Melhoria do Botão de Compra em Telas Pequenas (Mobile)
       ========================================================================== */
    .checkout-btn {
        padding: 16px 18px !important;
        border-radius: 18px !important; /* Formato moderno com cantos arredondados adaptado ao toque */
        background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.55) !important;
        width: 100% !important;
    }

    .checkout-btn-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .checkout-btn-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .checkout-btn-icon i {
        width: 22px !important;
        height: 22px !important;
        color: #fff !important;
    }

    .checkout-btn-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        flex: 1 !important;
    }

    .btn-title-desktop {
        display: none !important;
    }

    /* Nova descrição e nova fonte otimizada para celular */
    .btn-title-mobile {
        display: block !important;
        font-family: var(--font-heading) !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        letter-spacing: 0.3px !important;
        text-transform: uppercase !important;
    }

    .btn-subtitle-mobile {
        display: block !important;
        font-family: var(--font-body) !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
        color: #e0e7ff !important;
        margin-top: 3px !important;
        line-height: 1.25 !important;
    }

    .checkout-btn-arrow {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .checkout-btn-arrow i {
        width: 18px !important;
        height: 18px !important;
        color: #fff !important;
    }
}

@media (max-width: 480px) {
    .btn-title-mobile {
        font-size: 1.02rem !important;
    }
    
    .btn-subtitle-mobile {
        font-size: 0.78rem !important;
    }
    
    .checkout-btn {
        padding: 14px 14px !important;
    }
}
