/* =======================================================
   3. HOME - MARKETING, CALC, & DEADWOOD
   ======================================================= */
/* --- CALCULATOR SECTION --- */
.calculator-section {
    background: #0f172a;
    padding: 30px 5% 120px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.calculator-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(245, 158, 11, 0.15) 0%,
        transparent 70%
    );
    top: 0;
    right: -100px;
    border-radius: 50%;
}
.calc-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}
.calc-header h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: #fff;
}
.calc-header p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.calc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.slider-group {
    margin-bottom: 40px;
}
.slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    color: #cbd5e1;
}
.slider-value {
    color: #fbc116;
    font-size: 20px;
    font-weight: 800;
}
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background: #fbc116;
    cursor: pointer;
    margin-top: -9px;
    box-shadow: 0 0 15px rgba(251, 193, 22, 0.6);
}
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
}
input[type="range"]:focus {
    outline: none;
}
.result-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}
.result-title {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}
.result-number {
    font-size: 42px;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -1px;
    margin-bottom: 5px;
    line-height: 1;
}
.result-number.danger {
    color: #ef4444;
    font-size: 32px;
}

/* --- DEADWOOD SECTION --- */
.deadwood-section {
    background: #0f172a;
    padding: 100px 5% 10px;
    color: #fff;
    border-top: 1px solid #1e293b;
}
.deadwood-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.deadwood-text h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.deadwood-text p {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
}
.dw-feature-list {
    list-style: none;
    padding: 0;
}
.dw-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.dw-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.dw-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 5px;
}
.dw-text p {
    font-size: 15px;
    margin-bottom: 0;
}
.matrix-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px 80px 60px 80px;
    position: relative;
}
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: relative;
}
.matrix-grid::before {
    content: "Profitabilitas (Margin)";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.matrix-grid::after {
    content: "Popularitas (Penjualan)";
    position: absolute;
    top: 50%;
    left: -130px;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.quadrant {
    padding: 25px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: 0.3s;
}
.q-star {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}
.q-puzzle {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}
.q-plowhorse {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.2);
}
.q-deadwood {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
    animation: pulseRed 2s infinite;
}
@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}
.quadrant h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.quadrant p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}
.q-deadwood h3 {
    color: #fca5a5;
}

/* --- AFFILIATE SECTION --- */
.affiliate-section {
    background: #ffffff;
    /* Ubah padding: atas 80px, kiri-kanan 5%, bawah 40px */
    padding: 80px 5% 40px 5%;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

/* ======================================================
   [BARU] FAQ SECTION (Rapikan jarak desktop)
   ====================================================== */
.faq-section {
    padding: 60px 5% 80px 5%; /* Jarak atas 60px, bawah 80px */
    background: #ffffff; /* Pastikan background menyatu */
}

/* Sedikit merapikan jarak h2 di FAQ desktop */
.faq-section h2 {
    margin-bottom: 40px !important;
}
.affiliate-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.affiliate-section h2 {
    font-size: 42px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.affiliate-section p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}
.affiliate-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.aff-card {
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}
.aff-card:hover {
    transform: translateY(-5px);
    border-color: #fbc116;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.aff-icon {
    font-size: 45px;
    margin-bottom: 20px;
}
.aff-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}
.aff-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* =======================================================
   [BARU] RESPONSIVE MOBILE: DEADWOOD & MATRIKS
   ======================================================= */
@media (max-width: 768px) {
    /* 1. Tumpuk teks peringatan dan matriks menjadi atas-bawah */
    .deadwood-section {
        padding: 60px 20px 30px !important;
    }
    .deadwood-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .deadwood-text h2 {
        font-size: 28px !important;
    }

    /* 2. Berikan "Lorong Kosong" 45px di sisi kiri matriks */
    .matrix-box {
        padding: 30px 15px 50px 45px !important; /* Kiri: 45px */
        border-radius: 20px !important;
    }

    /* 3. Tarik teks vertikal agar masuk pas ke lorong 45px tersebut */
    .matrix-grid::after {
        left: -100px !important; /* Cukup tarik -35px, jangan -130px */
        font-size: 10px !important;
        letter-spacing: 0.5px !important;
    }

    /* 4. Rapikan juga teks "Profitabilitas" di bagian bawah */
    .matrix-grid::before {
        bottom: -30px !important;
        font-size: 10px !important;
    }

    /* 5. Perkecil sedikit ukuran kotak agar proporsional di HP */
    .quadrant {
        padding: 15px 10px !important;
    }
    .quadrant h3 {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }
    .quadrant p {
        font-size: 11px !important;
    }
}
