/* ==================================================
   PREMIUM DIGITAL SERVICE PORTAL LOGIN UI
   Final complete landing + login redesign
================================================== */

:root{
    --blue:#2563eb;
    --indigo:#4f46e5;
    --purple:#7c3aed;
    --pink:#ec4899;
    --cyan:#06b6d4;
    --dark:#0f172a;
    --text:#111827;
    --muted:#64748b;
    --white:#ffffff;
    --radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins','Inter',sans-serif;
}

html{scroll-behavior:smooth;}

body{
    min-height:100vh;
    color:var(--text);
    background:linear-gradient(-45deg,#0f172a,#1e3a8a,#2563eb,#7c3aed);
    background-size:400% 400%;
    animation:bgMove 16s ease infinite;
    overflow-x:hidden;
}

@keyframes bgMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

.premium-bg{
    position:fixed;
    inset:0;
    z-index:-5;
    pointer-events:none;
}

.grid-overlay{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:46px 46px;
}

.orb{
    position:absolute;
    width:430px;
    height:430px;
    border-radius:50%;
    filter:blur(95px);
    opacity:.5;
}

.orb-1{background:#38bdf8;top:-150px;left:-170px;}
.orb-2{background:#a855f7;right:-180px;top:120px;}
.orb-3{background:#ec4899;left:32%;bottom:-230px;}

.alert-container{
    position:fixed;
    top:85px;
    right:20px;
    z-index:2000;
}

.alert{
    background:#fff;
    padding:14px 18px;
    border-radius:14px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

/* NAVBAR */
.navbar{
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(16px);
    box-shadow:0 12px 35px rgba(15,23,42,.16);
    position:sticky;
    top:0;
    z-index:1000;
}

.nav-container{
    max-width:1240px;
    margin:auto;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#111827;
    font-size:20px;
    font-weight:900;
}

.logo img{
    height:40px;
    width:auto;
    border-radius:10px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:10px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-links a{
    text-decoration:none;
    color:#334155;
    font-weight:800;
    font-size:14px;
    padding:9px 13px;
    border-radius:12px;
    transition:.25s;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--indigo);
    background:#eef2ff;
}

.mobile-toggle{
    display:none;
    background:none;
    border:none;
    font-size:28px;
    cursor:pointer;
    color:#111827;
}

/* NOTICE */
.notice-bar{
    max-width:1240px;
    margin:20px auto 0;
    padding:0 20px;
    overflow:hidden;
}

.notice-track{
    display:flex;
    gap:30px;
    color:#fff;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.24);
    backdrop-filter:blur(12px);
    padding:12px 18px;
    border-radius:50px;
    white-space:nowrap;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
    animation:slideNotice 20s linear infinite;
}

@keyframes slideNotice{
    from{transform:translateX(0);}
    to{transform:translateX(-40%);}
}

.main-wrapper{
    max-width:1240px;
    margin:auto;
    padding:34px 20px 50px;
}

/* HERO */
.hero-login-section{
    display:grid;
    grid-template-columns:1.15fr 460px;
    gap:56px;
    align-items:center;
    min-height:calc(100vh - 170px);
}

.hero-panel{
    color:#fff;
}

.hero-chip{
    display:inline-flex;
    padding:9px 16px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.24);
    border-radius:40px;
    font-size:13px;
    font-weight:900;
    margin-bottom:20px;
    backdrop-filter:blur(10px);
}

.hero-panel h1{
    font-size:58px;
    line-height:1.06;
    font-weight:900;
    letter-spacing:-1.4px;
    margin-bottom:18px;
    max-width:700px;
}

.hero-panel p{
    font-size:18px;
    line-height:1.85;
    color:#e5e7eb;
    max-width:630px;
}

.hero-actions{
    display:flex;
    gap:15px;
    margin-top:28px;
    flex-wrap:wrap;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:14px 22px;
    border-radius:16px;
    text-decoration:none;
    font-weight:900;
    transition:.3s;
}

.hero-btn.primary{
    background:#fff;
    color:#1d4ed8;
    box-shadow:0 18px 45px rgba(255,255,255,.18);
}

.hero-btn.outline{
    color:#fff;
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(12px);
}

.hero-btn:hover{
    transform:translateY(-3px);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-top:34px;
    max-width:660px;
}

.stats-grid div{
    padding:17px 15px;
    border-radius:18px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter:blur(12px);
    text-align:center;
}

.stats-grid b{
    display:block;
    font-size:26px;
    color:#fff;
}

.stats-grid span{
    font-size:12px;
    color:#dbeafe;
}

.trust-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px;
}

.trust-row span{
    color:#fff;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

/* LOGIN CARD */
.login-card{
    width:100%;
    max-width:460px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(20px);
    border-radius:28px;
    box-shadow:
        0 45px 120px rgba(15,23,42,.34),
        inset 0 0 0 1px rgba(255,255,255,.70);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.55);
    animation:slideUp .75s ease;
}

.login-card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 55px 135px rgba(79,70,229,.38),
        inset 0 0 0 1px rgba(255,255,255,.75);
}

.login-header{
    padding:38px 28px 32px;
    text-align:center;
    color:#fff;
    background:
        radial-gradient(circle at top left,rgba(255,255,255,.25),transparent 35%),
        linear-gradient(135deg,var(--blue),var(--indigo),var(--purple));
}

.login-lock{
    width:62px;
    height:62px;
    margin:0 auto 14px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.28);
    font-size:31px;
}

.login-header h1{
    font-size:30px;
    font-weight:900;
}

.login-header p{
    margin-top:8px;
    font-size:14px;
    opacity:.9;
}

.login-body{
    padding:32px 30px 36px;
}

.form-group{margin-bottom:18px;}

.form-label{
    display:block;
    font-size:14px;
    font-weight:800;
    margin-bottom:7px;
    color:#111827;
}

.form-control{
    width:100%;
    padding:15px 16px;
    border-radius:15px;
    border:1px solid #e5e7eb;
    font-size:14px;
    background:#f8fafc;
    transition:.25s;
}

.form-control:focus{
    outline:none;
    background:#fff;
    border-color:var(--purple);
    box-shadow:0 0 0 4px rgba(124,58,237,.16);
}

.password-input{position:relative;}

.toggle-password{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:none;
    color:#64748b;
    font-size:18px;
    cursor:pointer;
}

.form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:16px 0 24px;
    font-size:13px;
}

.remember-me{
    display:flex;
    align-items:center;
    gap:8px;
    color:#475569;
}

.forgot-password{
    color:var(--indigo);
    font-weight:800;
    text-decoration:none;
}

.login-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#4f46e5,#7c3aed);
    background-size:200% 200%;
    color:#fff;
    font-size:16px;
    font-weight:900;
    letter-spacing:.4px;
    cursor:pointer;
    transition:all .35s ease;
    box-shadow:0 16px 34px rgba(79,70,229,.36);
}

.login-btn:hover{
    transform:translateY(-3px) scale(1.02);
    background-position:right center;
    box-shadow:0 24px 48px rgba(79,70,229,.48);
}

.login-btn:active{transform:scale(.98);}

.login-btn i{
    margin-right:8px;
    font-size:18px;
}

.register-link{
    margin-top:22px;
    text-align:center;
    font-size:14px;
    color:#64748b;
}

.register-link a{
    color:var(--purple);
    font-weight:900;
    text-decoration:none;
}

/* SECTIONS */
.section-title{
    text-align:center;
    color:#fff;
    margin-bottom:24px;
}

.section-title span{
    display:inline-block;
    padding:8px 15px;
    border-radius:40px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.24);
    font-size:13px;
    font-weight:900;
    margin-bottom:12px;
}

.section-title h2{
    font-size:34px;
    font-weight:900;
}

.section-title p{
    margin-top:8px;
    color:#e5e7eb;
}

.section-title.dark{
    color:#111827;
}

.section-title.dark span{
    background:#eef2ff;
    border-color:#dbeafe;
    color:#4f46e5;
}

.section-title.dark p{
    color:#64748b;
}

.service-section{
    margin-top:20px;
}

.service-grid,
.why-grid,
.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.service-card,
.testimonial-card{
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    border-radius:22px;
    padding:25px;
    text-align:center;
    box-shadow:0 20px 55px rgba(15,23,42,.18);
    transition:.35s;
    border:1px solid rgba(255,255,255,.45);
}

.service-card:hover,
.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:0 28px 70px rgba(37,99,235,.28);
}

.service-card i{
    width:66px;
    height:66px;
    margin:auto;
    margin-bottom:15px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
}

.service-card h4{
    font-size:18px;
    font-weight:900;
    color:#111827;
    margin-bottom:8px;
}

.service-card p{
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

/* WHY */
.why-section{
    margin-top:42px;
}

.why-card{
    background:rgba(255,255,255,.95);
    border-radius:28px;
    padding:34px;
    box-shadow:0 25px 70px rgba(15,23,42,.20);
}

.why-grid div{
    padding:22px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
}

.why-grid i{
    font-size:34px;
    color:var(--indigo);
    margin-bottom:10px;
}

.why-grid b{
    display:block;
    color:#111827;
    margin-bottom:6px;
    font-size:15px;
}

.why-grid span{
    color:#64748b;
    font-size:13px;
    line-height:1.6;
}

/* MEMBERSHIP */
.membership-banner{
    margin-top:42px;
    border-radius:30px;
    padding:36px;
    background:
        radial-gradient(circle at top right,rgba(255,255,255,.22),transparent 32%),
        linear-gradient(135deg,#111827,#4f46e5,#9333ea);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    box-shadow:0 30px 80px rgba(79,70,229,.36);
}

.membership-content span{
    font-weight:900;
    color:#fde68a;
}

.membership-content h2{
    font-size:32px;
    font-weight:900;
    margin:8px 0;
}

.membership-content p{
    color:#e0e7ff;
}

.membership-points{
    display:flex;
    gap:10px;
    margin-top:18px;
}

.membership-points b{
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    padding:9px 14px;
    border-radius:999px;
}

.membership-banner a{
    white-space:nowrap;
    background:#fff;
    color:#4f46e5;
    text-decoration:none;
    font-weight:900;
    padding:15px 24px;
    border-radius:16px;
}

/* TESTIMONIAL */
.testimonial-section{
    margin-top:42px;
}

.testimonial-grid{
    grid-template-columns:repeat(3,1fr);
}

.testimonial-card{
    text-align:left;
    color:#111827;
}

.testimonial-card p{
    color:#64748b;
    margin:12px 0;
    line-height:1.7;
}

.testimonial-card b{
    color:#4f46e5;
}

/* APP */
.app-section{
    margin-top:42px;
}

.app-card{
    background:rgba(255,255,255,.94);
    border-radius:30px;
    padding:32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    box-shadow:0 22px 60px rgba(15,23,42,.18);
}

.app-card h2{
    font-size:28px;
    font-weight:900;
    color:#111827;
}

.app-card p{
    color:#64748b;
    margin-top:8px;
}

.app-card a{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    text-decoration:none;
    font-weight:900;
    padding:14px 22px;
    border-radius:16px;
    white-space:nowrap;
}

/* FLOAT */
.whatsapp-float{
    position:fixed;
    right:22px;
    bottom:22px;
    width:58px;
    height:58px;
    border-radius:50%;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 18px 40px rgba(34,197,94,.35);
    z-index:1200;
}

/* FOOTER */
.footer{
    text-align:center;
    padding:28px 16px;
    color:#e5e7eb;
    background:rgba(15,23,42,.42);
    backdrop-filter:blur(12px);
}

.footer h3{
    color:#fff;
    margin-bottom:8px;
}

.footer p{
    margin-bottom:12px;
    font-size:13px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

/* ANIMATION */
@keyframes slideUp{
    from{opacity:0;transform:translateY(42px);}
    to{opacity:1;transform:translateY(0);}
}

/* RESPONSIVE */
@media(max-width:1100px){
    .hero-login-section{
        grid-template-columns:1fr;
        gap:34px;
        min-height:auto;
    }

    .hero-panel{
        text-align:center;
        margin:auto;
    }

    .hero-panel p,
    .hero-panel h1{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-actions{
        justify-content:center;
    }

    .stats-grid{
        margin-left:auto;
        margin-right:auto;
    }

    .trust-row{
        justify-content:center;
    }

    .login-card{
        margin:auto;
    }
}

@media(max-width:992px){
    .service-grid,
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .membership-banner,
    .app-card{
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:768px){
    .mobile-toggle{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:100%;
        right:20px;
        width:240px;
        background:#fff;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:10px;
        border-radius:16px;
        box-shadow:0 22px 55px rgba(0,0,0,.18);
        display:none;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links a{
        display:block;
        width:100%;
        padding:12px 14px;
    }

    .main-wrapper{
        padding-top:24px;
    }

    .hero-panel h1{
        font-size:38px;
    }

    .hero-panel p{
        font-size:15px;
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .login-body{
        padding:28px 22px 32px;
    }

    .form-options{
        gap:12px;
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:576px){
    .notice-track{
        animation:none;
        overflow-x:auto;
    }

    .hero-panel h1{
        font-size:31px;
    }

    .service-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-btn{
        width:100%;
    }

    .stats-grid{
        grid-template-columns:1fr 1fr;
    }

    .login-card{
        border-radius:22px;
    }

    .membership-content h2,
    .app-card h2{
        font-size:24px;
    }

    .membership-points{
        justify-content:center;
        flex-wrap:wrap;
    }

    .whatsapp-float{
        width:52px;
        height:52px;
        font-size:26px;
        right:16px;
        bottom:16px;
    }
}
