:root {
    --ink: #132554;
    --muted: #5e7197;
    --blue: #4179e8;
    --blue-deep: #2f5cd6;
    --sky: #eaf3ff;
    --lavender: #f2efff;
    --gold: #ffb62e;
    --line: rgba(50, 91, 178, 0.13);
    --surface: #ffffff;
    --shadow: 0 24px 56px rgba(46, 79, 147, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: #fbfdff;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

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

header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 74px;
    border-bottom: 1px solid rgba(44, 85, 167, 0.08);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.brand img,
.footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    object-fit: cover;
    object-position: 50% 43%;
    box-shadow: 0 8px 18px rgba(47, 92, 214, 0.2);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    position: relative;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

nav a:hover {
    color: var(--blue-deep);
}

nav a:hover::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 98px 0 82px;
    background:
        radial-gradient(circle at 14% 14%, rgba(255, 205, 77, 0.22), transparent 19rem),
        radial-gradient(circle at 83% 38%, rgba(114, 143, 255, 0.2), transparent 29rem),
        linear-gradient(130deg, #f8fbff 10%, #eff5ff 57%, #f8f6ff 100%);
}

.hero::after {
    position: absolute;
    right: -7%;
    bottom: -18%;
    width: 33rem;
    height: 33rem;
    content: "";
    border: 1px solid rgba(69, 119, 229, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(69, 119, 229, 0.04), 0 0 0 84px rgba(69, 119, 229, 0.025);
}

.hero-grid,
.preview-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 56px;
}

.hero-copy {
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--blue-deep);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(255, 182, 46, 0.18);
}

h1,
h2,
h3 {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-weight: 700;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.22;
    letter-spacing: 0.02em;
}

.hero-description {
    max-width: 500px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 15px;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(65, 121, 232, 0.25);
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.primary-link:hover {
    background: var(--blue-deep);
    transform: translateY(-3px);
}

.text-link {
    color: var(--blue-deep);
    font-weight: 700;
}

.text-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.text-link:hover i {
    transform: translateX(4px);
}

.hero-note {
    margin-top: 28px;
    color: #7d8cab;
    font-size: 13px;
}

.hero-note i {
    margin-right: 5px;
    color: var(--gold);
}

.hero-art {
    display: flex;
    justify-content: center;
}

.art-card {
    position: relative;
    display: grid;
    width: min(100%, 430px);
    aspect-ratio: 1 / 1;
    place-items: end center;
    overflow: hidden;
    border: 9px solid rgba(255, 255, 255, 0.8);
    border-radius: 48% 52% 44% 56% / 55% 44% 56% 45%;
    background: linear-gradient(155deg, #dce9ff, #ffffff 68%);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.art-card::before {
    position: absolute;
    top: 12%;
    left: 17%;
    width: 24%;
    aspect-ratio: 1;
    content: "";
    border-radius: 50%;
    background: rgba(255, 190, 55, 0.25);
}

.art-card img {
    position: relative;
    z-index: 1;
    width: 118%;
    max-width: none;
    mix-blend-mode: multiply;
    transform: translateY(7%);
}

.speech {
    position: absolute;
    z-index: 2;
    padding: 9px 13px;
    border: 1px solid rgba(68, 114, 220, 0.1);
    border-radius: 14px;
    color: var(--blue-deep);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 18px rgba(42, 74, 142, 0.1);
    font-size: 13px;
    font-weight: 700;
}

.speech-top {
    top: 19%;
    right: 0;
    transform: rotate(-4deg);
}

.speech-bottom {
    bottom: 22%;
    left: 0;
    transform: rotate(4deg);
}

.features {
    padding: 102px 0;
    background: #fff;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 50px;
}

h2 {
    font-size: clamp(31px, 4vw, 47px);
    line-height: 1.38;
    letter-spacing: 0.01em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    min-height: 260px;
    padding: 31px 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(41, 80, 159, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    box-shadow: 0 22px 36px rgba(41, 80, 159, 0.12);
    transform: translateY(-7px);
}

.feature-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 29px;
    border-radius: 17px;
    place-items: center;
    font-size: 21px;
}

.icon-chat {
    color: #416fdc;
    background: #e7efff;
}

.icon-heart {
    color: #ee7184;
    background: #fff0f2;
}

.icon-clock {
    color: #c5880f;
    background: #fff5dc;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.feature-card p,
.preview-copy p,
.contact-intro > p:last-child {
    color: var(--muted);
    line-height: 1.85;
}

.preview {
    overflow: hidden;
    padding: 98px 0;
    background:
        linear-gradient(120deg, rgba(232, 240, 255, 0.82), rgba(251, 249, 255, 0.9)),
        #f1f5fe;
}

.preview-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 82px;
}

.preview-device {
    position: relative;
    display: flex;
    justify-content: center;
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #a9c4ff;
    filter: blur(56px);
    opacity: 0.45;
    transform: translate(-50%, -50%);
}

.preview-device img {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    border: 8px solid rgba(255, 255, 255, 0.8);
    border-radius: 34px;
    box-shadow: 0 28px 42px rgba(37, 63, 119, 0.24);
}

.preview-copy {
    max-width: 480px;
}

.preview-copy h2 {
    margin-bottom: 22px;
}

.chat-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 29px;
}

.chat-prompts span {
    padding: 9px 14px;
    border: 1px solid rgba(82, 99, 232, 0.22);
    border-radius: 99px;
    color: #6261cf;
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.contact {
    padding: 100px 0;
    background: #fff;
}

.contact-card {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 50px;
    padding: 52px;
    border-radius: 32px;
    color: #fff;
    background: #1c3778;
    box-shadow: 0 24px 48px rgba(28, 55, 120, 0.22);
}

.contact-card .eyebrow {
    color: #c4d6ff;
}

.contact-card .eyebrow span {
    background: var(--gold);
}

.contact-card h2 {
    margin-bottom: 15px;
}

.contact-intro > p:last-child {
    color: #bdcbea;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
    align-content: center;
}

.contact-details div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(221, 234, 255, 0.16);
}

.contact-details span {
    display: block;
    margin-bottom: 5px;
    color: #9fb5e6;
    font-size: 13px;
}

.contact-details strong,
.contact-details a {
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-details a:hover {
    color: #c3d7ff;
}

footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: #fbfdff;
}

.footer-inner {
    min-height: 38px;
    color: #8391ad;
    font-size: 13px;
}

.footer-brand {
    color: var(--ink);
    font-size: 17px;
}

.footer-brand img {
    width: 27px;
    height: 27px;
    border-radius: 9px;
}

.footer-inner a:hover {
    color: var(--blue);
}

.reveal {
    animation: rise-in 0.7s both cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-delay {
    animation-delay: 0.14s;
}

.reveal-delay-one {
    animation-delay: 0.1s;
}

.reveal-delay-two {
    animation-delay: 0.2s;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .preview-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 45px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-art {
        grid-row: 1;
    }

    .art-card {
        width: min(74vw, 430px);
    }

    .preview-grid {
        gap: 46px;
    }

    .preview-copy {
        max-width: 620px;
    }

    .contact-card {
        gap: 34px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1160px);
    }

    header {
        height: auto;
        padding: 13px 0;
    }

    .header-inner {
        gap: 12px;
    }

    .brand {
        font-size: 19px;
    }

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

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 66px 0 58px;
    }

    h1 {
        font-size: 43px;
    }

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

    .hero-actions {
        gap: 20px;
        margin-top: 26px;
    }

    .primary-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .text-link {
        font-size: 14px;
    }

    .hero-note {
        font-size: 12px;
    }

    .art-card {
        width: min(88vw, 390px);
    }

    .speech {
        padding: 8px 10px;
        font-size: 12px;
    }

    .features,
    .preview,
    .contact {
        padding: 68px 0;
    }

    h2 {
        font-size: 31px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .preview-device img {
        width: min(84vw, 390px);
        border-radius: 28px;
    }

    .contact-card {
        padding: 32px 25px;
        border-radius: 24px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    footer {
        padding: 23px 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

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

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