/* =========================================================
   RESPONSIVE OPTIMIZATIONS FOR ENNEAGRAM LANDING PAGE
   Breakpoints: 1024px (Tablets/Laptops), 768px (Tablets/Phablets), 480px (Phones)
   ========================================================= */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }

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

    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #090d16;
        flex-direction: column;
        padding: 30px 20px;
        border-bottom: 1px solid var(--border-glass);
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 0.35s ease-in-out;
    }

    .nav-menu.open {
        transform: translateY(0);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-action-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-start-test-hero, .btn-secondary-hero {
        justify-content: center;
        width: 100%;
    }

    /* Quiz Card */
    .quiz-main-card {
        padding: 24px 18px;
    }

    .quiz-question-text {
        font-size: 17px;
    }

    .likert-option-btn {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* Results Dashboard */
    .result-grid-2col,
    .detail-grid-2col,
    .pathway-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dominant-type-name {
        font-size: 28px;
    }

    .dominant-hero-card {
        padding: 24px 16px;
    }

    .radar-canvas-wrap canvas {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 9 Types Showcase */
    .types-grid-3x3 {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 26px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 15px;
    }

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

    .quiz-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lead-title {
        font-size: 22px;
    }

    .result-action-bar {
        flex-direction: column;
    }

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