/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, Arial, sans-serif;
}

/* ================= BODY ================= */
body{
    background:#ffffff;
    color:#0f172a;
    line-height:1.6;
}

/* ================= HEADER ================= */
.header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 18px;
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:4000;
}

.logo{
    font-size:22px;
    font-weight:700;
    color:#0f172a;
}
.logo span{
    color:#1e40af;
}

/* DESKTOP MENU */
.menu{
    display:flex;
    gap:18px;
}

.menu a{
    text-decoration:none;
    color:#0f172a;
    font-weight:500;
}

.menu .btn{
    background:#1e40af;
    color:#ffffff;
    padding:8px 14px;
    border-radius:6px;
}

/* ================= BURGER ================= */
.burger{
    display:none;
    font-size:26px;
    cursor:pointer;
    user-select:none;
    transition:0.3s ease;
    position:relative;
    z-index:5000;
}

/* ================= MOBILE MENU ================= */
.mobile-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:260px;
    height:100%;
    background:#ffffff;
    padding:25px;
    box-shadow:-10px 0 30px rgba(0,0,0,0.15);
    transition:right 0.4s ease;
    z-index:3000;
}

.mobile-menu.open{
    right:0;
}

.mobile-menu a{
    display:block;
    margin:15px 0;
    text-decoration:none;
    color:#0f172a;
    font-weight:500;
}

/* ================= HERO ================= */
.hero{
    background:#f8fafc;
    padding:70px 20px;
    text-align:center;
}

.hero h1{
    font-size:32px;
    margin-bottom:12px;
}
.hero span{
    color:#1e40af;
}

.hero p{
    max-width:720px;
    margin:0 auto 20px;
    color:#475569;
}

.hero-buttons{
    margin-top:20px;
}

.btn-primary{
    background:#1e40af;
    color:#ffffff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    margin:5px;
    display:inline-block;
}

.btn-secondary{
    border:2px solid #1e40af;
    color:#1e40af;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    margin:5px;
    display:inline-block;
}

.note{
    margin-top:25px;
    font-size:13px;
    color:#64748b;
}

/* ================= SECTIONS ================= */
.what-we-do,
.services-3d,
.who-uses,
.how-it-works,
.pricing,
.faq,
.about{
    padding:60px 20px;
    text-align:center;
}

/* ================= WHAT WE DO ================= */
.work-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:30px;
}

.work-card{
    background:#ffffff;
    padding:22px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.work-card:hover{
    transform:translateY(-6px);
}

/* ================= 3D SERVICES ================= */
.card-3d-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
    margin-top:35px;
    perspective:1000px;
}

.card-3d{
    background:#ffffff;
    padding:26px;
    border-radius:16px;
    box-shadow:0 18px 35px rgba(0,0,0,0.12);
    transition:0.4s ease;
}

.card-3d:hover{
    transform:rotateY(8deg) rotateX(4deg) scale(1.03);
}

/* ================= WHO USES ================= */
.who-uses{
    background:#f8fafc;
}

.use-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:15px;
    margin-top:25px;
}

.use-grid div{
    background:#ffffff;
    padding:12px;
    border-radius:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* ================= HOW IT WORKS ================= */
.steps{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-top:25px;
}

.step{
    background:#ffffff;
    padding:14px 22px;
    border-radius:30px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRICING ================= */
.price-box{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    margin-top:35px;
}

.plan{
    background:#ffffff;
    padding:28px;
    border-radius:16px;
    width:260px;
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.plan.highlight{
    border:2px solid #1e40af;
}

.plan ul{
    list-style:none;
    margin-top:10px;
}

.plan ul li{
    margin:8px 0;
    color:#475569;
}

.plan button{
    margin-top:18px;
    width:100%;
    padding:10px;
    background:#1e40af;
    border:none;
    color:#ffffff;
    border-radius:6px;
}

/* ================= FAQ ================= */
.faq-item{
    background:#ffffff;
    max-width:720px;
    margin:15px auto;
    padding:20px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    text-align:left;
}

.faq-item h4{
    color:#1e40af;
    margin-bottom:6px;
}

/* ================= ABOUT ================= */
.about p{
    max-width:750px;
    margin:auto;
    color:#475569;
}

/* ================= FOOTER ================= */
.footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:40px 20px;
}

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

.footer h3,
.footer h4{
    color:#ffffff;
}

.footer a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin:6px 0;
}

.copy{
    text-align:center;
    margin-top:20px;
    font-size:13px;
    color:#94a3b8;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .menu{
        display:none;
    }
    .burger{
        display:block;
    }
}

@media(min-width:769px){
    .burger{
        display:none;
    }
}

/* ================= TERMS CARD ================= */

.terms-card{
    max-width:900px;
    margin:0 auto;
    background:#ffffff;
    padding:35px 30px;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
    text-align:left;
}

.terms-card h2{
    text-align:center;
    margin-bottom:25px;
    color:#0f172a;
}

.terms-card h3{
    margin-top:30px;
    margin-bottom:10px;
    color:#1e40af;
    font-size:20px;
}

.terms-card p{
    color:#475569;
    margin-bottom:12px;
    line-height:1.7;
}

.terms-card ul{
    margin:10px 0 15px 20px;
}

.terms-card ul li{
    margin:8px 0;
    color:#334155;
}
/* ================= USER LIST ADMIN ================= */

.user-card{
    background:#ffffff;
    padding:18px;
    margin:18px 0;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.user-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.user-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    font-size:14px;
    color:#334155;
}

.user-actions{
    margin-top:14px;
    display:flex;
    gap:10px;
}

.btn-small{
    padding:6px 12px;
    background:#1e40af;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:13px;
}

/* BADGES */
.badge{
    padding:4px 10px;
    border-radius:12px;
    font-size:12px;
    font-weight:600;
}

.badge-admin{ background:#7c3aed; color:#fff; }
.badge-user{ background:#0ea5e9; color:#fff; }
.badge-active{ background:#16a34a; color:#fff; }
.badge-block{ background:#dc2626; color:#fff; }

/* MOBILE FIX */
@media(max-width:600px){
    .user-info{
        grid-template-columns:1fr;
    }
}
/* ================= FORM INPUT FIX (GLOBAL) ================= */

form input,
form select,
form textarea{
    width:100%;
    padding:14px 16px;
    margin-bottom:14px;
    font-size:15px;
    border-radius:12px;
    border:1px solid #cbd5e1;
    outline:none;
    background:#ffffff;
    transition:0.25s ease;
    box-sizing:border-box;
}

/* Focus effect */
form input:focus,
form select:focus,
form textarea:focus{
    border-color:#1e40af;
    box-shadow:0 0 0 3px rgba(30,64,175,0.15);
}

/* Placeholder color */
form input::placeholder,
form textarea::placeholder{
    color:#94a3b8;
}

/* Select arrow fix (mobile friendly) */
form select{
    appearance:none;
    background-image:
        linear-gradient(45deg, transparent 50%, #1e40af 50%),
        linear-gradient(135deg, #1e40af 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 15px) calc(50% - 3px);
    background-size:5px 5px;
    background-repeat:no-repeat;
    padding-right:40px;
}

/* Button consistency */
form button,
.btn-primary{
    width:100%;
    padding:14px;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
}

/* Card spacing fix for mobile */
.terms-card{
    max-width:420px;
    margin:30px auto;
    padding:25px;
}

/* Mobile polish */
@media(max-width:480px){
    .terms-card{
        margin:20px 12px;
        padding:20px;
    }
}