/* styles.css - demo landing page */
/* 使用 Poppins 字体 */
:root {
    --bg: #f7f9fc;
    --blue-1: #2b5bf3;
    --blue-2: #7b9bff;
    --accent: #ff9a2b;
    --muted: #6b7280;
    --card-bg: #ffffff;
    --black: #111827;
    --glass: rgba(255, 255, 255, 0.85);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    background: var(--bg);
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-size: 16px;
}

/* Utility container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f3;
    position: sticky;
    top: 0;
    z-index: 50
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.brand .logo {
    font-weight: 700;
    color: var(--blue-1);
    letter-spacing: 0.3px
}

.nav a {
    margin-left: 18px;
    color: #374151;
    text-decoration: none;
    font-weight: 500
}

.nav a:hover {
    color: var(--blue-1)
}

/* HERO */
.hero {
    background-image: url("images/bg.png");
    padding: 60px 0 90px;
    height: 720px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.hero-left {
    flex: 1;
    max-width: 640px
}

.kicker {
    color: #FFFFFF;
    margin: 30px 0 12px;
    margin-top: 140px;
    font-weight: 600;
    font-size: 20px;
}

h1 {
    font-size: 64px;
    margin: 0 0 12px;
    color: white;
    line-height: 1.05
}

h1 .accent {
    color: var(--accent);
    font-weight: 700
}

.lead {
    font-size: 20px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 520px
}

.cta-row {
    margin-top: 60px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-family: Poppins, Poppins;
    font-size: 20px;
    font-weight: 400;
}

.btn img {
    width: 18px;
    height: 18px
}

.btn-white {
    background: white;
    color: var(--black)
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white
}

/* Hero image */
.hero-right {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
    align-items: flex-end
}

.hero-person {
    width: 320px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 50px rgba(14, 30, 70, 0.25);
    transform: translateY(10px)
}

/* FEATURES SECTION */
.features {
    padding: 60px 0;
    background: transparent
}

.section-intro {
    text-align: center;
    margin-bottom: 30px
}

.section-intro .muted {
    font-family: Poppins, Poppins;
    font-size: 20px;
    color: orange;
    font-weight: 500;
    letter-spacing: 0.6px
}

.section-intro h2 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 48px;
    margin: 8px 0
}

.section-intro .sub {
    font-family: Poppins, Poppins;
    font-size: 20px;
    color: #414A56;
    margin-top: 8px
}

/* cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px
}

.card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    min-height: 120px
}

.card .icon {
    font-size: 20px;
    margin-bottom: 8px
}

.card h4 {
    margin: 6px 0 8px
}

.card p {
    color: #556;
    font-size: 14px;
    margin: 0
}

/* accent colored subtle backgrounds */
.accent-1 {
    background: linear-gradient(180deg, #fffaf0, #fff; )
}

.accent-2 {
    background: linear-gradient(180deg, #f0fff4, #fff);
}

.accent-3 {
    background: linear-gradient(180deg, #f5f9ff, #fff);
}

.accent-4 {
    background: linear-gradient(180deg, #fff0f6, #fff);
}

.accent-5 {
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.accent-6 {
    background: linear-gradient(180deg, #f7fff6, #fff);
}

/* INVITE SECTION */
.invite {
    background: #f3f7fb;
    padding: 48px 0
}

.invite-inner {
    text-align: center
}

.invite .muted {
    color: var(--accent);
    font-weight: 700
}

.invite .sub {
    color: #6b7280
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 160px
}

.step-icon {
    background: white;
    color: var(--blue-1);
    width: 95px;
    height: 95px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06)
}

.line {
    height: 5px;
    flex: 1;
    background: linear-gradient(to right, #06BD6E, transparent 50%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    min-width: 80px;
    border-radius: 6px;
    margin-bottom: 60px;
}

/* STATS */
.stats {
    background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
    color: white;
    padding: 22px 0;
    margin-top: 20px
}

.stats-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.stat {
    text-align: center;
    flex: 1
}

.stat h3 {
    margin: 0;
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 48px
}

.stat p {
    font-size: 20px;
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.9)
}

/* TESTIMONIALS */
.testimonials {
    Padding: 56px 0
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px
}

.test-card {
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06)
}

.test-card .avatar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.test-card .avatar img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    margin-right: 10px;
}

.test-card .name {
    font-weight: 600;
    margin: 8px 0
}

.test-card .text {
    color: #555;
    font-size: 14px
}

/* FAQ */
.faq {
    padding: 48px 0
}

.faq-list details {
    background: white;
    padding: 14px;
    border-radius: 8px;
    margin: 8px 0;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04)
}

/* 隐藏浏览器自带 marker（例如箭头）并自定义布局 */
.faq-list summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    padding: 6px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.qa-title {
    flex: 1;
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: #121212
}

.arrow {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .28s cubic-bezier(.2, .9, .2, 1);
    opacity: .9
}

/* details 打开时旋转箭头 */
.faq-list details[open] .arrow {
    transform: rotate(180deg)
}

/* FAQ 内容 */
.faq-body {
    color: #9AA0A8;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.6
}

/* FINAL CTA */
.final-cta {
    background: linear-gradient(90deg, #4656ff, #6d7bff);
    color: white;
    padding: 36px;
    border-radius: 18px;
    margin: 36px 20px
}

.final-cta .cta-row {
    margin-top: 60px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.final-inner {
    text-align: center
}

.final-inner h2 {
    margin: 6px 0 6px;
    font-size: 26px
}

.final-inner .sub {
    color: rgba(255, 255, 255, 0.9)
}

/* FOOTER */
.site-footer {
    background: #0f1724;
    color: #cbd5e1;
    padding: 28px 0;
    margin-top: 28px
}

.footer-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between
}

.footer-col {
    flex: 1
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 8px
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none
}

.footer-col a:hover {
    text-decoration: underline
}

.socials a {
    color: #cbd5e1
}

.copyright {
    text-align: center;
    color: #94a3b8;
    padding: 14px 0;
    font-size: 13px
}

/* Responsive */
@media (max-width:980px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 12px
    }

    .hero-right {
        order: 2;
        align-self: center
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .test-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-inner {
        flex-direction: column;
        gap: 12px;
        align-items: center
    }

    .footer-inner {
        flex-direction: column;
        gap: 18px
    }
}

@media (max-width:600px) {
    h1 {
        font-size: 28px
    }

    .cards-grid {
        grid-template-columns: 1fr
    }

    .test-grid {
        grid-template-columns: 1fr
    }

    .nav {
        display: none
    }

    .hero-person {
        width: 260px
    }

    .final-cta {
        margin: 20px
    }

    .header-inner {
        padding: 12px 0
    }
}