:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --text: #111827;
    --text-muted: #6b7280;
    --line: #e5e7eb;
    --line-strong: #d1d5db;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #dbeafe;
    --success: #15803d;
    --success-soft: #dcfce7;
    --warning: #b45309;
    --warning-soft: #fef3c7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.portal-body {
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

.portal-backdrop,
.portal-noise {
    display: none;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.shell,
.shell-auth {
    width: min(1120px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

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

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy span:last-child {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-nav form {
    margin: 0;
}

.nav-link,
.nav-link-inline,
.card-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 140ms ease;
}

.nav-link:hover,
.nav-link-inline:hover,
.card-link:hover {
    color: var(--primary);
}

.nav-button,
.nav-button-ghost,
.primary-button,
.secondary-button,
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-button,
.primary-button,
.download-btn {
    background: var(--primary);
    color: #fff;
}

.nav-button:hover,
.primary-button:hover,
.download-btn:hover {
    background: var(--primary-dark);
}

.nav-button-ghost,
.secondary-button {
    background: var(--surface);
    color: var(--text);
    border-color: var(--line-strong);
}

.nav-button-ghost:hover,
.secondary-button:hover {
    background: var(--surface-muted);
    border-color: #cbd5e1;
}

.inline-button {
    display: inline-flex;
}

.hero,
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 20px;
    padding: 28px;
    margin-bottom: 20px;
}

.hero-auth {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eyebrow,
.kicker {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.hero h1,
.panel-header h2,
.subscription-card h3,
.empty-state h3,
.key-title,
.payment-section h3,
.review-section h3,
.success-section h3,
.failed-section h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.hero h1 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    max-width: 16ch;
}

.hero-text {
    margin: 0;
    color: var(--text-muted);
    max-width: 62ch;
    line-height: 1.65;
}

.hero-visual,
.screenshot-panel {
    display: grid;
    place-items: center;
}

.feature-shot {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface-muted);
}

.screenshot-panel {
    padding: 12px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.hero-note span,
.plan-pill,
.price-badge,
.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.84rem;
    font-weight: 600;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    color: var(--text-muted);
}

.price-badge {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary-dark);
}

.hero-stat-cluster,
.usage-grid {
    display: grid;
    gap: 12px;
}

.metric-card,
.usage-card {
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.metric-card span,
.usage-card span {
    display: block;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.metric-card strong,
.usage-card strong,
.secret-box code {
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
}

.panel {
    padding: 24px;
    margin-bottom: 20px;
}

.panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.panel-header h2 {
    font-size: 1.35rem;
}

.flash {
    margin: 0 0 16px;
    padding: 13px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    font-weight: 600;
}

.flash-success {
    background: var(--success-soft);
    border-color: #bbf7d0;
    color: var(--success);
}

.flash-error {
    background: var(--danger-soft);
    border-color: #fecaca;
    color: var(--danger);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.panel-span-two {
    grid-column: span 2;
}

.compact-panel {
    padding: 18px 20px;
}

.compact-panel h2 {
    font-size: 1.35rem;
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.subscription-card,
.binding-card,
.key-item,
.plan-card,
.mini-list-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.subscription-card,
.binding-card,
.key-item,
.mini-list-item {
    padding: 18px;
}

.plan-card {
    position: relative;
    display: block;
    padding: 18px;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.plan-card:hover,
.plan-card:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-topline,
.key-actions,
.button-row,
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.subscription-card h3,
.plan-content h3 {
    margin-top: 14px;
}

.card-meta,
.microcopy,
.binding-meta,
.key-meta,
.expire-hint,
.refresh-hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.definition-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
}

.definition-list div {
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
}

.definition-list dt {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.definition-list dd {
    margin: 4px 0 0;
    font-weight: 600;
}

.card-link,
.nav-link-inline {
    display: inline-flex;
    align-items: center;
}

.stack-form,
.inline-form,
.double-form,
.triple-form,
.admin-update-form {
    display: grid;
    gap: 14px;
}

.inline-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.double-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.triple-form,
.admin-update-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.split-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.field span {
    font-size: 0.92rem;
    font-weight: 600;
}

.field small {
    color: var(--text-muted);
}

.field input,
.field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.features {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.features li.model {
    list-style: disc;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.status-active,
.status-paid {
    color: var(--success);
    background: var(--success-soft);
    border-color: transparent;
}

.status-pending,
.status-pending_review {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: transparent;
}

.status-cancelled,
.status-expired,
.status-revoked,
.status-suspended {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: transparent;
}

.key-list,
.stack-links,
.mini-list {
    display: grid;
    gap: 12px;
}

.key-section {
    display: grid;
    gap: 12px;
}

.section-label {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
}

.mini-list-item {
    display: grid;
    gap: 4px;
}

.key-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.key-item-current {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.history-disclosure {
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.history-disclosure summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    list-style: none;
}

.history-disclosure summary::-webkit-details-marker {
    display: none;
}

.history-disclosure summary::after {
    content: "展开";
    margin-left: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.history-disclosure[open] summary::after {
    content: "收起";
}

.history-list {
    margin-top: 12px;
}

.key-title,
.binding-domain {
    margin: 0 0 4px;
}

.key-prefix code,
.secret-box code,
.value code,
.value.code {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    background: #eef2f7;
}

.secret-box {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.secret-box p {
    margin: 0;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-card {
    padding: 0;
    overflow: hidden;
}

.standalone-row {
    display: flex;
}

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}

.order-no {
    font-weight: 700;
}

.order-info {
    display: grid;
    gap: 12px;
    padding: 20px 24px;
}

.info-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.info-row .label {
    color: var(--text-muted);
}

.info-row .value {
    font-weight: 600;
}

.info-row .price {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.payment-section,
.review-section,
.success-section,
.failed-section {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
}

.qr-code {
    display: grid;
    place-items: center;
    width: min(280px, 100%);
    aspect-ratio: 1;
    margin: 18px 0 16px;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.license-info {
    display: grid;
    gap: 10px;
    margin: 16px 0 12px;
}

.important-note {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.download-btn {
    text-decoration: none;
}

.install-steps {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--text-muted);
}

.install-steps li {
    margin-bottom: 8px;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.small-button {
    min-height: 36px;
    padding: 8px 12px;
}

.data-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: var(--surface);
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-muted);
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.empty-state {
    padding: 28px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    color: var(--text-muted);
    text-align: center;
}

.empty-state.compact {
    padding: 18px;
}

.auth-panel {
    align-self: stretch;
}

.auth-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 980px) {
    .hero,
    .hero-auth,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .panel-span-two {
        grid-column: auto;
    }

    .metric-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inline-form,
    .double-form,
    .triple-form,
    .admin-update-form,
    .split-fields {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 720px) {
    .shell,
    .shell-auth {
        width: min(calc(100vw - 20px), 100%);
        padding-top: 18px;
    }

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

    .hero,
    .panel {
        padding: 20px;
    }

    .metric-strip {
        grid-template-columns: 1fr;
    }

    .definition-list {
        grid-template-columns: 1fr;
    }

    .key-item,
    .card-topline,
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .data-table {
        min-width: 560px;
    }
}


.shell-product-home {
    padding-bottom: 72px;
}

.shell-product-home .topbar {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(191, 219, 254, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.shell-product-home .brand-mark {
    background: linear-gradient(135deg, #0f4c81 0%, #2563eb 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.product-hero {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
    gap: 28px;
    padding: 34px;
    background: linear-gradient(140deg, #f9fbff 0%, #eef4ff 56%, #fff7ed 100%);
    border-color: #dbe7ff;
}

.product-hero::before,
.product-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
}

.product-hero::before {
    width: 380px;
    height: 380px;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 72%);
}

.product-hero::after {
    width: 300px;
    height: 300px;
    bottom: -140px;
    left: -90px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0) 74%);
}

.product-hero > * {
    position: relative;
    z-index: 1;
}

.product-hero .hero-copy {
    gap: 16px;
}

.product-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    max-width: 11ch;
    letter-spacing: -0.04em;
}

.product-hero .hero-text {
    max-width: 60ch;
    font-size: 1.02rem;
}

.product-hero .hero-note span {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(191, 219, 254, 0.95);
    color: #1e3a8a;
}

.product-hero-metrics {
    margin-top: 4px;
}

.product-hero-metrics div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(191, 219, 254, 0.95);
}

.product-hero-metrics dt {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.product-hero-metrics dd {
    margin-top: 6px;
    font-size: 1rem;
    color: #0f172a;
}

.product-stage {
    width: 100%;
}

.product-stage-window {
    width: min(100%, 500px);
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #0f172a;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.product-stage-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #101a31;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-stage-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.product-stage-bar span:nth-child(1) {
    background: #fb7185;
}

.product-stage-bar span:nth-child(2) {
    background: #fbbf24;
}

.product-stage-bar span:nth-child(3) {
    background: #34d399;
}

.product-stage-bar strong {
    margin-left: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #cbd5e1;
}

.product-stage-body {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 430px;
}

.product-stage-sidebar {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.55);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.product-stage-chip {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 600;
}

.product-stage-chip.is-active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

.product-stage-main {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.product-stage-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-stage-card {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.product-stage-card p {
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.94rem;
}

.product-stage-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.02rem;
    line-height: 1.35;
}

.product-stage-card-primary {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.product-stage-card-accent {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
}

.product-stage-kicker {
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.product-bullet-list {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #475569;
}

.product-proof-strip {
    margin-top: -4px;
}

.product-proof-strip .metric-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7ff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.product-proof-strip .metric-card strong {
    font-size: 1rem;
    line-height: 1.45;
}

.product-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product-story-card {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #dbe7ff;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-story-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.product-story-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.product-fit-grid .subscription-card,
.process-card,
.final-cta {
    border-color: #dbe7ff;
}

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

.process-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.process-card h3 {
    margin: 14px 0 8px;
    font-size: 1.05rem;
}

.process-step {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #12375c 48%, #1d4ed8 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.24);
}

.final-cta .kicker,
.final-cta .microcopy {
    color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
    color: #ffffff;
    max-width: 18ch;
}

.final-cta .primary-button {
    background: #ffffff;
    color: #0f172a;
}

.final-cta .primary-button:hover {
    background: #dbeafe;
}

.final-cta .secondary-button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.final-cta .secondary-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
    .product-stage-body,
    .product-story-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .product-stage-body {
        min-height: auto;
    }

    .product-stage-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 720px) {
    .product-hero {
        padding: 24px;
    }

    .product-hero h1 {
        max-width: none;
    }

    .product-stage-row,
    .process-grid,
    .product-story-grid {
        grid-template-columns: 1fr;
    }

    .product-stage-sidebar {
        grid-template-columns: 1fr;
    }

    .product-hero-metrics {
        grid-template-columns: 1fr;
    }
}
