:root {
    --bg: #fff7fb;
    --surface: rgba(255, 255, 255, 0.76);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --surface-soft: rgba(255, 246, 251, 0.74);
    --ink: #1b2238;
    --muted: #69748b;
    --line: rgba(255, 126, 170, 0.18);
    --line-strong: rgba(45, 56, 86, 0.14);
    --teal: #49cdbf;
    --blue: #78b7ff;
    --rose: #ff6f9e;
    --violet: #8f7cff;
    --gold: #d9a93a;
    --deep: #151a2e;
    --shadow: 0 24px 70px rgba(60, 34, 66, 0.12);
    --shadow-strong: 0 36px 110px rgba(32, 26, 56, 0.18);
    --radius: 8px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 195, 219, 0.48), transparent 28rem),
        radial-gradient(circle at 88% 6%, rgba(199, 242, 255, 0.46), transparent 30rem),
        linear-gradient(180deg, #fff7fb 0%, #ffffff 46%, #fff8fc 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
}

main,
.site-header,
.site-footer {
    position: relative;
    z-index: 1;
}

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

.myu-visual-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#myu-webgl-field,
.myu-light-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#myu-webgl-field {
    opacity: 0.72;
}

.myu-light-field {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 119, 164, 0.2), transparent 18rem),
        radial-gradient(circle at 74% 12%, rgba(102, 217, 255, 0.18), transparent 20rem),
        radial-gradient(circle at 62% 80%, rgba(117, 255, 209, 0.12), transparent 24rem);
    mix-blend-mode: multiply;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.64);
    background: rgba(255, 249, 252, 0.72);
    backdrop-filter: blur(22px) saturate(1.24);
    box-shadow: 0 18px 54px rgba(47, 39, 68, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: transparent;
    border: 0;
    display: grid;
    place-items: center;
    box-shadow: none;
    flex: 0 0 auto;
}

.brand-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(255, 111, 158, 0.14));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-copy strong {
    font-size: 18px;
    line-height: 1.2;
    color: #1a2035;
}

.brand-copy small {
    font-size: 12px;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    color: #354058;
    transition: transform 0.24s var(--ease), background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link.featured {
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--violet) 52%, var(--blue));
    box-shadow: 0 16px 40px rgba(255, 111, 158, 0.24);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 32px rgba(37, 29, 52, 0.08);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

.front-main {
    overflow: hidden;
}

.eyebrow,
.section-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--rose);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-head span::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--rose), var(--blue));
}

.section-head {
    max-width: 790px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head--left {
    margin: 0;
    text-align: left;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: 0;
    background: linear-gradient(90deg, #26304f 0%, var(--rose) 24%, #62c7ff 52%, #26304f 82%, var(--rose) 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 16px 34px rgba(255, 111, 158, 0.12);
    filter: drop-shadow(0 14px 26px rgba(255, 111, 158, 0.1));
    animation: myuGradientText 8s ease-in-out infinite;
}

.section-head p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
}

.ui-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.24s var(--ease), box-shadow 0.24s ease, background 0.24s ease;
}

.ui-button--primary {
    color: #fff;
    background: linear-gradient(135deg, #ff6f9e, #8f7cff 52%, #67cfff);
    box-shadow: 0 20px 46px rgba(255, 111, 158, 0.26);
}

.ui-button--ghost {
    color: #29354d;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(42, 34, 58, 0.08);
}

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

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.compact-list article,
.flow-grid article,
.fact-table {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 246, 251, 0.68)),
        radial-gradient(circle at 0% 0%, rgba(255, 120, 166, 0.14), transparent 16rem);
    box-shadow: 0 18px 54px rgba(41, 33, 58, 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
}

.info-card::before,
.compact-list article::before,
.flow-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.62) 46%, transparent 68%);
    transform: translateX(-110%);
    transition: transform 0.7s var(--ease);
    pointer-events: none;
}

.info-card:hover::before,
.compact-list article:hover::before,
.flow-grid article:hover::before {
    transform: translateX(110%);
}

.info-card {
    min-height: 224px;
    padding: 24px;
}

.info-card > span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 9px;
    border-radius: var(--radius);
    background: rgba(120, 183, 255, 0.14);
    color: #4d68c8;
    font-size: 12px;
    font-weight: 900;
}

.info-card h3 {
    position: relative;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: 0;
    z-index: 1;
}

.info-card p {
    position: relative;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    z-index: 1;
}

.tag-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-row em {
    font-style: normal;
    font-size: 12px;
    color: #345c71;
    background: rgba(73, 205, 191, 0.12);
    border: 1px solid rgba(73, 205, 191, 0.18);
    border-radius: var(--radius);
    padding: 4px 8px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 111, 158, 0.22), transparent 26rem),
        radial-gradient(circle at 92% 0%, rgba(120, 183, 255, 0.2), transparent 28rem),
        linear-gradient(135deg, #20243a 0%, #14192b 100%);
    color: #f5f7ff;
}

.footer-inner {
    padding: 44px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
}

.footer-brand strong {
    display: block;
    font-size: 18px;
}

.footer-brand p {
    margin-top: 8px;
    max-width: 660px;
    color: rgba(245, 247, 255, 0.72);
    font-size: 13px;
    line-height: 1.8;
}

.footer-links-block {
    justify-self: end;
    min-width: 0;
}

.footer-links-block h4 {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 900;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
    max-width: 380px;
    line-height: 1.9;
}

.footer-links a {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(245, 247, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 247, 255, 0.12);
    color: rgba(245, 247, 255, 0.62);
    font-size: 12px;
}

.footer-bottom a {
    color: inherit;
}

.footer-police {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-police img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex: 0 0 auto;
}

@keyframes myuGradientText {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal="zoom"] {
    transform: translateY(18px) scale(0.96);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .card-grid--four,
    .card-grid--three,
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .brand-mark img {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 32;
        background: rgba(27, 34, 56, 0.18);
        backdrop-filter: blur(6px);
    }

    body.nav-open .nav-backdrop {
        display: block;
    }

    .site-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 78px;
        z-index: 41;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.82);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: var(--shadow-strong);
        backdrop-filter: blur(20px);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .nav-link {
        justify-content: flex-start;
    }

    .card-grid--four,
    .card-grid--three,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-links-block {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    #myu-webgl-field {
        display: none;
    }
}
