/* ==========================================================================
   AZAADESIGNS ID — RESPONSIVE.CSS
   Semua @media query dikumpulkan di sini (laptop, tablet, mobile, kecil)
   ========================================================================== */

/* ═══════════════════════════════════════════════════════════════════════════
   LAPTOP (1024px – 1199px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 36px;
    }
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
    .footer-contact {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABLET (768px – 1023px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .nav-links  { display: none; }
    .hamburger  { display: flex; }
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .founder-avatar-wrap { margin: 0 auto; }
    .founder-name-wrap   { justify-content: center; }
    .founder-quote       { text-align: left; }
    .founder-tags        { justify-content: center; }
    .founder-cta         { justify-content: center; }
    .team-grid, .product-grid, .credential-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE (max 767px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    :root { --section-pad: 60px 0; }

    /* ── NAVBAR ───────────────────────────────────────────────────────── */
    .glass-navbar {
        padding: 10px 4%;
        gap: 6px;
    }
    .nav-brand strong { font-size: 0.95rem; }
    .brand-icon       { font-size: 1rem; }
    .nav-actions { gap: 6px; }

    #theme-switcher {
        display: block !important;
        font-size: 0.72rem;
        padding: 4px 6px;
    }

    .btn-glow.btn-sm {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    /* ── HERO ─────────────────────────────────────────────────────────── */
    .hero-section { padding: 100px 0 60px; }
    .hero-content {
        background: var(--glass-bg);
        padding: 28px 18px;
        border-radius: 20px;
        border: 1px solid var(--glass-border-2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 0.88rem;
        margin-bottom: 22px;
        line-height: 1.6;
    }
    .pill-badge {
        font-size: 0.68rem;
        padding: 6px 12px;
        margin-bottom: 18px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 18px;
    }
    .hero-cta .btn-lg {
        width: 100%;
        font-size: 0.95rem;
        padding: 13px 16px;
        justify-content: center;
    }
    .hero-trust {
        gap: 8px;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: center;
    }

    /* ── STATS ────────────────────────────────────────────────────────── */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 24px 14px;
        gap: 14px;
    }
    .stat-divider { display: none; }
    .stat-number  { font-size: 1.75rem; }
    .stat-label   { font-size: 0.72rem; }

    /* ── SECTION HEADER ───────────────────────────────────────────────── */
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.55rem; }
    .section-desc { font-size: 0.88rem; }

    /* ── FOUNDER ──────────────────────────────────────────────────────── */
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .founder-avatar         { width: 130px; height: 130px; }
    .avatar-placeholder     { font-size: 3.2rem; }
    .founder-name-wrap      { justify-content: center; flex-wrap: wrap; }
    .founder-tags           { justify-content: center; }
    .founder-cta            { flex-direction: column; gap: 10px; }
    .founder-cta .btn-glow,
    .founder-cta .btn-glass { width: 100%; justify-content: center; }

    /* ── TEAM ─────────────────────────────────────────────────────────── */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ── PRODUCTS ─────────────────────────────────────────────────────── */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-filters {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    /* ── SKILLPEDIA ───────────────────────────────────────────────────── */
    .sp-main-card {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        gap: 24px;
    }
    .sp-urgency-banner {
        font-size: 0.72rem;
        padding: 8px 14px;
        gap: 6px;
        margin-bottom: 28px;
    }
    .sp-countdown {
        gap: 5px;
        margin-bottom: 32px;
    }
    .sp-cd-box {
        font-size: 1.05rem;
        padding: 7px 9px;
        min-width: 42px;
    }
    .sp-cd-label {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 4px;
    }
    .sp-logo-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .sp-logo-img {
        width: 60px;
        height: 60px;
    }
    .sp-class-item {
        font-size: 0.82rem;
        padding: 8px 12px;
    }
    .sp-price-box {
        padding: 20px 16px;
    }
    .sp-price-big {
        font-size: 2.2rem;
    }
    .sp-btn-wa,
    .sp-btn-web {
        font-size: 0.88rem;
        padding: 13px 16px;
    }
    .sp-trust-row {
        gap: 12px;
    }
    .sp-badges-strip {
        gap: 6px;
    }
    .sp-badge-pill {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    .sp-slot-counter {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* ── GIVEAWAY ─────────────────────────────────────────────────────── */
    /* Ditangani sepenuhnya oleh giveaway.css (di-load setelah responsive.css) */
    .gw-layout-split .gw-crown-row,
    .gw-layout-split .gw-slot-row,
    .gw-layout-split .gw-footer-note,
    .gw-layout-split .gw-steps-label {
        justify-content: center;
        text-align: center;
    }

    /* ── TESTIMONIALS ─────────────────────────────────────────────────── */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── CREDENTIALS ──────────────────────────────────────────────────── */
    .credential-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── FAQ ──────────────────────────────────────────────────────────── */
    .faq-group + .faq-group {
        margin-top: 28px;
    }
    .faq-group-title {
        font-size: 0.95rem;
    }
    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
        gap: 12px;
        line-height: 1.5;
    }
    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
    }
    .faq-icon {
        flex: 0 0 auto;
    }
    .faq-answer p  { margin-top: 0; font-size: 0.88rem; }
    .faq-answer ul { margin: 0; padding-left: 18px; }
    .faq-answer li + li { margin-top: 6px; }

    /* ── COMMUNITY ────────────────────────────────────────────────────── */
    .community-card {
        padding: 36px 18px;
    }
    .community-card h2 { font-size: 1.55rem; }
    .community-perks {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .perk-item { font-size: 0.82rem; }
    .community-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .community-links .btn-lg {
        width: 100%;
        font-size: 0.9rem;
        padding: 13px 16px;
        justify-content: center;
    }
    .community-contact {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
        align-items: center;
    }

    /* ── CONTACT ──────────────────────────────────────────────────────── */
    .contact-wrapper {
        padding: 24px 18px;
        gap: 28px;
        flex-direction: column;
    }
    .contact-info h3 { font-size: 1.55rem; }
    .contact-info p  { font-size: 0.88rem; }
    .contact-item    { font-size: 0.9rem; }
    .contact-form .btn-glow {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }
    .form-group label { font-size: 0.85rem; }
    .form-group input,
    .form-group textarea { font-size: 0.9rem; }

    /* ── FOOTER ───────────────────────────────────────────────────────── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-logo    { justify-content: center; }
    .footer-social  { justify-content: center; }
    .footer-contact li { justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        font-size: 0.8rem;
    }

    /* ── FAB WHATSAPP ─────────────────────────────────────────────────── */
    .fab-wa { width: 50px; height: 50px; bottom: 18px; right: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SMALL MOBILE (max 480px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .glass-navbar { padding: 9px 3%; }
    .nav-brand strong { font-size: 0.88rem; }
    .btn-glow.btn-sm,
    #theme-switcher  { font-size: 0.68rem; padding: 4px 5px; }

    .hero-title { font-size: 1.55rem; }
    .pill-badge { font-size: 0.63rem; padding: 5px 10px; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-number { font-size: 1.55rem; }

    .sp-main-card { padding: 20px 14px; }
    .sp-urgency-banner { font-size: 0.65rem; }
    .sp-price-big { font-size: 2rem; }
    .sp-cd-box { font-size: 0.95rem; min-width: 38px; padding: 6px 7px; }

    .gw-hero-card { padding: 22px 14px; }
    .gw-headline  { font-size: 1.45rem; }
    .gw-steps-grid { max-width: 260px; }

    .community-card  { padding: 28px 14px; }
    .contact-wrapper { padding: 20px 14px; }

    .section-header h2 { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EXTRA SMALL (max 360px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .nav-brand strong { font-size: 0.8rem; }
    .hero-title  { font-size: 1.35rem; }
    .stats-grid  { grid-template-columns: 1fr; gap: 10px; }
    .sp-cd-box   { font-size: 0.85rem; min-width: 34px; }
    .gw-headline { font-size: 1.3rem; }
    .sp-btn-wa, .sp-btn-web { font-size: 0.8rem; }
    .community-links .btn-lg { font-size: 0.82rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ — Base (non-media) styles (diperlukan di luar media query juga)
═══════════════════════════════════════════════════════════════════════════ */
.faq-group + .faq-group {
    margin-top: 40px;
}
.faq-group-title {
    margin: 0 0 16px;
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.4;
}
.faq-question {
    gap: 16px;
    line-height: 1.5;
}
.faq-icon {
    flex: 0 0 auto;
}
.faq-answer p {
    margin-top: 0;
}
.faq-answer ul {
    margin: 0;
    padding-left: 20px;
}
.faq-answer li + li {
    margin-top: 8px;
}