:root {
    --primary-color: #21324E;
    --secondary-color: #6BC3C5;
    --accent-color: #51F0D8;
    --gradient: linear-gradient(-45deg, #6C5BD9, #4894E7, #51F0D8);
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #21324E;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ PC HIGH-ZOOM OPTIMIZATION ============ */
body.high-zoom-pc .hero-blob,
body.high-zoom-pc .hero-ring,
body.high-zoom-pc .section-bg-dots,
body.high-zoom-pc .section-bg-grid,
body.high-zoom-pc .section-bg-wave,
body.high-zoom-pc .hero-ring-1,
body.high-zoom-pc .hero-ring-2,
body.high-zoom-pc .stats-bar::before {
    display: none !important;
}

/* ============ KEYFRAMES ============ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes floatX {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(12px) rotate(8deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(108, 91, 217, 0);
    }

    50% {
        box-shadow: 0 0 60px 20px rgba(108, 91, 217, 0.12);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 60% 30% 60% / 40% 70% 60% 30%;
    }

    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 50% 60%;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.from-left {
    transform: translateX(-40px);
}

.reveal.from-right {
    transform: translateX(40px);
}

.reveal.from-below {
    transform: translateY(60px) scale(0.97);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered children — .stagger > * will cascade */
.stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
    transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(3) {
    transition-delay: 0.25s;
}

.stagger.visible>*:nth-child(4) {
    transition-delay: 0.35s;
}

.stagger.visible>*:nth-child(5) {
    transition-delay: 0.45s;
}

.stagger.visible>*:nth-child(6) {
    transition-delay: 0.55s;
}

.stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Hover lift on cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(108, 91, 217, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* ============ HEADER ============ */
.header {
    height: 72px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    /* Prevent flex blowout — children can shrink to 0 if needed */
    min-width: 0;
}

/* ---- Logo ---- */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 10px -2px rgba(108, 91, 217, 0.3);
    flex-shrink: 0;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* ---- Nav ---- */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Allow nav to shrink instead of overflowing */
    min-width: 0;
    overflow: hidden;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.nav-menu a:hover {
    color: #6C5BD9;
    background: rgba(108, 91, 217, 0.06);
}

/* ---- Header Actions ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    /* Never shrink — always reserve space for hamburger */
    min-width: fit-content;
}

/* ---- Join Button ---- */
.btn-join {
    white-space: nowrap;
    padding: 9px 20px;
    font-size: 13.5px;
}

/* ---- Hamburger ---- */
.hamburger {
    /* Hidden on desktop — shown via media query */
    display: none;
    order: -1;
    /* Forces it to the LEFT in flex container */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
    border-color: #6C5BD9;
    background: rgba(108, 91, 217, 0.05);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #6C5BD9;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #6C5BD9;
}

/* Lang arrow animation */
.lang-arrow {
    transition: transform 0.25s ease;
    font-size: 10px;
}

.lang-dropdown.active~.lang-btn .lang-arrow,
.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 15px 0 50px rgba(15, 23, 42, 0.15);
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
}

/* Mobile nav head */
.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
    border-bottom: 2px solid rgba(108, 91, 217, 0.05);
    background: linear-gradient(135deg, rgba(108, 91, 217, 0.05), rgba(72, 148, 231, 0.05));
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-close {
    background: rgba(108, 91, 217, 0.08);
    border: 1.5px solid rgba(108, 91, 217, 0.2);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 15px;
    color: #6C5BD9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-nav-close:hover {
    background: #6C5BD9;
    color: #ffffff;
    border-color: #6C5BD9;
}

/* Nav links */
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    flex: 1;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    background: rgba(108, 91, 217, 0.07);
    color: #6C5BD9;
}

.mobile-nav-links a:hover .mnav-icon {
    background: rgba(108, 91, 217, 0.15);
    color: #6C5BD9;
}

/* Nav link icon pill */
.mnav-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(108, 91, 217, 0.07);
    color: #6C5BD9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: var(--transition);
}

/* Mobile nav footer CTAs */
.mobile-nav-footer {
    padding: 16px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.mobile-cta {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-cta-outline {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    background: transparent;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.mobile-cta-outline:hover {
    border-color: #6C5BD9;
    color: #6C5BD9;
    background: rgba(108, 91, 217, 0.04);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-outline {
    border: 1.5px solid #6C5BD9;
    color: #6C5BD9;
    background: transparent;
    padding-left: 32px;
    padding-right: 32px;
}

.btn-outline:hover {
    background: rgba(108, 91, 217, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 91, 217, 0.12);
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(108, 91, 217, 0.2);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(108, 91, 217, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0F172A;
}

/* Hero */
.hero-section {
    padding-top: 160px;
    padding-bottom: 40px;
    background:
        radial-gradient(circle at 10% 10%, rgba(108, 91, 217, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 40%, rgba(81, 240, 216, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(72, 148, 231, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f9faff 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 20px;
    }
}

/* Floating gradient blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 91, 217, 0.25), transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatY 8s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(72, 148, 231, 0.2), transparent 70%);
    top: 50px;
    right: -80px;
    animation: floatY 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(81, 240, 216, 0.15), transparent 70%);
    bottom: 100px;
    left: 40%;
    animation: floatY 12s ease-in-out infinite 2s;
}

/* Floating ring decoration */
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(108, 91, 217, 0.15);
    pointer-events: none;
    animation: spin linear infinite;
}

.hero-ring-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation-duration: 40s;
}

.hero-ring-2 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -50px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.hero-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108, 91, 217, 0.1), rgba(72, 148, 231, 0.1));
    color: #6C5BD9;
    border: 1px solid rgba(108, 91, 217, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-container {
    padding-bottom: 80px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.05;
    color: #1a2332;
    animation: fadeInDown 0.7s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 0.7s ease-out 0.15s both;
}

.country-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 56px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.pill {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill img {
    height: 14px;
    border-radius: 2px;
}

.pill:hover {
    border-color: #6C5BD9;
    color: #6C5BD9;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.7s ease-out 0.45s both;
}

.btn-gradient {
    position: relative;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    background: linear-gradient(-45deg, #6C5BD9, #4894E7, #51F0D8, #6C5BD9);
    background-size: 300% 300%;
}

/* Hero CTA container padding */
.hero-cta-container {
    padding-bottom: 80px;
}

/* ============ COUNTRY TICKER ============ */
.country-ticker {
    width: 100%;
    overflow: hidden;
    padding: 28px 0;
    margin-bottom: 0;
    position: relative;
    /* Fade masks on both sides */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.country-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: ticker 28s linear infinite;
}

.pill {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pill img {
    height: 15px;
    border-radius: 2px;
}

.pill:hover {
    border-color: #6C5BD9;
    color: #6C5BD9;
    background: rgba(108, 91, 217, 0.04);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(108, 91, 217, 0.12);
}

/* ============ SECTION BACKGROUNDS ============ */

/* Shared positioning */
.solutions-section,
.payment-methods-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

/* --- SOLUTIONS: polka dot pattern --- */
.section-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(108, 91, 217, 0.07) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.solutions-section .container {
    position: relative;
    z-index: 1;
}

/* --- PAYMENT METHODS: subtle grid lines --- */
.section-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 91, 217, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 91, 217, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Soft gradient overlay on top of grid */
.section-bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
}

.payment-methods-section .container {
    position: relative;
    z-index: 1;
}

/* --- CONTACT: mesh gradient background --- */
.contact-section {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(108, 91, 217, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(72, 148, 231, 0.08) 0%, transparent 50%),
        #F8FAFF;
}

.section-bg-wave {
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0 60 Q300 0 600 60 T1200 60 V120 H0Z' fill='rgba(108,91,217,0.03)'/%3E%3C/svg%3E");
    background-size: 1200px 200px;
    background-repeat: repeat-x;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    animation: ticker 20s linear infinite;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

/* --- SOLUTIONS section: deep background tweak --- */
.solutions-section {
    background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 100%);
}

/* --- FOOTER: gradient top highlight --- */
.footer {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.footer::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--gradient);
    background-size: 300% 300%;
    animation: gradientShift 5s ease infinite;
}

.stats-bar {
    background: linear-gradient(135deg, #1a2332 0%, #21324E 100%);
    padding: 40px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(108, 91, 217, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-value {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: gradientShift 4s ease infinite;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* Solutions Section */
.solutions-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-description {
    color: var(--text-muted);
    margin-bottom: 64px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid transparent;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: #6C5BD9;
    box-shadow: 0 20px 25px -5px rgba(108, 91, 217, 0.1);
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(108, 91, 217, 0.1), rgba(72, 148, 231, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6C5BD9;
    margin-bottom: 24px;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.solution-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.btn-link {
    color: #6C5BD9;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 12px;
}

/* Payment Methods */
.payment-methods-section {
    padding: 100px 0;
    background: #fff;
}

.methods-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-light);
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.method-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.method-item i {
    font-size: 22px;
    color: #6C5BD9;
    transition: transform 0.3s ease;
}

.method-item:hover {
    background: linear-gradient(135deg, rgba(108, 91, 217, 0.08), rgba(72, 148, 231, 0.08));
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 8px 20px rgba(108, 91, 217, 0.12);
}

.method-item:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-options {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 48px 1fr 120px;
    align-items: center;
    gap: 20px;
}

.contact-card i {
    font-size: 24px;
    color: #6C5BD9;
}

.contact-card h4 {
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
    grid-column: 2;
}

.contact-form-side {
    background: #fff;
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.contact-form-side h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6C5BD9;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 64px;
}

.footer-brand p {
    margin-top: 24px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #6C5BD9;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
.animate-title {
    animation: fadeInDown 0.8s ease-out;
}

.animate-subtitle {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.animate-pills {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 12px;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lang-btn img {
    border-radius: 2px;
    height: 14px;
    width: auto;
}

.lang-btn:hover {
    border-color: #6C5BD9;
    box-shadow: 0 4px 12px rgba(108, 91, 217, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    width: 140px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.lang-option:hover {
    background-color: var(--bg-light);
}

/* ===================================================
   RESPONSIVE BREAKPOINTS — Progressive Zoom Safety
   - 1200px : slight font reduction
   - 1024px : compact mode (125% zoom on 1280px screen)
   -  920px : hamburger collapses (150% zoom)
   -  768px : full mobile
=================================================== */

@media (max-width: 1200px) {
    .nav-menu a {
        font-size: 13.5px;
        padding: 6px 12px;
    }

    .nav-menu ul {
        gap: 4px;
    }

    .header-container {
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .nav-menu a {
        font-size: 12.5px;
        padding: 5px 9px;
    }

    .nav-menu ul {
        gap: 2px;
    }

    .btn-join {
        padding: 8px 14px;
        font-size: 12.5px;
    }

    .header-container {
        gap: 8px;
    }
}

/* 920px — hamburger kicks in (covers 150% zoom on most laptops) */
@media (max-width: 920px) {
    .nav-menu {
        display: none;
    }

    .btn-join {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .header {
        height: 64px;
    }
}

/* 768px — full mobile layout */
@media (max-width: 768px) {
    .header-container .logo {
        display: none;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        padding: 0 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    .container {
        padding: 0 20px;
    }
}

/* Active nav link indicator */
.nav-menu a.active-link {
    color: #6C5BD9;
    position: relative;
}

.nav-menu a.active-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    animation: fadeInDown 0.3s ease;
}

/* Logo icon pulse glow */
.logo-icon {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* ===================================================
   12. FOOTER
=================================================== */
.footer {
    background: #ffffff;
    padding: 80px 0 30px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: #6C5BD9;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 920px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-col {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Smooth page load fade */
body {
    animation: fadeInDown 0.35s ease-out;
}

/* PC High-Zoom (150%+) - Hide Logo */
.high-zoom-pc .header-container .logo {
    display: none;
}