/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --primary: #0A4D98;
    --primary-dark: #06356b;
    --accent: #FF7F00;
    --accent-hover: #e67300;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #FFFFFF;
    --success: #10b981;
    --danger: #ef4444;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.1);
    
    --radius-md: 12px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; font-family: 'Inter', sans-serif; }

h1, h2, h3, h4, .logo, .font-head { font-family: 'Plus Jakarta Sans', sans-serif; }

body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; width: 100%; }
html { scroll-behavior: smooth; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.hidden { display: none !important; }

/* --- 2. HEADER & NAVIGATION --- */
header {
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.3); 
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
header.scrolled { padding: 0.6rem 0; box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.98); }

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

.logo { 
    font-size: 1.5rem; font-weight: 800; color: var(--primary); 
    text-decoration: none; display: flex; align-items: center; gap: 10px; 
    letter-spacing: -0.5px; white-space: nowrap; 
}
.logo span { color: var(--accent); }
.logo:hover svg { transform: rotate(10deg) scale(1.05); }
.logo svg { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 4px 6px rgba(10,77,152,0.2)); }

nav ul { display: flex; gap: 2rem; list-style: none; align-items: center; }
nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: 0.3s; font-size: 0.95rem; }
nav a:hover { color: var(--primary); }

.btn-nav { 
    background: var(--primary); color: white !important; padding: 10px 24px; 
    border-radius: 50px; box-shadow: 0 4px 12px rgba(10, 77, 152, 0.25);
    white-space: nowrap;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(10, 77, 152, 0.35); }

.btn-free-app {
    color: var(--success) !important; font-weight: 700;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; border: 1px dashed var(--success);
    border-radius: 8px; background: rgba(16, 185, 129, 0.08); transition: 0.3s;
    white-space: nowrap;
}
.btn-free-app:hover { background: rgba(16, 185, 129, 0.15); }

.hamburger { display: none; cursor: pointer; color: var(--text-dark); }

/* --- 3. HERO SECTION & BUTTON ANIMATION --- */
.hero {
    padding-top: 140px; padding-bottom: 80px;
    background: linear-gradient(180deg, #EBF5FF 0%, #FFFFFF 100%);
    border-bottom-left-radius: 60px; border-bottom-right-radius: 60px;
    position: relative; overflow: hidden;
}

.modern-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--primary); 
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); margin-bottom: 1.5rem;
    max-width: 100%; border: 1px solid rgba(255,255,255,0.5);
}

.hero-wrapper { display: flex; align-items: center; gap: 4rem; }
.hero-text { flex: 1; }

.hero-title {
    font-size: 3.5rem; line-height: 1.15; margin-bottom: 1.5rem; 
    color: var(--text-dark); font-weight: 800; letter-spacing: -1.5px;
}
.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 2.5rem; max-width: 95%; line-height: 1.7; }

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

@keyframes radiate-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.6); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(255, 127, 0, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(255, 127, 0, 0); transform: scale(1); }
}

.btn-market {
    background: linear-gradient(135deg, var(--accent), #ff5722);
    color: white; padding: 14px 32px; border-radius: 12px;
    text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s ease; 
    border: none; cursor: pointer;
    animation: radiate-pulse 2s infinite;
    position: relative; z-index: 5;
    text-align: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
}
.btn-market:hover { 
    animation: none; transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(255, 127, 0, 0.4); 
    background: linear-gradient(135deg, #e67300, #f4511e);
}

.btn-secondary-outline {
    background: white; color: var(--primary); border: 2px solid #e2e8f0;
    padding: 12px 30px; border-radius: 12px; text-decoration: none; font-weight: 700;
    transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.btn-secondary-outline:hover { border-color: var(--primary); background: #f0f9ff; color: var(--primary-dark); }

.hero-img { flex: 1; position: relative; display: flex; justify-content: center; }
.hero-img img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-card); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }

/* --- NEW SECTION: WEBSITE SERVICE --- */
.web-section {
    padding: 4rem 0;
    background: #fff;
    position: relative;
}
.web-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: linear-gradient(145deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}
.web-content { flex: 1.2; }
.web-image { flex: 0.8; }
.web-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15); border: 4px solid white; }

.feature-list { list-style: none; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.feature-list li svg { color: var(--success); flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2)); }

.price-tag-web {
    font-size: 1.8rem; font-weight: 800; color: var(--primary);
    margin: 1.5rem 0; display: block;
}
.price-tag-web small { font-size: 0.9rem; font-weight: 600; color: var(--text-gray); }

/* --- 4. KATALOG PRODUK --- */
.section-title { text-align: center; margin-bottom: 3.5rem; padding: 0 10px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--text-dark); font-weight: 800; letter-spacing: -0.5px; }
.section-title p { color: var(--text-gray); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.product-card {
    background: var(--white); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid #f1f5f9;
    display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: #bfdbfe; }

.card-img { height: 200px; background: #f1f5f9; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.product-card:hover .card-img img { transform: scale(1.08); }

.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.card-price { color: var(--primary); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.card-btn { 
    margin-top: auto; width: 100%; padding: 12px; border-radius: 10px; 
    border: 2px solid var(--primary); color: var(--primary); background: transparent; 
    cursor: pointer; font-weight: 700; transition: 0.3s; 
}
.card-btn:hover { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(10, 77, 152, 0.2); }

/* --- 5. FORM PEMESANAN --- */
#pesan { scroll-margin-top: 90px; }
.order-layout { display: grid; grid-template-columns: 2fr 1.1fr; gap: 2.5rem; align-items: start; }

.form-panel { 
    background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; 
}

.grid-responsive {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; position: relative; width: 100%; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.6rem; font-size: 0.9rem; color: #334155; }

.form-control {
    width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    font-size: 1rem; transition: 0.3s; background: #f8fafc; color: var(--text-dark);
    appearance: none;
}
.form-control:focus { 
    border-color: var(--primary); background: #fff; outline: none; 
    box-shadow: 0 0 0 4px rgba(10, 77, 152, 0.1); 
}

.form-control[readonly] { cursor: not-allowed; user-select: none; }

/* INPUT GROUP CHECK DOMAIN */
.input-group { display: flex; align-items: stretch; position: relative; flex-wrap: wrap; }
.input-group-text {
    background: #e2e8f0; border: 1px solid #cbd5e1; 
    padding: 0 15px; display: flex; align-items: center;
    font-size: 0.9rem; color: #64748b; font-weight: 600;
    flex-shrink: 0;
}
.input-group .input-group-text:first-child { border-right: none; border-top-left-radius: 10px; border-bottom-left-radius: 10px; }
.input-group .form-control { border-radius: 0; z-index: 2; flex: 1; min-width: 100px; }
.input-group .input-group-text:nth-child(3) { border-left: none; border-right: none; }

.btn-check-domain {
    background: var(--text-dark); color: white; border: none;
    padding: 0 20px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
    border-top-right-radius: 10px; border-bottom-right-radius: 10px;
    transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
}
.btn-check-domain:hover { background: black; }
.btn-check-domain:disabled { background: #94a3b8; cursor: not-allowed; }

.form-control.is-valid { border-color: var(--success); background-color: #f0fdf4; }
.form-control.is-invalid { border-color: var(--danger); background-color: #fef2f2; }

.domain-msg {
    margin-top: 10px; font-size: 0.85rem; padding: 12px; border-radius: 8px;
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
    animation: fadeIn 0.4s ease;
}
.domain-msg.success { background: #ecfdf5; color: #065f46; border: 1px solid #10b981; }
.domain-msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #f87171; }
.domain-msg.info { background: #eff6ff; color: #1e40af; border: 1px solid #60a5fa; }

.sub-option-container {
    background: #eff6ff; border: 1px dashed #93c5fd;
    padding: 24px; border-radius: 12px; margin-bottom: 2rem;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.summary-panel {
    background: var(--white); padding: 2rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); position: sticky; top: 100px;
    border: 1px solid #e2e8f0; z-index: 100;
}
.summary-title { 
    font-weight: 700; border-bottom: 2px solid #f1f5f9; padding-bottom: 1rem; 
    margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-gray); }
.summary-row span:last-child { font-weight: 600; color: var(--text-dark); text-align: right; padding-left: 10px; }

.summary-total { 
    display: flex; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.5rem; 
    border-top: 2px dashed #cbd5e1; font-weight: 800; font-size: 1.4rem; color: var(--primary); 
}

.payment-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px dashed #e2e8f0; }
.payment-img { width: 100%; border-radius: 12px; border: 1px solid #cbd5e1; margin-bottom: 1rem; display: block; }
.payment-warning {
    background-color: #fffbeb; border: 1px solid #fcd34d; color: #92400e;
    padding: 12px; border-radius: 8px; font-size: 0.85rem; line-height: 1.5; margin-top: 1rem;
}
.dp-highlight { color: var(--accent); font-weight: 800; }
.invoice-code-display {
    background: #f1f5f9; color: var(--text-dark); padding: 10px; text-align: center;
    border-radius: 8px; font-family: monospace; font-weight: 700; font-size: 1.2rem;
    letter-spacing: 1px; margin: 10px 0; border: 1px solid #e2e8f0;
    word-break: break-all;
}

.btn-checkout { 
    width: 100%; margin-top: 1.5rem; background: var(--accent); border: none; 
    color: white; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 1.1rem; 
    cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3); 
}
.btn-checkout:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 127, 0, 0.4); }

.gps-btn { 
    position: absolute; right: 8px; top: 38px; background: var(--primary); 
    color: white; border: none; padding: 6px 12px; border-radius: 6px; 
    cursor: pointer; font-size: 0.8rem; font-weight: 600; z-index: 5;
    max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- 6. INVOICE MODAL (UI SCREEN) --- */
.modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%; 
    background: rgba(15, 23, 42, 0.85); z-index: 2000; 
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(8px);
    padding: 1rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.invoice-card-wrapper {
    background: white; width: 100%; max-width: 450px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; max-height: 90vh;
}
.modal-overlay.active .invoice-card-wrapper { transform: scale(1) translateY(0); }

.inv-header {
    background: var(--primary); color: white; padding: 1.5rem;
    text-align: center; position: relative; flex-shrink: 0;
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.inv-header h3 { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.5px; }
.inv-header p { opacity: 0.8; font-size: 0.9rem; margin-top: 5px; }
.inv-logo-icon {
    background: rgba(255,255,255,0.15); width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 10px auto;
    border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px);
}

.inv-body {
    background: white; border-radius: 20px 20px 0 0; margin-top: -15px;
    padding: 1.5rem; position: relative; overflow-y: auto; flex-grow: 1;
}
.inv-badge {
    background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5;
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    text-align: center; width: fit-content; margin: 0 auto 20px auto;
    display: block; letter-spacing: 1px; text-transform: uppercase;
}
.inv-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; padding-bottom: 14px;
}
.inv-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.inv-label { font-size: 0.85rem; color: #64748b; font-weight: 500; }
.inv-value { font-size: 0.95rem; color: #0f172a; font-weight: 600; text-align: right; max-width: 60%; }

.inv-product-box {
    background: #f8fafc; border-radius: 12px; padding: 15px;
    margin: 10px 0 20px 0; border: 1px solid #e2e8f0;
}
.inv-product-title { color: var(--primary); font-weight: 700; margin-bottom: 5px; font-size: 1rem; }
.inv-product-spec { font-size: 0.85rem; color: #64748b; line-height: 1.4; }

.inv-total-area {
    background: #ecfeff; border: 1px dashed #22d3ee;
    border-radius: 12px; padding: 15px; margin-top: 15px;
    display: flex; justify-content: space-between; align-items: center;
}
.inv-total-label { color: #0891b2; font-weight: 600; font-size: 0.9rem; }
.inv-total-value { color: var(--primary); font-weight: 800; font-size: 1.3rem; }

.inv-footer {
    padding: 1.5rem; border-top: 1px solid #f1f5f9;
    display: flex; flex-direction: column; gap: 12px; background: white;
    flex-shrink: 0;
}

.btn-action-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white; border: none; padding: 14px; border-radius: 12px;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-action-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4); }
.btn-group-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-action-secondary {
    background: #f1f5f9; color: #475569; border: none; padding: 12px;
    border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 0.9rem;
}
.btn-action-secondary:hover { background: #e2e8f0; color: #1e293b; }

/* --- 7. FOOTER --- */
.footer-wave { width: 100%; line-height: 0; background-color: var(--bg-light); margin-top: 3rem; }
.footer-wave svg { display: block; width: 100%; height: 80px; fill: #022a5c; } 

footer { background: #022a5c; color: #e2e8f0; padding-bottom: 2rem; font-size: 0.95rem; }
.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 3rem; 
    padding: 3rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.footer-brand h3 { color: white; font-size: 1.8rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.footer-nav h4, .footer-contact h4 { color: white; margin-bottom: 1.2rem; font-size: 1.1rem; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; display: block; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }

.contact-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-icon { background: rgba(255,255,255,0.1); padding: 10px; border-radius: 50%; flex-shrink: 0; color: var(--accent); }
.contact-text { flex: 1; }
.contact-title { font-weight: 700; color: white; }
.contact-desc { opacity: 0.8; font-size: 0.9rem; margin-top: 3px; }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; 
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; font-size: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); 
    z-index: 999; transition: 0.3s; animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* --- 8. MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-wrapper { gap: 2rem; }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 900px) {
    .hero-wrapper { flex-direction: column-reverse; text-align: center; padding-top: 0; }
    .hero-title { font-size: 2.5rem; margin-bottom: 1rem; }
    .hero-img { width: 100%; max-width: 500px; margin: 0 auto; }
    .hero-btn-group { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    
    .web-wrapper { flex-direction: column-reverse; padding: 1.5rem; gap: 2rem; }
    .web-content { text-align: center; }
    .feature-list { text-align: left; justify-content: center; }
    
    .order-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .summary-panel { position: relative; top: 0; order: 2; background: #f8fafc; border: 2px dashed #cbd5e1; box-shadow: none; }
    .form-panel { order: 1; padding: 1.5rem; }
}

@media (max-width: 768px) {
    .container { width: 92%; padding: 0 15px; }
    .section-title h2 { font-size: 2rem; }
    
    /* Navigation Mobile */
    .hamburger { display: block; }
    nav ul { 
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: white; flex-direction: column; padding: 2rem; 
        box-shadow: var(--shadow-card); transition: 0.4s; justify-content: flex-start; overflow-y: auto;
        z-index: 999;
    }
    nav ul.active { left: 0; }
    nav ul li { width: 100%; text-align: center; margin-bottom: 10px; }
    nav a { display: block; padding: 12px; font-size: 1.1rem; }
    
    .invoice-card-wrapper { width: 95%; max-height: 95vh; }
    .inv-header { padding: 1.2rem; }
    .inv-body { padding: 1.2rem; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2rem; }
    .btn-market { width: 100%; padding: 12px 20px; font-size: 0.95rem; }
    .btn-secondary-outline { width: 100%; }
    
    .grid-responsive { grid-template-columns: 1fr; gap: 1rem; }
    
    /* Domain Checker Mobile */
    .input-group { flex-direction: column; gap: 0; }
    .input-group .input-group-text:first-child { 
        width: 100%; border-right: 1px solid #cbd5e1; 
        border-radius: 10px 10px 0 0; justify-content: center;
        padding: 12px;
    }
    .input-group .form-control { 
        width: 100%; border-radius: 0 !important; border-top: none; 
        text-align: center; padding: 14px;
    }
    .input-group .input-group-text:nth-child(3) {
         width: 100%; justify-content: center; border-left: 1px solid #cbd5e1;
         border-radius: 0;
    }
    .btn-check-domain { 
        width: 100%; border-radius: 0 0 10px 10px; margin-top: -1px; 
        justify-content: center; padding: 14px; font-size: 1rem;
    }

    .domain-msg { margin-top: 15px; font-size: 0.8rem; padding: 10px; flex-direction: column; align-items: flex-start; }
    .domain-msg svg { align-self: center; }

    .form-panel, .summary-panel { padding: 1.5rem; margin: 0 auto; width: 100%; }
    .order-layout { gap: 1.5rem; display: flex; flex-direction: column; align-items: center; }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand, .footer-nav, .footer-contact { align-items: center; text-align: center; }
    .footer-links { align-items: center; }
    .footer-links a { text-align: center; }
    .contact-item { justify-content: center; text-align: center; }
    .footer-contact > div { display: flex; flex-direction: column; align-items: center; width: 100%; }
    
    .btn-checkout { padding: 14px; font-size: 1rem; }
    #pesan { padding: 3rem 0 4rem; }
    .summary-panel { margin-bottom: 2rem; width: 100%; }
    .form-control { font-size: 16px; }
    .summary-row, .summary-total { font-size: 0.9rem; }
    footer { font-size: 0.9rem; }
    .product-grid { grid-template-columns: 1fr; }
    .web-wrapper { padding: 1rem; }
    .event-fields .grid-responsive { grid-template-columns: 1fr; }
}

/* --- 9. PRINT STYLE --- */
#print-container { display: none; }
@media print {
    body > * { display: none !important; }
    #print-container { 
        display: block !important; position: absolute; top: 0; left: 0; 
        width: 100%; padding: 0; margin: 0; background: white; color: black; 
    }
    #print-container * { visibility: visible; }
    @page { margin: 0; size: auto; }
}
