:root{
--primary:#0057ff;
--primary2:#0d6bff;
--secondary:#1d8bff;
--success:#18b85b;
--warning:#ffb300;
--danger:#ff4d4f;
--bg:#edf4ff;
--card:#fff;
--text:#13233d;
--muted:#7f8ba6;
--radius:22px;
--radius-sm:16px;
--radius-xs:12px;
--shadow:0 10px 30px rgba(0,70,255,.12);
--container:790px;
--space:16px;
--fs-xs:12px;
--fs-sm:14px;
--fs-md:16px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,body{
width:100%;
min-height:100%;
background:var(--bg);
font-family:"Plus Jakarta Sans",sans-serif;
font-size:var(--fs-sm);
color:var(--text);
-webkit-font-smoothing:antialiased;
}

body{
display:flex;
justify-content:center;
}

img{
display:block;
max-width:100%;
}

a{
text-decoration:none;
color:inherit;
}

button,input{
font:inherit;
}

.app{
position:relative;
width:100%;
max-width:var(--container);
min-height:100vh;
background:var(--bg);
overflow:hidden;
}

.bg-gradient{
position:absolute;
top:0;
left:0;
width:100%;
height:240px;
background:linear-gradient(180deg,var(--primary),var(--primary2));
overflow:hidden;
z-index:0;
}

.blur{
position:absolute;
border-radius:50%;
filter:blur(70px);
opacity:.45;
}

.blur1{
width:220px;
height:220px;
top:-90px;
right:-70px;
background:#39c2ff;
}

.blur2{
width:160px;
height:160px;
top:60px;
right:50px;
background:#8fdcff;
}

.blur3{
width:200px;
height:200px;
left:-90px;
bottom:-80px;
background:#004cff;
}

.topbar{
position:relative;
z-index:5;
padding:18px var(--space) 0;
color:#fff;
}

.statusbar{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:16px;
}

.time{
font-size:14px;
font-weight:700;
}

.status-icons{
display:flex;
align-items:center;
gap:10px;
font-size:14px;
}

.header{
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo-icon{
    width:48px;
    height:48px;
    border-radius:16px;
    background:#fff;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.logo-icon img{
    width:80%;
    height:80%;
    object-fit:cover; 
    display:block;
}

.logo-text h2{
    margin:0;
    font-size:20px;
    font-weight:700;
    line-height:1.2;
}

.logo-text p{
    margin:2px 0 0;
    font-size:12px;
    opacity:.9;
}

.header-action{
display:flex;
gap:10px;
}

.icon-btn{
position:relative;
width:42px;
height:42px;
border:none;
border-radius:50%;
background:rgba(255,255,255,.16);
backdrop-filter:blur(12px);
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
color:#fff;
cursor:pointer;
transition:.25s;
}

.icon-btn:hover{
background:rgba(255,255,255,.24);
transform:translateY(-2px);
}

.badge{
position:absolute;
top:4px;
right:4px;
width:16px;
height:16px;
border-radius:50%;
background:var(--danger);
border:2px solid #fff;
display:flex;
align-items:center;
justify-content:center;
font-size:10px;
font-weight:700;
}

#content{
position:relative;
z-index:2;
padding:var(--space);
}

.hero-card{
position:relative;
display:flex;
gap:18px;
justify-content:space-between;
padding:18px;
background:var(--card);
border-radius:var(--radius);
box-shadow:var(--shadow);
overflow:hidden;
}

.hero-card::before{
content:"";
position:absolute;
right:-70px;
bottom:-70px;
width:180px;
height:180px;
border-radius:50%;
background:linear-gradient(135deg,#dff2ff,#4b8cff);
opacity:.35;
}

.hero-left{
flex:1;
position:relative;
z-index:2;
}

.hero-left h2{
font-size:16px;
font-weight:700;
margin-bottom:14px;
}

.service-status{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
margin-bottom:14px;
font-size:12px;
}

.status-pill{
display:flex;
align-items:center;
gap:6px;
padding:6px 12px;
border-radius:999px;
background:#e9f8ef;
color:var(--success);
font-size:12px;
font-weight:600;
}

.status-pill i{
font-size:8px;
}

.package-box{
display:flex;
gap:14px;
padding:16px;
background:#fff;
border:1px solid #edf1fb;
border-radius:18px;
}

.package-item{
flex:1;
}

.divider{
width:1px;
background:#edf1fb;
}

.label{
font-size:12px;
color:var(--muted);
margin-bottom:6px;
}

.package-item h3{
font-size:16px;
font-weight:700;
color:var(--primary);
margin-bottom:4px;
}

.package-item p{
font-size:12px;
color:var(--muted);
margin-bottom:12px;
}

.detail-btn{
display:inline-flex;
align-items:center;
gap:6px;
padding:8px 14px;
border:1px solid var(--primary);
border-radius:12px;
background:#fff;
color:var(--primary);
font-size:12px;
font-weight:600;
cursor:pointer;
transition:.25s;
}

.detail-btn:hover{
background:var(--primary);
color:#fff;
}

.infinity{
font-size:16px;
}

.speed-box{
display:flex;
align-items:center;
gap:10px;
margin-top:12px;
}

.speed-icon{
width:40px;
height:40px;
border-radius:50%;
background:#edf5ff;
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
color:var(--primary);
}

.speed-box span{
display:block;
font-size:12px;
color:var(--muted);
}

.speed-box strong{
display:block;
margin-top:2px;
font-size:14px;
}

.hero-right{
position:relative;
width:120px;
display:flex;
align-items:flex-end;
justify-content:center;
}

.wifi-wave{
position:absolute;
top:0;
left:50%;
transform:translateX(-50%);
font-size:42px;
color:#2b73ff;
animation:floatWifi 3s ease-in-out infinite;
}

.router{
position:relative;
width:90px;
height:58px;
margin-bottom:8px;
}

.router-top{
position:absolute;
left:0;
right:0;
top:0;
height:44px;
background:linear-gradient(#fff,#eef4ff);
border-radius:12px;
box-shadow:0 8px 18px rgba(0,0,0,.15);
}

.router-front{
position:absolute;
left:5px;
right:5px;
bottom:0;
height:16px;
border-radius:0 0 12px 12px;
background:linear-gradient(#333,#111);
display:flex;
align-items:center;
justify-content:center;
gap:4px;
}

.router-front span{
width:4px;
height:4px;
border-radius:50%;
background:#31d86c;
}

.router-logo{
position:absolute;
top:12px;
left:50%;
transform:translateX(-50%);
font-size:16px;
font-weight:700;
width: 25%;
color:var(--primary);
}

.antenna{
position:absolute;
top:-34px;
width:4px;
height:48px;
background:#333;
border-radius:20px;
}

.antenna-left{
left:12px;
transform:rotate(-12deg);
}

.antenna-right{
right:12px;
transform:rotate(12deg);
}

@keyframes floatWifi{
0%,100%{transform:translateX(-50%) translateY(0);}
50%{transform:translateX(-50%) translateY(-6px);}
}

@media(min-width:768px){
.topbar{
padding:24px;
}
#content{
padding:24px;
}
.hero-card{
padding:22px;
}
}

.menu-section{
margin-top:16px;
padding:18px;
background:var(--card);
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.menu-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
}

.menu-item{
display:flex;
flex-direction:column;
align-items:center;
color:var(--text);
transition:.25s;
}

.menu-item:hover{
transform:translateY(-3px);
}

.menu-icon{
position:relative;
width:54px;
height:54px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
color:#fff;
margin-bottom:8px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.menu-icon.blue{
background:linear-gradient(180deg,#2b7dff,#0057ff);
}

.menu-icon.orange{
background:linear-gradient(180deg,#ffbf57,#ff8a00);
}

.menu-item span{
font-size:12px;
font-weight:600;
text-align:center;
line-height:1.4;
}

.dot{
position:absolute;
top:6px;
right:6px;
width:8px;
height:8px;
border-radius:50%;
background:#ffb300;
border:2px solid #fff;
}

.promo-section{
margin-top:16px;
}

.promo-banner{
position:relative;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
overflow:hidden;
border-radius:var(--radius);
background:linear-gradient(135deg,#0057ff,#0d6bff);
box-shadow:var(--shadow);
color:#fff;
}

.promo-banner::before{
content:"";
position:absolute;
right:-90px;
bottom:-90px;
width:220px;
height:220px;
border-radius:50%;
background:rgba(255,255,255,.08);
}

.promo-content{
position:relative;
z-index:2;
max-width:58%;
}

.promo-content h2{
font-size:16px;
line-height:1.5;
margin-bottom:14px;
}

.promo-content span{
display:block;
color:#ffd44d;
}

.promo-reward{
display:flex;
align-items:center;
gap:12px;
}

.promo-reward small{
display:block;
font-size:12px;
opacity:.9;
}

.promo-reward h3{
font-size:16px;
margin-top:2px;
}

.promo-btn{
height:38px;
padding:0 16px;
border:none;
border-radius:12px;
background:#ffd54f;
color:#222;
font-size:12px;
font-weight:700;
cursor:pointer;
transition:.25s;
}

.promo-btn:hover{
transform:translateY(-2px);
}

.promo-illustration{
position:relative;
width:140px;
height:120px;
}

.gift-box{
position:absolute;
left:12px;
bottom:0;
width:80px;
height:64px;
}

.gift-body{
position:absolute;
bottom:0;
width:80px;
height:52px;
background:#fff;
border-radius:8px;
}

.gift-lid{
position:absolute;
top:12px;
left:-4px;
width:88px;
height:12px;
border-radius:6px;
background:#eef5ff;
}

.gift-ribbon-v{
position:absolute;
left:35px;
bottom:0;
width:10px;
height:64px;
background:#4aa8ff;
}

.gift-ribbon-h{
position:absolute;
top:30px;
width:80px;
height:10px;
background:#4aa8ff;
}

.gift-bow{
position:absolute;
top:-4px;
width:18px;
height:18px;
border:5px solid #4aa8ff;
border-radius:50%;
}

.gift-bow.left{
left:24px;
}

.gift-bow.right{
left:40px;
}

.coin{
position:absolute;
font-size:18px;
color:#ffc107;
animation:floatCoin 3s ease-in-out infinite;
}

.coin1{
right:0;
top:10px;
}

.coin2{
right:22px;
bottom:8px;
animation-delay:.8s;
}

.coin3{
right:48px;
top:42px;
animation-delay:1.4s;
}

.package-section{
margin-top:18px;
}

.section-title{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:12px;
}

.section-title h2{
font-size:16px;
font-weight:700;
}

.section-title a{
font-size:12px;
color:var(--muted);
font-weight:600;
}

.package-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.package-slider::-webkit-scrollbar {
    display: none;
}

.internet-card {
    position: relative;
    flex: 0 0 170px;
    min-height: 280px;
    padding: 18px 14px;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .25s;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.internet-card:hover {
    transform: translateY(-4px);
}

.internet-card.active {
    border: 2px solid var(--primary);
}

.popular {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffd54f;
    color: #222;
    font-size: 11px;
    font-weight: 700;
}

.wifi-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.05);
    font-size: 20px;
    color: var(--primary);
}

.internet-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
}

.speed {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.price {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}

.internet-card small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.package-feature {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
    text-align: left;
    flex: 1;
}

.package-feature span {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-feature i {
    color: var(--primary);
    font-size: 11px;
}

.internet-card button {
    width: 100%;
    height: 38px;
    margin-top: auto;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.internet-card.active button,
.internet-card button:hover {
    background: var(--primary);
    color: #fff;
}

.service-section{
margin-top:18px;
}

.service-card{
padding:8px 16px;
background:#fff;
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.service-item{
display:flex;
align-items:center;
padding:14px 0;
border-bottom:1px solid #edf2fb;
}

.service-item:last-child{
border:none;
}

.service-icon{
width:46px;
height:46px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
color:#fff;
margin-right:12px;
}

.service-icon.green{
background:linear-gradient(180deg,#31d158,#18b85b);
}

.service-icon.orange{
background:linear-gradient(180deg,#ffb347,#ff8400);
}

.service-icon.blue{
background:linear-gradient(180deg,#3f8fff,#0057ff);
}

.service-info{
flex:1;
}

.service-info h4{
font-size:14px;
margin-bottom:2px;
}

.service-info p{
font-size:12px;
color:var(--muted);
}

.service-value{
font-size:14px;
font-weight:700;
}

.success{
color:var(--success);
}

.news-section{
margin-top:18px;
margin-bottom:110px;
}

.news-card{
display:flex;
gap:14px;
padding:16px;
background:#fff;
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.news-image{
width:70px;
height:70px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(180deg,#2b7dff,#0057ff);
font-size:24px;
color:#fff;
flex-shrink:0;
}

.news-content h4{
font-size:14px;
margin-bottom:6px;
}

.news-content p{
font-size:12px;
line-height:1.6;
color:var(--muted);
margin-bottom:8px;
}

.news-date{
display:flex;
align-items:center;
gap:6px;
font-size:12px;
color:var(--muted);
}

.bottom-nav{
position:fixed;
left:50%;
transform:translateX(-50%);
bottom:2px;
width:min(calc(100% - 24px),680px);
height:70px;
padding:0 10px;
background:#fff;
border-radius:20px;
display:flex;
align-items:center;
justify-content:space-around;
box-shadow:0 15px 35px rgba(0,0,0,.12);
z-index:999;
}

.nav-item{
display:flex;
flex-direction:column;
align-items:center;
font-size:12px;
font-weight:600;
color:var(--muted);
transition:.25s;
}

.nav-item i{
font-size:18px;
margin-bottom:4px;
}

.nav-item.active{
color:var(--primary);
}

.nav-item.center{
width:54px;
height:54px;
margin-top:-32px;
border-radius:50%;
background:linear-gradient(180deg,var(--primary2),var(--primary));
color:#fff;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 24px rgba(0,87,255,.3);
}

.nav-item.center i{
margin:0;
font-size:22px;
}

.nav-item:hover{
transform:translateY(-2px);
}

@keyframes floatCoin{
0%,100%{transform:translateY(0);}
50%{transform:translateY(-8px);}
}

@media(max-width:600px){
.menu-grid{
grid-template-columns:repeat(4,1fr);
}
}

@media(max-width:480px){
.menu-grid{
grid-template-columns:repeat(4,1fr);
}
.menu-icon{
width:48px;
height:48px;
}
.hero-card{
flex-direction:column;
}
.hero-right{
width:100%;
justify-content:center;
margin-top:12px;
}
}

.install-btn{
    display:none;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    height:48px;
    margin-top:16px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#0057ff,#0d6bff);
    color:#fff;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,87,255,.25);
}

.install-btn i{
    font-size:18px;
}

.install-btn:active{
    transform:scale(.98);
}

.profile-card{
    margin:20px 0;
    padding:24px;
    border-radius:24px;
    background:#fff;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.profile-avatar{
    width:82px;
    height:82px;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(180deg,#0d6bff,#0057ff);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
}

.profile-card h2{
    margin-top:14px;
    font-size:22px;
}

.profile-card span{
    color:#777;
    font-size:13px;
}

.info-card,
.form-card{
    margin-top:18px;
    padding:20px;
    background:#fff;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.info-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.info-row:last-child{
    border:none;
}

.info-row span{
    color:#777;
}

.info-row strong{
    text-align:right;
}

.form-card h3{
    margin-bottom:18px;
}

.form-card input{
    width:100%;
    height:48px;
    padding:0 16px;
    margin-bottom:12px;
    border:1px solid #ddd;
    border-radius:14px;
    outline:none;
}

.form-card input:focus{
    border-color:#0d6bff;
}

.form-card button{
    width:100%;
    height:48px;
    border:none;
    border-radius:14px;
    background:#0057ff;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

/* ==========================================
   PROFILE
========================================== */

.profile-header{
    margin-bottom:20px;
    padding:26px 20px;
    border-radius:26px;
    background:#fff;
    box-shadow:var(--shadow);
    text-align:center;
}

.profile-avatar{
    width:92px;
    height:92px;
    margin:0 auto 16px;
    border-radius:50%;
    background:linear-gradient(180deg,#2b7dff,#0057ff);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    box-shadow:0 12px 30px rgba(0,87,255,.25);
}

.profile-header h2{
    font-size:22px;
    font-weight:700;
    margin-bottom:4px;
}

.profile-header p{
    font-size:13px;
    color:var(--muted);
    margin-bottom:14px;
}

.profile-status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 16px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.profile-status.active{
    background:#e9f8ef;
    color:#18b85b;
}

.profile-status.inactive{
    background:#ffecec;
    color:#ff4d4f;
}


/* ==========================================
CARD
========================================== */

.profile-card{
    margin-bottom:18px;
    padding:20px;
    background:#fff;
    border-radius:22px;
    box-shadow:var(--shadow);
}

.profile-card .section-title{
    margin-bottom:18px;
}

.profile-card .section-title h2{
    font-size:17px;
    font-weight:700;
}


/* ==========================================
PROFILE ITEM
========================================== */

.profile-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    padding:15px 0;
    border-bottom:1px solid #eef2fb;
}

.profile-item:last-child{
    border-bottom:none;
}

.profile-left{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:14px;
    font-weight:600;
}

.profile-left i{
    width:38px;
    height:38px;
    border-radius:12px;
    background:#edf4ff;
    color:#0057ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
}

.profile-right{
    max-width:60%;
    text-align:right;
    font-size:14px;
    font-weight:700;
    color:#222;
    word-break:break-word;
}


/* ==========================================
FORM
========================================== */

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-size:13px;
    font-weight:700;
}

.form-group input,
.form-group textarea{
    width:100%;
    height:50px;
    padding:0 16px;
    border:1px solid #dfe7f5;
    border-radius:14px;
    background:#fff;
    font-size:14px;
    outline:none;
    transition:.25s;
}

.form-group textarea{
    height:120px;
    padding:14px 16px;
    resize:none;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#0057ff;
    box-shadow:0 0 0 4px rgba(0,87,255,.08);
}


/* ==========================================
PASSWORD
========================================== */

.password-box{
    position:relative;
}

.password-box input{
    padding-right:55px;
}

.toggle-password{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    background:none;
    cursor:pointer;
    color:#888;
    font-size:16px;
}

.toggle-password:hover{
    color:#0057ff;
}


/* ==========================================
BUTTON
========================================== */

.save-btn{
    width:100%;
    height:50px;
    border:none;
    border-radius:14px;
    background:linear-gradient(180deg,#2b7dff,#0057ff);
    color:#fff;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    transition:.25s;
}

.save-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,87,255,.25);
}


/* ==========================================
ALERT
========================================== */

.alert-success,
.alert-error{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
    padding:14px 16px;
    border-radius:14px;
    font-size:13px;
    font-weight:600;
}

.alert-success{
    background:#e9f8ef;
    color:#18b85b;
}

.alert-error{
    background:#fff0f0;
    color:#ff4d4f;
}


/* ==========================================
LOGOUT
========================================== */

.logout-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    height:52px;
    border-radius:14px;
    background:#ff4d4f;
    color:#fff;
    font-weight:700;
    transition:.25s;
}

.logout-btn:hover{
    background:#e53b3d;
}


/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:480px){

    .profile-item{
        flex-direction:column;
        gap:10px;
    }

    .profile-right{
        max-width:100%;
        text-align:left;
        margin-left:50px;
    }

}

