html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a1f44;
    --bg-light: #f6f9ff;
    --text-dark: #172041;
    --text-muted: #5e6787;
    --primary: #396bff;
    --primary-dark: #274fce;
    --accent: #52d0a2;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Helvetica Neue", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

a {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
    color: inherit;
}

.page {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.hero {
    background: radial-gradient(circle at top right, rgba(57, 107, 255, 0.35), transparent 60%), var(--bg-dark);
    color: #fff;
    padding: 120px 0 96px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 38% 62% 51% 49%;
    background: rgba(255, 255, 255, 0.08);
    top: 40px;
    right: 90px;
    filter: blur(0);
}

.hero-tagline {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin: 0 0 20px;
    font-weight: 600;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(57, 107, 255, 0.35);
}

.hero-btn.primary:hover {
    background: var(--primary-dark);
}

.hero-btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.hero-btn.ghost:hover {
    border-color: #fff;
}

.intro {
    margin-top: -80px;
}

.intro-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(13, 44, 94, 0.08);
}

.intro-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.intro-card h2 {
    margin-top: 0;
    font-size: 32px;
}

.intro-card p {
    margin-bottom: 0;
    line-height: 1.8;
    color: var(--text-muted);
}

.intro-subtitle {
    font-size: 14px;
    color: var(--primary);
    background: rgba(57, 107, 255, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
}

.pill-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(23, 32, 65, 0.08);
    font-size: 14px;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-head h3 {
    margin: 0;
    font-size: 28px;
}

.section-head p {
    margin: 12px auto 0;
    max-width: 560px;
    color: var(--text-muted);
}

.feature-section {
    padding: 20px 0;
}

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

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(57, 107, 255, 0.08);
    box-shadow: 0 16px 40px rgba(15, 41, 87, 0.05);
}

.feature-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.feature-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-muted);
}

.workflow {
    padding: 20px 0 40px;
}

.flowchart {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(15, 41, 87, 0.08);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.flow-step {
    flex: 1 1 180px;
    min-width: 180px;
    border-radius: 18px;
    padding: 16px 18px 18px;
    background: linear-gradient(135deg, rgba(57, 107, 255, 0.08), rgba(82, 208, 162, 0.08));
    border: 1px solid rgba(57, 107, 255, 0.15);
    position: relative;
}

.flow-step h4 {
    margin: 12px 0 8px;
    font-size: 18px;
}

.flow-step p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.flow-step::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 2px;
    background: rgba(23, 32, 65, 0.2);
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(57, 107, 255, 0.25);
}

.cta {
    padding-bottom: 60px;
    text-align: center;
}

.cta h3 {
    margin: 0 0 12px;
    font-size: 30px;
}

.cta p {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.modules {
    padding: 20px 0 40px;
}

.module-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.module-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(23, 32, 65, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.module-card h4 {
    margin: 0 0 12px;
}

.module-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer {
    background-color: #111727;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

.footer a {
    color: #fff;
}

@media (max-width: 960px) {
    .hero {
        padding: 90px 0 80px;
    }

    .intro {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }

    .flowchart {
        flex-direction: column;
    }

    .flow-step::after {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .intro-card,
    .feature-card,
    .flowchart {
        padding: 24px;
    }
}
