/* ===== Top Hero ===== */
.top-hero {
    padding-top: 8px;
}

.top-hero-card {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border: 1px solid #dbe3ee;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.top-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 9999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.top-hero-title {
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.top-hero-description {
    max-width: 820px;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.9;
    color: #334155;
}

.top-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.top-hero-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    color: #64748b;
}

.top-hero-note p {
    margin: 0 0 8px;
}

.top-hero-note-list {
    margin: 0;
    padding-left: 18px;
}

.top-hero-note-list li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.top-hero-note-list li:last-child {
    margin-bottom: 0;
}

.top-hero-note-list li::marker {
    color: #2563eb;
}

/* ===== Section Common ===== */
.top-feature-section,
.top-flow-section {
    margin-top: 32px;
}

.top-section-head {
    margin-bottom: 18px;
}

.top-section-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #2563eb;
}

.top-section-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.3;
    color: #0f172a;
}

.top-section-description {
    margin: 10px 0 0;
    font-size: 15px;
    color: #64748b;
}

/* ===== Feature Grid ===== */
.top-feature-grid,
.top-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.top-feature-card,
.top-flow-card {
    height: 100%;
    padding: 24px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.top-feature-number,
.top-flow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 30px;
    padding: 0 10px;
    border-radius: 9999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.top-feature-card h3,
.top-flow-card h3 {
    margin: 16px 0 10px;
    font-size: 22px;
    line-height: 1.4;
    color: #0f172a;
}

.top-feature-card p,
.top-flow-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* ===== Optional legacy classes support ===== */
.hero {
    padding-top: 8px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border: 1px solid #dbe3ee;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 9999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-card h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero-description {
    max-width: 820px;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.9;
    color: #334155;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    color: #64748b;
}

.feature-section {
    margin-top: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    height: 100%;
    padding: 24px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.feature-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.4;
    color: #0f172a;
}

.feature-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .top-feature-grid,
    .top-flow-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .top-hero-card,
    .hero-card {
        padding: 36px 24px;
    }

    .top-hero-title,
    .hero-card h1 {
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .top-hero-title,
    .hero-card h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .top-hero-description,
    .hero-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .top-hero-actions,
    .hero-actions {
        flex-direction: column;
    }

    .top-hero-actions > *,
    .hero-actions > * {
        width: 100%;
    }

    .top-section-title {
        font-size: 24px;
    }

    .top-feature-card,
    .top-flow-card,
    .feature-card {
        padding: 20px 18px;
    }

    .top-feature-card h3,
    .top-flow-card h3,
    .feature-card h2 {
        font-size: 20px;
    }
}


