:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --cyan: #06b6d4;
    --purple: #9333ea;
    --orange: #f97316;
    --ink: #172033;
    --muted: #667085;
    --line: #e7ebf3;
    --surface: #f7f9fc;
    --paper: #ffffff;
    --shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 16% 0%, rgba(79, 70, 229, 0.11), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(6, 182, 212, 0.1), transparent 24rem),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 34%, #f7f9ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

.pricing-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(231, 235, 243, 0.78);
}

.brand,
.nav-links,
.hero-actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    gap: 28px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta,
.btn,
.plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-cta {
    padding: 10px 18px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.2);
}

.nav-cta:hover,
.btn:hover,
.plan-button:hover {
    transform: translateY(-2px);
}

main {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
    gap: 52px;
    align-items: center;
    min-height: 620px;
    padding: 86px 0 64px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-desc {
    max-width: 760px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    min-width: 136px;
    padding: 15px 24px;
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #b000ff);
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.24);
}

.btn.secondary {
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(79, 70, 229, 0.18);
}

.hero-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
}

.metric-card span,
.contact-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
}

.metric-card strong {
    font-size: 22px;
    line-height: 1.35;
}

.metric-card.highlight {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

.metric-card.highlight span {
    color: rgba(255, 255, 255, 0.72);
}

.section {
    padding: 72px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(31, 41, 55, 0.06);
}

.plan-card.featured {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 28px 70px rgba(79, 70, 229, 0.14);
}

.plan-card.featured::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.08), rgba(255, 255, 255, 0));
    content: "";
}

.plan-card.custom {
    color: #5a2f1f;
    border-color: rgba(249, 115, 22, 0.2);
    background: linear-gradient(180deg, #fff4ed, #ffffff 70%);
}

.recommend {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 5px 10px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #b000ff);
    font-size: 12px;
    font-weight: 800;
}

.plan-header h3 {
    margin-top: 4px;
    font-size: 25px;
}

.plan-kicker {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.plan-desc,
.custom-top p {
    min-height: 76px;
    margin-top: 14px;
    color: var(--muted);
}

.price {
    margin: 22px 0 18px;
    font-size: 46px;
    font-weight: 850;
    letter-spacing: -0.05em;
}

.price span {
    margin-right: 4px;
    font-size: 18px;
    letter-spacing: 0;
}

.price small {
    margin-left: 4px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

.custom-price {
    margin: 32px 0 22px;
    font-size: 28px;
    font-weight: 850;
}

.plan-button {
    width: 100%;
    min-height: 50px;
    margin-bottom: 20px;
}

.plan-button.muted {
    color: #52617a;
    background: #eef2f8;
}

.plan-button.outline {
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.45);
    background: #fff;
}

.plan-button.gradient {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #b000ff);
    box-shadow: 0 16px 38px rgba(79, 70, 229, 0.22);
}

.plan-button.dark {
    color: #fff;
    background: #4a2415;
}

.quota {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 16px;
    background: var(--surface);
}

.quota strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.quota p {
    color: var(--muted);
    font-size: 14px;
}

.features {
    display: grid;
    gap: 13px;
    margin-top: auto;
    list-style: none;
}

.features li {
    display: flex;
    gap: 10px;
    color: #475467;
    font-size: 14px;
}

.features i {
    margin-top: 4px;
    color: var(--primary);
    font-size: 12px;
}

.custom .features i {
    color: var(--orange);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.info-card i {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--primary);
    border-radius: 14px;
    background: #eef2ff;
    font-size: 20px;
}

.info-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.info-card p,
.faq-list p,
.contact-section p {
    color: var(--muted);
}

.faq-section {
    padding-top: 42px;
}

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

details {
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin-top: 12px;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: center;
    margin: 54px 0 78px;
    padding: 38px;
    color: #fff;
    border-radius: 30px;
    background: linear-gradient(135deg, #172033, #4338ca);
    box-shadow: var(--shadow);
}

.contact-section .eyebrow,
.contact-section p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-section h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.13;
}

.contact-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-card strong,
.contact-card a {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.pricing-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(20px, 5vw, 72px);
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .plans-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .pricing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .plans-grid,
    .info-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .plan-desc,
    .custom-top p {
        min-height: auto;
    }

    .contact-section {
        padding: 28px;
    }

    .pricing-footer {
        flex-direction: column;
    }
}
