/* ===========================================
   农源云数智科技官网
   蓝白科技企业服务中心视觉
   =========================================== */

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

:root {
    --brand-blue: #1677ff;
    --brand-blue-dark: #0b4ed9;
    --brand-blue-soft: #eaf4ff;
    --brand-cyan: #22d3ee;
    --brand-green: #15b87a;
    --brand-violet: #6d5dfc;
    --brand-gold: #ffb23f;

    --ink-900: #07142f;
    --ink-800: #13213e;
    --ink-700: #263858;
    --ink-600: #4b5e7a;
    --ink-500: #70809a;
    --ink-300: #c4d0df;
    --ink-200: #dbe6f2;
    --ink-100: #eef5fb;
    --ink-50: #f7fbff;
    --white: #ffffff;

    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.92);
    --line: rgba(94, 149, 213, 0.22);
    --line-strong: rgba(22, 119, 255, 0.28);

    --shadow-xs: 0 1px 2px rgba(7, 20, 47, 0.05);
    --shadow-sm: 0 8px 22px rgba(34, 76, 126, 0.08);
    --shadow-md: 0 18px 46px rgba(34, 76, 126, 0.12);
    --shadow-blue: 0 20px 60px rgba(22, 119, 255, 0.18);

    --radius-sm: 6px;
    --radius: 8px;
    --header-height: 72px;
    --container: 1180px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--ink-700);
    background:
        linear-gradient(180deg, #f7fbff 0%, #edf6ff 28%, #f8fbff 58%, #ffffff 100%);
    line-height: 1.65;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.35s ease;
}

body.loaded {
    opacity: 1;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(22, 119, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 119, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 52%);
}

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

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

i[class*="fa-"] {
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-style: normal;
    font-weight: 800;
}

i[class*="fa-"]::before { content: "•"; }
i.fa-seedling::before { content: "农"; }
i.fa-arrow-right::before { content: "→"; }
i.fa-arrow-up::before { content: "↑"; }
i.fa-chevron-right::before { content: "›"; }
i.fa-chevron-left::before { content: "‹"; }
i.fa-store::before { content: "店"; }
i.fa-network-wired::before { content: "网"; }
i.fa-industry::before { content: "厂"; }
i.fa-chart-line::before { content: "↗"; }
i.fa-cash-register::before { content: "账"; }
i.fa-sitemap::before { content: "联"; }
i.fa-truck-loading::before { content: "渠"; }
i.fa-leaf::before { content: "叶"; }
i.fa-database::before { content: "数"; }
i.fa-chart-pie::before { content: "析"; }
i.fa-shield-alt::before { content: "盾"; }
i.fa-qrcode::before { content: "码"; }
i.fa-plug::before { content: "接"; }
i.fa-map-marked-alt::before { content: "图"; }
i.fa-user-tie::before { content: "人"; }
i.fa-phone::before { content: "☎"; }
i.fa-headset::before { content: "服"; }
i.fa-envelope-open-text::before { content: "@"; }

p {
    margin: 0;
}

button,
input {
    font: inherit;
}

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

.skip-link {
    position: absolute;
    top: -120px;
    left: 16px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink-900);
    color: var(--white);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, #1677ff 0%, #35c8ff 100%);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    color: var(--brand-blue-dark);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(22, 119, 255, 0.26);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: rgba(22, 119, 255, 0.5);
}

.btn-light {
    color: var(--brand-blue-dark);
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 34px rgba(8, 54, 128, 0.14);
}

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(239, 248, 255, 0.58);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(114, 154, 204, 0.18);
    box-shadow: 0 10px 34px rgba(44, 75, 121, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-wordmark {
    color: var(--ink-900);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-blue);
    background: rgba(22, 119, 255, 0.08);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 15px;
    border-radius: var(--radius-sm);
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(22, 119, 255, 0.2);
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: var(--radius-sm);
    color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.mobile-menu-toggle::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.mobile-menu-toggle i {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 860px;
    padding: 126px 0 86px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, #e9f7ff 0%, #f7fcff 45%, #eaf7ff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -14%;
    height: 46%;
    z-index: -1;
    background:
        repeating-linear-gradient(100deg, rgba(22, 119, 255, 0.18) 0 2px, transparent 2px 18px),
        linear-gradient(100deg, rgba(0, 178, 255, 0.28), rgba(32, 226, 204, 0.2) 42%, rgba(22, 119, 255, 0.14));
    clip-path: polygon(0 46%, 12% 34%, 28% 42%, 43% 18%, 58% 30%, 72% 15%, 88% 32%, 100% 24%, 100% 100%, 0 100%);
    filter: blur(0.2px);
    opacity: 0.68;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 38%;
    background:
        radial-gradient(ellipse at center bottom, rgba(255, 255, 255, 0.78), transparent 58%),
        linear-gradient(180deg, transparent 0%, rgba(22, 119, 255, 0.12) 100%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.12)),
        linear-gradient(rgba(22, 119, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 119, 255, 0.05) 1px, transparent 1px);
    background-size: auto, 96px 96px, 96px 96px;
}

.hero-wave {
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 8%;
    height: 28%;
    z-index: -1;
    border-top: 1px solid rgba(22, 119, 255, 0.18);
    transform: skewY(-5deg);
}

.hero-wave-a {
    background: linear-gradient(100deg, transparent, rgba(74, 210, 255, 0.22), transparent);
}

.hero-wave-b {
    bottom: -2%;
    transform: skewY(4deg);
    background: linear-gradient(100deg, rgba(22, 119, 255, 0.16), transparent 52%, rgba(21, 184, 122, 0.16));
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr);
    align-items: center;
    gap: 46px;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    color: var(--brand-blue-dark);
    background: rgba(255, 255, 255, 0.64);
    box-shadow: var(--shadow-xs);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero h1 {
    margin: 22px 0 20px;
    color: var(--ink-900);
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: var(--brand-blue);
}

.hero-subtitle {
    max-width: 620px;
    color: var(--ink-600);
    font-size: 1.08rem;
    line-height: 1.9;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 340px;
    margin-top: 30px;
}

.stat-item {
    min-height: 86px;
    padding: 16px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.16);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    color: var(--ink-900);
    font-size: 1.48rem;
    line-height: 1.1;
    font-weight: 800;
}

.stat-label {
    display: block;
    margin-top: 8px;
    color: var(--ink-500);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-stage {
    position: relative;
    min-height: 620px;
    z-index: 2;
}

.hero-illustration {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(112%, 760px);
    max-width: none;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 30px 70px rgba(22, 119, 255, 0.16));
    opacity: 0.94;
}

.hero-stage-illustrated .stage-ring,
.hero-stage-illustrated .stage-core,
.hero-stage-illustrated .stage-base {
    display: none;
}

.stage-core {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 190px;
    height: 190px;
    transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg);
    display: grid;
    place-items: center;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(144, 213, 255, 0.88) 42%, rgba(22, 119, 255, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        28px 32px 64px rgba(22, 119, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stage-core::before,
.stage-core::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 12px;
}

.stage-core::after {
    inset: -40px;
    border-color: rgba(35, 159, 255, 0.2);
}

.core-label {
    transform: rotateZ(-45deg) rotateX(-58deg);
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 10px 26px rgba(5, 50, 128, 0.25);
}

.core-sub {
    position: absolute;
    right: 18px;
    bottom: 18px;
    transform: rotateZ(-45deg) rotateX(-58deg);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.64rem;
    font-weight: 800;
}

.stage-ring {
    position: absolute;
    left: 50%;
    top: 48%;
    border-radius: 50%;
    border: 1px dashed rgba(22, 119, 255, 0.32);
    transform: translate(-50%, -50%);
}

.stage-ring-one {
    width: 440px;
    height: 440px;
}

.stage-ring-two {
    width: 560px;
    height: 560px;
    border-style: solid;
    border-color: rgba(34, 211, 238, 0.18);
}

.stage-base {
    position: absolute;
    left: 50%;
    bottom: 7%;
    width: 440px;
    height: 104px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96) 0%, rgba(48, 172, 255, 0.3) 34%, rgba(22, 119, 255, 0.08) 62%, transparent 70%);
    border: 1px solid rgba(22, 119, 255, 0.18);
    box-shadow: 0 34px 70px rgba(22, 119, 255, 0.2);
}

.stage-base::before,
.stage-base::after {
    content: "";
    position: absolute;
    inset: 18px 52px;
    border-radius: 50%;
    border: 1px solid rgba(22, 119, 255, 0.26);
}

.stage-base::after {
    inset: 34px 120px;
    background: rgba(255, 255, 255, 0.68);
}

.floating-card {
    position: absolute;
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 14px;
    width: 260px;
    min-height: 96px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.floating-card i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    font-size: 1.35rem;
    box-shadow: 0 12px 26px rgba(22, 119, 255, 0.22);
}

.floating-card h2 {
    margin: 0 0 4px;
    color: var(--brand-blue);
    font-size: 1.16rem;
    line-height: 1.25;
}

.floating-card p {
    color: var(--ink-600);
    font-size: 0.84rem;
    line-height: 1.55;
}

.floating-card-left-top {
    left: 2%;
    top: 12%;
}

.floating-card-left-bottom {
    left: -4%;
    top: 55%;
}

.floating-card-left-bottom i {
    background: linear-gradient(135deg, var(--brand-green), #56d4a6);
}

.floating-card-right-top {
    right: 0;
    top: 17%;
}

.floating-card-right-top i {
    background: linear-gradient(135deg, var(--brand-violet), #70a2ff);
}

.floating-card-right-bottom {
    right: -5%;
    top: 60%;
}

.floating-card-right-bottom i {
    background: linear-gradient(135deg, var(--brand-gold), #ff7d54);
}

/* Shared sections */
section {
    position: relative;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-header h2 {
    margin: 16px 0 12px;
    color: var(--ink-900);
    font-size: 2.24rem;
    line-height: 1.24;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.section-header p {
    color: var(--ink-500);
    font-size: 1rem;
    line-height: 1.85;
}

/* Products */
.products {
    padding: 92px 0;
    background:
        linear-gradient(180deg, rgba(235, 246, 255, 0.72), rgba(255, 255, 255, 0.94));
}

.product-flow {
    display: grid;
    gap: 22px;
}

.product-module {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: center;
    min-height: 430px;
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 249, 255, 0.86));
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-module-featured {
    background:
        linear-gradient(135deg, rgba(164, 228, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.product-index {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--brand-blue-dark);
    background: rgba(22, 119, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.product-copy h3 {
    margin: 16px 0 10px;
    color: var(--ink-900);
    font-size: 2rem;
    line-height: 1.25;
}

.product-tagline {
    margin-bottom: 12px;
    color: var(--brand-blue);
    font-size: 1.04rem;
    font-weight: 800;
}

.product-copy p {
    color: var(--ink-600);
    font-size: 0.98rem;
    line-height: 1.82;
}

.product-copy ul {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    list-style: none;
}

.product-copy li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-700);
    font-size: 0.94rem;
    font-weight: 700;
}

.product-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(21, 184, 122, 0.12);
}

.phone-showcase {
    display: flex;
    justify-content: center;
}

.phone-frame,
.miniapp-phone {
    position: relative;
    width: min(100%, 290px);
    aspect-ratio: 9 / 16;
    padding: 12px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, #f8fbff, #d8ecff);
    border: 1px solid rgba(22, 119, 255, 0.22);
    box-shadow: 0 24px 58px rgba(22, 119, 255, 0.16);
}

.phone-frame::before,
.miniapp-phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 72px;
    height: 6px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(7, 20, 47, 0.16);
    z-index: 2;
}

.phone-frame img,
.miniapp-phone img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: contain;
    background: var(--white);
}

.phone-showcase-main .phone-frame {
    width: min(100%, 312px);
}

/* Solutions */
.solutions {
    padding: 96px 0;
    background:
        linear-gradient(180deg, #f2f9ff 0%, #e7f4ff 100%);
    overflow: hidden;
}

.solutions::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 190px;
    background:
        linear-gradient(110deg, transparent 0%, rgba(22, 119, 255, 0.08) 34%, transparent 70%),
        repeating-linear-gradient(100deg, rgba(22, 119, 255, 0.08) 0 1px, transparent 1px 22px);
    opacity: 0.7;
    pointer-events: none;
}

.solution-tabs {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 100%;
    margin: -18px auto 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    background: rgba(255, 255, 255, 0.56);
}

.solution-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--ink-600);
    font-size: 0.88rem;
    font-weight: 700;
}

.solution-tabs a:hover {
    color: var(--brand-blue);
    background: var(--white);
}

.solution-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.solution-card {
    min-height: 316px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.solution-card-showcase,
.solution-card-case {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 30px;
}

.solution-card-showcase {
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 540px);
    min-height: 580px;
    padding: 42px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 248, 255, 0.86));
}

.solution-card-showcase-main {
    min-height: 620px;
    background:
        linear-gradient(135deg, rgba(164, 228, 255, 0.72), rgba(255, 255, 255, 0.94));
}

.solution-card-carousel {
    width: min(100%, 520px);
    justify-self: center;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.14);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.82));
    box-shadow: 0 22px 56px rgba(22, 119, 255, 0.13);
}

.solution-card-showcase-main .solution-card-carousel {
    width: min(100%, 560px);
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1086 / 1448;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--white);
    isolation: isolate;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 50%;
    color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-xs);
    transform: translateY(-50%);
    opacity: 0.72;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(5, 26, 67, 0.26);
    transform: translateX(-50%);
}

.carousel-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
}

.carousel-dot.active {
    width: 18px;
    background: var(--white);
}

.solution-card-case {
    grid-template-columns: 226px minmax(0, 1fr);
    min-height: 456px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 255, 0.88));
}

.solution-card-case .miniapp-phone {
    width: min(100%, 236px);
    justify-self: center;
}

.solution-card-case .case-qr-panel {
    grid-template-columns: 88px 1fr;
}

.solution-card-case .case-qr-panel img {
    width: 88px;
    height: 88px;
}

.solution-card-primary,
.solution-card-soft {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 210px;
    align-items: center;
    gap: 18px;
    padding: 34px;
}

.solution-card-primary {
    background:
        linear-gradient(135deg, rgba(116, 215, 255, 0.78), rgba(226, 248, 255, 0.9));
}

.solution-card-soft {
    background:
        linear-gradient(135deg, rgba(232, 230, 255, 0.88), rgba(201, 244, 232, 0.76));
}

.solution-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--brand-blue-dark);
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
}

.solution-copy h3 {
    margin: 14px 0 12px;
    color: var(--ink-900);
    font-size: 1.58rem;
    line-height: 1.32;
}

.solution-copy,
.solution-card-carousel,
.solution-card-case .miniapp-phone {
    min-width: 0;
}

.solution-copy p {
    color: var(--ink-700);
    font-size: 0.96rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.solution-copy ul {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    list-style: none;
}

.solution-copy li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.solution-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.solution-visual {
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(150, 218, 255, 0.68));
    transform: rotateX(58deg) rotateZ(45deg);
    box-shadow: 24px 24px 46px rgba(22, 119, 255, 0.18);
}

.solution-visual i {
    transform: rotateZ(-45deg) rotateX(-58deg);
    color: var(--brand-blue);
    font-size: 4.5rem;
}

.solution-visual-farm i {
    color: var(--brand-green);
}

.solution-card-image {
    position: relative;
    min-height: 316px;
    background: #0d2b57;
}

.solution-card-sales {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 24px;
    align-items: center;
    min-height: 210px;
    padding: 30px 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 247, 255, 0.9)),
        linear-gradient(100deg, rgba(21, 184, 122, 0.1), rgba(22, 119, 255, 0.1));
}

.sales-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr 58px;
    gap: 12px;
    align-items: center;
}

.sales-flow span,
.sales-flow i {
    min-height: 58px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    font-weight: 800;
}

.sales-flow span {
    color: var(--brand-blue-dark);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(22, 119, 255, 0.14);
}

.sales-flow i {
    color: var(--brand-blue);
}

.sales-flow i:last-child {
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    box-shadow: 0 12px 28px rgba(22, 119, 255, 0.18);
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    min-height: 316px;
    object-fit: cover;
    opacity: 0.92;
}

.solution-image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(5, 26, 67, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.solution-image-caption span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.solution-image-caption strong {
    font-size: 1.1rem;
}

/* Engines */
.engines {
    padding: 96px 0;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.engine-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.engine-card {
    min-height: 206px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.12);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.engine-card-large {
    grid-row: span 2;
    min-height: 430px;
    background:
        linear-gradient(180deg, rgba(232, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.engine-card > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--brand-blue);
    background: rgba(22, 119, 255, 0.1);
    font-size: 1.2rem;
}

.engine-visual {
    height: 200px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        linear-gradient(rgba(22, 119, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 119, 255, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, rgba(22, 119, 255, 0.12), rgba(34, 211, 238, 0.1));
    background-size: 28px 28px, 28px 28px, auto;
}

.engine-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engine-visual i {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    font-size: 3.2rem;
    transform: rotateX(56deg) rotateZ(45deg);
    box-shadow: 22px 26px 48px rgba(22, 119, 255, 0.24);
}

.engine-card h3 {
    margin: 18px 0 10px;
    color: var(--ink-900);
    font-size: 1.2rem;
    line-height: 1.35;
}

.engine-card-large h3 {
    font-size: 1.5rem;
}

.engine-card p {
    color: var(--ink-500);
    font-size: 0.94rem;
    line-height: 1.78;
}

/* Cases */
.cases {
    padding: 96px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-card {
    min-height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(22, 119, 255, 0.14);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.case-card img,
.case-abstract {
    width: 100%;
    height: 238px;
    object-fit: cover;
    background: var(--brand-blue-soft);
}

.case-abstract {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, #c7ecff, #edf8ff 42%, #cff5e7);
}

.case-abstract::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(22, 119, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 119, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.case-abstract i {
    position: relative;
    z-index: 1;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    font-size: 3.2rem;
    box-shadow: var(--shadow-blue);
}

.case-content {
    padding: 24px;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--brand-blue);
    background: rgba(22, 119, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.case-content h3 {
    margin: 14px 0 10px;
    color: var(--ink-900);
    font-size: 1.28rem;
    line-height: 1.32;
}

.case-content p {
    color: var(--ink-500);
    font-size: 0.94rem;
    line-height: 1.74;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.case-metrics span {
    min-height: 64px;
    display: grid;
    align-content: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--ink-50);
    color: var(--ink-500);
    font-size: 0.78rem;
}

.case-metrics strong {
    display: block;
    color: var(--brand-blue);
    font-size: 1rem;
}

.miniapp-cases {
    background:
        linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
}

.miniapp-case-list {
    display: grid;
    gap: 24px;
}

.miniapp-case {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    min-height: 520px;
    padding: 42px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 248, 255, 0.86));
    box-shadow: var(--shadow-sm);
}

.miniapp-case:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 370px;
}

.miniapp-case:nth-child(even) .miniapp-phone {
    order: 2;
}

.miniapp-case-content h3 {
    margin: 16px 0 12px;
    color: var(--ink-900);
    font-size: 1.72rem;
    line-height: 1.28;
}

.miniapp-case-content p {
    color: var(--ink-600);
    font-size: 0.98rem;
    line-height: 1.82;
}

.miniapp-case-content .case-tagline {
    margin-bottom: 10px;
    color: var(--brand-blue);
    font-weight: 800;
    line-height: 1.6;
}

.miniapp-case .miniapp-phone {
    width: min(100%, 330px);
    justify-self: center;
}

.case-qr-panel {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.14);
    background: rgba(255, 255, 255, 0.78);
}

.case-qr-panel img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid rgba(22, 119, 255, 0.12);
}

.case-qr-panel strong {
    display: block;
    color: var(--ink-900);
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.case-qr-panel p {
    color: var(--ink-500);
    font-size: 0.86rem;
}

/* Knowledge */
.knowledge {
    padding: 96px 0;
    background:
        linear-gradient(180deg, #ffffff, #f2f9ff);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.knowledge-card {
    min-height: 186px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.knowledge-card h3 {
    margin: 0 0 12px;
    color: var(--ink-900);
    font-size: 1.18rem;
}

.knowledge-card p {
    color: var(--ink-600);
    font-size: 0.94rem;
    line-height: 1.82;
}

/* About */
.about {
    padding: 96px 0;
    background: linear-gradient(180deg, #eef8ff, #ffffff);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 38px;
    align-items: center;
}

.about-copy h2 {
    margin: 18px 0 18px;
    color: var(--ink-900);
    font-size: 2.24rem;
    line-height: 1.25;
    font-weight: 800;
}

.about-copy p {
    color: var(--ink-600);
    font-size: 1rem;
    line-height: 1.85;
}

.about-copy p + p {
    margin-top: 16px;
}

.about-panel {
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 119, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(240, 249, 255, 0.8));
    box-shadow: var(--shadow-md);
}

.founder-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
}

.founder-avatar {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 1.8rem;
}

.founder-card h3 {
    margin: 0 0 6px;
    color: var(--ink-900);
    font-size: 1.36rem;
}

.founder-card p {
    color: var(--ink-600);
    font-size: 0.94rem;
    line-height: 1.72;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.about-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--ink-700);
    background: var(--white);
    border: 1px solid rgba(22, 119, 255, 0.14);
    font-size: 0.84rem;
    font-weight: 700;
}

/* Contact */
.contact {
    padding: 96px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #dff3ff 100%);
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -18%;
    height: 54%;
    background:
        repeating-linear-gradient(98deg, rgba(22, 119, 255, 0.13) 0 2px, transparent 2px 20px),
        linear-gradient(105deg, rgba(22, 119, 255, 0.2), rgba(34, 211, 238, 0.24), rgba(21, 184, 122, 0.12));
    clip-path: polygon(0 28%, 16% 42%, 33% 24%, 52% 35%, 70% 20%, 86% 34%, 100% 24%, 100% 100%, 0 100%);
    pointer-events: none;
}

.cta-band {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px auto;
    gap: 32px;
    align-items: center;
    min-height: 238px;
    padding: 38px;
    border-radius: var(--radius);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(22, 119, 255, 0.94), rgba(34, 211, 238, 0.74) 56%, rgba(21, 184, 122, 0.74));
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: auto -8% -36% -8%;
    height: 72%;
    background:
        repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 18px);
    opacity: 0.54;
    pointer-events: none;
}

.cta-illustration {
    position: relative;
    z-index: 1;
    width: min(100%, 280px);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(8, 54, 128, 0.18);
}

.cta-band .section-kicker {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
}

.cta-band h2 {
    max-width: 720px;
    margin: 18px 0 10px;
    color: var(--white);
    font-size: 2.12rem;
    line-height: 1.28;
}

.cta-band p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.contact-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.contact-card {
    min-height: 172px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-card > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--brand-blue);
    background: rgba(22, 119, 255, 0.1);
}

.contact-card h3 {
    margin: 14px 0 8px;
    color: var(--ink-900);
    font-size: 1.08rem;
}

.contact-card p {
    color: var(--ink-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--brand-blue);
    font-weight: 800;
}

.contact-card-qr {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 18px;
    align-items: center;
}

.qr-placeholder {
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(22, 119, 255, 0.14);
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    padding: 72px 0 30px;
    color: rgba(255, 255, 255, 0.74);
    background:
        linear-gradient(180deg, #06122c 0%, #020817 100%);
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 42px;
}

.footer-brand .logo-icon {
    width: 166px;
    height: 50px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 6px;
    color: var(--white);
    font-size: 0.98rem;
}

.footer-column a,
.footer-column address {
    color: rgba(255, 255, 255, 0.58);
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-column a:hover {
    color: var(--brand-cyan);
}

.footer-bottom {
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.8rem;
}

/* Reveal and utility */
.reveal {
    opacity: 1;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--up {
    transform: none;
}

.reveal--left {
    transform: none;
}

.reveal--right {
    transform: none;
}

.reveal--scale {
    transform: none;
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

.toast-container {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 9999;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.toast {
    max-width: 320px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--white);
    background: var(--ink-900);
    border-left: 3px solid var(--brand-blue);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.toast--error {
    border-left-color: #ef4444;
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(22, 119, 255, 0.18);
    color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 1120px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-copy {
        max-width: 760px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle,
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stage {
        min-height: 520px;
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-illustration {
        width: min(100%, 720px);
    }

    .engine-grid,
    .case-grid,
    .knowledge-grid,
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-module,
    .solution-card-showcase,
    .solution-card-showcase-main,
    .solution-card-case,
    .miniapp-case,
    .miniapp-case:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .solution-card-showcase-main {
        grid-column: auto;
    }

    .solution-card-carousel,
    .solution-card-case .miniapp-phone {
        order: -1;
    }

    .miniapp-case:nth-child(even) .miniapp-phone {
        order: 0;
    }

    .phone-showcase {
        order: -1;
    }

    .engine-card-large {
        grid-column: span 2;
        grid-row: auto;
        min-height: 360px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: grid;
        place-items: center;
        position: fixed;
        top: 14px;
        right: 18px;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 22px 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-md);
        transition: left 0.25s var(--ease);
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        width: 100%;
        min-height: 46px;
        padding: 0 16px;
        font-size: 1rem;
    }

    .hero {
        padding-top: 106px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .floating-card {
        width: 228px;
    }

    .floating-card-left-top,
    .floating-card-left-bottom {
        left: 0;
    }

    .floating-card-right-top,
    .floating-card-right-bottom {
        right: 0;
    }

    .solution-bento,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .solution-card-primary,
    .solution-card-soft,
    .solution-card-showcase,
    .solution-card-case,
    .solution-card-sales {
        grid-template-columns: 1fr;
    }

    .solution-visual {
        width: 164px;
        height: 164px;
        margin: 0 auto;
    }

    .sales-flow {
        grid-template-columns: 1fr;
    }

    .sales-flow i:not(:last-child) {
        min-height: 32px;
        transform: rotate(90deg);
    }

    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-illustration {
        width: min(100%, 420px);
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: auto;
        padding-bottom: 56px;
    }

    .mobile-menu-toggle {
        right: auto;
        left: min(calc(100vw - 58px), 334px);
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        max-width: 300px;
        font-size: 0.96rem;
        line-height: 1.78;
    }

    .hero-actions {
        width: 100%;
        max-width: 300px;
        flex-direction: column;
        align-items: stretch;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-item {
        flex: 1 1 0;
        min-height: 74px;
        padding: 12px 6px;
    }

    .stat-number {
        font-size: 1.22rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .engine-grid,
    .case-grid,
    .knowledge-grid,
    .contact-cards,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .engine-card-large {
        grid-column: auto;
        min-height: auto;
    }

    .hero-stage {
        min-height: 310px;
        margin-top: 16px;
    }

    .hero-illustration {
        width: 460px;
    }

    .stage-ring-one {
        width: 320px;
        height: 320px;
    }

    .stage-ring-two {
        width: 420px;
        height: 420px;
    }

    .stage-core {
        width: 142px;
        height: 142px;
    }

    .core-label {
        font-size: 3rem;
    }

    .stage-base {
        width: 330px;
        bottom: 0;
    }

    .floating-card {
        display: none;
    }

    .section-header h2,
    .about-copy h2,
    .cta-band h2 {
        font-size: 1.45rem;
    }

    .section-header {
        max-width: 300px;
    }

    .products,
    .solutions,
    .engines,
    .cases,
    .about,
    .knowledge,
    .contact {
        padding: 72px 0;
    }

    .solution-tabs {
        width: 100%;
        border-radius: var(--radius);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
    }

    .solution-tabs a {
        min-width: 0;
        padding: 0 10px;
        font-size: 0.78rem;
        text-align: center;
        white-space: normal;
    }

    .cta-band {
        padding: 28px;
    }

    .cta-illustration {
        width: min(100%, 300px);
    }

    .contact-card-qr {
        grid-template-columns: 1fr;
    }

    .case-qr-panel {
        grid-template-columns: 88px 1fr;
    }

    .case-qr-panel img {
        width: 88px;
        height: 88px;
    }
}

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

    .header .logo-icon {
        width: 38px;
        height: 38px;
    }

    .brand-wordmark {
        font-size: 0.92rem;
    }

    .hero {
        padding-top: 94px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .stat-item,
    .product-module,
    .miniapp-case,
    .knowledge-card,
    .solution-card-showcase,
    .solution-card-case,
    .solution-card-primary,
    .solution-card-soft,
    .solution-card-sales,
    .engine-card,
    .case-content,
    .about-panel,
    .contact-card {
        padding: 20px;
    }

    .phone-frame,
    .miniapp-phone {
        width: min(100%, 250px);
        padding: 10px;
        border-radius: 26px;
    }

    .solution-card-carousel {
        width: min(100%, 260px);
        padding: 10px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
    }

    .case-qr-panel {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ink-50);
}

::-webkit-scrollbar-thumb {
    background: #b8c8da;
    border-radius: 999px;
}
