:root {
    --bg: #0c0d0f;
    --bg-elevated: #141519;
    --bg-soft: #1c1d22;
    --surface: #ffffff;
    --surface-soft: #f6f4ef;
    --text: #f8f3e8;
    --text-muted: rgba(248, 243, 232, 0.70);
    --ink: #171717;
    --ink-muted: #62605b;
    --line: rgba(255, 255, 255, 0.14);
    --line-dark: rgba(23, 23, 23, 0.10);
    --gold: #f4c978;
    --gold-deep: #a97025;
    --teal: #58c5c7;
    --teal-deep: #0f6f77;
    --danger-soft: #fff6e5;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(12, 13, 15, 0.78);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 750;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(244, 201, 120, 0.18);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.nav a:hover,
.footer-links a:hover,
.language-links a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #17120a;
    background: linear-gradient(135deg, #ffe1a0, var(--gold));
    box-shadow: 0 18px 44px rgba(244, 201, 120, 0.22);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
}

.hero {
    min-height: 88vh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #0c0d0f 0%, #16201f 52%, #0f3638 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--hero-image, url("img/en/en-phone-01_cut_1284x2778.png")) right clamp(24px, 8vw, 118px) bottom -92px / min(460px, 38vw) auto no-repeat;
    filter: drop-shadow(0 34px 82px rgba(0, 0, 0, 0.48)) saturate(0.98) contrast(1.02);
    opacity: 0.98;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(12, 13, 15, 0.94) 0%, rgba(12, 13, 15, 0.76) 48%, rgba(12, 13, 15, 0.26) 100%),
        linear-gradient(180deg, rgba(12, 13, 15, 0.04) 0%, rgba(12, 13, 15, 0.32) 62%, #0c0d0f 100%);
}

.hero-content {
    width: min(760px, 100%);
    padding: 104px 0 72px;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(244, 201, 120, 0.28);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(12, 13, 15, 0.34);
    font-size: 13px;
    font-weight: 720;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: 68px;
    line-height: 1.06;
    font-weight: 820;
}

.hero-lead {
    max-width: 650px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    max-width: 640px;
    margin-top: 18px;
    color: rgba(248, 243, 232, 0.54);
    font-size: 13px;
}

.section {
    padding: 88px 0;
}

.section.alt {
    background: #111216;
}

.section-head {
    max-width: 780px;
}

.section-title {
    margin: 18px 0 14px;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 820;
}

.section-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 17px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.feature-card,
.mini-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    padding: 26px;
}

.feature-card strong,
.mini-card strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

.feature-card p,
.mini-card span {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 36px;
    align-items: center;
    margin-top: 42px;
}

.promo-gallery {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
    overflow-x: auto;
    padding: 4px 4px 28px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(244, 201, 120, 0.48) rgba(255, 255, 255, 0.08);
}

.promo-gallery::-webkit-scrollbar {
    height: 8px;
}

.promo-gallery::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.promo-gallery::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(244, 201, 120, 0.52);
}

.promo-shot {
    flex: 0 0 190px;
    width: 190px;
    height: auto;
    aspect-ratio: 1284 / 2778;
    object-fit: contain;
    max-width: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: #07080a;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
    scroll-snap-align: start;
}

.promo-shot:nth-child(even) {
    margin-top: 34px;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #17120a;
    background: var(--gold);
    font-weight: 850;
}

.feature-row h3 {
    margin: 0 0 5px;
    font-size: 20px;
}

.feature-row p {
    margin: 0;
    color: var(--text-muted);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.cta {
    padding: 70px 0 84px;
    background: #f5f0e7;
    color: var(--ink);
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.cta h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.18;
}

.cta p {
    max-width: 740px;
    margin: 0;
    color: var(--ink-muted);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta .btn-secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line-dark);
}

.site-footer {
    padding: 34px 0 52px;
    color: rgba(248, 243, 232, 0.58);
    background: #0c0d0f;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-links,
.language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.icp {
    margin-top: 12px;
}

.icp a {
    color: #99dadd;
}

.legal-body {
    color: var(--ink);
    background: #f5f0e7;
}

.legal-body .site-header {
    background: rgba(245, 240, 231, 0.84);
    border-bottom-color: var(--line-dark);
}

.legal-body .brand,
.legal-body .nav,
.legal-body .footer-links {
    color: var(--ink);
}

.legal-body .btn-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line-dark);
}

.legal-main {
    padding: 54px 0 76px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 34px;
    align-items: start;
}

.document {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: #fff;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(23, 23, 23, 0.06);
}

.document h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.18;
}

.document .updated {
    margin: 0 0 24px;
    color: var(--ink-muted);
    font-size: 14px;
}

.document h2 {
    margin: 34px 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.document p {
    margin: 12px 0;
    color: #33312d;
}

.document ul {
    margin: 12px 0 18px;
    padding-left: 22px;
    color: #33312d;
}

.document li {
    margin: 8px 0;
}

.notice {
    margin: 22px 0 28px;
    padding: 18px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: var(--danger-soft);
    color: #332817;
}

.side-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.side-card {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.side-card strong {
    display: block;
    margin-bottom: 12px;
}

.side-card a {
    display: block;
    margin: 8px 0;
    color: var(--teal-deep);
}

.legal-body .site-footer {
    color: #6f6a61;
    background: #f5f0e7;
}

.legal-body .footer-inner {
    border-top-color: var(--line-dark);
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero::before {
        background-position: right -30px bottom -86px;
        background-size: min(420px, 55vw) auto;
        opacity: 0.58;
    }

    .grid-3,
    .showcase,
    .cta-panel,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .side-panel {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .header-inner {
        min-height: 66px;
    }

    .brand {
        font-size: 17px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .hero {
        min-height: 90vh;
    }

    .hero::before {
        background-position: center bottom -82px;
        background-size: min(360px, 78vw) auto;
        opacity: 0.34;
    }

    .hero::after {
        background:
            linear-gradient(180deg, rgba(12, 13, 15, 0.90) 0%, rgba(12, 13, 15, 0.72) 54%, #0c0d0f 100%);
    }

    .hero-content {
        padding: 82px 0 56px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .section {
        padding: 68px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .grid-3,
    .mini-grid,
    .side-panel {
        grid-template-columns: 1fr;
    }

    .promo-gallery {
        gap: 12px;
        margin-inline: -4px;
        padding-bottom: 22px;
    }

    .promo-shot {
        flex-basis: min(240px, 68vw);
        width: min(240px, 68vw);
        border-radius: 18px;
    }

    .promo-shot:nth-child(even) {
        margin-top: 24px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .document {
        padding: 28px 20px;
    }

    .document h1 {
        font-size: 29px;
    }
}
