/* ============================================
   DURI CRACKERS — Responsive Styles
   ============================================ */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        margin: 0 auto;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-floating-badge.badge-1 { right: 10%; }
    .hero-floating-badge.badge-2 { left: 5%; }
    .hero-floating-badge.badge-3 { right: 15%; }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-main {
        grid-column: 1 / -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vision-text .section-title {
        text-align: center;
    }

    .vision-mascot img {
        max-width: 280px;
    }

    .roadmap-item {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Mobile Large (max-width: 768px) ---------- */
@media screen and (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--clr-pure-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-xs);
        box-shadow: -10px 0 30px var(--clr-shadow-strong);
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-cta {
        margin-top: var(--space-md);
        text-align: center;
        justify-content: center;
    }

    /* Hamburger Animation */
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-floating-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-floating-badge.badge-2 { left: 2%; }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        grid-column: auto;
    }

    /* Products */
    .product-variants {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    /* Process */
    .timeline-line {
        left: 22px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    .process-step {
        gap: var(--space-md);
    }

    .step-content {
        padding: var(--space-lg);
    }

    .step-content::before {
        display: none;
    }

    /* Business */
    .business-grid {
        grid-template-columns: 1fr;
    }

    .biz-card-highlight {
        grid-column: auto;
    }

    .bcr-number {
        font-size: 3rem;
    }

    /* Vision */
    .vision-content {
        gap: var(--space-xl);
    }

    .vision-mascot img {
        max-width: 220px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* ---------- Mobile Small (max-width: 480px) ---------- */
@media screen and (max-width: 480px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        max-width: 250px;
    }

    .variant-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .variant-emoji {
        font-size: 3rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .cta-price {
        font-size: 1.6rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }
}
