:root{
    --primary:#1e3a8a;
    --dark:#0f172a;
    --success:#16a34a;
}

/* ======================
   RESET & BODY
====================== */
*{
    box-sizing:border-box;
}
body{
    margin:0;
    font-family:"Segoe UI", Arial, sans-serif;
    background:linear-gradient(180deg,#f8fafc,#eef2f7);
    color:#1f2937;
}

/* ======================
   CONTAINER & CARD
====================== */
.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}
.card{
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:28px;
    margin-bottom:30px;
}

/* ======================
   TYPOGRAPHY
====================== */
h1,h2{
    color:var(--dark);
    margin-top:0;
}
h1{
    font-size:32px;
}
h2{
    font-size:24px;
    border-left:5px solid var(--primary);
    padding-left:12px;
}
p{
    line-height:1.8;
    color:#374151;
}

/* ======================
   HEADER
====================== */
.header{
    text-align:center;
    background:linear-gradient(135deg,#1e3a8a,#0f172a);
    color:#fff;
}
.header h1,
.header p{
    color:#fff;
}
.back-btn{
    display:inline-block;
    margin-top:16px;
    padding:10px 22px;
    background:#fff;
    color:#1e3a8a;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.25s ease;
}
.back-btn:hover{
    background:#e0e7ff;
}

/* ======================
   SPECS MODERN
====================== */
.specs-modern{
    background:linear-gradient(135deg,#ffffff,#f1f5f9);
    border-radius:20px;
    padding:30px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    margin-bottom:30px;
}
.specs-modern h2{
    font-size:24px;
    margin-bottom:25px;
    color:#0f172a;
    border-left:6px solid #2563eb;
    padding-left:14px;
}
.specs-grid-modern{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:18px;
}
.specs-box{
    background:#ffffff;
    border-radius:14px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    transition:.25s ease;
    border:1px solid #e5e7eb;
}
.specs-box:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(0,0,0,0.12);
    border-color:#2563eb;
}
.specs-box .icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#1e3a8a);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    flex-shrink:0;
}
.specs-box .text{
    display:flex;
    flex-direction:column;
}
.specs-box small{
    font-size:12px;
    color:#6b7280;
    text-transform:uppercase;
    letter-spacing:0.5px;
}
.specs-box strong{
    font-size:15px;
    color:#0f172a;
    margin-top:2px;
}

/* ======================
   GALERI PRODUK MODERN
====================== */
.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:16px;
    justify-items:center;
}
.gallery img{
    width:100%;
    max-width:220px;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,.12);
    cursor:zoom-in;
    transition:.25s ease;
    background:#fff;
}
.gallery img:hover{
    transform:scale(1.05);
    box-shadow:0 8px 22px rgba(0,0,0,.2);
}

/* ======================
   FORM
====================== */
.form-group{
    margin-bottom:16px;
}
label{
    font-weight:600;
    display:block;
    margin-bottom:6px;
}
input,select{
    width:100%;
    padding:11px;
    border-radius:8px;
    border:1px solid #cbd5e1;
    font-size:14px;
}
input:focus,select:focus{
    outline:none;
    border-color:#2563eb;
}
button{
    padding:13px 28px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#1e3a8a);
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    transition:.25s ease;
}
button:hover{
    opacity:.9;
}
button:disabled{
    background:#94a3b8;
    cursor:not-allowed;
}

/* ======================
   RESULT BOX
====================== */
.result{
    background:linear-gradient(135deg,#ecfdf5,#d1fae5);
    border:2px solid #22c55e;
    border-radius:14px;
    padding:20px;
    font-size:15px;
}

/* ======================
   CANVAS
====================== */
canvas{
    width:100%;
    background:#f8fafc;
    border:2px solid #cbd5e1;
    border-radius:12px;
}
#sisaInfo{
    margin-top:12px;
    font-weight:bold;
    color:#374151;
}

/* ======================
   WHATSAPP BUTTON
====================== */
#wa-btn{
    position:fixed;
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
    background:#25d366;
    color:#fff;
    text-decoration:none;
    padding:14px 42px;
    border-radius:14px;
    font-weight:bold;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    z-index:999;
}

/* ======================
   LIGHTBOX ZOOM
====================== */
.lightbox-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
.lightbox-overlay img{
    max-width:85%;
    max-height:85%;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,.6);
    animation:zoomIn .25s ease;
}
.lightbox-overlay span{
    position:absolute;
    top:20px;
    right:25px;
    color:#fff;
    font-size:32px;
    font-weight:bold;
    cursor:pointer;
}
@keyframes zoomIn{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* ======================
   RESPONSIVE
====================== */
@media(max-width:600px){
    h1{font-size:24px;}
    h2{font-size:20px;}
    .card{padding:20px;}
    #wa-btn{
        padding:12px 32px;
        font-size:14px;
    }
}
