/* ==========================================================================
    1. AUTOMATIC LAYOUT OVERRIDE (SAFE METHOD)
    ========================================================================== */
/* Menyembunyikan header default & right sidebar bawaan template */
body:has(.hero-landing-page) .header-content,
body:has(.hero-landing-page) .right-sidebar {
    display: none !important;
}

/* ==========================================================================
    2. HERO LAYOUT & PERFECT CENTERING
    ========================================================================== */
.hero-landing-page {
    position: absolute;
    top: 0;
    right: 0;
    /* Menghitung sisa ruang: 100% layar dikurangi estimasi lebar sidebar kiri */
    width: calc(100% - 260px);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
    z-index: 10;
    overflow-x: hidden;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
    3. PREMIUM TYPOGRAPHY
    ========================================================================== */
.hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(40px, 5.2vw, 76px); /* Ukuran disesuaikan agar tidak meluber */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.hero-content h1 .text-glow {
    color: #ffffff;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.hero-content h1 .text-gradient {
    background: linear-gradient(90deg, #00d084 0%, #00b4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    margin: 28px auto 0 auto;
    font-size: clamp(15px, 1.4vw, 18px);
    color: #94a3b8;
    line-height: 1.65;
    max-width: 520px;
}

/* ==========================================================================
    4. BUTTONS & INTERACTIONS
    ========================================================================== */
.hero-buttons {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #00d084, #00b4ff);
    color: #05070c;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 208, 132, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-buttons i {
    font-size: 18px;
    transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1);
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
    5. ANIMATIONS & RESPONSIVE
    ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive saat layar mengecil / tablet / mobile */
@media (max-width: 992px) {
    .hero-landing-page {
        width: 100%;
        left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
    }
}
