
:root{
--bg:#eef5ff;--bg2:#f8fbff;--card:rgba(255,255,255,.75);--border:#dce7ff;
--text:#0f172a;--muted:#607089;--primary:#2f80ff;--primary2:#69b4ff;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial,sans-serif;background:linear-gradient(to bottom,var(--bg),var(--bg2));color:var(--text)}
.container{width:min(1400px,92%);margin:auto}
.glass{background:var(--card);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.9);box-shadow:0 10px 40px rgba(47,128,255,.08)}
.topbar{padding:10px 0;background:#dce9ff;font-size:13px;color:#50607c}
.topbar-inner{display:flex;justify-content:space-between}
.header-wrap{padding:16px 0;position:sticky;top:0;z-index:100}
.header{padding:18px 24px;border-radius:28px;display:flex;justify-content:space-between;align-items:center}
.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:14px}
.logo{width:62px;height:62px;border-radius:20px;background:linear-gradient(135deg,var(--primary),var(--primary2));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}
.brand h1{font-size:36px}.brand p{color:var(--muted)}
nav{display:flex;gap:24px;align-items:center}
nav a,.nav-item{font-weight:600;color:var(--text);text-decoration:none;position:relative}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:70px 0 50px}
.badge{display:inline-block;padding:10px 16px;border-radius:999px;background:#dceaff;color:#2f80ff;font-weight:700;margin-bottom:24px}
.hero h2{font-size:72px;line-height:1;margin-bottom:24px}
.hero p{font-size:22px;line-height:1.7;color:var(--muted)}
.actions{display:flex;gap:16px;margin-top:30px}
.btn,.cta{padding:14px 20px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:white;font-weight:700;text-decoration:none;border:none}
.secondary{background:#fff;color:var(--text);border:1px solid var(--border)}
.hero-card{padding:20px;border-radius:40px}.hero-card img{width:100%;border-radius:28px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;padding-bottom:120px}
.card{padding:28px;border-radius:34px}
.card-link{text-decoration:none;color:inherit}
.card-top{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.pvs{width:58px;height:58px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;color:#2f80ff}
.card span,.muted{color:var(--muted)}
.card p{margin:20px 0;line-height:1.7;color:var(--muted)}
.scores{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.score{padding:10px 12px;border-radius:999px;background:#e7f1ff;font-size:13px;font-weight:700;color:#2f80ff}
.compare-pill{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:999px;background:#fff;border:1px solid var(--border)}
.compare-bar{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);width:min(920px,92%);padding:18px 22px;border-radius:24px;display:none;justify-content:space-between;align-items:center;z-index:200}
.compare-left{display:flex;gap:10px;flex-wrap:wrap}
.compare-item{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--border)}
.footer-wrap{padding-bottom:30px}
.footer{padding:40px;border-radius:34px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:40px}
.footer-grid a{display:block;margin-bottom:10px;color:var(--muted);text-decoration:none}
.footer-bottom{padding:18px 0}.footer-bottom-inner{display:flex;justify-content:space-between;color:var(--muted)}
.table-wrap{overflow:auto}
.compare-table{width:100%;border-collapse:collapse;min-width:700px}
.compare-table th,.compare-table td{padding:18px;border-bottom:1px solid var(--border);text-align:center}
.compare-table th:first-child,.compare-table td:first-child{text-align:left;font-weight:700}
.switch{display:flex;gap:10px;align-items:center;background:#fff;padding:12px 16px;border-radius:999px;border:1px solid var(--border)}
.toast{position:fixed;top:110px;right:24px;padding:18px 22px;border-radius:18px;display:none;z-index:999}
.mega-menu{position:absolute;top:40px;left:-120px;width:1050px;padding:26px;border-radius:34px;display:none}
.nav-item:hover .mega-menu{display:block}
.mega-grid{display:grid;grid-template-columns:1fr 1fr 1fr .9fr;gap:30px}
.mega-grid a{display:block;margin-bottom:12px;color:var(--muted)}
.highlight{border-radius:28px;padding:28px;background:linear-gradient(135deg,#071d2f,#2e9f6b);color:#fff}
@media(max-width:1000px){
.hero{grid-template-columns:1fr}.hero h2{font-size:52px}
.header{flex-direction:column;gap:20px}nav{flex-wrap:wrap;justify-content:center}
.footer-grid{grid-template-columns:1fr 1fr}.topbar-inner,.footer-bottom-inner{flex-direction:column;gap:10px}
.mega-menu{display:none!important}
.compare-bar{flex-direction:column;align-items:flex-start}
}


.footer-bottom-inner div{
display:flex;
gap:18px;
flex-wrap:wrap;
}

.footer-bottom-inner div span{
cursor:pointer;
}

.card-link{
display:block;
}

.compare-pill input{
accent-color:#2f80ff;
}

.compare-table td{
font-weight:500;
}

.compare-table tr:first-child th{
background:rgba(47,128,255,.04);
}

nav a:hover,
.footer-grid a:hover,
.footer-bottom-inner div span:hover{
color:#2f80ff;
transition:.2s ease;
}

.compare-item{
font-weight:600;
}

#selectedInfo{
margin-top:10px;
font-size:16px;
}



.compare-actions{
display:flex;
align-items:center;
gap:14px;
}

.clear-btn{
padding:12px 16px;
border-radius:16px;
background:white;
border:1px solid var(--border);
font-weight:600;
cursor:pointer;
}

.clear-btn:hover{
border-color:#2f80ff;
color:#2f80ff;
transition:.2s ease;
}



/* v1.6.5 Compare UX */
.compare-bar{
gap:20px !important;
align-items:flex-start !important;
}

.compare-meta{
display:flex;
flex-direction:column;
gap:10px;
margin-top:10px;
}

.compare-counter{
font-size:14px;
font-weight:700;
color:#607089;
}

.compare-warning{
display:none;
align-items:center;
justify-content:space-between;
gap:12px;
padding:12px 14px;
border-radius:16px;
background:rgba(255,59,48,.08);
border:1px solid rgba(255,59,48,.18);
color:#c62828;
font-weight:700;
font-size:14px;
max-width:420px;
}

.compare-warning button{
background:none;
border:none;
cursor:pointer;
color:#c62828;
font-weight:700;
font-size:16px;
}

.compare-warning.show{
display:flex;
}

.compare-actions{
display:flex;
align-items:center;
gap:12px;
}

@media(max-width:700px){

.hero h1,
.hero h2{
font-size:38px !important;
line-height:1.08 !important;
}

.hero p{
font-size:17px !important;
line-height:1.6 !important;
}

.header{
padding:16px !important;
}

nav{
flex-wrap:wrap;
gap:12px !important;
}

.compare-bar{
padding-bottom:calc(20px + env(safe-area-inset-bottom));
}

.compare-actions{
width:100%;
display:flex;
flex-direction:column;
}

.compare-actions .btn,
.compare-actions .clear-btn{
width:100%;
text-align:center;
}

.compare-warning{
max-width:100%;
}

}



/* v1.6.6 UX Improvements */

.compare-overlay-warning{
position:fixed;
left:50%;
bottom:120px;
transform:translateX(-50%);
z-index:400;
display:none;
align-items:center;
gap:14px;
padding:16px 22px;
border-radius:22px;
background:rgba(255,255,255,.92);
backdrop-filter:blur(20px);
border:1px solid rgba(255,59,48,.18);
box-shadow:0 10px 40px rgba(255,59,48,.08);
color:#c62828;
font-weight:700;
}

.compare-overlay-warning.show{
display:flex;
}

.compare-overlay-warning button{
border:none;
background:none;
cursor:pointer;
font-size:18px;
font-weight:700;
color:#c62828;
}

.compare-bar{
align-items:center !important;
}

.compare-meta{
display:flex;
align-items:center;
gap:14px;
margin-top:10px;
}

.compare-counter{
font-size:14px;
font-weight:700;
color:#607089;
}

.subpage-layout{
padding:50px 0 120px;
}

.subpage-hero{
margin-bottom:28px;
padding:34px;
border-radius:34px;
}

.subpage-content{
padding:34px;
border-radius:34px;
}

.feature-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:18px;
margin-top:24px;
}

.feature-box{
padding:18px;
border-radius:22px;
background:#f6f9ff;
border:1px solid #dbe7ff;
}

.feature-box h4{
margin-bottom:10px;
font-size:14px;
color:#607089;
}

.progress-wrap{
margin-top:24px;
}

.progress{
height:12px;
border-radius:999px;
background:#e7efff;
overflow:hidden;
margin-bottom:16px;
}

.progress-fill{
height:100%;
background:linear-gradient(90deg,#2f80ff,#69b4ff);
border-radius:999px;
}

.sticky-mini-cta{
position:sticky;
bottom:20px;
margin-top:28px;
padding:18px;
border-radius:24px;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}

@media(max-width:700px){

.compare-overlay-warning{
width:92%;
bottom:100px;
}

.subpage-hero,
.subpage-content{
padding:24px;
}

.sticky-mini-cta{
flex-direction:column;
align-items:flex-start;
padding-bottom:calc(20px + env(safe-area-inset-bottom));
}

}

