/* ==========================================================================
   1. RESET & VARIABLE UTAMA (undangan Premium Style Guide)
   ========================================================================== */
:root {
    /* Palet Hijau / Emerald Anda - Dioptimalkan untuk kontras premium */
    --primary-emerald: #0f766e;    /* Deep Emerald */
    --emerald-light: #f0fdf4;       /* Soft Light Emerald Background */
    --accent-mint: #2ec4b6;         /* Mint Accent untuk highlight */
    --accent-gold: #d4af37;         /* Muted Premium Gold */
    
    /* Warna Dasar UI undangan */
    --text-dark: #1d1d1f;           /* Karakteristik teks undangan (bukan hitam pekat) */
    --text-muted: #86868b;          /* Abu-abu khas sub-judul undangan */
    --bg-light: #f5f5f7;            /* Latar belakang abu-abu bersih khas iOS */
    --white: #ffffff;
    
    /* Efek & Radius Modern */
    --radius-premium: 22px;         /* Sudut membulat halus ala hardware undangan */
    --radius-sm: 12px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); /* Efek animasi mengalir */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -undangan-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    letter-spacing: -0.015em; /* Khas undangan, teks sedikit rapat agar rapi */
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.47059;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1120px; /* Lebar standar layout produk undangan */
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. NAVBAR & HEADER (Ultra-thin Translucent)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px); /* Efek kaca transparan iOS */
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px; /* Tipis dan minimalis */
}

.logo {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   3. HERO SECTION (Typography-Driven Layout)
   ========================================================================== */
#hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 80% 20%, var(--emerald-light) 0%, var(--white) 50%);
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-emerald);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 40px;
    margin-bottom: 24px;
}

#hero h1 {
    font-size: 4rem; /* Sangat besar dan dramatis */
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 18px;
}

#hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 36px auto;
    font-weight: 400;
}

/* Tombol / CTA ala undangan */
.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: #0d615b;
    transform: scale(1.02);
}

.btn-secondary {
    color: var(--primary-emerald);
    font-weight: 500;
}

.btn-secondary:after {
    content: " ➔";
    font-size: 0.8rem;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-secondary:hover:after {
    transform: translateX(4px);
}

/* Section Universal Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   4. INTERACTIVE CARD REVOLUTION (Anti-Monoton & Elegan)
   ========================================================================== */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* Desain Card Baru: Memadukan Glassmorphism halus & Interaksi Hover Bayangan */
.step-card, .theme-card, .feature-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-premium);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

/* Efek Elegan Saat Card Di-hover */
.step-card:hover, .theme-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: rgba(15, 118, 110, 0.15);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Hiasan khusus nomor urut dekoratif melayang di belakang card */
.step-num {
    font-size: 4.5rem;
    font-weight: 700;
    color: rgba(15, 118, 110, 0.04); /* Sangat tipis berkelas */
    position: absolute;
    top: 10px;
    right: 24px;
    user-select: none;
    transition: var(--transition-smooth);
}

.step-card:hover .step-num {
    color: rgba(15, 118, 110, 0.1);
    transform: scale(1.1);
}

.step-card h3, .theme-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p, .theme-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   5. KATALOG TEMA (Clean undangan Filter & Rounded Previews)
   ========================================================================== */
.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    border: none;
    padding: 8px 18px;
    font-size: 0.88rem;
    border-radius: 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Thumbnail Simulasi HP mini di dalam Card */
.html-thumb-preview {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.theme-card:hover .html-thumb-preview {
    transform: scale(1.02);
}

.theme-rustik { background: linear-gradient(135deg, #fdfbf7 0%, #f5eedc 100%); border: 1px solid #e1d3b7; color: #604933; }
.theme-minimalis { background: #fafafa; border: 1px solid #eaeaea; color: #222222; }
.theme-gold { background: linear-gradient(135deg, #111 0%, #222 100%); border: 1px solid #333; color: #dfba6b; }

.thumb-title { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; opacity: 0.7; }
.thumb-names { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.thumb-date { font-size: 0.7rem; letter-spacing: 1px; }

.btn-sm {
    border: none;
    padding: 8px 16px;
    background-color: var(--bg-light);
    color: var(--primary-emerald);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    transition: var(--transition-smooth);
}

.theme-card:hover .btn-sm {
    background-color: var(--primary-emerald);
    color: var(--white);
}

/* ==========================================================================
   6. PRICING TABLE REVOLUTION (undangan High-Contrast Minimalist)
   ========================================================================== */
/* Set khusus untuk penonjolan paket premium yang tidak norak */
.theme-card.premium-tier {
    border: 1px solid var(--primary-emerald);
    background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.03) 0%, var(--white) 100%);
}

.theme-card .badge-premium {
    position: absolute;
    top: 20px;
    right: 24px;
    background: var(--primary-emerald);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 10px;
    font-weight: 600;
}

/* ==========================================================================
   7. MODAL PREVIEW (Stunning iOS Device Mockup)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 380px; /* Ukuran proporsional genggaman iPhone */
}

.close-modal {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.close-modal:hover { opacity: 1; }

/* Struktur Mockup Smartphone Mewah */
.phone-mockup {
    background: #000000;
    border: 12px solid #2d2d30; /* Pinggiran titanium tipis */
    border-radius: 48px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    padding: 0;
    overflow: hidden;
    aspect-ratio: 9 / 19.5; /* Rasio layar iPhone terkini */
    width: 100%;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 36px;
    overflow: hidden;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animation Keys */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.03); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Scaling untuk Layar Kecil */
@media (max-width: 768px) {
    #hero h1 { font-size: 2.6rem; }
    #hero p { font-size: 1.15rem; }
    .grid-3-col { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Simpel mobile nav */
}


/* ==========================================================================
   8. RICH undangan-STYLE FOOTER
   ========================================================================== */
.undangan-footer {
    background-color: var(--bg-light);
    padding: 60px 0 30px 0;
    font-size: 0.75rem; /* Khas footer undangan: teks informasi berukuran kecil namun tajam */
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.undangan-footer h4 {
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Bagian Atas Footer */
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand-info {
    max-width: 600px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.footer-desc {
    line-height: 1.6;
    font-size: 0.8rem;
}

.payment-logos:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.footer-payment .payment-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.footer-payment .payment-tags span {
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Pembatas Garis Tipis */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 25px 0;
}

/* Grid Tautan Navigasi */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #2b2b2b;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--primary-emerald);
    text-decoration: underline;
}

/* Tag SEO Awan */
.seo-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seo-tags a {
    color: #2b2b2b;
    text-decoration: none;
}

.seo-tags a:hover {
    color: var(--text-dark);
}

/* Bagian Paling Bawah */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
}

.footer-legal-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--text-dark);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/*====soon=========*/

/* ==========================================================================
   9. COMING SOON PAGE STYLES (Apple Minimalist Center)
   ========================================================================== */
.coming-soon-body {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.coming-soon-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 30%, var(--emerald-light) 0%, var(--white) 60%);
}

.cs-hero {
    text-align: center;
    margin-bottom: 50px;
}

.cs-hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cs-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Modifikasi Ukuran Card Khusus di Halaman Segera */
.cs-card {
    padding: 32px 24px;
    text-align: left;
}

.cs-card-highlight {
    padding: 32px 24px;
    text-align: left;
    transform: none !important; /* Matikan scaling bawaan pricing agar seimbang di grid ini */
}

.cs-card .step-num {
    font-size: 2.2rem;
    color: rgba(15, 118, 110, 0.15);
    top: 25px;
    right: 24px;
}

.cs-card:hover .step-num {
    color: var(--primary-emerald);
    transform: rotate(15px) scale(1.1);
}

.cs-cta {
    margin-top: 50px;
}

/* Responsive Pembenahan */
@media (max-width: 768px) {
    .cs-hero h1 {
        font-size: 2.5rem;
    }
    .coming-soon-wrapper {
        padding-top: 100px;
    }
}

p {
    color: #2D3748 !important; 
    line-height: 1.6;
}

.teks-tebal {
    font-weight: bold;
}


#keunggulan p,
#alur p,
#katalog p,
#kado-digital p,
#fitur-lengkap p,
#harga p,
#blog-singkat p {
    color: #1A202C !important;
}

.step-card p,
.feature-item p,
.theme-card p {
    color: #2D3748 !important;
}

/* Jika card kamu berlatar belakang hijau emerald, teks di dalamnya HARUS putih bersih */
/*
.step-card.emerald-bg p {
    color: #FFFFFF !important;
}
*/

/* --- 4. Perbaikan pada Bagian Footer (Paling sering bermasalah) --- */
/* Biasanya footer berwarna Hijau Emerald tua, maka teks & link di dalamnya harus putih/terang */
/* footer.undangan-footer {
    background-color: #044333; 
}

footer.undangan-footer p.footer-desc,
footer.undangan-footer p.copyright {
    color: #E2E8F0 !important; 
}

footer.undangan-footer a {
    color: #FFFFFF !important; 
    text-decoration: underline; 
    font-weight: 500;
}

footer.undangan-footer a:hover {
    color: #A7F3D0 !important; 
} */

.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Ukuran untuk Web / Desktop (layar 768px ke atas) */
@media (min-width: 768px) {
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }
}