:root {
    --bg: #f7fbff;
    --card: rgba(255, 255, 255, 0.72);
    --text: #172033;
    --muted: #5b6b84;
    --line: rgba(60, 104, 150, 0.18);
    --accent: #2f8cff;
    --accent-2: #69d2ff;
    --shadow: 0 24px 80px rgba(37, 83, 130, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 12%, rgba(105, 210, 255, 0.34), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(47, 140, 255, 0.22), transparent 28%),
        linear-gradient(135deg, #f8fcff 0%, #eef7ff 52%, #fdfefe 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(10px);
    opacity: 0.42;
    z-index: 0;
}

body::before {
    left: -140px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(47, 140, 255, 0.22), transparent 68%);
}

body::after {
    right: -180px;
    top: 42%;
    background: radial-gradient(circle, rgba(105, 210, 255, 0.28), transparent 68%);
}

main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.card {
    width: min(920px, 100%);
    padding: clamp(28px, 7vw, 72px);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.mark {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 32px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 248, 255, 0.82));
    box-shadow: 0 14px 38px rgba(47, 140, 255, 0.13);
}

.mark svg {
    width: 46px;
    height: 46px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 10vw, 7.2rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
}

h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #172033 0%, #1d66d8 52%, #35bdf2 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitle {
    max-width: 690px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 2.2vw, 1.32rem);
    line-height: 1.7;
}

.status {
    display:inline;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.pill {
    display:inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #36506d;
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
}


.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.dot-blue{
    background: var(--accent);
    box-shadow: 0 0 18px rgba(47, 140, 255, 0.7);
}

.dot-green{
    background: var(--accent-2);
    box-shadow: 0 0 18px rgba(47, 255, 123, 0.7);
}

footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: left;
    margin-top: 62px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.94rem;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

.footerColor {
    color: #66ccffb5;
}

@media (max-width: 640px) {
    main {
        padding: 18px;
    }

    .card {
        border-radius: 24px;
    }

    .mark {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    footer {
        margin-top: 44px;
    }
}


/* ===== Language gateway page ===== */

.language-card {
    max-width: 920px;
}

.language-title {
    max-width: 760px;
}

.language-subtitle {
    max-width: 620px;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    color: #253b57;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 38px rgba(47, 140, 255, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.language-option:hover {
    color: var(--text);
    border-color: rgba(47, 140, 255, 0.34);
    box-shadow: 0 18px 48px rgba(47, 140, 255, 0.16);
    transform: translateY(-2px);
}

.language-option strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.3;
}

.language-option small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.language-option.disabled {
    opacity: 0.72;
}

.language-option.disabled:hover {
    transform: none;
}

@media (max-width: 760px) {
    .language-options {
        grid-template-columns: 1fr;
    }

    .language-option {
        min-height: auto;
    }
}