/* ============================================================
   符号社 Ilkagen — 视觉样式
   方向:公司官网式 —— 克制配色、统一容器、统一卡片、少动效
   ============================================================ */

:root {
    /* 色彩 */
    --ink: #2f2b42;
    --ink-soft: #655f7d;
    --ink-faint: rgba(101, 95, 125, 0.75);
    --pink: #f472b6;
    --pink-deep: #dd5ba2;
    --lilac: #a78bfa;
    --line: #ece5f4;
    --bg-alt: #faf7fd;

    /* 渐变(仅用于小面积点缀) */
    --grad-brand: linear-gradient(100deg, #f472b6 0%, #b785f5 100%);
    --grad-hero:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(216, 226, 255, 0.6) 0%, rgba(216, 226, 255, 0) 65%),
        radial-gradient(ellipse 60% 55% at 8% 90%, rgba(255, 224, 239, 0.65) 0%, rgba(255, 224, 239, 0) 65%),
        linear-gradient(165deg, #fdf2f8 0%, #f6f0fd 55%, #eef4ff 100%);

    /* 阴影(统一一档) */
    --shadow-card: 0 4px 20px rgba(90, 70, 130, 0.07);
    --shadow-card-hover: 0 14px 36px rgba(90, 70, 130, 0.12);
    --shadow-btn: 0 10px 24px rgba(221, 91, 162, 0.28);

    /* 尺寸(全站统一) */
    --radius: 18px;
    --container: 1160px;
    --nav-h: 64px;
    --section-pad: 96px;

    /* 动效 */
    --motion-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
    --motion-soft: cubic-bezier(0.25, 0.8, 0.25, 1);

    /* 字体 */
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-display: "ZCOOL KuaiLe", "Baloo 2", var(--font-body);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id],
main[id] {
    scroll-margin-top: var(--nav-h);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
}

::selection {
    background: #ffe0ee;
    color: var(--pink-deep);
}

/* ============ 通用:版块头 / 卡片 / 容器 ============ */

.app-linkage__inner,
.magic-story__inner,
.ui-gallery__inner,
.community__inner,
.about-company__inner {
    width: min(var(--container), 100%);
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(244, 114, 182, 0.08);
    border: 1px solid rgba(244, 114, 182, 0.2);
    color: var(--pink-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad-brand);
}

/* 所有版块头统一结构 */
.app-linkage__header,
.magic-story__header,
.ui-gallery__header,
.community__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.app-linkage__title,
.magic-story__title,
.ui-gallery__title,
.community__title {
    margin: 20px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.app-linkage__subtitle,
.magic-story__lead,
.ui-gallery__subtitle,
.community__subtitle {
    margin: 16px auto 0;
    color: var(--ink-faint);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.85;
    font-weight: 500;
}

/* 全站统一卡片 */
.feature,
.story-block,
.community-card,
.about-company__missions {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition:
        transform 0.35s var(--motion-soft),
        box-shadow 0.35s var(--motion-soft);
}

.feature:hover,
.story-block:hover,
.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* ============ 导航 ============ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(20px, 4vw, 48px);
}

.site-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav__brand::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--grad-brand);
}

.site-nav__brand span {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--pink-deep);
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.6vw, 34px);
}

.site-nav__links a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 2px;
    transition: color 0.3s ease;
}

.site-nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-brand);
    transition: right 0.35s var(--motion-soft);
}

.site-nav__links a:hover {
    color: var(--pink-deep);
}

.site-nav__links a:hover::after {
    right: 0;
}

/* ============ Hero ============ */

.hero {
    position: relative;
    width: 100%;
    min-height: min(760px, 92vh);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    width: 100%;
    padding: calc(var(--nav-h) + 48px) clamp(24px, 5vw, 64px) 72px;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
    transform: translate3d(0, var(--hero-shift, 0px), 0);
    opacity: var(--hero-fade, 1);
    transition: transform 200ms linear, opacity 200ms linear;
}

/* 内容限制在统一容器宽度内,避免大图出格 */
.hero > * {
    max-width: calc(var(--container) / 2);
}

.hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 74% 46%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 42%);
    opacity: var(--hero-glow-opacity, 1);
    transform: scale(var(--hero-glow-scale, 1));
    transition: transform 220ms linear, opacity 220ms linear;
}

.copy {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 480px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.brand::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad-brand);
}

.title {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 5.6vw, 5rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.02em;
    background: linear-gradient(105deg, #e34f9d 10%, #9d64e8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desc {
    margin: 0;
    max-width: 24em;
    font-size: 1.14rem;
    line-height: 1.9;
    color: var(--ink-soft);
    font-weight: 500;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.btn {
    position: relative;
    min-width: 160px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.3s var(--motion-soft),
        box-shadow 0.3s var(--motion-soft),
        filter 0.3s var(--motion-soft);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

.btn--android {
    background: linear-gradient(120deg, #94cf2e, #6aa811);
    box-shadow: 0 10px 24px rgba(132, 190, 40, 0.3);
}

.btn--ios {
    background: var(--grad-brand);
    box-shadow: var(--shadow-btn);
}

.btn.is-disabled {
    cursor: not-allowed;
    opacity: 0.65;
    filter: grayscale(0.15);
    pointer-events: none;
}

.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
}

.visual::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 68%);
}

.visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 560px);
    height: auto;
    filter: drop-shadow(0 24px 44px rgba(110, 80, 150, 0.16));
}

/* ============ 产品功能 ============ */

.app-linkage {
    position: relative;
    padding: var(--section-pad) 24px;
    background: #ffffff;
    overflow: hidden;
    --section-rise: 22px;
}

.app-linkage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
    opacity: calc(0.68 + (var(--linkage-progress, 0) * 0.14));
    transform: translate3d(0, calc((1 - var(--linkage-progress, 0)) * var(--section-rise)), 0);
    transition: transform 200ms linear, opacity 200ms linear;
}

.app-linkage__inner {
    position: relative;
    z-index: 1;
}

.app-linkage__layout {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 380px) minmax(260px, 1fr);
    align-items: center;
    gap: clamp(24px, 3.5vw, 48px);
}

.feature-column {
    display: grid;
    gap: 22px;
}

.feature {
    display: grid;
    gap: 14px;
    padding: 26px 26px 24px;
}

.feature-column--left .feature {
    text-align: right;
    justify-items: end;
}

.feature-column--right .feature {
    text-align: left;
    justify-items: start;
}

.feature__top {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.feature-column--right .feature__top {
    flex-direction: row-reverse;
}

.feature__heading {
    margin: 0;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.4;
    font-weight: 700;
}

.feature__text {
    margin: 0;
    max-width: 340px;
    color: var(--ink-faint);
    font-size: 0.96rem;
    line-height: 1.85;
    font-weight: 500;
}

.feature__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(150deg, #fdf0f7, #f1e9fd);
    border: 1px solid var(--line);
}

.feature__icon img {
    display: block;
    width: 54%;
    height: 54%;
    object-fit: contain;
}

.app-linkage__phone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-linkage__phone::before {
    content: "";
    position: absolute;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #f6eefe 0%, rgba(246, 238, 254, 0) 68%);
}

.app-linkage__phone img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 340px);
    filter: drop-shadow(0 22px 40px rgba(110, 80, 150, 0.16));
}

/* ============ 魔法物语 ============ */

.magic-story {
    position: relative;
    padding: var(--section-pad) 24px;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.magic-story__flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    counter-reset: story;
}

.story-block {
    position: relative;
    padding: 28px 26px 26px;
    counter-increment: story;
}

.story-block::after {
    content: "0" counter(story);
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
    color: rgba(167, 139, 250, 0.22);
    pointer-events: none;
}

.story-block__title {
    margin: 0;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.5;
    font-weight: 700;
}

.story-block__text {
    margin: 14px 0 0;
    color: var(--ink-faint);
    font-size: 0.96rem;
    line-height: 1.9;
    font-weight: 500;
}

.magic-story__closing {
    margin: 48px auto 0;
    max-width: 820px;
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.magic-story__closing-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(244, 114, 182, 0.08);
    border: 1px solid rgba(244, 114, 182, 0.2);
    color: var(--pink-deep);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    font-weight: 700;
}

.magic-story__closing-title {
    margin: 20px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.35;
    font-weight: 400;
}

.magic-story__closing-text {
    margin: 18px auto 0;
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.95;
    font-weight: 500;
}

/* ============ 界面预览 ============ */

.ui-gallery {
    position: relative;
    padding: var(--section-pad) 24px;
    background: #ffffff;
    overflow: hidden;
}

.ui-gallery__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ui-gallery__header {
    margin-bottom: 36px;
}

.ui-gallery__stage {
    position: relative;
    width: 100%;
    height: clamp(540px, 52vw, 780px);
    perspective: 1800px;
    transform-style: preserve-3d;
    touch-action: pan-y;
    user-select: none;
}

.ui-gallery__slide {
    position: absolute;
    left: calc(50% - 40px);
    top: 50%;
    width: clamp(196px, 18vw, 280px);
    aspect-ratio: 750 / 1624;
    border-radius: 32px;
    overflow: hidden;
    transform:
        translate3d(calc(-50% + var(--shift-x, 0px)), calc(-50% + var(--shift-y, 0px)), 0) scale(var(--scale, 0.72));
    opacity: var(--opacity, 0);
    filter: blur(var(--blur, 0px)) saturate(var(--saturate, 1));
    z-index: var(--z, 0);
    border: 5px solid #ffffff;
    box-shadow: var(--shadow-card-hover);
    transition:
        transform 700ms var(--motion-smooth),
        opacity 500ms var(--motion-soft),
        filter 700ms var(--motion-soft),
        box-shadow 700ms var(--motion-soft);
    pointer-events: none;
}

.ui-gallery__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
}

.ui-gallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ui-gallery__slide.is-active {
    box-shadow: 0 34px 70px rgba(90, 70, 130, 0.18);
}

.ui-gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.ui-gallery__button {
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink-soft);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition:
        transform 0.3s var(--motion-soft),
        box-shadow 0.3s var(--motion-soft),
        filter 0.3s var(--motion-soft);
}

.ui-gallery__button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.ui-gallery__button:active {
    transform: scale(0.94);
    transition-duration: 0.1s;
}

.ui-gallery__button--next {
    border-color: transparent;
    background: var(--grad-brand);
    color: #ffffff;
    box-shadow: var(--shadow-btn);
}

/* ============ 社区周边 ============ */

.community {
    position: relative;
    padding: var(--section-pad) 24px;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    overflow: hidden;
    text-align: center;
}

.community__cards {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    max-width: 880px;
}

.community-card {
    padding: 36px 30px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-card__platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(244, 114, 182, 0.08);
    border: 1px solid rgba(244, 114, 182, 0.2);
    color: var(--pink-deep);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.community-card__name {
    margin: 18px 0 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
}

.community-card__stat {
    margin: 12px 0 0;
    color: var(--pink-deep);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.community-card__desc {
    margin: 12px 0 0;
    color: var(--ink-faint);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 500;
}

.community-card__link {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 168px;
    height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    transition:
        transform 0.3s var(--motion-soft),
        filter 0.3s var(--motion-soft);
}

.community-card__link::after {
    content: "→";
    font-weight: 400;
}

.community-card__link:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.community-card__link:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

/* ============ 关于我们 ============ */

.about-company {
    position: relative;
    padding: var(--section-pad) 24px;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
}

.about-company__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
}

.about-company__brand {
    width: clamp(110px, 12vw, 148px);
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-card-hover);
}

.about-company__header {
    margin-top: 36px;
}

.about-company__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.24);
    color: #8b5cf6;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    font-weight: 700;
}

.about-company__title {
    margin: 20px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.3;
    font-weight: 400;
}

.about-company__name {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.about-company__missions {
    margin-top: 40px;
    padding: 36px 36px 34px;
    display: grid;
    gap: 18px;
    width: 100%;
}

.about-company__mission {
    margin: 0 auto;
    max-width: 720px;
    color: var(--ink-faint);
    font-size: 0.96rem;
    line-height: 1.95;
    font-weight: 500;
}

.about-company__mission--zh {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.65;
    font-weight: 700;
}

.about-company__contact {
    margin: 36px 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.about-company__contact a {
    color: var(--pink-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(221, 91, 162, 0.4);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.about-company__contact a:hover {
    color: #b83c82;
    border-color: rgba(184, 60, 130, 0.7);
}

/* ============ 页脚 ============ */

.site-footer {
    background: #262138;
    padding: 52px 24px 48px;
    text-align: center;
}

.site-footer__inner {
    width: min(680px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.site-footer__links {
    display: flex;
    gap: 32px;
    margin-bottom: 10px;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer__links a:hover {
    color: #ffc7e2;
}

.site-footer__copyright,
.site-footer__icp,
.site-footer__contact {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.7;
}

.site-footer__icp a,
.site-footer__contact a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.site-footer__icp a:hover,
.site-footer__contact a:hover {
    color: #ffc7e2;
    border-color: rgba(255, 199, 226, 0.6);
}

/* ============ 入场 / 滚动动效 ============ */

.load-panel,
.load-reveal,
.scroll-reveal {
    will-change: opacity, transform, filter;
}

.motion-ready .load-panel {
    opacity: 0;
    transform: translate3d(0, calc(16px + var(--hero-shift, 0px)), 0) scale(1.01);
    filter: blur(8px);
    transition:
        opacity 800ms var(--motion-soft),
        transform 900ms var(--motion-smooth),
        filter 900ms var(--motion-soft);
}

.motion-ready.is-loaded .load-panel {
    opacity: var(--hero-fade, 1);
    transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1);
    filter: none;
}

.motion-ready .load-reveal {
    opacity: 0;
    transform: translate3d(var(--enter-x, 0), var(--enter-y, 16px), 0) scale(var(--enter-scale, 0.99));
    filter: blur(8px);
    transition:
        opacity 700ms var(--motion-soft),
        transform 850ms var(--motion-smooth),
        filter 850ms var(--motion-soft);
    transition-delay: var(--delay, 0ms);
}

.motion-ready.is-loaded .load-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

.motion-ready .scroll-reveal {
    opacity: 0;
    transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 20px), 0) scale(var(--reveal-scale, 0.99));
    filter: blur(8px);
    transition:
        opacity 700ms var(--motion-soft),
        transform 900ms var(--motion-smooth),
        filter 900ms var(--motion-soft);
    transition-delay: var(--delay, 0ms);
}

.motion-ready .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

@media (prefers-reduced-motion: reduce) {

    .load-panel,
    .load-reveal,
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }
}

/* ============ 响应式 ============ */

@media (max-width: 1080px) {
    :root {
        --section-pad: 72px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: calc(var(--nav-h) + 40px) 24px 56px;
        gap: 36px;
        text-align: center;
    }

    .hero > * {
        max-width: 100%;
    }

    .copy {
        justify-self: center;
        width: min(100%, 560px);
    }

    .desc {
        margin-left: auto;
        margin-right: auto;
    }

    .actions {
        justify-content: center;
    }

    .visual {
        justify-content: center;
    }

    .visual::before {
        inset: 10%;
    }

    .visual img {
        width: min(100%, 520px);
    }

    .app-linkage__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-linkage__phone {
        order: -1;
    }

    .feature-column {
        width: min(100%, 640px);
        margin: 0 auto;
    }

    .feature,
    .feature-column--left .feature,
    .feature-column--right .feature {
        text-align: left;
        justify-items: start;
    }

    .feature__top,
    .feature-column--left .feature__top,
    .feature-column--right .feature__top {
        flex-direction: row;
    }

    .feature__text {
        max-width: none;
    }

    .ui-gallery__stage {
        height: clamp(460px, 94vw, 700px);
    }

    .ui-gallery__slide {
        width: clamp(170px, 31vw, 250px);
        border-radius: 28px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-pad: 56px;
    }

    .app-linkage__header,
    .magic-story__header,
    .ui-gallery__header,
    .community__header {
        margin-bottom: 36px;
    }

    .hero {
        padding: calc(var(--nav-h) + 32px) 20px 44px;
        gap: 28px;
    }

    .brand {
        font-size: 0.78rem;
        letter-spacing: 0.2em;
        margin-bottom: 18px;
    }

    .title {
        font-size: 3rem;
        margin-bottom: 14px;
    }

    .desc {
        font-size: 1rem;
        line-height: 1.85;
    }

    .actions {
        gap: 12px;
        margin-top: 34px;
    }

    .btn {
        width: 100%;
        min-width: 0;
        height: 48px;
    }

    .visual img {
        width: min(100%, 420px);
    }

    .feature {
        padding: 22px 20px 20px;
    }

    .feature__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .app-linkage__phone img {
        width: min(100%, 280px);
    }

    .story-block {
        padding: 24px 20px 22px;
    }

    .magic-story__closing {
        margin-top: 36px;
        padding: 30px 22px;
    }

    .ui-gallery {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ui-gallery__stage {
        height: clamp(380px, 118vw, 600px);
    }

    .ui-gallery__slide {
        width: min(46vw, 210px);
        border-radius: 24px;
        border-width: 4px;
    }

    .ui-gallery__controls {
        gap: 12px;
        margin-top: 14px;
    }

    .ui-gallery__button {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .community-card {
        padding: 30px 22px 28px;
    }

    .about-company__missions {
        margin-top: 32px;
        padding: 26px 20px 24px;
        gap: 16px;
    }

    .site-nav {
        padding: 0 16px;
    }

    .site-nav__brand {
        font-size: 1rem;
    }

    .site-nav__brand span {
        font-size: 0.74rem;
    }

    .site-nav__links {
        gap: 12px;
    }

    .site-nav__links a {
        font-size: 0.8rem;
    }

    .site-footer {
        padding: 44px 18px 40px;
    }
}
