/* assets/css/landing.css */
/* User index.php and admin/index.php landing design */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;
    font-family:'Poppins',sans-serif;
    background:
        radial-gradient(circle at top left, rgba(13,110,253,0.35), transparent 35%),
        radial-gradient(circle at bottom right, rgba(244,180,0,0.18), transparent 35%),
        linear-gradient(135deg,#0d1b2a,#1b263b 55%,#0f172a);
    overflow-x:hidden;
    color:white;
}

.bg-orb{
    position:fixed;
    border-radius:50%;
    filter:blur(8px);
    opacity:0.55;
    z-index:0;
}

.orb-1{
    width:260px;
    height:260px;
    background:#0d6efd;
    top:-80px;
    right:-70px;
}

.orb-2{
    width:180px;
    height:180px;
    background:#3f8cff;
    bottom:60px;
    left:-70px;
}

.page{
    position:relative;
    z-index:1;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

/* USER LANDING */
.landing-card{
    width:100%;
    max-width:1180px;
    margin:auto;
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    overflow:hidden;
    border-radius:32px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.16);
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
    backdrop-filter:blur(18px);
}

.left-panel{
    padding:60px;
    background:
        linear-gradient(135deg,rgba(13,110,253,0.72),rgba(63,140,255,0.42)),
        rgba(255,255,255,0.04);
    color:white !important;
}

.left-panel *,
.left-panel .title,
.left-panel .subtitle,
.left-panel .stat-number,
.left-panel .stat-label,
.left-panel .badge-soft{
    color:white !important;
}

.right-panel{
    padding:55px 45px;
    background:rgba(255,255,255,0.98);
    color:#0d1b2a !important;
    display:flex;
    align-items:center;
}

.right-panel *,
.action-box,
.action-box h2{
    color:#0d1b2a;
}

.action-box p,
.note{
    color:#64748b !important;
}

.badge-soft{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border-radius:999px;
    background:rgba(255,255,255,0.14);
    color:white !important;
    font-weight:600;
    font-size:13px;
    margin-bottom:25px;
}

.title{
    font-size:54px;
    line-height:1.05;
    font-weight:900;
    margin-bottom:20px;
    letter-spacing:-1px;
}

.subtitle{
    max-width:620px;
    font-size:16px;
    line-height:1.8;
    opacity:0.92;
    margin-bottom:30px;
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:35px;
}

.stat-box{
    background:rgba(255,255,255,0.13);
    border:1px solid rgba(255,255,255,0.13);
    border-radius:20px;
    padding:18px;
}

.stat-number{
    font-size:30px;
    font-weight:900;
}

.stat-label{
    font-size:12px;
    opacity:0.85;
}

.action-box{
    width:100%;
}

.action-icon{
    width:72px;
    height:72px;
    border-radius:24px;
    background:linear-gradient(135deg,#0d6efd,#3f8cff);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white !important;
    font-size:34px;
    margin-bottom:20px;
    box-shadow:0 12px 25px rgba(13,110,253,0.25);
}

.action-box h2{
    font-weight:900;
    font-size:30px;
    margin-bottom:10px;
}

.action-box p{
    line-height:1.7;
    font-size:14px;
    margin-bottom:25px;
}

.btn-main{
    width:100%;
    min-height:52px;
    border:none;
    border-radius:16px;
    font-weight:800;
    font-size:15px;
    margin-bottom:13px;
    transition:0.25s;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.btn-login{
    background:linear-gradient(135deg,#0d6efd,#3f8cff);
    color:white !important;
}

.btn-register{
    background:#eef2ff;
    color:#0d6efd !important;
}

.btn-main:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(13,110,253,0.25);
}

.note{
    background:#f8fafc;
    padding:14px;
    border-radius:16px;
    font-size:13px;
    line-height:1.6;
    margin-top:18px;
}

/* ADMIN PORTAL LANDING */
.portal-card{
    width:100%;
    max-width:1120px;
    display:grid;
    grid-template-columns:0.95fr 1.05fr;
    border-radius:32px;
    overflow:hidden;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.16);
    box-shadow:0 30px 80px rgba(0,0,0,0.38);
    backdrop-filter:blur(18px);
}

.portal-card .left{
    padding:55px;
    background:rgba(255,255,255,0.98);
    color:#0d1b2a;
    display:flex;
    align-items:center;
}

.portal-card .right{
    padding:60px;
    background:
        linear-gradient(135deg,rgba(13,110,253,0.70),rgba(63,140,255,0.38)),
        rgba(255,255,255,0.05);
    color:white;
}

.portal-card .right *,
.portal-card .right .badge-soft{
    color:white !important;
}

.action{
    width:100%;
}

.icon{
    width:76px;
    height:76px;
    border-radius:24px;
    background:linear-gradient(135deg,#f4b400,#ffd166);
    color:#0d1b2a !important;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:36px;
    margin-bottom:22px;
    box-shadow:0 12px 25px rgba(244,180,0,0.28);
}

.action h1{
    font-size:38px;
    font-weight:900;
    margin-bottom:12px;
    color:#0d1b2a;
}

.action p{
    color:#64748b;
    line-height:1.7;
    font-size:15px;
    margin-bottom:25px;
}

.btn-admin{
    width:100%;
    min-height:54px;
    border-radius:16px;
    border:none;
    background:linear-gradient(135deg,#f4b400,#ffd166);
    color:#0d1b2a !important;
    font-weight:900;
    transition:0.25s;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    margin-bottom:13px;
}

.btn-user{
    width:100%;
    min-height:50px;
    border-radius:16px;
    border:1px solid #dbe4ef;
    background:#f8fafc;
    color:#334155 !important;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:0.25s;
}

.portal-card .right h2{
    font-size:50px;
    font-weight:900;
    line-height:1.08;
    margin-bottom:18px;
    letter-spacing:-1px;
}

.portal-card .right p{
    font-size:16px;
    opacity:0.92;
    line-height:1.8;
    max-width:560px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:34px;
}

.feature{
    background:rgba(255,255,255,0.13);
    border:1px solid rgba(255,255,255,0.13);
    border-radius:20px;
    padding:18px;
}

/* MODALS */
.modal-content{
    border:none;
    border-radius:24px;
    box-shadow:0 25px 70px rgba(0,0,0,0.35);
}

.modal-header{
    border-bottom:1px solid #eef2f7;
    padding:22px 24px;
}

.modal-title{
    font-weight:900;
    color:#0d1b2a !important;
}

.modal-body{
    padding:24px;
    color:#0d1b2a;
}

.form-control{
    min-height:48px;
    border-radius:14px;
    color:#111 !important;
    background:#fff !important;
}

.form-control::placeholder{
    color:#777 !important;
}

.input-group .form-control{
    border-radius:14px 0 0 14px;
}

.input-group .btn{
    border-radius:0 14px 14px 0;
}

.progress{
    height:7px;
    border-radius:99px;
}

.login-submit,
.register-submit{
    height:48px;
    border-radius:14px;
    font-weight:800;
}

/* RESPONSIVE */
@media(max-width:900px){

    body{
        overflow-y:auto;
    }

    .page{
        min-height:auto;
        padding:18px;
        align-items:flex-start;
    }

    .landing-card,
    .portal-card{
        grid-template-columns:1fr;
        border-radius:24px;
        margin-top:12px;
    }

    .left-panel,
    .right-panel,
    .portal-card .left,
    .portal-card .right{
        padding:30px 24px;
    }

    .title,
    .portal-card .right h2{
        font-size:34px;
        line-height:1.15;
    }

    .subtitle,
    .portal-card .right p,
    .action p{
        font-size:14px;
        line-height:1.7;
    }

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

    .btn-main,
    .btn-admin,
    .btn-user{
        min-height:50px;
        font-size:14px;
    }

    .modal-dialog{
        margin:12px;
    }

    .modal-content{
        max-height:90vh;
        overflow-y:auto;
        border-radius:18px;
    }
}

@media(max-width:420px){

    .page{
        padding:12px;
    }

    .left-panel,
    .right-panel,
    .portal-card .left,
    .portal-card .right{
        padding:24px 18px;
    }

    .title,
    .portal-card .right h2,
    .action h1{
        font-size:28px;
    }

    .action-icon,
    .icon{
        width:62px;
        height:62px;
        font-size:28px;
    }

    .stat-number{
        font-size:25px;
    }
}
