:root {
    --primary: #00e676;
    --primary-hover: #00c853;
    --dark-bg: #090d16;
    --card-bg: #131c2e;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --input-border: #22314d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigasi */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .nav-btn {
    background: rgba(0, 230, 118, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: linear-gradient(90deg, rgba(9, 13, 22, 0.95) 40%, rgba(9, 13, 22, 0.4)), 
                url('./images/Maka-Cavalry-1.webp');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.btn-cta {
    background: var(--primary);
    color: #000;
    padding: 16px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0, 230, 118, 0.25);
    transition: 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 230, 118, 0.4);
    background: var(--primary-hover);
}

/* Konten Deskripsi & Artikel */
.content-section {
    padding: 120px 8%;
}

.grid-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.article-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.article-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.benefit-tags {
    margin-top: 30px;
}

.tag {
    display: block;
    background: #162238;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 4px solid var(--primary);
}

.image-wrapper {
    position: relative;
}

.product-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* Form Section (Multi-step Card) */
.form-section {
    padding: 100px 8%;
    background: #0b111e;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.03);
}

.header-title {
    text-align: center;
    margin-bottom: 35px;
}

.header-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.header-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Indikator Alur / Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 35px;
    position: relative;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border: 2px solid var(--input-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.step-dot span {
    position: absolute;
    top: 45px;
    font-size: 0.75rem;
    white-width: max-content;
    color: var(--text-muted);
    font-weight: 600;
}

.step-dot.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 15px rgba(0,230,118,0.2);
}

.step-dot.active span {
    color: var(--primary);
}

/* Element Form */
.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e2e8f0;
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--input-border);
    background: var(--dark-bg);
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.1);
}

.hidden {
    display: none;
}

/* Tombol Form */
.btn-step {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-next {
    background: var(--primary);
    color: #000;
}

.btn-submit {
    background: var(--primary);
    color: #000;
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--input-border);
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-step:active {
    transform: scale(0.98);
}

footer {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--input-border);
}

/* Responsif Layar HP (Mobile Friendly) */
@media (max-width: 768px) {
    nav { padding: 15px 5%; }
    .nav-links { display: none; } /* Menyembunyikan link di mobile agar bersih */
    .hero { padding: 0 5%; text-align: center; justify-content: center; }
    .grid-detail { grid-template-columns: 1fr; gap: 40px; }
    .content-section { padding: 60px 5%; }
    .form-section { padding: 40px 15px; }
    .form-container { padding: 25px 20px; border-radius: 20px; }
    .article-text h2 { font-size: 2.2rem; }
}

/* --- Animasi Transisi Halus --- */

/* State Awal Halaman: Transparan dan sedikit bergeser ke bawah */
.form-page {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: block; /* Menggantikan fungsi hidden agar animasi bekerja */
}

/* Kelas Aktif: Halaman terlihat penuh dan kembali ke posisi semula */
.form-page.active-page {
    opacity: 1;
    transform: translateY(0);
}

/* Sembunyikan halaman sepenuhnya dari interaksi saat tidak aktif */
.form-page.hidden-page {
    display: none !important;
}

/* Animasi Halus untuk Step Indikator */
.step-dot {
    transition: all 0.3s ease;
}

