*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg-main: linear-gradient(135deg, #eef2ff 0%, #f8fafc 45%, #f3e8ff 100%);
    --card:#ffffff;
    --text:#172033;
    --muted:#5f6b85;
    --border:#e5e7eb;
    --primary:#7c3aed;
    --primary-hover:#6d28d9;
    --danger:#dc2626;
    --success:#16a34a;
    --warning:#d97706;

    --glass-bg:rgba(255,255,255,0.55);
    --glass-strong:rgba(255,255,255,0.72);
    --glass-border:rgba(255,255,255,0.45);

    --shadow:0 12px 35px rgba(88,28,135,0.10);
    --shadow-hover:0 18px 45px rgba(88,28,135,0.16);
    --radius:24px;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', Arial, Helvetica, sans-serif;
    background:var(--bg-main);
    color:var(--text);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(1100px, 92%);
    margin:0 auto;
}

/* header */
.site-header{
    background:rgba(255,255,255,0.35);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,0.35);
    box-shadow:0 8px 30px rgba(31,41,55,0.06);
    position:sticky;
    top:0;
    z-index:1000;
}

.nav-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:88px;
    gap:20px;
}

.brand{
    display:flex;
    align-items:center;
}

.brand a{
    display:inline-flex;
    align-items:center;
}

.site-logo{
    height:40px;
    width:auto;
    display:block;
    transition:transform 0.25s ease, filter 0.25s ease;
}

.brand a:hover .site-logo{
    transform:translateY(-1px) scale(1.02);
    filter:drop-shadow(0 8px 18px rgba(124,58,237,0.16));
}

.site-nav{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.site-nav a{
    padding:12px 16px;
    border-radius:14px;
    transition:all 0.25s ease;
    color:var(--text);
    font-weight:500;
}

.site-nav a:hover{
    background:rgba(255,255,255,0.42);
    backdrop-filter:blur(10px);
    color:var(--primary);
    transform:translateY(-1px);
}

.site-nav a.active{
    background:linear-gradient(135deg, rgba(124,58,237,0.16), rgba(147,51,234,0.12));
    color:var(--primary);
    font-weight:700;
    box-shadow:inset 0 0 0 1px rgba(124,58,237,0.14);
}

.site-nav a.active:hover{
    transform:none;
}

/* main */
.main-content{
    min-height:calc(100vh - 140px);
    padding:50px 0;
}

/* hero */
.hero{
    text-align:center;
    padding:50px 20px 24px;
}

.hero h1,
.hero-title{
    font-size:clamp(2.6rem, 6vw, 4.4rem);
    line-height:1.05;
    font-weight:800;
    letter-spacing:-0.04em;
    margin-bottom:16px;
    color:var(--text);
    animation:titleFloat 1.1s ease forwards;
}

.hero p,
.hero-subtitle{
    max-width:860px;
    margin:0 auto;
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.9;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 16px;
    border-radius:999px;
    background:rgba(255,255,255,0.42);
    border:1px solid rgba(255,255,255,0.38);
    backdrop-filter:blur(14px);
    color:var(--primary);
    font-size:0.85rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    margin-bottom:16px;
    box-shadow:var(--shadow);
}

.hero-left{
    text-align:left;
    padding:10px 0 0;
}

.hero-left p{
    margin:0;
    max-width:920px;
    color:var(--muted);
    line-height:1.85;
}

/* grids and cards */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:24px;
    margin-top:34px;
}

.cards-equal .card{
    min-height:100%;
}

.card{
    border-radius:var(--radius);
    transition:transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.glass-card,
.card{
    background:var(--glass-bg);
    border:1px solid var(--glass-border);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:var(--shadow);
    padding:26px;
}

.glass-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:100%;
}

.card:hover,
.glass-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-hover);
    border-color:rgba(255,255,255,0.65);
}

.card-body{
    display:flex;
    flex-direction:column;
    flex:1;
}

.card h3,
.card-body h3{
    margin-bottom:14px;
    font-size:1.45rem;
    line-height:1.3;
    color:var(--text);
}

.card p,
.card-body p{
    color:var(--muted);
    margin-bottom:0;
    line-height:1.85;
    font-size:1rem;
    flex-grow:1;
}

.card-action{
    margin-top:24px;
    display:flex;
    align-items:flex-end;
}

/* buttons */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:14px 22px;
    border:none;
    border-radius:16px;
    cursor:pointer;
    transition:all 0.25s ease;
    font-size:0.98rem;
    font-weight:700;
    text-align:center;
    background:linear-gradient(135deg, var(--primary), #9333ea);
    color:#fff;
    box-shadow:0 10px 22px rgba(124,58,237,0.24);
}

.btn:hover{
    background:linear-gradient(135deg, var(--primary-hover), #7e22ce);
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(124,58,237,0.30);
}

.btn-full{
    width:100%;
}

/* sections */
.section-box{
    background:var(--glass-strong);
    border:1px solid var(--glass-border);
    border-radius:26px;
    padding:28px;
    box-shadow:var(--shadow);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    margin-top:24px;
}

.section-box h2{
    margin-bottom:12px;
    font-size:2rem;
    color:var(--text);
}

.section-box p{
    color:var(--muted);
    line-height:1.9;
    font-size:1.02rem;
}

.glass-panel{
    background:var(--glass-strong);
    border:1px solid var(--glass-border);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:var(--shadow);
}

/* page load animation */
.fade-up{
    opacity:0;
    transform:translateY(28px);
    animation:fadeUp 0.9s ease forwards;
}

.delay-1{
    animation-delay:0.12s;
}

.delay-2{
    animation-delay:0.28s;
}

.delay-3{
    animation-delay:0.44s;
}

@keyframes fadeUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes titleFloat{
    0%{
        opacity:0;
        transform:translateY(30px) scale(0.98);
        filter:blur(6px);
    }
    100%{
        opacity:1;
        transform:translateY(0) scale(1);
        filter:blur(0);
    }
}

/* terms page */
.terms-box{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.term-item{
    padding-bottom:24px;
    border-bottom:1px solid var(--border);
}

.term-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.term-item h2{
    font-size:1.14rem;
    margin-bottom:12px;
    color:var(--text);
    line-height:1.5;
}

.term-item p{
    color:var(--muted);
    margin-bottom:12px;
    line-height:1.85;
    font-size:0.98rem;
}

.terms-list{
    margin:10px 0 14px 22px;
    color:var(--muted);
}

.terms-list li{
    margin-bottom:8px;
    line-height:1.8;
}

.table-wrap{
    width:100%;
    overflow-x:auto;
    margin:14px 0 18px;
}

.terms-table{
    width:100%;
    min-width:680px;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:14px;
}

.terms-table th,
.terms-table td{
    border:1px solid var(--border);
    padding:13px 15px;
    text-align:left;
    font-size:0.96rem;
}

.terms-table th{
    background:#f5f3ff;
    color:var(--primary);
    font-weight:700;
}

.terms-table td{
    background:#ffffff;
    color:var(--muted);
}

/* calculator */
.calculator-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-bottom:24px;
}

.calc-box{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.calc-box h2{
    margin-bottom:4px;
}

.calc-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-group label{
    font-size:0.92rem;
    font-weight:600;
    color:var(--muted);
}

.form-group input{
    width:100%;
    min-height:54px;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid var(--border);
    background:rgba(255,255,255,0.82);
    font-size:0.97rem;
    color:var(--text);
    transition:0.2s ease;
    outline:none;
    appearance:none;
    -webkit-appearance:none;
}

.form-group input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(124,58,237,0.10);
    background:#ffffff;
}

.fixed-input{
    min-height:54px;
    display:flex;
    align-items:center;
    background:rgba(243,244,246,0.88);
    border:1px solid var(--border);
    padding:14px 16px;
    border-radius:14px;
    font-weight:700;
    font-size:0.97rem;
    color:#374151;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
}

.result-card{
    background:rgba(255,255,255,0.74);
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
}

.result-card span{
    display:block;
    color:var(--muted);
    font-size:0.9rem;
    margin-bottom:8px;
}

.result-card strong{
    font-size:1.12rem;
    color:var(--text);
    line-height:1.4;
}

.status-note{
    margin-top:18px;
    padding:14px 16px;
    border-radius:14px;
    font-size:0.96rem;
    line-height:1.7;
    border:1px solid var(--border);
}

.status-note.active{
    background:rgba(22,163,74,0.08);
    color:#166534;
    border-color:rgba(22,163,74,0.18);
}

.status-note.suspended{
    background:rgba(217,119,6,0.08);
    color:#92400e;
    border-color:rgba(217,119,6,0.18);
}

.status-note.final-grace-day{
    background:rgba(234,88,12,0.08);
    color:#9a3412;
    border-color:rgba(234,88,12,0.18);
}

.status-note.terminated{
    background:rgba(220,38,38,0.08);
    color:#991b1b;
    border-color:rgba(220,38,38,0.18);
}

.alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:18px;
    font-size:0.95rem;
    line-height:1.7;
}

.alert-error{
    background:rgba(220,38,38,0.08);
    color:#991b1b;
    border:1px solid rgba(220,38,38,0.18);
}

.calc-placeholder{
    margin-top:18px;
    color:var(--muted);
    line-height:1.8;
}

/* footer */
.site-footer{
    border-top:1px solid rgba(255,255,255,0.36);
    background:rgba(255,255,255,0.35);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    padding:22px 0;
    text-align:center;
    color:var(--muted);
    font-size:0.95rem;
    margin-top:24px;
}

/* responsive */
@media (max-width: 900px){
    .calculator-layout{
        grid-template-columns:1fr;
    }

    .result-grid{
        grid-template-columns:1fr;
    }

    .hero{
        padding-top:34px;
    }

    .hero h1,
    .hero-title{
        font-size:clamp(2.2rem, 8vw, 3.2rem);
    }

    .card h3,
    .card-body h3{
        font-size:1.3rem;
    }
}

@media (max-width: 768px){
    .nav-wrap{
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        padding:16px 0;
        min-height:auto;
    }

    .site-nav{
        width:100%;
        flex-wrap:wrap;
    }

    .site-nav a{
        padding:10px 14px;
    }

    .hero{
        padding-top:18px;
    }

    .section-box{
        padding:22px;
    }

    .site-logo{
        height:36px;
    }
}
.feedback-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:20px;
}

.feedback-card{
    background:rgba(255,255,255,0.72);
    border:1px solid var(--glass-border);
    border-radius:20px;
    padding:22px;
    box-shadow:var(--shadow);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}

.feedback-top{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:14px;
}

.feedback-top h3{
    font-size:1.15rem;
    color:var(--text);
}

.feedback-stars{
    font-size:1rem;
    color:#f59e0b;
    letter-spacing:2px;
}

.feedback-message{
    color:var(--muted);
    line-height:1.8;
    font-size:0.97rem;
    margin-bottom:16px;
}

.feedback-date{
    font-size:0.88rem;
    color:var(--muted);
}

.empty-state{
    text-align:center;
    padding:30px 10px;
}

.empty-state h3{
    margin-bottom:8px;
    font-size:1.2rem;
}

.admin-login-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 0;
}

.admin-login-box{
    width:min(480px, 100%);
}

.admin-feedback-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.admin-feedback-card{
    background:rgba(255,255,255,0.72);
    border:1px solid var(--glass-border);
    border-radius:20px;
    padding:22px;
    box-shadow:var(--shadow);
}

.admin-feedback-head{
    margin-bottom:12px;
}

.admin-feedback-head h3{
    margin-bottom:6px;
    font-size:1.1rem;
}

.admin-meta{
    color:var(--muted);
    font-size:0.92rem;
    line-height:1.7;
}

.admin-action-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

#site-loader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(135deg,#eef2ff,#f8fafc,#f3e8ff);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
transition:opacity .5s ease;
}

.loader-wrapper{
display:flex;
flex-direction:column;
align-items:center;
gap:22px;
}

.loader-logo{
width:560px;
max-width:100vw;
filter:drop-shadow(0 12px 30px rgba(124,58,237,0.35));
animation:logoPulse 2s ease-in-out infinite;
}

/* pulse animation */

@keyframes logoPulse{

0%{
transform:scale(.96);
opacity:.7;
}

50%{
transform:scale(1);
opacity:1;
}

100%{
transform:scale(.96);
opacity:.7;
}

}


.loader-bar{
width:220px;
height:6px;
background:#e5e7eb;
border-radius:20px;
overflow:hidden;
}

.loader-progress{
height:100%;
width:40%;
background:linear-gradient(90deg,var(--primary),#9333ea);
border-radius:20px;
animation:loadingMove 1.4s ease-in-out infinite;
}

@keyframes loadingMove{

0%{
transform:translateX(-100%);
}

100%{
transform:translateX(250%);
}

}

.loader-text{
font-size:.9rem;
color:var(--muted);
letter-spacing:.3px;
}


.loader-hidden{
opacity:0;
pointer-events:none;
}