* {
    box-sizing: border-box;
}

:root {
    --primary: #2980FE;
    --primary-dark: #1369de;
    --text: #1f2937;
    --muted: #667085;
    --soft: #f6f8fb;
    --soft-blue: #eef6ff;
    --line: #e5eaf2;
    --white: #ffffff;
    --deep: #182230;
    --shadow: 0 20px 60px rgba(41, 128, 254, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 45%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 234, 242, 0.85);
}

.header-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--deep);
}

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

.brand-text {
    white-space: nowrap;
}

.nav-toggle {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--deep);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
}

.site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.site-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

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

.content-container,
.section-wrap,
.footer-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.launch-hero {
    width: min(1160px, calc(100% - 32px));
    margin: 26px auto 32px;
    padding: 34px 20px;
    display: grid;
    gap: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 18% 12%, rgba(41, 128, 254, 0.16), transparent 32%), linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: var(--shadow);
}

.launch-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -90px;
    background: rgba(41, 128, 254, 0.09);
    border-radius: 50%;
}

.hero-copy,
.hero-visual,
.app-showcase {
    position: relative;
    z-index: 1;
}

.eyebrow,
.category-badge,
.mini-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    color: var(--primary);
    background: #edf5ff;
    border: 1px solid #d9ebff;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 12px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--deep);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(34px, 8vw, 68px);
    margin-top: 18px;
}

h2 {
    font-size: clamp(26px, 5vw, 44px);
}

h3 {
    font-size: 20px;
}

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

.hero-copy > p {
    font-size: 17px;
    margin: 18px 0 22px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(41, 128, 254, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(41, 128, 254, 0.28);
}

.hero-tags,
.float-tags,
.inline-links,
.check-list,
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 18px;
}

.hero-tags span,
.float-tags span,
.pill-list span {
    display: inline-flex;
    padding: 8px 12px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    display: grid;
    place-items: center;
}

.phone-frame {
    width: min(330px, 78vw);
    padding: 16px;
    border-radius: 38px;
    background: linear-gradient(160deg, #fdfefe, #edf6ff);
    border: 1px solid #d8e8fa;
    box-shadow: 0 28px 70px rgba(24, 34, 48, 0.12);
}

.phone-frame img {
    width: 100%;
    border-radius: 28px;
}

.float-tags {
    justify-content: center;
    margin-top: 16px;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.section-head.center {
    text-align: center;
    justify-items: center;
}

.highlight-bar {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.highlight-card,
.category-card,
.risk-card,
.faq-item,
.info-card,
.step-card,
.summary-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 10px 28px rgba(24, 34, 48, 0.04);
}

.highlight-card {
    min-height: 160px;
    display: grid;
    gap: 10px;
}

.highlight-card strong,
.category-card strong,
.risk-card strong,
.step-card strong {
    color: var(--deep);
    font-size: 18px;
}

.link-arrow,
.inline-links a,
.card-link {
    color: var(--primary);
    font-weight: 850;
}

.launch-card,
.big-feature-card {
    width: min(1160px, calc(100% - 32px));
    margin: 26px auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.big-feature-card {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.big-feature-card.soft {
    background: linear-gradient(140deg, #ffffff 0%, #eef6ff 100%);
}

.feature-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.feature-visual {
    min-height: 260px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(145deg, #f8fbff, #edf5ff);
    border: 1px solid #dcecff;
    padding: 18px;
}

.feature-visual img {
    max-height: 390px;
    object-fit: contain;
}

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

.feature-points li,
.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
}

.feature-points li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
}

.process-steps,
.risk-grid,
.category-grid,
.info-grid,
.faq-list {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.process-section,
.risk-section,
.category-section,
.faq-section,
.cta-section,
.page-section {
    padding: 40px 0;
}

.step-card {
    display: grid;
    gap: 10px;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
}

.risk-card {
    border-left: 4px solid var(--primary);
    display: grid;
    gap: 8px;
}

.category-card {
    display: grid;
    gap: 10px;
    min-height: 170px;
}

.app-category-center {
    background: linear-gradient(180deg, rgba(238, 246, 255, 0.78), rgba(255, 255, 255, 0));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.faq-item {
    display: grid;
    gap: 8px;
}

.faq-item h3 {
    font-size: 18px;
}

.cta-section {
    width: min(1160px, calc(100% - 32px));
    margin: 28px auto 48px;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid #dbeafa;
    background: radial-gradient(circle at 50% 0%, rgba(41, 128, 254, 0.16), transparent 35%), linear-gradient(135deg, #ffffff, #f0f7ff);
    box-shadow: var(--shadow);
    padding: 36px 18px;
}

.cta-section p {
    max-width: 760px;
    margin: 12px auto 22px;
}

.page-hero {
    width: min(1040px, calc(100% - 32px));
    margin: 28px auto;
    padding: 28px 20px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: radial-gradient(circle at 12% 12%, rgba(41, 128, 254, 0.14), transparent 36%), #ffffff;
    box-shadow: var(--shadow);
}

.page-hero p {
    margin-top: 16px;
    font-size: 17px;
}

.page-layout {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto 36px;
    display: grid;
    gap: 18px;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: grid;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(24, 34, 48, 0.04);
}

.article-card h2 {
    font-size: 26px;
}

.side-panel {
    display: grid;
    gap: 14px;
    align-content: start;
}

.safety-panel {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #f5f9ff;
    border: 1px solid #dbeafa;
    display: grid;
    gap: 10px;
}

.safety-panel strong {
    color: var(--deep);
}

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

.guide-steps {
    counter-reset: guide;
    display: grid;
    gap: 12px;
}

.guide-step {
    counter-increment: guide;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--soft);
}

.guide-step::before {
    content: counter(guide);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 900;
}

.download-panel {
    display: grid;
    gap: 18px;
    justify-items: start;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid #dbeafa;
    background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.download-panel.center {
    justify-items: center;
    text-align: center;
}

.site-footer {
    margin-top: 48px;
    background: #f3f6fa;
    border-top: 1px solid var(--line);
}

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

.footer-inner p {
    max-width: 620px;
    margin-top: 10px;
}

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

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.footer-bottom {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

@media (min-width: 640px) {
    .highlight-bar,
    .risk-grid,
    .category-grid,
    .info-grid,
    .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .site-nav,
    .site-nav.open {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .launch-hero {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        min-height: 620px;
        padding: 58px;
    }

    .hero-copy > p {
        max-width: 600px;
    }

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

    .big-feature-card {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 36px;
    }

    .big-feature-card.reverse .feature-copy {
        order: 2;
    }

    .big-feature-card.reverse .feature-visual {
        order: 1;
    }

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

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

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

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .article-card {
        padding: 30px;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

@media (min-width: 1180px) {
    .site-nav a {
        padding: 10px 13px;
    }
}
