:root {
    --bg: #FFFFFF;
    --panel: #F5F8FC;
    --card: #FFFFFF;
    --card-strong: #EEF4FC;
    --text: #071227;
    --muted: #526071;
    --line: #D8E2F0;
    --accent: #0B6BFF;
    --accent-dark: #034FC7;
    --accent-soft: #EAF2FF;
    --warm: #FFF7E6;
    --warm-line: #F6D58B;
    --success: #188038;
    --danger: #D93025;
    --ink: #101828;
    --teal: #008575;
    --teal-soft: #E6F7F5;
    --gold: #B7791F;
    --gold-soft: #FFF4D6;
    --violet: #6842D6;
    --violet-soft: #F0EBFF;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: "Google Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    color: var(--text);
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    background: white;
    box-shadow: 0 1px 4px rgba(7, 18, 39, 0.08);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.public-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.public-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.public-nav a.active,
.public-nav a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.public-nav .nav-cta {
    margin-left: 8px;
    background: var(--accent);
    color: white;
}

main {
    flex: 1;
}

.hero-section {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.release-label,
.plan-name {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.hero-copy p {
    max-width: 650px;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 30px;
}

.trust-row {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.trust-row span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.primary-button {
    background: var(--accent);
    color: white;
}

.primary-button:hover {
    background: var(--accent-dark);
}

.secondary-button {
    border: 1px solid var(--line);
    background: white;
    color: var(--accent);
}

.secondary-button:hover {
    background: var(--accent-soft);
    border-color: #B9D2FF;
}

.disabled-button,
.disabled-button:hover {
    cursor: not-allowed;
    border-color: #D8E2F0;
    background: #F3F6FA;
    color: #667085;
}

.full-width {
    width: 100%;
}

.pos-preview {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    box-shadow: 0 18px 50px rgba(60, 64, 67, 0.16);
}

.pricing-hero {
    min-height: calc(100vh - 76px);
    background:
        linear-gradient(135deg, rgba(234, 242, 255, 0.9), rgba(255, 255, 255, 0.2) 42%),
        linear-gradient(180deg, #FFFFFF, #F8FBFF);
}

.pricing-hero h1 {
    max-width: 920px;
}

.pricing-hero .hero-copy p {
    max-width: 780px;
}

.pricing-console {
    overflow: hidden;
    border: 1px solid rgba(216, 226, 240, 0.9);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 26px 80px rgba(16, 24, 40, 0.16);
}

.console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: white;
}

.console-top span,
.console-top strong {
    font-weight: 900;
}

.console-body {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.model-meter {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.model-meter span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.model-meter strong {
    font-size: 18px;
}

.model-meter div {
    height: 10px;
    overflow: hidden;
    border-radius: 8px;
    background: #DDE7F6;
}

.model-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.model-meter .meter-saas {
    width: 72%;
    background: var(--accent);
}

.model-meter .meter-token {
    width: 46%;
    background: var(--teal);
}

.token-meter {
    background: var(--teal-soft);
}

.pricing-console dl {
    display: grid;
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.pricing-console dl div {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 12px;
    padding: 14px;
    background: white;
}

.pricing-console dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.pricing-console dd {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    line-height: 1.4;
}

.pricing-model-section {
    padding-top: clamp(52px, 7vw, 92px);
}

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

.model-choice-card {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 330px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.07);
}

.model-choice-card h3,
.model-choice-card p {
    margin-bottom: 0;
}

.model-choice-card .primary-button,
.model-choice-card .secondary-button {
    justify-self: start;
    margin-top: auto;
}

.featured-model {
    border-color: #A7E3DA;
    background: linear-gradient(180deg, #FFFFFF, var(--teal-soft));
}

.model-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    font-weight: 900;
    font-size: 22px;
}

.featured-model .model-icon {
    background: var(--teal);
}

.retail-preview {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 18px 50px rgba(60, 64, 67, 0.14);
}

.retail-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: var(--accent);
    color: white;
}

.retail-preview-top span {
    font-weight: 800;
}

.retail-preview-top strong {
    font-size: 34px;
}

.retail-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.retail-preview-grid div {
    min-height: 120px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    background: white;
}

.retail-preview-grid small {
    color: var(--muted);
    font-weight: 800;
}

.retail-preview-grid strong {
    color: var(--text);
    font-size: 18px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: var(--card-strong);
}

.preview-body {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 16px;
    padding: 18px;
}

.preview-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.preview-products span {
    min-height: 82px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font-weight: 800;
}

.preview-cart {
    display: grid;
    gap: 12px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: var(--panel);
}

.preview-cart div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
}

.preview-cart button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-weight: 900;
}

.section-band,
.page-section,
.feature-grid {
    padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.section-band {
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-band.compact {
    padding-top: 56px;
    padding-bottom: 56px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.flow-grid,
.feature-grid,
.pricing-grid,
.support-grid,
.stats-grid,
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.flow-grid article,
.feature-grid article,
.pricing-grid article,
.support-grid article,
.stats-grid article,
.checklist-grid article,
.faq-list article,
.download-card,
.requirements-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    padding: 22px;
}

.stats-grid article {
    display: grid;
    gap: 8px;
}

.stats-grid strong {
    color: var(--accent);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.stats-grid span {
    color: var(--muted);
    line-height: 1.5;
}

.step-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-weight: 900;
}

.download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.download-card {
    display: grid;
    gap: 22px;
}

.download-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.direct-download-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.direct-download-panel h3,
.direct-download-panel p {
    margin-bottom: 0;
}

.download-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.download-option-grid article {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.download-option-grid .coming-soon-card {
    background: #F8FAFC;
}

.status-pill {
    justify-self: start;
    padding: 6px 10px;
    border: 1px solid #B9D2FF;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.download-option-grid h3,
.download-option-grid p {
    margin-bottom: 0;
}

.download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--text);
    font: inherit;
    font-weight: 600;
}

.form-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    outline: 0;
}

.form-message,
.verification-success {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.form-message.error {
    border: 1px solid #F4B6AF;
    background: #FCE8E6;
    color: var(--danger);
}

.form-message.success,
.verification-success {
    border: 1px solid #B7DFBF;
    background: #E6F4EA;
    color: var(--success);
}

.requirements-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.checklist-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.use-case-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.use-case-list span {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--text);
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list article {
    padding: 20px 22px;
}

.faq-list p {
    margin-bottom: 0;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    background: var(--accent-soft);
}

.cta-band h2,
.cta-band p {
    max-width: 720px;
}

.cta-band p {
    margin-bottom: 0;
}

.highlight-plan {
    border-color: #B9D2FF !important;
    background: var(--accent-soft) !important;
    box-shadow: 0 10px 30px rgba(11, 107, 255, 0.12);
}

.pricing-grid-premium {
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 100%;
}

.pricing-card h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 42px);
}

.plan-purpose {
    min-height: 54px;
    margin-bottom: 0;
    font-size: 15px;
}

.plan-badge {
    position: absolute;
    top: -14px;
    right: 18px;
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--success);
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.plan-feature-list,
.feature-card ul,
.recommendation-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-feature-list li,
.feature-card li,
.recommendation-grid li {
    display: flex;
    gap: 9px;
    color: var(--muted);
    line-height: 1.45;
}

.plan-feature-list span {
    color: var(--success);
    font-weight: 900;
}

.pricing-psychology {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.pricing-psychology span {
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--warm-line);
    border-radius: 8px;
    background: var(--warm);
    color: #6F4A00;
    font-weight: 800;
    line-height: 1.35;
}

.token-section {
    background:
        linear-gradient(180deg, rgba(230, 247, 245, 0.72), rgba(255, 255, 255, 0.95) 34%),
        white;
}

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

.token-card {
    position: relative;
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.07);
}

.token-card-highlight {
    border-color: #A7E3DA;
    background: var(--teal-soft);
    box-shadow: 0 16px 44px rgba(0, 133, 117, 0.14);
}

.token-card h3 {
    margin-bottom: 0;
    color: var(--text);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
}

.token-card p {
    margin-bottom: 0;
    font-size: 15px;
}

.token-balance {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.token-balance strong {
    color: var(--teal);
    font-size: 34px;
    line-height: 1;
}

.token-balance span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.usage-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.usage-grid span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.usage-grid h3,
.usage-grid p {
    margin-bottom: 0;
}

.usage-grid h3 {
    margin-bottom: 8px;
}

.model-comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.comparison-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table thead th {
    background: var(--card-strong);
    color: var(--text);
    font-weight: 900;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.check-mark {
    color: var(--success);
    font-weight: 900;
    font-size: 18px;
}

.simple-label {
    color: var(--muted);
    font-weight: 800;
}

.feature-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card h3 {
    margin-bottom: 14px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.recommendation-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 22px;
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-accordion details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 0;
}

.faq-accordion summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    color: var(--text);
    font-weight: 900;
}

.faq-accordion summary:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 2px;
}

.faq-accordion p {
    margin: 0;
    padding: 0 18px 18px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    background: white;
    color: var(--muted);
}

.site-footer span:first-child {
    color: var(--text);
    font-weight: 900;
}

#blazor-error-ui {
    display: none;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-nav {
        justify-content: flex-start;
    }

    .public-nav .nav-cta {
        margin-left: 0;
    }

    .hero-section,
    .download-layout {
        grid-template-columns: 1fr;
    }

    .download-option-grid,
    .download-actions {
        grid-template-columns: 1fr;
    }

    .flow-grid,
    .feature-grid,
    .pricing-grid,
    .model-choice-grid,
    .token-pricing-grid,
    .usage-grid,
    .support-grid,
    .stats-grid,
    .checklist-grid,
    .split-section,
    .pricing-psychology,
    .feature-category-grid,
    .recommendation-grid {
        grid-template-columns: 1fr;
    }

    .pricing-console dl div {
        grid-template-columns: 1fr;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 44px;
    }

    .pricing-hero {
        min-height: auto;
        padding-top: 34px;
        gap: 22px;
    }

    .pricing-hero h1 {
        font-size: 38px;
        line-height: 1;
    }

    .pricing-hero .hero-copy p {
        font-size: 17px;
        line-height: 1.5;
    }

    .pricing-console {
        box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
    }

    .console-body {
        gap: 12px;
        padding: 16px;
    }

    .pricing-console dl {
        display: none;
    }

    .model-meter,
    .pricing-console dl div {
        padding: 12px;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .preview-products {
        grid-template-columns: 1fr;
    }

    .use-case-list {
        grid-template-columns: 1fr;
    }
}
