*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#111928;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:#1a56db;text-decoration:none}
button{cursor:pointer;font:inherit;border:none;background:none}
:focus-visible{outline:2px solid #1a56db;outline-offset:2px;border-radius:2px}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.container{padding:0 28px}}

/* Header */
.hdr{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e5e7eb}
.hdr-inner{display:flex;align-items:center;height:64px;gap:16px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.logo-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#1a56db,#1644b8);color:#fff;font-size:.8rem;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:-.5px}
.logo-text{font-weight:800;font-size:1.1rem;color:#111928;letter-spacing:-.3px}
.hdr-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.hdr-cta{padding:8px 16px;border-radius:8px;background:#1a56db;color:#fff;font-size:.82rem;font-weight:600;text-decoration:none!important}
.hdr-cta:hover{background:#1644b8}

/* Hero */
.hero{background:linear-gradient(160deg,#0f172a 0%,#1e3a8a 60%,#1a56db 100%);padding:64px 0 56px;position:relative;overflow:hidden}
.hero::after{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");pointer-events:none}
.hero-inner{position:relative;z-index:1;display:flex;flex-direction:column;gap:12px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);color:#93c5fd;font-size:.78rem;font-weight:600;padding:4px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.15);width:fit-content}
.hero h1{font-size:clamp(2rem,5vw,3rem);font-weight:800;color:#fff;line-height:1.15;letter-spacing:-.5px;max-width:700px}
.hero h1 span{color:#60a5fa}
.hero-sub{font-size:1.05rem;color:#93c5fd;max-width:560px;line-height:1.7}
.hero-stats{display:flex;gap:24px;flex-wrap:wrap;margin-top:8px}
.hero-stat{display:flex;flex-direction:column;gap:2px}
.hero-stat strong{font-size:1.4rem;font-weight:800;color:#fff}
.hero-stat span{font-size:.78rem;color:#93c5fd;font-weight:500}

/* Section */
.section{padding:56px 0}
.section-alt{background:#f9fafb}
.section-title{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;color:#111928;margin-bottom:8px;letter-spacing:-.3px}
.section-sub{font-size:.95rem;color:#6b7280;margin-bottom:32px}

/* Country grid */
.countries-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:480px){.countries-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:768px){.countries-grid{grid-template-columns:repeat(5,1fr)}}
.country-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 12px;border-radius:16px;background:#fff;border:1.5px solid #e5e7eb;text-decoration:none!important;transition:all .2s;cursor:pointer;position:relative;overflow:hidden}
.country-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#e8f0fe,#fff);opacity:0;transition:opacity .2s}
.country-card:hover{border-color:#1a56db;transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,86,219,.15)}
.country-card:hover::before{opacity:1}
.country-card *{position:relative;z-index:1}
.c-flag{font-size:2.2rem;line-height:1}
.c-name{font-size:.88rem;font-weight:700;color:#111928;text-align:center}
.c-sub{font-size:.72rem;color:#6b7280;text-align:center}
.c-arrow{font-size:.8rem;color:#1a56db;font-weight:700;opacity:0;transform:translateY(4px);transition:all .2s}
.country-card:hover .c-arrow{opacity:1;transform:translateY(0)}

/* Calculator */
.calc-wrap{background:linear-gradient(135deg,#1a56db 0%,#1644b8 100%);border-radius:24px;padding:36px;color:#fff;max-width:900px;margin:0 auto;box-shadow:0 20px 60px rgba(26,86,219,.35)}
@media(min-width:768px){.calc-wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}}
.calc-left h2{font-size:clamp(1.3rem,2.5vw,1.7rem);font-weight:800;color:#fff;margin-bottom:8px}
.calc-left p{font-size:.9rem;color:#93c5fd;margin-bottom:24px}
.calc-select-group{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}
.calc-select-label{font-size:.8rem;font-weight:600;color:#93c5fd}
.calc-country-select{padding:12px 16px;border-radius:10px;border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;font-size:.9rem;font-weight:600;width:100%;appearance:none;cursor:pointer}
.calc-country-select option{background:#1e3a8a;color:#fff}
.calc-right{display:flex;flex-direction:column;gap:18px;margin-top:24px}
@media(min-width:768px){.calc-right{margin-top:0}}
.calc-field{display:flex;flex-direction:column;gap:8px}
.calc-row-label{display:flex;justify-content:space-between;align-items:center}
.calc-row-label span{font-size:.82rem;color:#93c5fd;font-weight:500}
.calc-row-label strong{font-size:.95rem;color:#fff;font-weight:700}
.calc-range{width:100%;height:6px;border-radius:3px;accent-color:#fff;cursor:pointer;background:rgba(255,255,255,.3)}
.calc-result-box{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:16px}
.calc-result-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}
.calc-result-row:first-child{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:6px}
.calc-result-row span{font-size:.82rem;color:#93c5fd}
.calc-result-row strong{font-size:1.3rem;font-weight:800;color:#fff}
.calc-result-row.over strong{font-size:.9rem;color:#fca5a5}
.calc-btn{display:block;width:100%;padding:14px;background:#fff;color:#1a56db;border-radius:12px;font-size:.95rem;font-weight:700;text-align:center;text-decoration:none!important;transition:all .15s;border:none;cursor:pointer}
.calc-btn:hover{background:#f0f9ff;transform:translateY(-1px)}
.calc-note{font-size:.7rem;color:rgba(255,255,255,.5);text-align:center;margin-top:4px}

/* How it works */
.steps-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.steps-grid{grid-template-columns:repeat(3,1fr)}}
.step-card{background:#fff;border:1.5px solid #e5e7eb;border-radius:16px;padding:24px;position:relative}
.step-num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#1a56db,#1644b8);color:#fff;font-weight:800;font-size:1rem;margin-bottom:14px}
.step-card h3{font-size:1rem;font-weight:700;margin-bottom:8px;color:#111928}
.step-card p{font-size:.875rem;color:#6b7280;line-height:1.6}

/* Disclaimer */
.disclaimer-bar{background:#fffbeb;border-top:2px solid #fde68a;padding:14px 0}
.disclaimer-bar p{font-size:.8rem;color:#92400e;margin:0;line-height:1.6}

/* Footer */
.footer{background:#0f172a;padding:48px 0 24px}
.footer-inner{display:grid;grid-template-columns:1fr;gap:32px;margin-bottom:40px}
@media(min-width:640px){.footer-inner{grid-template-columns:1.5fr 1fr 1fr}}
.footer-brand .logo-mark{margin-bottom:12px}
.footer-disc{font-size:.8rem;color:#64748b;line-height:1.7;margin-top:8px;max-width:280px}
.footer-col h4{font-size:.85rem;font-weight:700;color:#e2e8f0;margin-bottom:14px}
.footer-col a{display:block;font-size:.82rem;color:#64748b;margin-bottom:8px;transition:color .15s}
.footer-col a:hover{color:#93c5fd;text-decoration:none}
.footer-bottom{border-top:1px solid #1e293b;padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-bottom p{font-size:.78rem;color:#475569}

/* Redirect page */
.redirect-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#0f172a,#1e3a8a)}
.redirect-card{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:40px;text-align:center;max-width:420px;width:90%}
.redirect-flag{font-size:4rem;margin-bottom:16px}
.redirect-card h1{font-size:1.6rem;font-weight:800;color:#fff;margin-bottom:8px}
.redirect-card p{font-size:.9rem;color:#93c5fd;margin-bottom:24px}
.redirect-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.1);border-top-color:#60a5fa;border-radius:50%;animation:spin 0.8s linear infinite;margin:0 auto 20px}
@keyframes spin{to{transform:rotate(360deg)}}
.redirect-manual{font-size:.82rem;color:#64748b;margin-top:16px}
.redirect-manual a{color:#60a5fa}
.progress-bar{width:100%;height:4px;background:rgba(255,255,255,.1);border-radius:2px;overflow:hidden;margin-bottom:20px}
.progress-fill{height:100%;background:linear-gradient(90deg,#60a5fa,#93c5fd);border-radius:2px;animation:progress 1.5s ease-out forwards}
@keyframes progress{from{width:0%}to{width:100%}}

/* Mobile */
@media(max-width:480px){
  .hero{padding:40px 0 36px}
  .hero h1{font-size:1.8rem}
  .calc-wrap{padding:24px}
  .countries-grid{grid-template-columns:repeat(2,1fr)}
  .section{padding:40px 0}
}
