/* ==========================================================================
   CSS Variables & Theme (Tradisional Nusantara)
   ========================================================================== */
:root {
    --primary: #5D4037; /* Cokelat Soga Gelap */
    --primary-hover: #4E342E;
    --primary-light: #D7CCC8; /* Cokelat Muda */
    
    --accent: #D4AF37; /* Emas Klasik */
    
    --bg-page: #FDFBF7; /* Krem Kertas Perkamen */
    --bg-card: #FFFFFF;
    --bg-card-border: #E5D9C5;
    
    --text-main: #3E2723; /* Cokelat Sangat Gelap (Mendekati Hitam) */
    --text-muted: #795548; /* Cokelat Sedang */
    
    --green: #2E7D32; /* Hijau Daun Klasik */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 4px 20px rgba(93, 64, 55, 0.08);
    --shadow-card: 0 10px 30px rgba(93, 64, 55, 0.12);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle paper texture */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }
.mb-4 { margin-bottom: 16px; }
.justify-center { justify-content: center; }

/* ==========================================================================
   Typography & Accents
   ========================================================================== */
.text-gradient {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Garis bawah ornamen di bawah judul */
.text-gradient::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.bg-gradient-1, .bg-gradient-2, .bg-gradient-3, .bg-gradient-4 {
    background: var(--primary-light);
    border: 1px solid var(--accent);
    color: var(--primary);
}

/* ==========================================================================
   UI Components (Buttons, Cards)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Ornamen sudut pada kartu */
.glass-panel::before, .glass-panel::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    opacity: 0.3;
}
.glass-panel::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.glass-panel::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-soft);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    z-index: 100;
    background-color: rgba(253, 251, 247, 0.95);
    border-bottom: 1px solid var(--bg-card-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 2rem;
    color: var(--accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.batik-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.04;
    z-index: 0;
    /* Pola floral/batik sederhana menggunakan base64 SVG */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235D4037' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 30px 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 650px;
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-style: italic;
}

.guarantee i {
    color: var(--accent);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 100px 0;
    background-color: #F8F5EE; /* Sedikit lebih gelap dari bg page */
    border-top: 1px solid var(--bg-card-border);
    border-bottom: 1px solid var(--bg-card-border);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '✤';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 1.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-top: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: 120px 0;
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pricing-wrapper::before, .pricing-wrapper::after { display: none; }

.pricing-badge {
    background: var(--bg-card);
    margin-bottom: 24px;
}

.pricing-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.benefit-list i {
    font-size: 1.4rem;
    margin-top: 2px;
    color: var(--accent);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
}

/* Ornamen Header Kartu Harga */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: var(--accent);
    border-radius: 0 0 4px 4px;
}

.price-strike {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.currency {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 10px;
    margin-right: 5px;
}

.amount {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.thousands {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 10px;
}

.price-terms {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.slots-left {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #C62828;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 100px 0;
    background-color: #F8F5EE;
    border-top: 1px solid var(--bg-card-border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.faq-item {
    padding: 35px 30px;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 80px 0 40px;
    background-color: var(--primary);
    color: var(--bg-page);
}

.footer .logo {
    color: var(--accent);
}

.footer p {
    color: rgba(253, 251, 247, 0.8);
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
    margin-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 20px;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.pulse-hover:hover {
    animation: pulse-button 1.5s infinite;
}

@keyframes pulse-button {
    0% { box-shadow: 0 0 0 0 rgba(93, 64, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(93, 64, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(93, 64, 55, 0); }
}

@media (max-width: 992px) {
    .pricing-wrapper {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .pricing-content {
        text-align: center;
    }
    .benefit-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding: 140px 0 80px;
    }
    .navbar .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo i {
        font-size: 1.6rem;
    }
}
