/* ============================================================
   KRUDER 1 — Website Stylesheet v2
   Colors match Software DEFAULT presets exactly
   (Settings → Interface → Light/Dark Mode buttons)
   ============================================================ */

/* ── 1. Design Tokens ─────────────────────────────────────── */

:root {
    /* Z-Index Scale */
    --z-canvas: 0;
    --z-content: 10;
    --z-ui: 50;
    --z-header: 1200;
    --z-modal: 2000;

    /* Typography */
    --font-base: 'Barlow', sans-serif;
    --font-input: 'Inter', sans-serif;

    --ls-base: 0.01em;
    --ls-condensed: -0.02em;
    --ls-wide: 0.05em;

    --text-title: clamp(2.5rem, 5vw, 3.5rem);
    --text-btn: clamp(1rem, 2vw, 1.2rem);
    --fs-subtitle: 1.8rem;
    --fs-input: 1rem;
    --fs-body: 1rem;
    --fs-small: 0.8rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Layout */
    --nav-height: 70px;
    --dim-logo: 80px;
    --container-max: 900px;
    --auth-max: 400px;

    /* Borders */
    --border-width: 2px;
    --radius-main: 0.5rem;

    /* ── Light Theme (monochrome flat) ── */
    --theme-paper: #FFFFFF;
    --theme-ink: #000000;
    --theme-accent: #000000;
    --theme-accent-dark: #000000;
    --theme-border: rgba(0, 0, 0, 0.2);
    --theme-focus: rgba(0, 0, 0, 0.05);
    --theme-input-bg: #FFFFFF;
    --theme-overlay: rgba(0, 0, 0, 0.6);
    --theme-white: #FFFFFF;
    --color-muted: rgba(0, 0, 0, 0.5);
    --color-error: #ff3333;
    --shadow-btn: none;
}

/* ── Dark Theme (monochrome flat) ── */
[data-theme="dark"] {
    --theme-paper: #000000;
    --theme-ink: #FFFFFF;
    --theme-accent: #FFFFFF;
    --theme-accent-dark: #FFFFFF;
    --theme-border: rgba(255, 255, 255, 0.2);
    --theme-focus: rgba(255, 255, 255, 0.04);
    --theme-input-bg: #000000;
    --theme-overlay: rgba(0, 0, 0, 0.8);
    --color-muted: rgba(255, 255, 255, 0.5);
    --shadow-btn: none;

    color-scheme: dark;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }
*::-webkit-scrollbar { display: none; }

html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--theme-paper);
    color: var(--theme-ink);
    font-family: var(--font-base);
    font-size: var(--fs-body);
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 65px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

img { max-width: 100%; height: auto; }

/* ── 3. Animated Grid Canvas & Crosshairs ────────────────── */

#bgCanvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--z-canvas);
    pointer-events: none;
}

/* Corner Crosshairs (+) */
body::before,
body::after,
#ch-bottom::before,
#ch-bottom::after {
    content: '+';
    position: fixed;
    font-family: monospace;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--theme-ink);
    z-index: var(--z-ui);
    pointer-events: none;
}
body::before       { top: 45px; left: 8px; }
body::after        { top: 45px; right: 8px; }
#ch-bottom::before { bottom: 8px; left: 8px; }
#ch-bottom::after  { bottom: 8px; right: 8px; }

/* ── 3b. Urgency Top Bar ──────────────────────────────────── */

.top-urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff3b30;
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* ── 4. Main Header (Static) ──────────────────────────────── */

.nav-main {
    position: relative;
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 var(--space-lg);
    background-color: transparent;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    width: var(--dim-logo);
    height: auto;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .brand-logo img {
    filter: invert(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-base);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-ink);
    background: transparent;
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    cursor: pointer;
    transition: all 0.15s ease;
    letter-spacing: var(--ls-base);
}

.nav-action-btn:hover {
    background: var(--theme-focus);
}

.nav-action-btn:active {
    transform: scale(0.95);
}

/* ── 5. Buttons ───────────────────────────────────────────── */

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-base);
    font-size: var(--text-btn);
    font-weight: 700;
    color: var(--theme-paper);
    background: var(--theme-ink);
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.btn-accent:hover {
    opacity: 0.8;
}

.btn-accent:active {
    opacity: 0.6;
}

.btn-accent.is-full { width: 100%; }

.btn-accent.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.btn-accent.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-base);
    font-size: var(--text-btn);
    font-weight: 700;
    color: var(--theme-ink);
    background: transparent;
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--theme-ink);
    color: var(--theme-paper);
}

.btn-secondary:active {
    opacity: 0.6;
}

.btn-link {
    background: none;
    border: none;
    color: var(--theme-ink);
    font-family: var(--font-base);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.btn-link:hover { opacity: 1; }

/* Loading state */
.btn-accent.is-loading,
.btn-secondary.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ── 6. Typography ────────────────────────────────────────── */

.hero-title {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: var(--ls-condensed);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    opacity: 0.8;
    margin-top: var(--space-xs);
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.7;
    max-width: 600px;
    margin: var(--space-md) auto 0;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.section-title {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: var(--ls-condensed);
    text-align: center;
}

.section-title.is-accent {
    color: var(--theme-accent);
}

.section-subtitle {
    font-size: 1.25rem;
    opacity: 0.7;
    text-align: center;
    margin-top: var(--space-xs);
}

/* ── 7. Layout ────────────────────────────────────────────── */

.section {
    position: relative;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
}

.section:first-child {
    min-height: calc(100vh - var(--nav-height));
}

.section.is-compact {
    min-height: auto;
    padding: var(--space-xl) var(--space-lg);
}

.section-inner {
    width: 100%;
    max-width: var(--container-max);
}

/* ── 8a. How It Works (Steps Grid) ────────────────────────── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-xs);
}

.step-desc {
    font-size: 1rem;
    opacity: 0.6;
    line-height: 1.5;
}

/* ── 8b. Why Kruder 1 (Feature Grid) ─────────────────────── */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    border: var(--border-width) solid var(--theme-border);
    border-radius: var(--radius-main);
}

.why-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

.why-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-xs);
}

.why-card-desc {
    font-size: 0.95rem;
    opacity: 0.6;
    line-height: 1.5;
}

/* ── 8c. Demo CTA ────────────────────────────────────────── */

.demo-cta {
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    padding: var(--space-xl);
}

/* ── 8d. Hardware Teaser ─────────────────────────────────── */

.hardware-teaser {
    margin-top: var(--space-xl);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    opacity: 0.4;
}

/* ── 8e. Image Slider (Before/After) ─────────────────────── */

.image-slider-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--theme-border);
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-slider-container img {
    width: 100%;
    display: block;
    pointer-events: none;
}

.slider-img-after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 0 50%);
}

.slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

.slider-handle::after {
    content: '◄ ►';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: var(--space-xl);
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 260px;
    min-height: 280px;
    padding: var(--space-lg);
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    text-align: center;
}

.pricing-card .card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--theme-ink);
    color: var(--theme-paper);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    border-radius: var(--radius-main);
    white-space: nowrap;
}

.pricing-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    opacity: 0.6;
}

.pricing-card .card-credits {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.pricing-card .card-label {
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.5;
}

.pricing-card .card-price {
    font-size: 1.5rem;
    font-weight: 900;
}

.pricing-features {
    font-size: 0.95rem;
    opacity: 0.6;
    margin-top: var(--space-sm);
    text-align: center;
    line-height: 1.8;
}

/* ── 9. FAQ Accordion ─────────────────────────────────────── */

.faq-container {
    width: 100%;
    max-width: 700px;
    margin: var(--space-xl) auto 0;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--theme-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) 0;
    font-family: var(--font-base);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-ink);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    letter-spacing: var(--ls-base);
}

.faq-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq-item.is-active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-item.is-active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-a-text {
    padding-bottom: var(--space-md);
    opacity: 0.7;
    line-height: 1.6;
}

/* ── 10. Contact Section ──────────────────────────────────── */

.contact-email {
    color: var(--theme-accent);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: var(--ls-base);
    transition: opacity 0.15s ease;
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-location {
    opacity: 0.6;
    margin-bottom: var(--space-sm);
}

/* ── 11. Auth Forms ───────────────────────────────────────── */

.auth-container {
    width: 100%;
    max-width: var(--auth-max);
}

.auth-title {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: var(--ls-condensed);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.input-wrap {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-input);
    font-size: var(--fs-input);
    color: var(--theme-ink);
    background: var(--theme-input-bg);
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    outline: none;
    transition: border-color 0.15s ease;
}

.input-field:focus {
    border-color: var(--theme-accent);
}

.input-field::placeholder {
    color: var(--color-muted);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

.password-toggle .fa-eye-slash { display: none; }
.password-toggle.is-visible .fa-eye { display: none; }
.password-toggle.is-visible .fa-eye-slash { display: inline; }

.auth-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
}

.auth-screen { display: none; }
.auth-screen.is-active { display: block; }

/* ── 12. Dashboard ────────────────────────────────────────── */

.dash-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.dash-welcome {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
}

.user-badge {
    font-size: 1rem;
    opacity: 0.6;
    margin-top: var(--space-xs);
}

.credits-display {
    margin: var(--space-xl) 0;
}

.credits-number {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
}

.credits-label {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.5;
}

.dash-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    max-width: 400px;
}

.history-section {
    width: 100%;
    max-width: 600px;
    margin-top: var(--space-xl);
    text-align: left;
}

.history-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.history-table th,
.history-table td {
    padding: 10px 12px;
    border: 1px solid var(--theme-border);
    text-align: center;
}

.history-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: var(--ls-wide);
}

/* ── 13. Legal Pages ──────────────────────────────────────── */

.legal-container {
    width: 100%;
    max-width: var(--container-max);
    text-align: left;
    padding: var(--space-xl) var(--space-lg);
}

.legal-title {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--theme-accent);
    margin-bottom: var(--space-xs);
}

.legal-date {
    font-size: var(--fs-small);
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: var(--space-lg);
}

.legal-subtitle {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-text {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.legal-list {
    padding-left: var(--space-lg);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

/* ── 14. Verify / Reset States ────────────────────────────── */

.verify-state,
.reset-state { display: none; text-align: center; }
.verify-state.is-active,
.reset-state.is-active { display: block; }

.verify-icon,
.reset-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.verify-icon.is-loading i {
    animation: spin 1.5s linear infinite;
}

.verify-title,
.reset-title {
    font-size: var(--text-title);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.verify-message,
.reset-message {
    opacity: 0.7;
    margin-bottom: var(--space-lg);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── 15. Modal ────────────────────────────────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--theme-overlay);
}

.modal-overlay.is-active {
    display: flex;
}

.modal-box {
    background: var(--theme-paper);
    border: var(--border-width) solid var(--theme-ink);
    border-radius: var(--radius-main);
    padding: var(--space-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-box.shake {
    animation: shake 0.6s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.modal-message {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

/* ── 16. Footer ───────────────────────────────────────────── */

.site-footer {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}

.footer-links a {
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.footer-links a:hover { opacity: 1; }

.footer-copyright {
    font-size: var(--fs-small);
    opacity: 0.4;
    margin-top: var(--space-sm);
}

/* ── 17. Responsive ───────────────────────────────────────── */

@media (max-width: 960px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .section-title { font-size: 2.5rem; }
    .section { padding-left: var(--space-md); padding-right: var(--space-md); }

    .steps-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .why-grid { grid-template-columns: 1fr; }

    .pricing-grid {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .pricing-card { flex: 0 0 auto; }

    .auth-title, .dash-welcome { font-size: 2.5rem; }
    .legal-title { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .nav-main { padding: 0 var(--space-sm); }
    .nav-actions { gap: var(--space-xs); }
    .btn-accent.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.7rem; }
    .pricing-card { width: 100%; max-width: 300px; }
}

/* ── 18. Scroll-to-Top Button ─────────────────────────────── */

.btn-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-content);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--theme-ink);
    color: var(--theme-paper);
    border: none;
    border-radius: var(--radius-main);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.btn-scroll-top.is-visible {
    opacity: 0.6;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    opacity: 1;
}

/* ── 19. Utilities ────────────────────────────────────────── */

.text-accent { color: var(--theme-accent); }
.text-muted { color: var(--color-muted); }
.hidden { display: none !important; }
.auth-hidden { display: none !important; }
