/* ==========================================================================
   Firebird Tech — Apple 风格
   ========================================================================== */

:root {
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
            "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;

    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --tile: #ffffff;
    --tile-border: transparent;
    --tile-dark: #1d1d1f;
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --text-3: #86868b;
    --line: rgba(0, 0, 0, 0.1);
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --link: #0066cc;
    --nav-bg: rgba(255, 255, 255, 0.72);
    --chip: rgba(0, 0, 0, 0.05);

    --radius-lg: 28px;
    --radius-md: 18px;
    --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
    --max: 1120px;
    --nav-h: 48px;
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-alt: #000000;
    --tile: #161617;
    --tile-border: rgba(255, 255, 255, 0.06);
    --tile-dark: #1d1d1f;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --blue: #0a84ff;
    --blue-hover: #409cff;
    --link: #2997ff;
    --nav-bg: rgba(22, 22, 23, 0.72);
    --chip: rgba(255, 255, 255, 0.08);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.01em;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Layout ----------------------------------------------------------------- */
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 48px, 820px); }
.center { text-align: center; }

.section { padding: 140px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 72px; }
.section-title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.07;
    font-weight: 700;
    letter-spacing: -0.035em;
}
.section-sub {
    margin-top: 16px;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.3;
    color: var(--text-2);
    letter-spacing: -0.015em;
}

.eyebrow {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-2);
    margin-bottom: 12px;
}

/* Navigation ------------------------------------------------------------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
    width: min(100% - 48px, 980px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}
.brand-mark { color: #ff6a2b; }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-size: 13px;
    color: var(--text-2);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.theme-toggle {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--text-2);
    transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text); background: var(--chip); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Buttons & links -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.97); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 19px;
    color: var(--link);
    letter-spacing: -0.01em;
}
.link-arrow::after {
    content: "›";
    font-size: 1.25em;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 120px) 0 0;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    width: 1100px;
    height: 900px;
    transform: translateX(-50%);
    background:
        radial-gradient(closest-side at 35% 45%, rgba(255, 106, 43, 0.22), transparent 70%),
        radial-gradient(closest-side at 68% 50%, rgba(191, 90, 242, 0.18), transparent 70%),
        radial-gradient(closest-side at 50% 70%, rgba(10, 132, 255, 0.14), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}
[data-theme="dark"] .hero-glow { opacity: 0.8; }

.hero-inner { position: relative; width: min(100% - 48px, 980px); margin-inline: auto; }

.hero .eyebrow { font-size: 21px; color: var(--text-2); }

.hero-title {
    font-size: clamp(44px, 9vw, 104px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.gradient-text {
    background: linear-gradient(90deg, #ff6a2b 0%, #ff2d55 50%, #bf5af2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    margin: 28px auto 0;
    max-width: 640px;
    font-size: clamp(19px, 2.4vw, 26px);
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-2);
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-metrics {
    position: relative;
    margin: 120px auto 0;
    width: min(100% - 48px, var(--max));
    padding: 48px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric strong {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
}
.metric span { font-size: 15px; color: var(--text-2); }

/* Tiles ------------------------------------------------------------------ */
.tile {
    --accent: var(--blue);
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--tile);
    border: 1px solid var(--tile-border);
    border-radius: var(--radius-lg);
    padding: 56px 48px 48px;
    overflow: hidden;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease);
}

.tile-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.tile-grid .tile:hover { transform: scale(1.012); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); }
[data-theme="dark"] .tile-grid .tile:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }

.tile-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--accent);
    margin-bottom: 8px;
}
.tile-title {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.tile-desc {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-2);
}

/* Product tiles ----------------------------------------------------------- */
.tile-product {
    --mock: #ffffff;
    --mock-line: rgba(0, 0, 0, 0.07);
    --stage: color-mix(in srgb, var(--accent) 11%, var(--bg-alt));
    padding: 52px 44px 40px;
}
[data-theme="dark"] .tile-product {
    --mock: #2c2c2e;
    --mock-line: rgba(255, 255, 255, 0.08);
    --stage: color-mix(in srgb, var(--accent) 16%, #0d0d0e);
}

.tile-body { margin-bottom: 36px; }
.tile-tagline {
    margin-top: 10px;
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
}
.tile-product .tile-desc { font-size: 16px; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
    padding: 6px 13px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--chip);
}

.tile .link-arrow { align-self: flex-start; }

/* Visual stage */
.stage {
    position: relative;
    height: 310px;
    margin-top: auto;
    margin-bottom: 28px;
    border-radius: 22px;
    background: var(--stage);
    overflow: hidden;
    isolation: isolate;
}
.stage::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 70%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
    opacity: 0.7;
    z-index: -1;
}

.mock {
    position: absolute;
    top: 32px;
    left: 50%;
    width: min(320px, 82%);
    padding: 18px 18px 0;
    border-radius: 20px 20px 0 0;
    background: var(--mock);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--mock-line);
    transform: translateX(-50%);
    transition: transform 0.7s var(--ease);
}
.tile-product:hover .mock { transform: translateX(-50%) translateY(-8px); }
.mock { bottom: -24px; }

.mock-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}
.mock-head b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.mock-head span { font-size: 12px; color: var(--text-3); }

.mock-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--mock);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 0 0 1px var(--mock-line);
    white-space: nowrap;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.22); }

/* 青训：课表 */
.pill-edu { right: 14px; top: 16px; }
.edu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--mock-line);
}
.edu-row i { width: 4px; height: 32px; border-radius: 2px; background: var(--c); flex-shrink: 0; }
.edu-row div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.edu-row b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.edu-row span { font-size: 12px; color: var(--text-3); }
.edu-row em {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--c);
    padding: 3px 9px;
    border-radius: 980px;
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

/* HabitMark：热力图 */
.heatmap {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}
.heatmap i {
    aspect-ratio: 1;
    border-radius: 3px;
    background: color-mix(in srgb, var(--accent) calc(var(--l, 0) * 25%), var(--chip));
}
.habit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--mock-line);
}
.habit-row b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.check {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--mock-line);
    flex-shrink: 0;
    position: relative;
}
.check.on { background: var(--accent); border-color: var(--accent); }
.check.on::after {
    content: "";
    position: absolute;
    left: 5px; top: 2px;
    width: 5px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* SnapToss：照片堆叠 */
.photo {
    position: absolute;
    left: 50%;
    top: 34px;
    width: 190px;
    height: 250px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 0 0 4px rgba(255, 255, 255, 0.9);
    transition: transform 0.7s var(--ease);
}
[data-theme="dark"] .photo { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.14); }
.photo-3 {
    background: linear-gradient(160deg, #a18cd1, #fbc2eb);
    transform: translateX(-50%) rotate(9deg) translateX(34px);
}
.photo-2 {
    background: linear-gradient(160deg, #84fab0, #8fd3f4);
    transform: translateX(-50%) rotate(-6deg) translateX(-26px);
}
.photo-1 {
    background:
        radial-gradient(circle at 30% 62%, rgba(255, 255, 255, 0.95) 0 11%, transparent 12%),
        linear-gradient(170deg, #ffb347 0%, #ff6a6a 55%, #6a5acd 100%);
    transform: translateX(-50%) rotate(-12deg) translateX(-62px);
}
.tile-product:hover .photo-1 { transform: translateX(-50%) rotate(-16deg) translateX(-82px) translateY(4px); }
.tile-product:hover .photo-2 { transform: translateX(-50%) rotate(-3deg) translateX(-8px); }
.photo-tag {
    position: absolute;
    top: 18px; right: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    border: 2px solid #ff453a;
    color: #ff453a;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.85);
    transform: rotate(10deg);
}
.pill-snap { left: 50%; bottom: 18px; transform: translateX(-50%); }

/* 摸鱼神器：小组件 */
.widget {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 24px;
    transition: transform 0.7s var(--ease);
}
.widget-label { font-size: 13px; font-weight: 600; opacity: 0.8; }
.widget-main {
    left: 50%;
    top: 34px;
    width: min(290px, 80%);
    padding: 22px 24px 24px;
    color: #fff;
    background: linear-gradient(145deg, #ff9f0a 0%, #ff453a 100%);
    box-shadow: 0 20px 44px rgba(255, 69, 58, 0.32);
    transform: translateX(-50%);
}
.widget-time {
    font-size: clamp(38px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.widget-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); margin-top: 8px; overflow: hidden; }
.widget-bar i { display: block; height: 100%; border-radius: 3px; background: #fff; transition: width 1s linear; }
.widget-side {
    left: 50%;
    bottom: 28px;
    width: min(290px, 80%);
    padding: 16px 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    background: var(--mock);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--mock-line);
    transform: translateX(-50%);
}
.widget-money { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #30b350; font-variant-numeric: tabular-nums; }
.tile-product:hover .widget-main { transform: translateX(-50%) translateY(-6px); }
.tile-product:hover .widget-side { transform: translateX(-50%) translateY(4px); }

/* Football phone (inside stage) */
.stage .phone {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 196px;
    height: 390px;
    padding: 7px;
    border-radius: 36px;
    background: linear-gradient(145deg, #3a3a3c, #151516);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 24px 50px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    transition: transform 0.7s var(--ease);
}
.tile-product:hover .stage .phone { transform: translateX(-50%) translateY(-8px); }

.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 30px;
    padding: 40px 14px 14px;
    background: linear-gradient(180deg, #0b1220 0%, #05070d 100%);
    color: #f5f5f7;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.phone-notch {
    position: absolute;
    top: 9px; left: 50%;
    width: 64px; height: 18px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: #000;
}
.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}
.screen-live {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #30d158;
    box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.2);
}
.pitch { flex: 1; min-height: 0; width: 100%; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }

.pill-fb-1 { left: 16px; top: 24px; }
.pill-fb-2 { right: 16px; bottom: 28px; }

/* Platform tag & groups */
.platform-tag {
    position: absolute;
    top: 26px;
    right: 28px;
    padding: 4px 11px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--chip);
}
.group-title {
    margin: 0 0 24px 4px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.tile-grid + .group-title { margin-top: 88px; }

/* Wide tile */
.tile-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 56px;
    align-items: center;
    padding: 56px 56px 48px;
}
.tile-wide .tile-body { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 28px; }
.tile-wide .link-arrow { grid-column: 1; grid-row: 2; align-self: start; }
.tile-wide .stage { grid-column: 2; grid-row: 1 / span 2; height: 360px; margin: 0; }

/* TimeMaster */
.pill-time { right: 14px; top: 16px; }
.pill-time .pill-dot { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent); }

/* DevTally */
.mock-notice {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 50%;
    width: min(320px, 90%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 18px;
    background: var(--mock);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16), 0 0 0 1px var(--mock-line);
    transform: translateX(-50%);
}
.mock-notice div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mock-notice b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.mock-notice div span { font-size: 12px; color: var(--text-3); }
.mock-notice em { font-style: normal; font-size: 11px; color: var(--text-3); align-self: flex-start; }
.notice-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: grid; place-items: center;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #bf5af2, #5e5ce6);
    flex-shrink: 0;
}
.tile.visible .mock-notice { animation: notice-in 0.9s var(--ease) 0.5s both; }
@keyframes notice-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-24px) scale(0.96); }
    to   { opacity: 1; transform: translateX(-50%); }
}

.mock-dev { top: 92px; }
.dev-total {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 36px;
    margin: 10px 0 12px;
}
.bars i {
    flex: 1;
    height: var(--h);
    border-radius: 4px;
    background: color-mix(in srgb, var(--accent) 26%, var(--chip));
}
.bars i:last-child { background: var(--accent); }
.dev-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--mock-line);
}
.dev-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.dev-row b { flex: 1; font-size: 13px; font-weight: 600; }
.dev-row em { font-style: normal; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* About ------------------------------------------------------------------ */
.about-desc {
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--text-2);
}

.stats {
    margin-top: 96px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong {
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.stat > span { font-size: 15px; color: var(--text-2); }

.values {
    margin-top: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value {
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
}
[data-theme="dark"] .value { background: var(--tile); border: 1px solid var(--tile-border); }
.value svg { color: #ff6a2b; margin-bottom: 20px; }
.value h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.value p { font-size: 16px; line-height: 1.5; color: var(--text-2); }

/* Contact ---------------------------------------------------------------- */
.contact { padding: 160px 0; }
.contact-actions {
    margin-top: 40px;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-inner {
    width: min(100% - 48px, 980px);
    margin-inline: auto;
    padding: 20px 0;
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
}
.beian a { color: inherit; transition: color 0.2s; }
.beian a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Reveal animation ------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.tile-grid .tile.reveal.visible:hover { transform: scale(1.012); }
.hero-inner .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-inner .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-inner .reveal:nth-child(4) { transition-delay: 0.24s; }
.tile-grid .tile:nth-child(even) { transition-delay: 0.08s; }
.values .value:nth-child(2) { transition-delay: 0.08s; }
.values .value:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tile.visible .mock-notice { animation: none; }
    .phone, .tile, .mock-notice, .mock, .photo, .widget, .link-arrow::after { transition: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .tile-wide { column-gap: 32px; padding: 48px 36px 40px; }
}

@media (max-width: 800px) {
    body { font-size: 16px; }
    .section { padding: 88px 0; }
    .section-head { margin-bottom: 48px; }
    .hero { padding-top: calc(var(--nav-h) + 72px); }
    .hero-metrics { margin-top: 72px; padding: 36px 0; }
    .br-desktop { display: none; }

    .nav-links { gap: 24px; }

    .tile-grid { grid-template-columns: 1fr; }
    .tile { padding: 40px 28px 32px; }
    .tile-product { padding: 40px 24px 32px; }
    .stage { height: 290px; }
    .platform-tag { top: 20px; right: 20px; }
    .tile-grid + .group-title { margin-top: 64px; }
    .tile-wide { display: flex; padding: 40px 24px 32px; }
    .tile-wide .tile-body { margin-bottom: 36px; }
    .tile-wide .stage { height: 290px; margin: auto 0 28px; }

    .stats { margin-top: 64px; }
    .values { grid-template-columns: 1fr; margin-top: 72px; }
    .contact { padding: 100px 0; }
}

@media (max-width: 480px) {
    .hero-actions { gap: 20px; }
}
