*{box-sizing:border-box;margin:0;padding:0}

:root{
--bg:#0b1220;
--bg-soft:#111827;
--card:#ffffff;
--card-border:#e5e7eb;
--text:#0f172a;
--muted:#475569;
--primary:#2563eb;
--primary-dark:#1d4ed8;
--primary-soft:#eff6ff;
--shadow:0 10px 30px rgba(2,6,23,.08);
--radius:18px;
--radius-sm:14px;
--max:1160px;
}

html{
scroll-behavior:smooth;
}

body{
font-family:Inter,Segoe UI,Arial,sans-serif;
background:#f8fafc;
color:var(--text);
line-height:1.6;
overflow-x:hidden;
}

/* HEADER */
header{
position:sticky;
top:0;
z-index:999;
background:rgba(255,255,255,.92);
backdrop-filter:saturate(180%) blur(8px);
border-bottom:1px solid rgba(15,23,42,.08);
}

.header-inner{
max-width:var(--max);
margin:0 auto;
padding:14px 16px;
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
}

.logo{
font-size:22px;
font-weight:800;
color:var(--text);
text-decoration:none;
letter-spacing:-.02em;
white-space:nowrap;
}

.logo span{
color:var(--primary);
}

.header-note{
font-size:14px;
color:var(--muted);
text-align:right;
}

/* CONTAINER */
.container{
max-width:var(--max);
margin:0 auto;
padding:18px 16px 40px;
}

/* HERO */
.hero{
background:linear-gradient(135deg,#0f172a 0%,#111827 58%,#1d4ed8 100%);
color:#fff;
border-radius:24px;
padding:28px 22px;
margin-bottom:18px;
box-shadow:0 20px 50px rgba(15,23,42,.18);
overflow:hidden;
}

.hero-grid{
display:grid;
grid-template-columns:1.35fr .95fr;
gap:20px;
align-items:center;
}

.hero-content{
max-width:760px;
}

.hero-kicker{
display:inline-block;
margin-bottom:12px;
padding:7px 12px;
border-radius:999px;
font-size:12px;
font-weight:800;
letter-spacing:.05em;
text-transform:uppercase;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.14);
color:#dbeafe;
}

.hero h1{
font-size:40px;
line-height:1.08;
letter-spacing:-.03em;
margin-bottom:12px;
font-weight:800;
}

.hero p{
font-size:17px;
line-height:1.65;
color:rgba(255,255,255,.88);
max-width:680px;
}

.hero-box{
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.14);
border-radius:20px;
padding:18px;
backdrop-filter:blur(4px);
}

.hero-box-title{
font-size:14px;
font-weight:800;
letter-spacing:.03em;
text-transform:uppercase;
color:#dbeafe;
margin-bottom:12px;
}

.hero-list{
margin-top:16px;
display:flex;
flex-direction:column;
gap:8px;
font-size:15px;
color:#e2e8f0;
font-weight:600;
}

.hero-list div{
opacity:.96;
}

/* QUICK LINKS */
.quick-links{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:10px;
}

.quick-link{
display:flex;
align-items:center;
min-height:56px;
padding:12px 14px;
border-radius:14px;
background:rgba(255,255,255,.96);
color:#0f172a;
text-decoration:none;
font-weight:700;
font-size:14px;
line-height:1.3;
border:1px solid rgba(255,255,255,.25);
transition:.2s ease;
}

.quick-link:hover{
transform:translateY(-2px);
box-shadow:0 12px 24px rgba(2,6,23,.16);
background:#ffffff;
}

/* CARD */
.card{
background:var(--card);
border:1px solid var(--card-border);
border-radius:var(--radius);
padding:20px;
margin-bottom:18px;
box-shadow:var(--shadow);
}

.card h2{
font-size:22px;
line-height:1.2;
margin-bottom:8px;
letter-spacing:-.02em;
}

.card p{
color:var(--muted);
font-size:15px;
}

.section-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:12px;
margin-bottom:14px;
}

.section-head p{
margin:0;
max-width:760px;
}

/* SEARCH */
.search-card{
background:var(--primary-soft);
border:1px solid #bfdbfe;
}

.search-card h2{
color:#0f172a;
}

.search-card p{
color:#334155;
margin-bottom:14px;
}

.search-wrap{
display:flex;
gap:10px;
align-items:center;
}

.search-wrap input{
margin:0;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:12px;
}

/* BUTTON LINKS / TILES */
.btn{
display:flex;
align-items:flex-start;
justify-content:flex-start;
min-height:76px;
padding:16px;
border-radius:16px;
background:#fff;
border:1px solid var(--card-border);
color:var(--text);
text-decoration:none;
font-weight:700;
font-size:15px;
line-height:1.35;
box-shadow:0 4px 14px rgba(2,6,23,.04);
transition:.18s ease;
}

.btn:hover{
transform:translateY(-2px);
border-color:#c7d2fe;
box-shadow:0 12px 24px rgba(37,99,235,.10);
background:#f8fbff;
}

.btn.hidden{
display:none !important;
}

/* MINI CARDS */
.category{
scroll-margin-top:90px;
}

.category-label{
display:inline-block;
font-size:12px;
font-weight:800;
letter-spacing:.04em;
text-transform:uppercase;
color:var(--primary);
background:#eff6ff;
border:1px solid #dbeafe;
padding:6px 10px;
border-radius:999px;
margin-bottom:10px;
}

/* TRUST */
.trust-simple{
margin-top:10px;
display:flex;
flex-direction:column;
gap:8px;
font-size:16px;
color:#1e293b;
}

.trust-simple div{
padding:4px 0;
font-weight:600;
}

/* kept in case older pages still use them */
.trust-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
}

.trust-item{
background:#fff;
border:1px solid var(--card-border);
border-radius:16px;
padding:16px;
box-shadow:0 4px 14px rgba(2,6,23,.04);
}

.trust-item strong{
display:block;
font-size:15px;
margin-bottom:4px;
}

.trust-item span{
display:block;
font-size:14px;
color:var(--muted);
}

.trust-list{
display:flex;
flex-direction:column;
gap:12px;
margin-top:10px;
}

.trust-row{
background:#f8fafc;
border:1px solid #e2e8f0;
border-radius:12px;
padding:14px 16px;
font-size:15px;
color:#334155;
}

.trust-row strong{
display:block;
color:#0f172a;
margin-bottom:4px;
}

/* ADS */
.ad-card{
padding:12px;
overflow:hidden;
}

/* INPUT */
input,select{
width:100%;
margin-top:12px;
padding:14px 15px;
border-radius:14px;
border:1px solid #cbd5e1;
background:#fff;
color:var(--text);
font-size:16px;
outline:none;
transition:border-color .2s ease, box-shadow .2s ease;
}

input:focus,select:focus{
border-color:#93c5fd;
box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

/* BUTTON */
button{
margin-top:14px;
padding:14px 20px;
border-radius:14px;
border:none;
background:linear-gradient(90deg,var(--primary),var(--primary-dark));
color:#fff;
font-size:15px;
font-weight:800;
cursor:pointer;
transition:.2s ease;
}

button:hover{
transform:translateY(-1px);
box-shadow:0 10px 22px rgba(37,99,235,.22);
}

/* RESULT */
.result{
margin-top:20px;
padding:18px;
border-radius:16px;
background:#f0fdf4;
border:1px solid #bbf7d0;
font-size:20px;
font-weight:800;
color:#15803d;
text-align:center;
display:none;
}

.result:not(:empty){
display:block;
}

/* BACK */
.back{
display:inline-flex;
align-items:center;
gap:8px;
margin-bottom:14px;
padding:10px 14px;
border-radius:12px;
background:#eef2ff;
color:#1e3a8a;
font-weight:700;
text-decoration:none;
transition:.2s ease;
}

.back:hover{
background:#dbeafe;
}

/* TABLES */
table{
width:100%;
border-collapse:collapse;
margin-top:14px;
overflow:hidden;
border-radius:14px;
}

th,td{
padding:12px 10px;
border-bottom:1px solid #e5e7eb;
text-align:left;
font-size:14px;
}

th{
background:#f8fafc;
font-weight:800;
color:#0f172a;
}

tr:last-child td{
border-bottom:none;
}

/* FOOTER */
footer{
text-align:center;
padding:28px 16px 18px;
color:#64748b;
margin-top:18px;
font-size:14px;
}

/* COOKIE */
#cookieConsent{
position:fixed;
left:12px;
right:12px;
bottom:12px;
background:#0f172a !important;
color:#fff !important;
padding:14px 16px !important;
border-radius:16px;
box-shadow:0 18px 40px rgba(2,6,23,.32);
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
z-index:9999;
}

#cookieConsent span{
font-size:14px;
line-height:1.45;
}

#cookieConsent a{
color:#93c5fd !important;
}

#cookieConsent button{
margin-top:0 !important;
white-space:nowrap;
padding:12px 14px !important;
border-radius:12px !important;
}

/* MOBILE FIRST IMPROVEMENTS */
@media (max-width: 960px){
.hero-grid{
grid-template-columns:1fr;
}

.header-note{
display:none;
}

.trust-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width: 640px){
.container{
padding:14px 12px 28px;
}

.header-inner{
padding:12px;
}

.logo{
font-size:20px;
}

.hero{
padding:20px 16px;
border-radius:20px;
}

.hero h1{
font-size:30px;
}

.hero p{
font-size:15px;
line-height:1.55;
}

.hero-box{
padding:14px;
border-radius:16px;
}

.hero-box-title{
font-size:13px;
margin-bottom:10px;
}

.quick-links{
grid-template-columns:1fr 1fr;
gap:8px;
}

.quick-link{
min-height:50px;
padding:10px 12px;
font-size:13px;
border-radius:12px;
}

.card{
padding:16px;
border-radius:16px;
margin-bottom:14px;
}

.card h2{
font-size:20px;
}

.grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:10px;
}

.btn{
min-height:72px;
padding:14px 12px;
font-size:14px;
border-radius:14px;
}

.section-head{
flex-direction:column;
align-items:flex-start;
margin-bottom:10px;
}

.search-wrap{
flex-direction:column;
align-items:stretch;
}

.trust-grid{
grid-template-columns:1fr;
}

#cookieConsent{
left:10px;
right:10px;
bottom:10px;
flex-direction:column;
align-items:flex-start;
}

#cookieConsent button{
width:100%;
}
}

@media (max-width: 420px){
.hero h1{
font-size:26px;
}

.grid{
grid-template-columns:1fr 1fr;
}

.btn{
font-size:13px;
min-height:68px;
}

.quick-links{
grid-template-columns:1fr;
}
}