:root {
    --color-bg-dark: #07070a;
    --color-gold: #facc15;
    --color-gold-glow: rgba(250, 204, 21, 0.4);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

html,
body {
    scrollbar-color: rgba(250, 204, 21, 0.5) var(--color-bg-dark);
    scrollbar-width: thin;
    width: 100%;
    min-height: 100vh;
    /* Latar belakang dengan gradien radial yang dalam dan modern */
    background-color: var(--color-bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(30, 27, 75, 0.4), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(55, 48, 163, 0.15), transparent 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* Container kaca (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem 3rem 4rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardEnter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transform: translateY(30px) translateZ(0);
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@keyframes cardEnter {
    to {
        transform: translateY(0) translateZ(0);
        opacity: 1;
    }
}

/* Ticker Social Proof */
.social-proof-ticker {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    background-color: rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite ease-out;
}

@keyframes pulseDot {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Cursor Typewriter */
.typewriter-cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--color-gold);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Ikon kutipan dekoratif */
.quote-icon {
    width: 40px;
    height: 40px;
    fill: rgba(255, 255, 255, 0.15);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulseGlow 3s infinite alternate;
}

/* Teks pertanyaan – Playfair Display */
.question {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 2.5rem;
    color: #f8fafc;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Garis pemisah yang elegan */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto 2.5rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-gold-glow);
}

/* Teks Ajakan – Montserrat */
.call-to-action {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.7;
    font-weight: 400;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* Kata "Merapat!" dibuat seperti badge menyala */
.highlight {
    font-weight: 700;
    color: var(--color-bg-dark);
    background: linear-gradient(135deg, #fde047, #eab308);
    padding: 0.3em 0.8em;
    border-radius: 8px;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.4),
        0 4px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9em;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.highlight:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.6),
        0 8px 12px rgba(0, 0, 0, 0.4);
}

/* Penekanan pada kata "closing" dan "untung" */
.text-accent {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

/* Tombol WhatsApp */
.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3),
                0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
}

.wa-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.wa-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4),
                0 6px 8px rgba(0, 0, 0, 0.3);
}

.wa-btn:hover::before {
    left: 100%;
}

.wa-icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

/* List Materi */
.benefits-list {
    margin: 2.5rem auto;
    max-width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: var(--y, -100px);
    left: var(--x, -100px);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.08), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.benefit-item span {
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Trust Note */
.personal-note {
    margin: 0 auto 2rem;
    max-width: 600px;
    padding-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
}

.mentor-profile {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    border: 3px solid var(--color-gold);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.2);
}

.mentor-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-content {
    font-style: italic;
    color: #94a3b8;
    line-height: 1.6;
}

.note-content p {
    margin-bottom: 0.2rem;
}

.note-content strong {
    font-style: normal;
    color: var(--color-gold);
    font-size: 0.9rem;
}

/* Container Partikel Background */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Gaya individual partikel */
.particle {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    animation: floatParticle linear infinite;
    will-change: transform, opacity;
}

/* Animasi pergerakan partikel yang lebih natural */
@keyframes floatParticle {
    0% {
        transform: translateY(100px) scale(0.5) translateZ(0);
        opacity: 0;
    }

    20% {
        opacity: var(--max-opacity);
    }

    80% {
        opacity: var(--max-opacity);
    }

    100% {
        transform: translateY(-100px) scale(1.2) translateZ(0);
        opacity: 0;
    }
}

/* Responsif untuk layar kecil */
@media (max-width: 600px) {
    .glass-card {
        padding: 1.5rem 1.5rem 3rem;
    }

    .personal-note {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .highlight {
        display: block;
        width: fit-content;
        margin: 0 auto 1rem auto;
    }
}
