/* ======================================================
   SPARTA COMPUTINDO - CLEAN VERSION
   HAPUS SEMUA style.css LAMA
   PASTE DARI BARIS PALING ATAS
====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

:root{

    --primary:#2563EB;
    --secondary:#60A5FA;
    --dark:#0F172A;
    --text:#475569;
    --bg:#F8FAFC;
    --white:#fff;

    --shadow:0 15px 40px rgba(37,99,235,.12);

}

body{

    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;

}

/* ================= LOADER ================= */

.loader{

    position:fixed;
    inset:0;
    background:white;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:999999;

}

.loader-circle{

    width:70px;
    height:70px;

    border:7px solid #ddd;
    border-top:7px solid var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

/* ================= HEADER ================= */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:9999;

}

nav{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(15px);

    transition:.35s;

}

nav.scrolled{

    box-shadow:var(--shadow);

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:55px;

    height:55px;

    border-radius:50%;

}

.logo h2{

    color:var(--primary);

    font-size:24px;

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    text-decoration:none;

    color:#0F172A;

    font-weight:500;

    transition:.3s;

}

nav ul li a:hover{

    color:var(--primary);

}

.btn-nav{

    padding:14px 30px;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:.3s;

}

.btn-nav:hover{

    transform:translateY(-4px);

}

/* ================= HERO ================= */

.hero{

display:grid;

grid-template-columns:55% 45%;

align-items:center;

gap:40px;

padding:140px 8%;


}

.hero::before{

content:"";

position:absolute;

width:550px;

height:550px;

background:#60A5FA;

border-radius:50%;

right:-180px;

top:-180px;

opacity:.15;

filter:blur(70px);

}

.hero::after{

content:"";

position:absolute;

width:400px;

height:400px;

background:#2563EB;

border-radius:50%;

left:-150px;

bottom:-150px;

opacity:.08;

filter:blur(70px);

}

.particles{

position:absolute;

inset:0;

background-image:radial-gradient(#60A5FA 2px,transparent 2px);

background-size:45px 45px;

opacity:.18;

pointer-events:none;

}

.hero-text{

width:100%;

max-width:650px;

}

.hero-badge{

display:inline-block;

padding:10px 18px;

background:#DBEAFE;

color:#2563EB;

border-radius:50px;

font-weight:600;

margin-bottom:25px;

}

.hero h1{

font-size:64px;

line-height:74px;

font-weight:800;

color:#0F172A;

}

.hero h1 span{

    color:#2563EB; /* fallback */

    background:linear-gradient(90deg,#2563EB,#60A5FA);

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;

}

.hero p{

margin:28px 0;

font-size:18px;

line-height:34px;

max-width:600px;

}

.hero-button{

display:flex;

gap:18px;

}

.btn-primary{

background:linear-gradient(135deg,#2563EB,#3B82F6);

padding:16px 34px;

border-radius:50px;

text-decoration:none;

color:white;

font-weight:600;

transition:.3s;

box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.btn-primary:hover{

transform:translateY(-5px);

}

.btn-secondary{

padding:16px 34px;

border:2px solid #2563EB;

border-radius:50px;

text-decoration:none;

font-weight:600;

color:#2563EB;

transition:.3s;

}

.btn-secondary:hover{

background:#2563EB;

color:white;

}

/* ================= ROBOT ================= */

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:2;

    min-height:550px;
}

.robot-glow{

position:absolute;

width:320px;

height:320px;

border-radius:50%;

background:radial-gradient(circle,rgba(96,165,250,.6),transparent);

filter:blur(45px);

animation:glow 4s ease infinite;

}

@keyframes glow{

50%{

transform:scale(1.2);

opacity:.5;

}

}

.robot{

    width:420px;
    max-width:100%;
    height:auto;

    position:relative;
    z-index:5;

    filter:drop-shadow(0 25px 55px rgba(37,99,235,.35));

    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

}

.robot-chat{

    position:absolute;

    top:110px;
    left:20px;

    width:280px;

    background:#fff;

    padding:18px 22px;

    border-radius:20px;

    color:#2563EB;

    font-weight:600;

    line-height:1.6;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    animation:chat 3s ease-in-out infinite;

    z-index:20;

}

.robot-chat::after{

    content:"";

    position:absolute;

    right:-9px;

    top:50%;

    width:18px;
    height:18px;

    background:#fff;

    transform:translateY(-50%) rotate(45deg);

}

@keyframes chat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}

/* ======================================================
   SECTION
====================================================== */

section{

    padding:90px 8%;

}

.section-header{

    text-align:center;

    margin-bottom:60px;

}

.section-header span{

    color:#2563EB;

    font-weight:700;

    letter-spacing:2px;

}

.section-header h2{

    font-size:42px;

    color:#0F172A;

    margin:15px 0;

}

.section-header p{

    max-width:700px;

    margin:auto;

    line-height:30px;

    color:#64748B;

}

/* ======================================================
   ABOUT
====================================================== */

.about-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.about-card{

    background:white;

    border-radius:22px;

    padding:35px;

    box-shadow:0 12px 30px rgba(0,0,0,.07);

    transition:.35s;

}

.about-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(37,99,235,.15);

}

.about-card h3{

    color:#2563EB;

    margin-bottom:15px;

}

.about-card p{

    line-height:30px;

}

/* ======================================================
   CATEGORY
====================================================== */

.category-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.category-card{

    background:white;

    border-radius:22px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.category-card:hover{

    transform:translateY(-10px);

}

.category-card .icon{

    font-size:55px;

    margin-bottom:18px;

}

.category-card h3{

    color:#0F172A;

}

/* ======================================================
   FEATURE
====================================================== */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.feature-card{

    background:white;

    border-radius:22px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.feature-card:hover{

    transform:translateY(-10px);

}

.feature-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    background:#DBEAFE;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    font-size:34px;

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:12px;

    color:#0F172A;

}

/* ======================================================
   PRODUCT
====================================================== */

.product-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(290px,1fr));

    gap:30px;

}

.product-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

}

.product-card:hover{

    transform:translateY(-12px);

}

.product-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.badge{

    position:absolute;

    top:20px;

    left:20px;

    background:#2563EB;

    color:white;

    padding:8px 16px;

    border-radius:40px;

    font-size:13px;

}

.product-card h3{

    padding:25px 25px 10px;

    color:#0F172A;

}

.product-card p{

    padding:0 25px;

    line-height:28px;

}

.product-card a{

    display:block;

    margin:25px;

    text-align:center;

    padding:14px;

    text-decoration:none;

    background:#2563EB;

    color:white;

    border-radius:12px;

    transition:.3s;

}

.product-card a:hover{

    background:#1D4ED8;

}

/* ======================================================
   STATS
====================================================== */

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.stat-card{

    background:white;

    border-radius:20px;

    text-align:center;

    padding:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.stat-card h2{

    font-size:52px;

    color:#2563EB;

}

.stat-card p{

    margin-top:12px;

}

/* ======================================================
   GALLERY
====================================================== */

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:22px;

}

.gallery-item{

    width:100%;

    height:230px;

    object-fit:cover;

    border-radius:20px;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.gallery-item:hover{

    transform:translateY(-10px) scale(1.03);

    box-shadow:0 20px 45px rgba(37,99,235,.20);

}

/* ======================================================
   LIGHTBOX
====================================================== */

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.88);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:999999;

}

.lightbox.active{

    display:flex;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

}

.close-lightbox{

    position:absolute;

    top:25px;

    right:40px;

    font-size:45px;

    color:white;

    cursor:pointer;

}

/* ======================================================
   TESTIMONIAL
====================================================== */

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.testimonial-card{

    background:white;

    border-radius:22px;

    padding:35px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

}

.testimonial-card h3{

    color:#FBBF24;

    margin-bottom:15px;

}

.testimonial-card p{

    line-height:30px;

}

.testimonial-card h4{

    margin-top:18px;

    color:#2563EB;

}

/* ======================================================
   CONTACT
====================================================== */

.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}

.contact-info{

    background:white;

    border-radius:22px;

    padding:40px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.contact-info h3{

    color:#2563EB;

    margin-top:18px;

}

.contact-info p{

    margin-top:8px;

    line-height:28px;

}

.maps iframe{

    border-radius:20px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.wa-btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 35px;

    background:#25D366;

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:.3s;

}

.wa-btn:hover{

    transform:translateY(-5px);

}

/* ======================================================
   FOOTER
====================================================== */

footer{

    background:#0F172A;

    color:white;

    padding:70px 8% 30px;

}

.footer-content{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

}

.footer-content h2{

    margin-bottom:15px;

}

.footer-content h3{

    margin-bottom:18px;

}

.footer-content ul{

    list-style:none;

}

.footer-content li{

    margin:12px 0;

}

.footer-content a{

    color:#CBD5E1;

    text-decoration:none;

}

.footer-content a:hover{

    color:white;

}

footer hr{

    margin:35px 0 20px;

    border:none;

    height:1px;

    background:#334155;

}

.copyright{

    text-align:center;

    color:#94A3B8;

}

/* ======================================================
   BACK TO TOP
====================================================== */

#topBtn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#2563EB;

    color:white;

    cursor:pointer;

    display:none;

    font-size:22px;

    box-shadow:0 10px 30px rgba(37,99,235,.30);

}

/* ======================================================
   SCROLL ANIMATION
====================================================== */

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:.8s;

}

.show{

    opacity:1;

    transform:translateY(0);

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:992px){

.hero{

grid-template-columns:1fr;

text-align:center;

padding-top:150px;

}

.hero-text{

order:2;

}

.hero-image{

order:1;

margin-bottom:40px;

}

.hero-button{

justify-content:center;

}


.contact-container{

grid-template-columns:1fr;

}

.footer-content{

grid-template-columns:1fr;

}

nav ul{

display:none;

}

}

@media(max-width:768px){

.hero h1{

font-size:42px;

line-height:54px;

}

.section-header h2{

font-size:32px;

}

.hero-button{

flex-direction:column;

align-items:center;

}

.btn-primary,
.btn-secondary{

width:220px;

text-align:center;

}

.logo h2{

font-size:18px;

}

}