/* eSIMstep v2 — design tokens + layout (see CURSOR-AI-ESIMSTEP-THEME-PROMPT.md) */
:root {
    --green-500: #2ECC71;
    --green-600: #27AE60;
    --green-700: #1E8C4C;
    --green-50: #ECFDF5;
    --green-100: #D1FAE5;
    --gold-400: #FBBF24;
    --gold-500: #F59E0B;
    --navy-900: #0F172A;
    --navy-800: #1E293B;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 100px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.08);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.esimstep-v2 {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.esim-v2-main { padding-top: 60px; min-height: 40vh; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--gray-900); }
a { color: inherit; }

/* ============ NAVBAR ============ */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.site-nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px; gap: 12px;
}
.site-nav__brand .nav-logo { height: 34px; width: auto; }
.nav-menu {
    display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none;
    flex: 1; justify-content: center;
}
.nav-menu a {
    font-family: var(--font-display);
    font-weight: 600; font-size: 0.88rem;
    color: var(--gray-700); padding: 8px 14px;
    border-radius: 8px; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.nav-menu a:hover { color: var(--green-600); background: var(--green-50); }
.nav-menu .wc-link {
    background: linear-gradient(135deg, var(--green-50), rgba(251,191,36,0.1));
    border: 1px solid rgba(46,204,113,0.15);
    color: var(--green-700);
}
.wc-new {
    font-size: 0.58rem; background: var(--gold-400); color: var(--gray-900);
    padding: 1px 5px; border-radius: 4px; font-weight: 800; vertical-align: super; margin-left: 3px;
}
.nav-actions { gap: 8px; }
.btn-sign-in {
    font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
    color: var(--gray-700); padding: 7px 16px; border-radius: var(--radius-pill);
    border: 1.5px solid var(--gray-200); background: none; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center;
}
.btn-sign-in:hover { border-color: var(--green-500); color: var(--green-600); }
.btn-get-app {
    font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
    color: var(--white); background: var(--green-500); border: none;
    padding: 8px 20px; border-radius: var(--radius-pill); cursor: pointer;
    text-decoration: none; display: inline-block; text-align: center;
}
.btn-get-app:hover { background: var(--green-600); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,204,113,0.3); }
.nav-toggle { background: none; border: none; font-size: 1.5rem; color: var(--gray-700); padding: 8px; }
.mobile-nav-inner { border-top: 1px solid var(--gray-100); padding-top: 8px; }
.mobile-nav-link {
    display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
    color: var(--gray-700); text-decoration: none;
}
.mobile-nav-link:hover { background: var(--green-50); color: var(--green-700); }

/* ============ HERO ============ */
.hero { padding: 48px 0 50px; background: var(--white); position: relative; overflow: hidden; }
.hero::after {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46,204,113,0.04) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-50); border: 1px solid var(--green-100);
    border-radius: var(--radius-pill); padding: 6px 16px;
    font-size: 0.82rem; font-weight: 700; color: var(--green-700); margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.08;
    letter-spacing: -1.5px; margin-bottom: 16px;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--green-500), #00B894);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--gray-500); line-height: 1.65; max-width: 480px; margin-bottom: 28px; }
.hero-search-wrap { max-width: 500px; position: relative; z-index: 20; }
.hero-search {
    display: flex; align-items: center;
    background: var(--white); border: 2px solid var(--gray-200);
    border-radius: var(--radius); padding: 5px 5px 5px 18px;
    transition: all 0.25s;
}
.hero-search:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(46,204,113,0.1); }
.hero-search i { color: var(--gray-400); font-size: 1.1rem; flex-shrink: 0; }
.hero-search input {
    flex: 1; border: none; outline: none; padding: 12px 14px;
    font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-900); background: none;
}
.hero-search-btn {
    background: var(--green-500); color: var(--white); border: none;
    border-radius: 10px; padding: 12px 26px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.hero-search-btn:hover { background: var(--green-600); color: var(--white); }
.search-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
    z-index: 50; display: none; overflow: hidden; max-height: 280px; overflow-y: auto;
}
.search-dropdown.active { display: block; }
.search-dropdown-item {
    padding: 12px 18px; color: var(--gray-700); font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}
.search-dropdown-item:hover { background: var(--green-50); }
.search-dropdown-empty { font-size: 0.9rem; }
.hero-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat-val { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--green-600); }
.hero-stat-lbl { font-size: 0.78rem; color: var(--gray-500); font-weight: 600; }
.hero-phone-img { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08)); }

/* ============ DESTINATIONS ============ */
.destinations { padding: 40px 0 50px; background: var(--white); }
.section-eyebrow {
    font-family: var(--font-display); font-weight: 800; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 2.5px; color: var(--green-500); margin-bottom: 6px;
}
.section-heading { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.section-heading::after {
    content: ''; display: block; width: 40px; height: 3px;
    background: var(--green-500); border-radius: 2px; margin-top: 10px;
}
.dest-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.dest-view-all {
    font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
    color: var(--green-600); display: flex; align-items: center; gap: 4px; text-decoration: none;
}
.dest-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.dest-item {
    text-align: center; padding: 14px 6px; border-radius: var(--radius);
    border: 1px solid transparent; transition: all 0.25s; color: inherit;
}
.dest-item:hover {
    border-color: var(--green-100); background: var(--green-50);
    transform: translateY(-3px); box-shadow: var(--shadow-card);
}
.dest-flag { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 2px solid var(--gray-100); }
.dest-name { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--gray-900); margin-bottom: 2px; }
.dest-price { font-size: 0.75rem; font-weight: 700; color: var(--green-600); }

/* Homepage — region cards (icons, not flags) */
.dest-regions-header { margin-bottom: 18px; }
.dest-regions-lead { font-size: 0.9rem; max-width: 520px; }
.dest-grid--regions { margin-top: 12px; }
.dest-item--region .dest-region-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--green-50), #e0f2fe);
    border: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--green-600);
}
.dest-item--region:hover .dest-region-icon {
    border-color: var(--green-100);
    background: linear-gradient(145deg, var(--green-100), #dbeafe);
    color: var(--green-700);
}

/* ============ WORLD CUP ============ */
.worldcup { padding: 70px 0; position: relative; overflow: hidden; }
.worldcup-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.worldcup-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,41,59,0.82) 50%, rgba(15,23,42,0.90) 100%);
}
.worldcup .container { position: relative; z-index: 2; }
.wc-badge-lg {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(251,191,36,0.2); border: 1px solid rgba(251,191,36,0.35);
    border-radius: var(--radius-pill); padding: 8px 18px;
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
    color: var(--gold-400); margin-bottom: 16px;
}
.wc-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 14px; }
.wc-title .gold {
    background: linear-gradient(135deg, #FBBF24, #F59E0B, #EAB308);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.wc-desc { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 22px; max-width: 480px; }
.wc-check { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.wc-check i { color: var(--green-500); }
.btn-wc {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-500); color: var(--white); border: none;
    border-radius: var(--radius-pill); padding: 13px 30px;
    font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
    margin-top: 16px;
}
.btn-wc:hover { background: var(--green-600); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,204,113,0.3); }
.wc-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 24px; text-align: center;
    transition: all 0.25s; height: 100%;
}
.wc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.wc-card-flag { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--green-100); }
.wc-card h5 { font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin-bottom: 3px; }
.wc-card-sub { font-size: 0.82rem; color: var(--gray-500); font-weight: 600; }
.wc-bundle {
    background: var(--green-50); border: 2px solid var(--green-500);
    border-radius: var(--radius-lg); padding: 22px; text-align: center; height: 100%;
}
.wc-bundle h5 { color: var(--green-700); }
.btn-preorder {
    background: var(--green-500); color: var(--white); border: none;
    border-radius: var(--radius-pill); padding: 9px 22px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
    margin-top: 8px; cursor: pointer;
}
.btn-preorder:hover { background: var(--green-600); color: var(--white); }

/* ============ SERVICES ============ */
.services { padding: 60px 0; background: var(--gray-50); }
.svc-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
    border: 1px solid var(--gray-100); height: 100%; transition: all 0.3s; position: relative; overflow: hidden;
}
.svc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--green-500); transform: scaleX(0); transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--green-100); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.svc-icon-esim { background: var(--green-50); color: var(--green-600); }
.svc-icon-vpn { background: #EFF6FF; color: #2563EB; }
.svc-icon-call { background: #FFFBEB; color: #D97706; }
.svc-icon-travel { background: #FEF2F2; color: #DC2626; }
.svc-badge {
    display: inline-block; font-family: var(--font-display); font-size: 0.68rem; font-weight: 800;
    padding: 3px 10px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.svc-badge-green { background: var(--green-50); color: var(--green-700); }
.svc-badge-blue { background: #EFF6FF; color: #1D4ED8; }
.svc-card h5 { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.55; margin: 0; }

/* ============ APP ============ */
.app-section { padding: 60px 0; background: var(--white); }
.app-phone-img { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 16px 32px rgba(0,0,0,0.08)); }
.app-feature {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--gray-50);
    border-radius: var(--radius); margin-bottom: 10px; transition: background 0.2s;
}
.app-feature:hover { background: var(--green-50); }
.app-feature-icon {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--green-50); color: var(--green-600); font-size: 1.1rem; flex-shrink: 0;
}
.app-feature h6 { font-weight: 700; font-size: 0.88rem; margin-bottom: 1px; }
.app-feature small { font-size: 0.78rem; color: var(--gray-500); }
.store-btn {
    display: inline-flex; align-items: center; gap: 10px; background: var(--gray-900); color: var(--white);
    border-radius: var(--radius); padding: 12px 24px; transition: all 0.2s;
}
.store-btn:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.store-btn i { font-size: 1.6rem; }
.store-btn small { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.7; display: block; }
.store-btn span { font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: block; }

/* ============ STEPS + TRUST ============ */
.steps-section { padding: 60px 0 40px; background: var(--gray-50); }
.step-circle {
    width: 52px; height: 52px; border-radius: 50%; background: var(--green-500); color: var(--white);
    font-family: var(--font-display); font-weight: 900; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(46,204,113,0.25);
}
.step-card { text-align: center; padding: 10px; }
.step-card h5 { font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }
.step-arrow { position: absolute; top: 38px; right: -18px; color: var(--green-100); font-size: 1.2rem; }
.trust-bar { padding: 40px 0; background: var(--white); border-top: 1px solid var(--gray-100); }
.trust-item { text-align: center; padding: 10px; }
.trust-item i { font-size: 1.8rem; color: var(--green-500); margin-bottom: 8px; display: block; }
.trust-item h6 { font-weight: 800; font-size: 0.85rem; margin-bottom: 2px; }
.trust-item p { font-size: 0.78rem; color: var(--gray-500); margin: 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.6); }
.footer-logo { height: 32px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.85rem; line-height: 1.65; max-width: 280px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
    font-size: 0.95rem; text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { background: var(--green-500); color: var(--white); }
.footer-title { font-family: var(--font-display); font-weight: 800; font-size: 0.88rem; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: all 0.2s; }
.footer-links a:hover { color: var(--green-500); padding-left: 3px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; }
.footer-contact i { color: var(--green-500); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-contact a:hover { color: var(--green-500); }
.footer-payments { border-top: 1px solid rgba(255,255,255,0.08); }
.payments-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.35); margin-bottom: 12px; }
.pay-icon {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 8px 18px;
    font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; color: rgba(255,255,255,0.5);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.45); font-size: 0.78rem; text-decoration: none; }
.footer-bottom a:hover { color: var(--green-500); }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* legacy compatibility */
.btn--base, .bg--base { background: var(--green-500) !important; border-color: var(--green-500) !important; }
.text--base { color: var(--green-600) !important; }
