:root {
    --bg: #081b2b;
    --bg-soft: #10283c;
    --bg-panel: rgba(10, 27, 42, 0.8);
    --panel-border: rgba(255, 255, 255, 0.09);
    --text: #f4f8fb;
    --muted: #abc2d4;
    --primary: #69e6b1;
    --primary-deep: #2fbe84;
    --accent: #ffd36e;
    --danger: #ff8f82;
    --surface: #f6fbff;
    --surface-text: #12273b;
    --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(105, 230, 177, 0.12), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(255, 211, 110, 0.12), transparent 22%),
        linear-gradient(180deg, #081b2b 0%, #10283c 46%, #0d2334 100%);
}

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

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

.saas-shell {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 24px 0 56px;
}

.noise {
    position: absolute;
    inset: auto;
    pointer-events: none;
    filter: blur(24px);
    border-radius: 999px;
}

.noise-left {
    width: 420px;
    height: 420px;
    left: -180px;
    top: 80px;
    background: rgba(105, 230, 177, 0.1);
}

.noise-right {
    width: 420px;
    height: 420px;
    right: -160px;
    top: 20px;
    background: rgba(255, 211, 110, 0.12);
}

.saas-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.panel {
    background: var(--bg-panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    width: 120px;
    max-height: 56px;
    object-fit: contain;
}

.brand-link span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-link strong,
.hero-copy h1,
.section-heading h2,
.resource-card h3,
.step-card h3,
.plan-header h3,
.pricing-side h3,
.faq-item summary,
.final-cta h2,
.footer-strip strong {
    font-family: "Sora", sans-serif;
}

.brand-link small,
.hero-text,
.section-heading p,
.resource-card p,
.step-card p,
.checklist-card li,
.pricing-side p,
.faq-item p,
.final-cta p,
.footer-strip span {
    color: var(--muted);
    line-height: 1.7;
}

.topbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.topbar-actions a {
    color: var(--muted);
    font-weight: 700;
}

.topbar-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text) !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-top: 28px;
}

.hero-copy,
.hero-side {
    min-height: 100%;
}

.hero-copy {
    padding: 12px 4px 0;
}

.eyebrow,
.section-kicker,
.mini-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 8px rgba(105, 230, 177, 0.14);
}

.hero-copy h1 {
    margin: 22px 0 0;
    max-width: 12ch;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.03;
}

.hero-text {
    max-width: 64ch;
    margin: 18px 0 28px;
    font-size: 18px;
}

.hero-actions,
.hero-points,
.final-cta-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8cf1c6);
    color: #0d2334;
    box-shadow: 0 14px 30px rgba(105, 230, 177, 0.22);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent), #ffe29a);
    color: #17293b;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-full {
    width: 100%;
}

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

.hero-points span,
.plan-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.hero-side {
    padding: 24px;
}

.hero-side-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-side-header strong {
    font-size: 28px;
    line-height: 1.15;
    font-family: "Sora", sans-serif;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.metrics-grid article,
.summary-stack article {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.metrics-grid strong,
.summary-stack strong {
    display: block;
    margin-bottom: 4px;
    color: white;
    font-size: 24px;
    font-family: "Sora", sans-serif;
}

.metrics-grid span,
.summary-stack span,
.signup-card-header span {
    color: var(--muted);
    font-size: 14px;
}

.signup-card {
    margin-top: 18px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-card-header strong,
.checklist-card h3 {
    font-size: 24px;
    line-height: 1.2;
}

.signup-card ul,
.checklist-card ul,
.plan-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.signup-card li,
.checklist-card li,
.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.signup-card li i,
.checklist-card li i,
.plan-list li i {
    margin-top: 2px;
    color: var(--primary);
}

.signup-card .btn {
    margin-top: 20px;
}

.section-block {
    margin-top: 36px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 12px 0 0;
    max-width: 18ch;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.section-heading p {
    max-width: 70ch;
    margin-top: 14px;
}

.resource-grid,
.step-grid,
.pricing-grid,
.summary-stack {
    display: grid;
    gap: 18px;
}

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

.resource-card,
.step-card,
.checklist-card,
.pricing-side,
.faq-item,
.final-cta,
.plan-card {
    overflow: hidden;
}

.resource-card {
    padding: 24px;
}

.resource-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(105, 230, 177, 0.12);
    color: var(--primary);
    font-size: 24px;
}

.resource-card h3,
.step-card h3,
.plan-header h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.onboarding-layout,
.pricing-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.step-grid {
    grid-template-columns: repeat(2, 1fr);
}

.step-card,
.checklist-card,
.pricing-side {
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(255, 211, 110, 0.16);
    color: var(--accent);
    font-weight: 800;
}

.checklist-footer,
.pricing-side-cta {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

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

.plan-card {
    position: relative;
    padding: 18px;
}

.plan-featured {
    border-color: rgba(105, 230, 177, 0.46);
    box-shadow: 0 22px 55px rgba(105, 230, 177, 0.12);
}

.plan-badge {
    margin-bottom: 12px;
    background: rgba(255, 211, 110, 0.16);
    color: #ffe09c;
}

.plan-visual {
    height: 160px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    overflow: hidden;
}

.plan-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.plan-visual-fallback {
    color: var(--accent);
    font-size: 58px;
}

.plan-header {
    margin-top: 18px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 12px;
}

.plan-price strong {
    font-size: 34px;
    font-family: "Sora", sans-serif;
}

.plan-price span,
.plan-price small {
    color: var(--muted);
}

.plan-form {
    margin-top: 22px;
}

.pricing-side p {
    margin: 12px 0 0;
}

.summary-stack {
    margin-top: 18px;
}

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

.faq-item {
    padding: 0 22px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0 0 22px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.footer-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: var(--muted);
    font-weight: 700;
}

.empty-state {
    padding: 24px;
}

.empty-state h3 {
    margin: 0 0 10px;
}

.empty-state p {
    color: var(--muted);
}

@media (max-width: 1140px) {
    .hero-grid,
    .onboarding-layout,
    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .topbar,
    .footer-strip,
    .final-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar-actions {
        justify-content: flex-start;
    }

    .metrics-grid,
    .step-grid,
    .resource-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .section-heading h2 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .saas-shell {
        padding-top: 16px;
    }

    .saas-container {
        width: min(100% - 20px, 100%);
    }

    .hero-side,
    .resource-card,
    .step-card,
    .checklist-card,
    .pricing-side,
    .plan-card,
    .final-cta {
        padding: 20px;
    }

    .hero-actions .btn,
    .hero-points span,
    .final-cta-actions .btn,
    .checklist-footer .btn,
    .pricing-side-cta .btn,
    .topbar-pill {
        width: 100%;
    }

    .brand-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-logo {
        width: 108px;
    }
}
