/* ===== YUGYA — Responsive Breakpoints ===== */

/* === Tablet & Below (1024px) === */
@media (max-width: 1024px) {
    :root {
        --space-section: 5rem;
        --fs-hero: clamp(2.2rem, 5vw, 3.5rem);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        display: none;
    }

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

    .hero-subtitle {
        margin: 0 auto var(--space-2xl);
    }

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

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

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

    .founders-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .minecraft-wrapper {
        grid-template-columns: 1fr;
    }

    .minecraft-visual {
        display: flex;
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

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

/* === Tablet Portrait (768px) === */
@media (max-width: 768px) {
    :root {
        --space-section: 4rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-card-solid);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: var(--space-xl);
        gap: 0;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition-slow);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        display: block;
        padding: var(--space-md);
        font-size: var(--fs-md);
        border-radius: var(--radius-md);
        transition: background var(--transition-fast);
    }

    .nav-links a:hover {
        background: rgba(124, 106, 239, 0.06);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

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

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

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

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

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

    .domain-tlds {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: var(--fs-2xl);
    }

    .section-subtitle {
        font-size: var(--fs-base);
    }

    .cta-box {
        padding: var(--space-2xl);
    }

    .cta-box h2 {
        font-size: var(--fs-2xl);
    }
}

/* === Mobile (480px) === */
@media (max-width: 480px) {
    :root {
        --space-section: 3rem;
        --fs-hero: clamp(1.8rem, 7vw, 2.5rem);
    }

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

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

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }

    .hero-stat {
        text-align: center;
    }

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

    .domain-tlds {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .section-title {
        font-size: var(--fs-xl);
    }

    .magnetic-demo-area {
        padding: var(--space-2xl);
        min-height: 200px;
    }

    .text-reveal-demo {
        font-size: var(--fs-xl);
    }
}

/* === Large Desktop (1400px+) === */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}