/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #161618;
    --brand: #ff8800;
    --brand-light: #ffb040;
    --brand-deep: #ff7000;
    --text: #f0f0f0;
    --text-dim: #9a9a9a;
    --text-faint: #777;
    --line: rgba(255, 176, 64, 0.35);
}

html, body {
    background: var(--bg);
    /* 微弱暖金光晕，压在右上区域，不抢眼 */
    background-image: radial-gradient(ellipse at 75% 30%, rgba(255, 160, 60, 0.10), transparent 55%);
    background-repeat: no-repeat;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

/* ===== 顶部 ===== */
.header-wrap {
    position: relative;
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-logo {
    height: 30px;
    width: auto;
    display: block;
}

/* ===== 语言选择 ===== */
.lang-wrap {
    position: relative;
}

.lang-select {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ccc;
    font-size: 15px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-select:hover,
.lang-wrap.open .lang-select {
    color: #fff;
    border-color: var(--line);
    background: rgba(255, 176, 64, 0.10);
}

.lang-globe {
    width: 16px;
    height: 16px;
    flex: none;
    opacity: 0.85;
}

.lang-arrow {
    font-size: 10px;
    opacity: 0.75;
    transition: transform 0.2s;
}

.lang-wrap.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 6px;
    background: #202024;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.lang-wrap.open .lang-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    color: #c8c8c8;
    font-size: 14.5px;
    padding: 10px 12px;
    border-radius: 9px;
    transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.lang-option.is-active {
    color: var(--brand-light);
    background: rgba(255, 176, 64, 0.10);
    font-weight: 600;
}

.lang-option.is-active::after {
    content: '✓';
    font-size: 12px;
}

/* 按语言微调字体栈与标题字号 */
html[data-lang="en"] body,
html[data-lang="en"] button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-lang="ja"] body,
html[data-lang="ja"] button {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", , sans-serif;
}

html[data-lang="en"] h1 {
    font-size: 38px;
    letter-spacing: 0;
}

/* ===== 主区域 ===== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 130px);
}

/* 左侧 */
.left-area {
    padding: 10px;
}

.brand-u {
    width: 96px;
    height: 96px;
    display: block;
    margin: 0 auto 24px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(255, 136, 0, 0.22);
}

h1 {
    text-align: center;
    font-size: 44px;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.desc-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 18px;
}

/* 内测卡片 */
.tip-box {
    margin-top: 36px;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px 32px;
    text-align: center;
    background: rgba(255, 176, 64, 0.04);
    backdrop-filter: blur(4px);
}

.tip-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-light);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.tip-sub {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 22px;
}

.btn-apply {
    background: linear-gradient(180deg, #ffa520 0%, var(--brand) 100%);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 14px 48px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(255, 136, 0, 0.28);
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn-apply:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 136, 0, 0.36);
}

/* 右侧介绍视频 */
.right-area {
    display: flex;
    justify-content: center;
}

.phone-img {
    width: 100%;
    max-width: 720px;
    display: block;
    /* 视频圆角裁切，避免直角生硬 */
    border-radius: 22px;
    background: #000;
    /* 光效压弱，柔和不刺眼 */
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(255, 160, 60, 0.10));
}

/* ===== 底部 footer ===== */
.page-footer {
    text-align: center;
    padding: 22px 20px 30px;
    color: var(--text-faint);
    font-size: 14px;
}

.footer-link-group {
    margin-bottom: 8px;
}

.footer-link {
    color: #aaa;
    font-size: 14px;
    padding: 4px 6px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--brand-light);
}

.dot {
    margin: 0 6px;
    color: #555;
}

.footer-email a {
    color: #aaa;
    text-decoration: none;
}

.footer-email a:hover {
    color: var(--brand-light);
}

.footer-copy {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-faint);
    letter-spacing: 0.3px;
}

/* ===== 移动端适配 ===== */
@media (max-width: 900px) {
    .header-wrap {
        padding: 16px 20px;
    }
    .top-logo {
        height: 24px;
    }
    .container {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
        gap: 24px;
        min-height: auto;
    }
    h1 {
        font-size: 32px;
        margin-bottom: 24px;
    }
    html[data-lang="en"] h1 {
        font-size: 28px;
    }
    .desc-text {
        font-size: 15px;
    }
    .brand-u {
        width: 76px;
        height: 76px;
        margin-bottom: 18px;
    }
    .tip-box {
        padding: 24px 20px;
    }
    .tip-title {
        font-size: 22px;
    }
    .tip-sub {
        font-size: 15px;
    }
    .phone-img {
        max-width: 100%;
        border-radius: 16px;
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(255, 160, 60, 0.08));
    }
}
