/* ===== MODERN STYLE - UPDATED ===== */
:root {
    /* GANTI INI: Sesuaikan warna sesuai preferensi lo */
    --white: #ffffff;
    --blue-primary: #2563eb;
    --blue-dark: #1e40af;
    --red-accent: #dc2626;
    --red-light: #fef2f2;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --background: #f8fafc;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* Shadow lebih lembut */
    --transition-speed: 0.3s; /* Variabel untuk kecepatan transisi */
}

/* Base Styles, Typography, and Utility */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Utility Classes Tambahan === */
.text-center { text-align: center; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 3rem; }
.p-2 { padding: 0.5rem; }

/* Menambahkan focus state untuk aksesibilitas */
button:focus, a:focus, input:focus, .radio-option input[type="radio"]:focus + label {
    outline: 2px solid var(--blue-primary);
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: var(--blue-primary);
    transition: color var(--transition-speed);
}
a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

ul, ol {
    margin-left: 20px;
}

/* ================================ */
/* ===== HEADER & NAVIGATION ===== */
/* ================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue-primary);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.tagline {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================ */
/* ===== HERO SECTION ===== */
/* ================================ */
.hero {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label i {
    margin-right: 8px;
    color: var(--blue-primary);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed); /* Tambahkan transisi box-shadow */
}

.form-group input:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); /* Menambahkan box-shadow fokus */
}

.form-group small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Tombol Submit */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--red-accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background var(--transition-speed), transform 0.1s;
}

.btn-submit:hover {
    background: #b91c1c; /* Warna sedikit lebih gelap dari hover sebelumnya */
}

.btn-submit:active {
    background: #991b1b; /* Efek tekan */
    transform: translateY(1px);
}

/* QRIS Preview */
.qris-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--text-dark);
}

.qris-preview h3 {
    margin-bottom: 1.5rem;
    color: var(--blue-primary);
}

.qris-image-container {
    margin-bottom: 1rem;
}

.qris-image {
    max-width: 200px;
    border: 2px solid var(--border);
    border-radius: 8px;
    /* Tambahan: Pastikan gambar responsif */
    height: auto;
    display: block;
    margin: 0 auto;
}

.qris-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--red-accent);
    margin: 1rem 0;
}

.payment-apps span {
    display: inline-block;
    background: var(--background);
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--border); /* Menambah batas untuk tampilan yang lebih jelas */
}

/* ================================ */
/* ===== TRUST BADGES ===== */
/* ================================ */
.trust-badges {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Penyesuaian minmax sedikit */
    gap: 1.5rem; /* Gap lebih besar */
    text-align: center;
}

.uni-item {
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    transition: transform var(--transition-speed), background var(--transition-speed), color var(--transition-speed);
    border: 1px solid var(--border); /* Menambah border */
}

.uni-item:hover {
    transform: translateY(-3px); /* Efek hover sedikit lebih menonjol */
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

/* ================================ */
/* ===== FEATURES SECTION ===== */
/* ================================ */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--border); /* Tambah border halus */
    background: var(--white);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* Shadow lebih menonjol saat hover */
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--blue-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* ================================ */
/* ===== STATS SECTION ===== */
/* ================================ */
.stats {
    background: var(--red-light);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    /* Tambahan: Efek ringan untuk pemisahan visual */
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ================================ */
/* ===== TESTIMONIALS (Mempertahankan logika slider) ===== */
/* ================================ */
.testimonials {
    background: var(--white);
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.testimonial-slider {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    position: relative;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.testimonial-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--border);
}

.stars {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-author .name {
    font-weight: bold;
    color: var(--blue-primary);
}

.testimonial-author .major {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.testimonial-dots .dot.active {
    background: var(--blue-primary);
    transform: scale(1.2);
}

/* ================================ */
/* ===== HOW IT WORKS ===== */
/* ================================ */
.how-it-works {
    padding: 5rem 0;
    background: var(--background);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem; /* Tambah padding */
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow var(--transition-speed);
}

.step:hover {
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--blue-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
}

/* ================================ */
/* ===== FOOTER ===== */
/* ================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
    border-bottom: 2px solid var(--blue-primary); /* Garis pemisah */
    padding-bottom: 5px;
    width: fit-content;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact-info a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-info a:hover {
    color: var(--blue-primary); /* Ubah warna hover */
    text-decoration: underline;
}

.footer-section i {
    margin-right: 8px;
    width: 16px;
    color: var(--blue-primary); /* Ikon berwarna */
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15); /* Garis sedikit lebih jelas */
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ================================ */
/* ===== FLOATING WHATSAPP BUTTON ===== */
/* ================================ */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.floating-wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.floating-wa a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}
.floating-wa a:active { /* Efek tekan */
    transform: scale(0.95);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.floating-wa i {
    font-size: 28px;
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-speed) ease;
    pointer-events: none;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--text-dark);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-wa a:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ================================ */
/* ===== SUCCESS PAGE BUTTONS (TAMBAHAN SEMENTARA) ===== */
/* ================================ */
/* Menggunakan kelas yang sudah ada, namun menambah gaya dasar jika belum ada */
.btn-wa-success,
.btn-confirm-success,
.btn-history-success {
    /* Gaya Dasar Tombol */
    padding: 10px 20px;
    margin-right: 15px; /* Jarak antar tombol di desktop */
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-speed), transform 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-wa-success {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}
.btn-wa-success:hover {
    background: #128C7E;
    border-color: #128C7E;
}

.btn-confirm-success {
    background: var(--blue-primary);
    color: var(--white);
    border: 2px solid var(--blue-primary);
}
.btn-confirm-success:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.btn-history-success {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}
.btn-history-success:hover {
    background: var(--border);
    color: var(--text-dark);
}

/* ================================ */
/* ===== FILTERS CONTAINER (Penyempurnaan) ===== */
/* ================================ */
.filters-container {
    border: 1px solid var(--border);
    border-radius: 10px; /* Tambah border-radius */
    padding: 1.5rem; /* Tambah padding default */
    transition: all var(--transition-speed) ease;
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
}

.filters-container:hover {
    border-color: var(--blue-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.radio-option {
    transition: all var(--transition-speed) ease;
    border: 1px solid transparent;
    padding: 1rem; /* Menambah padding */
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option:hover {
    background: #f8faff !important;
    border-color: #e0e7ff;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    /* Menyembunyikan radio button bawaan dan menggunakan gaya kustom */
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-option label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    margin-right: 10px;
    transition: all var(--transition-speed);
}

.radio-option input[type="radio"]:checked + label {
    color: var(--blue-primary);
    font-weight: 600;
}

.radio-option input[type="radio"]:checked + label::before {
    border-color: var(--blue-primary);
    background-color: var(--blue-primary);
}

.radio-option input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
}


.filter-item input[type="number"] {
    /* Menggunakan kembali input form group */
    padding: 8px;
    border-radius: 6px;
}
.filter-item input[type="number"]:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ================================ */
/* ===== RESPONSIVE DESIGN (Penyesuaian) ===== */
/* ================================ */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .steps,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center; /* Perubahan untuk perataan tengah */
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .universities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-wa a {
        width: 55px;
        height: 55px;
    }
    
    .wa-tooltip {
        display: none;
    }
    
    .testimonial-track {
        height: 350px;
    }

    /* Success Page Adjustments */
    /* ... (Aturan yang sudah ada untuk .btn-wa-success dll. di media query ini dipertahankan) ... */
    .btn-wa-success,
    .btn-confirm-success,
    .btn-history-success {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0 0 0; /* Menghapus margin-right dan menambah margin-top/bottom */
    }

    /* Filters Container Adjustments */
    .filters-container {
        padding: 1rem;
    }
    
    .radio-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .radio-option input[type="number"] {
        width: 100% !important;
    }
    
    .radio-option label {
        margin-right: 0 !important;
    }
    /* Mengatasi konflik radio button kustom */
    .radio-option label::before {
        margin-right: 10px;
    }
    .radio-option input[type="radio"]:checked + label::after {
        left: 9px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .features,
    .testimonials,
    .how-it-works,
    .stats { /* Tambah stats */
        padding: 3rem 0;
    }
    
    .universities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Filters Container Adjustments */
    .filter-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .radio-option {
        padding: 0.8rem;
    }

    /* Success Page Adjustments (Memastikan prioritas !) */
    /* ... (Aturan yang sudah ada untuk success page di media query ini dipertahankan) ... */
}
<style>
/* ... CSS yang sudah ada ... */

/* ===== FILTER BADGES ===== */
.filter-info {
    text-align: center;
}

.filter-badges {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #dbeafe;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: help;
    transition: all 0.3s ease;
}

.filter-badge:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.no-filters {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
}

/* Tooltip untuk filter badges */
.filter-badge[title] {
    position: relative;
}

.filter-badge[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.filter-badge[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    margin-bottom: -5px;
}
</style>
/* Mempertahankan dan Menggabungkan Success Page Mobile Optimization di atas */

/* Filters Container Styling (Bagian ini sudah digabungkan dan diperbaiki) */