/* ============================================================
   Multilingual landing pages — liquid glass design
   Used by /zh/ /ja/ /ko/ /th/ /vi/ /id/
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #02040F;
    --text: #EAF2FF;
    --muted: #94A3B8;
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #1D4ED8;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --radius: 22px;
    --spring: cubic-bezier(0.34, 1.3, 0.5, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', 'Noto Sans', 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Thai', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
        #02040F;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ----- Header ----- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    background: rgba(2, 4, 15, 0.72);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand img { height: 38px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* ----- Buttons ----- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    border: none;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.3s var(--spring), box-shadow 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 30px rgba(29, 78, 216, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--text);
    font-weight: 700;
    font-size: 14.5px;
    transition: background 0.25s ease, transform 0.3s var(--spring);
}
.btn-ghost:hover { background: var(--glass-strong); transform: translateY(-2px); }

/* ----- Hero ----- */
.hero { padding: 90px 0 70px; text-align: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(59, 130, 246, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #93C5FD;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 26px;
}
.hero h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #FFFFFF 25%, #93B4E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
}
.hero p.sub {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-primary { padding: 16px 38px; font-size: 16.5px; }

/* ----- Stats strip ----- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 26px;
    margin: 60px auto 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
}
.stat { text-align: center; }
.stat .n { font-size: 30px; font-weight: 900; letter-spacing: -0.03em; color: var(--primary-light); }
.stat .l { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ----- Sections ----- */
section { padding: 70px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ----- Feature grid ----- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
    transition: transform 0.35s var(--spring), border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card .ico {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(29, 78, 216, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.3);
    margin-bottom: 16px;
}
.card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
    position: relative;
    padding: 30px 24px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
}
.step .num {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ----- FAQ ----- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq summary {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--muted); font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: '\2212'; }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ----- CTA band ----- */
.cta-band {
    text-align: center;
    padding: 56px 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(96, 165, 250, 0.3);
    background:
        radial-gradient(circle at 30% 0%, rgba(59, 130, 246, 0.22), transparent 60%),
        var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-band p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

/* ----- Language switcher ----- */
.lang-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.lang-switch a {
    padding: 7px 15px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--glass);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s ease;
}
.lang-switch a:hover, .lang-switch a.on { color: var(--text); border-color: rgba(96, 165, 250, 0.5); background: rgba(59, 130, 246, 0.12); }

/* ----- Footer ----- */
footer {
    border-top: 1px solid var(--border);
    padding: 36px 0 46px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
footer .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 16px; }
footer .foot-links a { color: var(--muted); font-weight: 600; }
footer .foot-links a:hover { color: var(--text); }

@media (max-width: 900px) {
    .grid-3, .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 60px 0 50px; }
    section { padding: 50px 0; }
}
