/* Import Font */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 70px; 
    
    /* === BACKGROUND BARU === */
    background-color: #101018; 
    color: #e0e0e0; 
}

/* Div untuk Vanta.js */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* === NAVBAR BARU (TEMA GELAP) === */
.navbar {
    transition: all 0.3s ease-in-out;
    background-color: rgba(22, 22, 30, 0.5); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff; 
}
.nav-link {
    font-weight: 600;
    color: #e0e0e0; 
    margin-left: 1rem;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #9d78ff; 
}
.navbar-scrolled {
    background-color: rgba(33, 33, 40, 0.8); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.navbar-toggler-icon {
    filter: invert(1);
}


/* === SECTION TRANSPARAN === */
section {
    background-color: transparent;
    padding-top: 5rem;
    padding-bottom: 5rem; 
}

/* -------------------------
   2. Home (Hero) Section
---------------------------- */
.hero-section {
    min-height: calc(100vh - 70px);
    background: transparent;
}
.hero-section h1 {
    color: #ffffff; 
    font-weight: 700;
}
.hero-section .lead {
    color: #c0c0c0;
}
.btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
.hero-image {
    animation: floatAnimation 4s ease-in-out infinite;
}
@keyframes floatAnimation {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* -------------------------
   3. How To Order Section (BARU)
---------------------------- */
#how-to-order h2 {
    color: #ffffff;
}
/* Style Kartu Step */
.step-card {
    background: rgba(30, 30, 40, 0.3); /* Lebih transparan sedikit dari kartu service */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #9d78ff;
}

/* Ikon di tengah */
.step-icon {
    font-size: 2.5rem;
    color: #9d78ff;
    margin-bottom: 1rem;
}

/* Angka Background Samar */
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03); /* Sangat transparan */
    line-height: 1;
    z-index: 0;
    user-select: none;
}

/* Memastikan teks step tetap terbaca dan warnanya terang */
.step-card h5, 
.step-card p {
    position: relative;
    z-index: 1;
}

/* -------------------------
   4. Price Section (TEMA GELAP)
---------------------------- */
#price h2, #about h2 {
    color: #ffffff;
}

/* OVERRIDES: Memaksa semua 'text-muted' menjadi abu-abu terang di Dark Mode */
#price p.lead.text-muted,
#how-to-order p.lead.text-muted,
.price-wrapper span.text-muted,
.translation-example-content p.small.text-muted,
#about p.lead.text-muted,
#about p.text-muted,
#about li,
#about .card p.small.text-muted,
.step-card p.small.text-muted {
    color: #c0c0c0 !important;
}

/* GAYA KARTU 'FROSTED' BARU */
.service-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: none;
    transition: all 0.3s ease;
    background: rgba(30, 30, 40, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.service-card:hover {
    border-color: #9d78ff;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.service-card .card-body {
    padding: 2rem;
    text-align: left;
    position: relative;
}

/* GAYA JUDUL KARTU (TEMA GELAP) */
.service-card .service-title {
    color: #9d78ff;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.service-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #c0c0c0;
}

.price-wrapper h1 {
    color: #ffffff;
}

/* GAYA TOMBOL (TEMA GELAP) */
.btn-sample {
    border-color: #9d78ff;
    color: #9d78ff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    border-width: 2px;
}
.btn-sample:hover {
    background-color: rgba(157, 120, 255, 0.1);
    color: #9d78ff;
}
.btn-sample.active {
    border-color: #D9534F;
    background-color: rgba(217, 83, 79, 0.1);
    color: #D9534F;
}
.btn-sample.active:hover {
    background-color: rgba(217, 83, 79, 0.2);
}

.btn-order {
    border: 2px solid #6f42c1;
    background-color: #6f42c1;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}
.btn-order:hover {
    background-color: #5a359a;
    border-color: #5a359a;
}

/* GAYA KARTU GABUNGAN (TEMA GELAP - DIPERBARUI UTK FASTRACK) */
#service-card-container.sample-active .col-12[data-service-id],
#service-card-container-fastrack.sample-active .col-12[data-service-id] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.service-card-active-wrapper {
    background: rgba(22, 22, 30, 0.7); 
    border: 1px solid #9d78ff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-card-active-wrapper .row {
    align-items: stretch;
}
.service-card-active-wrapper .service-card,
.service-card-active-wrapper .translation-example-content {
    height: 100%;
    background: transparent; 
}
.service-card-active-wrapper .service-card {
    border: none;
    box-shadow: none;
}
.service-card-active-wrapper .service-card:hover {
    transform: none;
}

/* Panel Sampel */
.translation-example-content {
    padding: 2rem;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.translation-example-content h6 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.translation-example-content hr {
    margin: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.translation-example-content .text-danger {
    color: #f08080 !important; 
}
.translation-example-content .text-primary {
    color: #9d78ff !important; 
}


/* -------------------------
   5. About Us Section (TEMA GELAP & PERBAIKAN)
---------------------------- */
#about {
    background-color: transparent;
}
#about h4 {
    color: #ffffff;
}
#about .text-primary-emphasis {
    color: #9d78ff !important;
}

#about .card {
    border-radius: 12px;
    background: rgba(30, 30, 40, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#about h5 {
    color: #ffffff;
}
#about hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* -------------------------
   6. Footer (TEMA GELAP)
---------------------------- */
footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* -------------------------
   7. Modal (TEMA GELAP)
---------------------------- */
.modal-content {
    background-color: #1e1e2a; 
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}
/* Style tambahan untuk modal Fastrack */
.modal-content.border-warning {
    border-color: #ffc107 !important;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-close {
    filter: invert(1); 
}