/* ============================================================
   ESIM COMPARE — HOME PAGE
   Aligned with the country page design system
   ============================================================ */

:root {
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

    /* Core */
    --ink:       #0d1b2e;
    --ink-2:     #1e3148;
    --muted:     #5a6d82;
    --soft:      #8394a7;
    --line:      rgba(14,38,64,.09);

    /* Navy */
    --navy:      #0a1628;
    --navy-2:    #0d1f3c;

    /* Teal */
    --teal:      #0ecf95;
    --teal-2:    #0ab87f;
    --teal-dark: #077d5e;
    --teal-soft: #e3f9f2;

    /* Amber */
    --amber:     #f59e0b;
    --amber-soft:#fff8eb;
    --amber-dark:#92600a;

    /* Usage tier accents */
    --light-accent:    #34d399;
    --standard-accent: #60a5fa;
    --heavy-accent:    #fb923c;
    --unlimited-accent:#a78bfa;

    /* Surfaces */
    --surface:   #ffffff;
    --surface-2: #f4f7fb;
    --surface-3: #eef3f8;

    /* Shadow */
    --shadow-sm: 0 1px 3px rgba(10,22,40,.07), 0 4px 12px rgba(10,22,40,.05);
    --shadow-md: 0 4px 16px rgba(10,22,40,.10), 0 12px 36px rgba(10,22,40,.07);
    --shadow-lg: 0 8px 30px rgba(10,22,40,.14), 0 24px 64px rgba(10,22,40,.09);

    --container: 1200px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: #f0f4f8;
    overflow-x: hidden;
    line-height: 1.5;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(14,207,149,.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(96,165,250,.06) 0%, transparent 55%),
        linear-gradient(180deg, #eef3f9 0%, #f0f4f8 50%, #edf2f7 100%);
    z-index: -1;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; cursor: pointer; }
img { max-width: 100%; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/*header*/

.topbar {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(2px);
}
.topbar-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero-wrap {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(145deg, #060e1c 0%, #0a1628 40%, #0d1f3c 100%);
}
.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 5% 10%, rgba(14,207,149,.16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 5%,  rgba(96,165,250,.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 100%, rgba(167,139,250,.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1.2px),
        radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1.2px);
    background-size: 38px 38px, 68px 68px;
    background-position: 0 0, 20px 16px;
    pointer-events: none;
}


/* ── Footer ── */
.site-footer {
    margin-top: 40px;
    padding: 52px 0 28px;
    background: var(--navy);
    color: #fff;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: start;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.footer-brand p {
    max-width: 340px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.65;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.footer-links h3 {
    margin: 0 0 14px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.footer-links a {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.60);
    font-size: 14px;
    font-weight: 400;
    transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.38);
    font-size: 13px;
}

span.footer-info{
    max-width:60%;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
    text-decoration: none;
}





.brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--teal) 0%, #0062ff 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 8px 28px rgba(14,207,149,.22);
    transform: rotate(-6deg);
    flex-shrink: 0;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    padding: 7px 12px;
    border-radius: 999px;
    transition: color .18s, background .18s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    box-shadow: 0 8px 28px rgba(14,207,149,.22) !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(14,207,149,.35) !important; }



@media (max-width: 768px) {
    .container { width: calc(100% - 24px); }
    .topbar-inner { height: 62px; }
    .brand { font-size: 16px; }
    .brand-mark { width: 32px; height: 32px; }
    .nav a:not(.nav-cta) { display: none; }
    .nav-cta { padding: 8px 14px !important; font-size: 13px !important; }

        /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/*cookie banner*/

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 9999;

    max-width: 720px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(15, 23, 42, .08);

    border-radius: 22px;

    padding: 18px 20px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.08),
        0 2px 8px rgba(15,23,42,.04);

    opacity: 0;
    transform: translateY(16px);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__content strong {
    display: block;

    font-size: 14px;
    font-weight: 800;

    color: #102033;

    margin-bottom: 4px;
}

.cookie-banner__content p {
    margin: 0;

    font-size: 13px;
    line-height: 1.55;

    color: #5b6677;
}

.cookie-banner__actions {
    flex-shrink: 0;
}

.cookie-banner__button {
    border: 0;

    background: #0f766e;
    color: #fff;

    border-radius: 999px;

    padding: 11px 18px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .15s ease;
}

.cookie-banner__button:hover {
    background: #0b625c;
}

.cookie-banner__button:active {
    transform: scale(.98);
}

@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__button {
        width: 100%;
    }
}