/* ============================================
   Responsive — Zvuai Digital World
   ============================================ */

@media (max-width: 1024px) {
    .robot, .robot-bubble, .glow-path { display: none; }
    .ai-mod { transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))); }
    .archive-room { gap: 16px; }
    .tech-node-item { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav .btn-primary.nav-cta.desktop-only { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile {
        position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
        background: rgba(5, 7, 10, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 999; padding: 32px 24px;
    }
    .nav-mobile .nav-link { font-size: 1.1rem; padding: 12px 0; display: block; }

    .world-section { min-height: auto; padding: 64px 0; }
    .hero-home { padding-top: 64px; padding-bottom: 0; }
    .page-hero { padding: 178px 0 44px; }
    .world-section.content-section { padding: 56px 0; }
    .page-hero .portal-env { opacity: 0.12; justify-content: flex-end; padding-right: 4%; }
    .hero-orbit-wrap { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding: 16px 16px 32px; gap: 20px; }
    .hero-orbit { --orbit-size: min(400px, 88vw, 58vh); --orbit-radius: 0.45; }
    .orbit-node { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .floating-objects { position: relative; top: auto; right: auto; width: 100%; height: 200px; margin-top: 32px; }
    .hero-content { max-width: 100%; }
    .hero-title-section { min-height: auto; padding: 40px 0; }
    .scroll-hint { display: none; }

    .plan-table { position: relative; right: auto; top: auto; transform: none; margin-top: 32px; }
    .plan-node:hover::after { display: none; }

    .city-world { min-height: auto; align-items: center; padding: 80px 0; }
    .city-skyline {
        position: relative; height: auto; flex-wrap: wrap; gap: 16px; padding: 0;
        margin-top: 32px; justify-content: center;
    }
    .city-building { max-width: 120px; min-width: 100px; }
    .bld-web .bld-structure { height: 100px; }
    .bld-mobile .bld-structure { height: 120px; }
    .bld-ai .bld-structure { height: 110px; }
    .bld-saas .bld-structure { height: 130px; }
    .bld-auto .bld-structure { height: 90px; }
    .bld-ux .bld-structure { height: 100px; }

    .factory-line {
        position: relative; top: auto; left: auto; right: auto; transform: none;
        flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px;
    }
    .factory-stage { min-width: calc(50% - 16px); flex: none; }
    .factory-belt { display: none; }
    .factory-io { position: relative; top: auto; left: auto; right: auto; transform: none; margin-top: 24px; }

    .ai-core-env { position: relative; right: auto; top: auto; transform: none; margin: 32px auto 0; width: 260px; height: 260px; }
    .ai-mod { transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))); width: 42px; height: 42px; margin: -21px 0 0 -21px; }

    .archive-room { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
    .project-capsule { width: 100%; max-width: 100%; }

    .tech-constellation { position: relative; right: auto; top: auto; transform: none; margin: 32px auto 0; width: 280px; height: 280px; }

    .command-center { position: relative; right: auto; top: auto; transform: none; margin: 32px auto 0; width: 100%; max-width: 360px; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .services-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .principles-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .orbit-title {
        flex-direction: column; align-items: center; gap: 4px; line-height: 1.15;
        font-size: clamp(1.4rem, 7vw, 1.9rem); letter-spacing: 0.26em; padding-left: 0.26em;
    }
    .orbit-title::after { bottom: -14px; }
    .orbit-tagline { font-size: 0.72rem; letter-spacing: 0.14em; }
    .page-hero .world-env { display: none; }
}

@media (max-width: 480px) {
    .hero-orbit { --orbit-size: min(340px, 84vw, 56vh); --orbit-radius: 0.44; }
    .orbit-node { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
    .orbit-label { font-size: 0.45rem; }
    .floating-objects { height: 160px; }
    .fo-browser { width: 80px; }
    .fo-phone { width: 36px; height: 68px; }
    .fo-dashboard { width: 70px; height: 45px; }
    .float-obj-cube, .float-obj-auto { display: none; }
    .ai-core-env { width: 220px; height: 220px; }
    .ai-mod { transform: rotate(var(--angle)) translateX(90px) rotate(calc(-1 * var(--angle))); width: 36px; height: 36px; margin: -18px 0 0 -18px; }
    .ai-mod span { font-size: 0.4rem; }
    .tech-constellation { width: 240px; height: 240px; }
    .tech-node-item { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
    .tech-node-item span { font-size: 0.45rem; }
    .section-heading { font-size: 1.6rem; }
    .portal-frame { width: 140px; height: 200px; }
}

@media (max-width: 360px) {
    .tech-constellation, .ai-core-env { zoom: 0.85; }
}
