:root{
    --primary: #0e94ff;
    --primary-dark: #0866c7;
    --primary-soft: rgba(14,148,255,0.10);
    --heading: #0f2740;
    --text: #12344d;
    --muted: #6d7f92;
    --line: #e7edf5;
    --line-strong: #dbe5f0;
    --bg: #f4f7fb;
    --card: rgba(255,255,255,0.88);
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.12);
    --radius-sm: 18px;
    --radius-md: 26px;
    --radius-lg: 34px;
}

body{
    background: var(--bg);
    color: var(--text);
}

/* HERO */
.modern-hero-section{
    position: relative;
    padding: 88px 0 52px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(14,148,255,0.15), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(15,39,64,0.08), transparent 25%),
        linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
}

.modern-hero-section::before{
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,148,255,0.10), transparent 70%);
    pointer-events: none;
}

.modern-hero-section::after{
    content: "";
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,39,64,0.08), transparent 70%);
    pointer-events: none;
}

.hero-content-modern{
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge-modern,
.finder-small-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(14,148,255,0.08);
    border: 1px solid rgba(14,148,255,0.12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(14,148,255,0.06);
}

.hero-title-modern{
    font-size: 64px;
    line-height: 1.02;
    letter-spacing: -1.5px;
    font-weight: 900;
    color: var(--heading);
    margin-bottom: 18px;
}

.hero-text-modern{
    max-width: 650px;
    font-size: 18px;
    line-height: 1.95;
    color: var(--muted);
    margin-bottom: 26px;
}

.hero-trust-row{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-trust-item{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    transition: all .25s ease;
}

.hero-trust-item:hover{
    transform: translateY(-2px);
    border-color: #d5e7f8;
}

.hero-btn-row{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-main-btn,
.hero-secondary-btn,
.countries-main-btn{
    min-height: 58px;
    padding: 14px 28px;
    border-radius: 999px !important;
    font-size: 16px;
    font-weight: 800 !important;
    letter-spacing: .2px;
    transition: all .25s ease !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-main-btn,
.countries-main-btn{
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(14,148,255,0.26);
}

.hero-main-btn:hover,
.countries-main-btn:hover{
    transform: translateY(-3px);
    color: #fff !important;
    box-shadow: 0 22px 42px rgba(14,148,255,0.32);
}

.hero-secondary-btn{
    background: rgba(255,255,255,0.92) !important;
    color: var(--heading) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm);
}

.hero-secondary-btn:hover{
    transform: translateY(-3px);
    color: var(--primary) !important;
    border-color: #d6e7f7 !important;
}

.hero-side-card{
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,251,255,0.92) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(231,237,245,0.95);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-side-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,148,255,0.05), transparent 30%, transparent 70%, rgba(14,148,255,0.04));
    pointer-events: none;
}

.hero-side-top{
    position: relative;
    z-index: 2;
}

.hero-side-icon{
    width: 86px;
    height: 86px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
    color: var(--primary);
    font-size: 34px;
    box-shadow: 0 16px 30px rgba(14,148,255,0.12);
    margin-bottom: 18px;
}

.hero-side-top h3{
    font-size: 34px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.8px;
    color: var(--heading);
    margin-bottom: 12px;
}

.hero-side-top p{
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 22px;
}

.hero-mini-stats{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-mini-stat{
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.hero-mini-stat strong{
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: var(--heading);
    margin-bottom: 8px;
}

.hero-mini-stat span{
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}

/* COUNTRY FINDER */
.home-country-finder-section{
    padding: 8px 0 28px;
    background: var(--bg);
}

.home-country-finder-card{
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf6;
    border-radius: var(--radius-lg);
    padding: 42px 32px 34px;
    box-shadow: 0 22px 65px rgba(14,148,255,0.08);
    overflow: visible;
}

.finder-title-home{
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.8px;
    color: var(--heading);
    margin-bottom: 14px;
}

.finder-subtitle-home{
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
}

.home-search-box{
    position: relative;
    max-width: 780px;
    margin: 0 auto 28px;
}

.home-search-input{
    width: 100%;
    height: 70px;
    padding: 0 22px 0 58px;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.98);
    font-size: 17px;
    color: var(--text);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
    transition: all .22s ease;
    outline: none;
}

.home-search-input:focus{
    border-color: #bfdfff;
    box-shadow: 0 0 0 4px rgba(14,148,255,0.10), 0 16px 36px rgba(15, 23, 42, 0.06);
}

.home-search-icon{
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #93a4b7;
    z-index: 5;
    pointer-events: none;
}

#homeCountryAutocomplete,
.home-autocomplete-box{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 28px 56px rgba(15,23,42,0.14);
    overflow: hidden;
    z-index: 50;
    display: none;
}

.home-autocomplete-item{
    display: block;
    padding: 14px 18px;
    text-decoration: none !important;
    color: var(--text) !important;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #f2f5f9;
    transition: all .18s ease;
}

.home-autocomplete-item:last-child{
    border-bottom: none;
}

.home-autocomplete-item:hover{
    background: #f7fbff;
    color: var(--primary) !important;
    padding-left: 22px;
}

.popular-country-home-wrap{
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.popular-country-home-title{
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 14px;
}

.popular-country-home-list{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.popular-country-home-chip{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    text-decoration: none !important;
    color: #36506a !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: all .22s ease;
    white-space: nowrap;
}

.popular-country-home-chip:hover{
    color: #0e94ff !important;
    border-color: #b9daf7;
    background: #f8fcff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

/* STEPS */
.modern-steps-section{
    padding: 34px 0 76px;
    background: var(--bg);
}

.modern-step-card{
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,0.96) 100%);
    border: 1px solid #e8eef5;
    border-radius: 28px;
    padding: 30px 26px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    transition: all .28s ease;
    overflow: hidden;
}

.modern-step-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(14,148,255,0.04), transparent 35%);
    opacity: 0;
    transition: opacity .25s ease;
}

.modern-step-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
    border-color: #d9e7f5;
}

.modern-step-card:hover::before{
    opacity: 1;
}

.modern-step-number{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(14,148,255,0.09);
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.modern-step-icon{
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
    color: var(--primary);
    font-size: 28px;
    box-shadow: 0 14px 28px rgba(14,148,255,0.10);
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.modern-step-card h3{
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.modern-step-card p{
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.modern-step-card a{
    position: relative;
    z-index: 2;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
}

/* COMMON TITLES */
.section-title-modern{
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.8px;
    color: var(--heading);
    margin-bottom: 14px;
}

.section-subtitle-modern{
    max-width: 780px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
}

/* COUNTRY SECTION */
.country-section-modern{
    padding: 10px 0 76px;
    background: var(--bg);
}

.country-card-home-modern{
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e8eef5;
    border-radius: 28px;
    padding: 26px 22px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
    transition: all .28s ease;
    overflow: hidden;
    position: relative;
}

.country-card-home-modern::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,148,255,0.05), transparent 35%);
    opacity: 0;
    transition: opacity .25s ease;
}

.country-card-home-modern:hover{
    transform: translateY(-9px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.10);
    border-color: #d9e7f5;
}

.country-card-home-modern:hover::before{
    opacity: 1;
}

.country-card-home-link{
    position: relative;
    z-index: 2;
    text-decoration: none !important;
    display: block;
}

.country-flag-box-home{
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.country-flag-home{
    width: 62px;
    height: 62px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    transition: transform .28s ease;
    display: block;
}

.country-card-home-modern:hover .country-flag-home{
    transform: scale(1.07);
}

.country-card-home-title{
    font-size: 23px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--heading);
    text-align: center;
    margin-bottom: 12px;
}

.country-card-home-cta{
    display: block;
    text-align: center;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
}

.countries-links-row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.countries-links-row a{
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.countries-links-row a:hover{
    color: var(--primary);
}

/* SEO */
.homepage-seo-content-modern{
    padding: 28px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(14,148,255,0.06), transparent 24%),
        radial-gradient(circle at bottom right, rgba(16,50,77,0.05), transparent 22%),
        #f5f7fb;
}

.seo-content-card-premium{
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.98) 100%);
    border: 1px solid rgba(226,234,243,0.95);
    border-radius: 40px;
    padding: 64px 52px 52px;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

.seo-orb{
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.seo-orb-1{
    width: 220px;
    height: 220px;
    top: -90px;
    left: -70px;
    background: radial-gradient(circle, rgba(14,148,255,0.14), transparent 70%);
}

.seo-orb-2{
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(16,50,77,0.10), transparent 70%);
}

.seo-content-top{
    position: relative;
    z-index: 2;
    margin-bottom: 38px;
}

.seo-title-premium{
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: 62px;
    line-height: 1.05;
    letter-spacing: -1.6px;
    font-weight: 900;
    color: #102f4a;
    margin-bottom: 18px;
}

.seo-title-divider{
    width: 110px;
    height: 5px;
    border-radius: 999px;
    margin: 0 auto;
    background: linear-gradient(90deg, #0e94ff 0%, #7ecbff 100%);
    box-shadow: 0 8px 22px rgba(14,148,255,0.18);
}

.seo-content-grid-premium{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.seo-column{
    position: relative;
    padding: 6px 0 0 28px;
}

.seo-column-line{
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0e94ff 0%, rgba(14,148,255,0.08) 100%);
    box-shadow: 0 8px 24px rgba(14,148,255,0.12);
}

.seo-content-grid-premium p{
    font-size: 19px;
    line-height: 2;
    color: #607286;
    margin-bottom: 24px;
}

.seo-content-grid-premium strong{
    color: #314e68;
    font-weight: 800;
}

.seo-content-grid-premium p:last-child{
    margin-bottom: 0;
}

/* BLOGS */
.latest-blogs-section-modern{
    padding: 0 0 84px;
    background: var(--bg);
}



.blog-card-modern{
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    transition: all .28s ease;
}

.blog-card-modern:hover{
    transform: translateY(-8px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.09);
    border-color: #d9e7f5;
}

.blog-card-modern-img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    aspect-ratio: 5 / 2;
    display: block;
    transition: transform .35s ease;
}

.blog-card-modern:hover .blog-card-modern-img{
    transform: scale(1.04);
}

.blog-card-modern-body{
    padding: 24px;
}

.blog-card-modern-meta{
    font-size: 14px;
    color: #7a8a9c;
    margin-bottom: 10px;
}

.blog-card-modern-title{
    font-size: 24px;
    line-height: 1.38;
    font-weight: 800;
    margin-bottom: 12px;
}

.blog-card-modern-title a{
    color: var(--heading);
    text-decoration: none;
    transition: color .2s ease;
}

.blog-card-modern-title a:hover{
    color: var(--primary);
}

.blog-card-modern-text{
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 1199px){
    .seo-title-premium{
        font-size: 52px;
    }
}

@media (max-width: 991px){
    .modern-hero-section{
        padding: 64px 0 36px;
    }

    .hero-title-modern{
        font-size: 46px;
    }

    .finder-title-home,
    .section-title-modern{
        font-size: 36px;
    }

    .seo-content-card-premium{
        padding: 48px 30px 36px;
        border-radius: 30px;
    }

    .seo-title-premium{
        font-size: 42px;
        line-height: 1.1;
    }

    .seo-content-grid-premium{
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 768px){
    .modern-hero-section{
        padding: 52px 0 28px;
    }

    .hero-title-modern{
        font-size: 35px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .hero-text-modern{
        font-size: 16px;
        line-height: 1.85;
    }

    .hero-btn-row{
        flex-direction: column;
        align-items: stretch;
    }

    .hero-main-btn,
    .hero-secondary-btn,
    .countries-main-btn{
        width: 100%;
        text-align: center;
    }

    .hero-side-card{
        padding: 24px 20px;
        border-radius: 26px;
    }

    .hero-side-top h3{
        font-size: 28px;
    }

    .hero-mini-stats{
        grid-template-columns: 1fr;
    }

    .home-country-finder-card{
        padding: 26px 16px 24px;
        border-radius: 24px;
    }

    .finder-title-home,
    .section-title-modern{
        font-size: 29px;
    }

    .finder-subtitle-home,
    .section-subtitle-modern{
        font-size: 15px;
        line-height: 1.8;
    }

    .home-search-input{
        height: 58px;
        font-size: 16px;
        border-radius: 18px;
    }

    .popular-country-home-wrap{
        text-align: center;
    }

    .popular-country-home-list{
        justify-content: center;
    }

    .country-card-home-title,
    .blog-card-modern-title,
    .modern-step-card h3{
        font-size: 20px;
    }

    .homepage-seo-content-modern{
        padding: 18px 0 65px;
    }

    .seo-content-card-premium{
        padding: 34px 18px 26px;
        border-radius: 24px;
    }

    .seo-title-premium{
        font-size: 31px;
        line-height: 1.15;
        letter-spacing: -0.6px;
    }

    .seo-content-grid-premium p{
        font-size: 16px;
        line-height: 1.9;
    }

    .seo-column{
        padding-left: 18px;
    }

    .seo-title-divider{
        width: 84px;
        height: 4px;
    }

    .countries-links-row{
        flex-direction: column;
        gap: 10px;
    }
}