:root {
    --primary: rgb(70,139,223);
    --primary-deep: #2469b6;
    --primary-soft: #eaf3ff;
    --primary-light: #f5f9ff;
    --text: #102033;
    --muted: #5d7087;
    --line: #d9e7f7;
    --white: #ffffff;
    --card: rgba(255,255,255,0.92);
    --shadow: 0 16px 42px rgba(31, 83, 145, 0.11);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    background:
        radial-gradient(circle at top left, rgba(70,139,223,0.16), transparent 34rem),
        linear-gradient(180deg, #f6fbff 0%, #ffffff 48%, #f7fbff 100%);
    overflow-x: hidden;
}

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

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

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

h1, h2, h3 {
    margin: 0;
    color: var(--text);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 7vw, 4.5rem);
}

h2 {
    font-size: clamp(1.55rem, 4.5vw, 2.7rem);
}

h3 {
    font-size: 1.14rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(217,231,247,0.8);
}

.header-inner,
.section,
.hero,
.footer-inner,
.footer-bottom {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #0f2a46;
    white-space: nowrap;
}

.logo-img,
.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 12px;
}

.brand-text {
    font-size: 1.05rem;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-deep);
}

.main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 6px;
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    padding: 12px 14px;
    border-radius: 13px;
    color: #26415e;
    font-size: 0.96rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-soft);
    color: var(--primary-deep);
}

.hero {
    padding: 50px 0 34px;
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.kicker,
.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--primary-deep);
    background: rgba(70,139,223,0.11);
    border: 1px solid rgba(70,139,223,0.16);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.04rem;
    max-width: 680px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-visual {
    position: relative;
    min-height: 300px;
    border-radius: 30px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(234,243,255,0.86)),
        radial-gradient(circle at 70% 20%, rgba(70,139,223,0.22), transparent 18rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(217,231,247,0.9);
    overflow: hidden;
}

.hero-visual::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    bottom: -60px;
    background: rgba(70,139,223,0.12);
    border-radius: 999px;
}

.app-shot {
    width: min(78vw, 320px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 32px rgba(26, 69, 121, 0.16));
}

.floating-card {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    min-width: 154px;
    padding: 13px 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #2c77cf);
    box-shadow: 0 12px 26px rgba(70,139,223,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(70,139,223,0.28);
}

.section {
    padding: 38px 0;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 780px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.card,
.info-card,
.faq-item,
.step-card,
.article-panel {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid rgba(217,231,247,0.9);
    box-shadow: 0 10px 30px rgba(31, 83, 145, 0.08);
}

.card,
.info-card,
.faq-item,
.step-card,
.article-panel {
    padding: 22px;
}

.feature-grid,
.card-grid,
.step-grid,
.article-grid {
    display: grid;
    gap: 16px;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    display: block;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: var(--primary);
    margin-bottom: 16px;
}

.soft-panel {
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(70,139,223,0.12), rgba(255,255,255,0.84));
    border: 1px solid rgba(70,139,223,0.18);
}

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

.stat {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    color: var(--primary-deep);
    font-size: 1.45rem;
    line-height: 1.2;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item h3 {
    margin-bottom: 8px;
}

.page-hero {
    padding: 46px 0 22px;
    background:
        linear-gradient(180deg, rgba(234,243,255,0.72), rgba(255,255,255,0)),
        radial-gradient(circle at 82% 8%, rgba(70,139,223,0.14), transparent 22rem);
}

.page-hero .section {
    padding-top: 0;
    padding-bottom: 0;
}

.article-layout {
    display: grid;
    gap: 18px;
}

.article-panel p:last-child,
.card p:last-child,
.info-card p:last-child,
.faq-item p:last-child,
.step-card p:last-child {
    margin-bottom: 0;
}

.tip-list {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.tip-list li {
    padding-left: 28px;
    position: relative;
    color: var(--muted);
}

.tip-list li::before {
    content: "";
    width: 9px;
    height: 9px;
    position: absolute;
    left: 4px;
    top: 0.72em;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(70,139,223,0.12);
}

.cta-section {
    text-align: center;
    padding: 34px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(70,139,223,0.14), rgba(255,255,255,0.96));
    border: 1px solid rgba(70,139,223,0.16);
    box-shadow: var(--shadow);
}

.cta-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-steps {
    counter-reset: step;
}

.step-card {
    position: relative;
    padding-left: 72px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 24px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: var(--primary);
}

.site-footer {
    margin-top: 38px;
    padding: 36px 0 26px;
    background: #0f2742;
    color: #dfeeff;
}

.footer-inner {
    display: grid;
    gap: 22px;
}

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

.footer-brand p,
.footer-bottom {
    color: #a9bfd7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #dfeeff;
}

.footer-bottom {
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (min-width: 700px) {
    .header-inner,
    .section,
    .hero,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 56px, 1180px);
    }

    .hero {
        padding-top: 70px;
    }

    .feature-grid,
    .card-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .nav-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        box-shadow: none;
        padding: 0;
        border: 0;
        background: transparent;
        gap: 4px;
    }

    .main-nav a {
        padding: 9px 14px;
    }

    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
        gap: 58px;
        padding: 88px 0 56px;
    }

    .hero-copy {
        gap: 22px;
    }

    .hero p {
        font-size: 1.13rem;
    }

    .hero-visual {
        min-height: 440px;
        display: grid;
        place-items: center;
    }

    .floating-card {
        position: absolute;
        left: 26px;
        bottom: 26px;
        max-width: 250px;
        margin-top: 0;
    }

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

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

    .article-layout {
        grid-template-columns: minmax(0, 1.25fr) 360px;
        align-items: start;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}
