/* ═══════════════════════════════════════════════════════════
   GITANA DESIGN SYSTEM — Responsive
   
   Breakpoints:
   - Mobile:       360–767px
   - Tablet:       768–1023px
   - Desktop:      1024–1439px
   - Large Desktop: 1440px+
   
   Principle: Mobile-first experience.
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   MOBILE (up to 767px)
   ───────────────────────────────────────── */
@media (max-width: 767px) {
    /* Navbar */
    .navbar__nav,
    .navbar__actions {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-8);
        padding-bottom: var(--space-12);
    }

    .hero__subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    /* DNA Grid */
    .dna__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .dna__item {
        padding: var(--space-6) var(--space-4);
    }

    /* Build Grid */
    .build__grid {
        grid-template-columns: 1fr;
    }

    /* Solutions Ecosystem */
    .solutions__ecosystem {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    /* Process Timeline */
    .process__timeline {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .process__timeline::before {
        display: none;
    }

    .process__step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: var(--space-4);
        text-align: left;
        align-items: start;
    }

    .process__number {
        margin-bottom: 0;
    }

    .process__step > div {
        grid-column: 2;
    }

    /* TANA Section */
    .section--tana .container {
        grid-template-columns: 1fr;
    }

    .tana__chat-preview {
        max-width: 400px;
        margin: 0 auto;
    }

    /* CTA */
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

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

    /* TANA Widget */
    .tana-widget {
        bottom: var(--space-4);
        right: var(--space-4);
    }

    .tana-widget__trigger {
        width: 50px;
        height: 50px;
    }
}

/* ─────────────────────────────────────────
   TABLET (768px – 1023px)
   ───────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Navbar — simplified */
    .navbar__nav {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__actions {
        display: flex;
    }

    .navbar__lang {
        display: none;
    }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual-orbit {
        width: 300px;
        height: 300px;
    }

    .hero__visual-ring--3 {
        width: 280px;
        height: 280px;
        margin-top: -140px;
        margin-left: -140px;
    }

    /* DNA Grid */
    .dna__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Build Grid */
    .build__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process */
    .process__timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .process__timeline::before {
        display: none;
    }

    /* TANA */
    .section--tana .container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

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

/* ─────────────────────────────────────────
   DESKTOP (1024px – 1439px)
   ───────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero__visual-orbit {
        width: 350px;
        height: 350px;
    }

    .hero__visual-ring--3 {
        width: 330px;
        height: 330px;
        margin-top: -165px;
        margin-left: -165px;
    }
}

/* ─────────────────────────────────────────
   LARGE DESKTOP (1440px+)
   ───────────────────────────────────────── */
@media (min-width: 1440px) {
    .container {
        max-width: var(--container-wide);
    }

    .hero__visual-orbit {
        width: 450px;
        height: 450px;
    }

    .hero__visual-ring--3 {
        width: 430px;
        height: 430px;
        margin-top: -215px;
        margin-left: -215px;
    }
}
