/* Minutes of Meeting - Exact Task_Checker Styling */

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

:root {
    --bg-primary: #f4f7ff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #edf3ff;
    --bg-elevated: #ffffff;

    --text-primary: #14233a;
    --text-secondary: #324b63;
    --text-muted: #6b7a96;

    --border-subtle: #e3ecf6;
    --border-default: #d6e1f0;
    --border-strong: #bccce3;

    --accent-primary: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #dbeafe;
    --accent-ink: #1e3a8a;

    --success: #2563eb;
    --danger: #c4625f;
    --warning: #c5962b;

    --shadow-sm: 0 8px 20px rgba(30, 64, 175, 0.08);
    --shadow-md: 0 18px 50px rgba(30, 64, 175, 0.14);
    --shadow-lg: 0 34px 90px rgba(30, 64, 175, 0.18);

    --gradient-primary:
        radial-gradient(1100px circle at 10% 10%, rgba(186, 214, 255, 0.75), rgba(244, 247, 255, 0.9) 40%, #f4f7ff 70%),
        radial-gradient(900px circle at 90% 15%, rgba(205, 234, 255, 0.6), rgba(244, 247, 255, 0.2) 55%, transparent 70%);
    --gradient-accent: linear-gradient(120deg, #bfdbfe 0%, #2563eb 65%, #1d4ed8 100%);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;

    --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
    --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", "Consolas", monospace;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-primary);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(500px circle at 12% 18%, rgba(147, 197, 253, 0.4), transparent 60%),
        radial-gradient(420px circle at 82% 12%, rgba(194, 228, 255, 0.45), transparent 62%),
        radial-gradient(680px circle at 50% 90%, rgba(191, 219, 254, 0.55), transparent 70%);
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

/* Dashboard Layout */
.dashboard-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.dashboard-side {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 32px 24px;
    border-right: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    background: var(--gradient-accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-link:hover {
    color: var(--accent-ink);
}

.dashboard-side .brand-link {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.subtitle {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-link {
    border: 1px solid transparent;
    background: transparent;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    width: 100%;
    text-decoration: none;
}

.side-link:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-subtle);
}

.side-link.active {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: rgba(37, 99, 235, 0.2);
}

.side-link-muted {
    color: var(--text-muted);
}

.side-user {
    margin-top: auto;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-user-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.side-user-action {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-muted);
    padding: 0;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.side-user-action:hover {
    background: #ffffff;
    border-color: var(--border-default);
    color: var(--text-primary);
}

.user-email {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}

.dashboard-side .user-email {
    font-weight: 400;
    word-break: normal;
    flex: 1 1 auto;
    min-width: 0;
}

.user-role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.user-role.super-admin {
    background: var(--accent-primary);
    color: #ffffff;
    border: 1px solid var(--accent-primary);
}

.user-role.admin {
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.dashboard-main {
    padding: 36px 40px 48px;
}

.dashboard-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-title h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.dashboard-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dashboard-actions {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
    box-shadow: none;
    background-clip: padding-box;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.btn-outline-primary {
    background: #ffffff;
    color: var(--accent-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
}

.api-key-row {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    flex-wrap: wrap;
}

.api-key-row > .form-control {
    flex: 1 1 260px;
    min-width: 0;
    width: auto !important;
    border-radius: 12px !important;
}

.api-key-row > .btn {
    flex: 0 0 auto;
    padding: 6px 12px !important;
    font-size: 12px !important;
    line-height: 1.15;
    min-height: 34px;
    border-radius: 10px !important;
}

.api-key-row > .btn + .btn,
.api-key-row > .form-control + .btn {
    margin-left: 0 !important;
}

.btn-outline-primary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.btn-outline-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
}

.btn-outline-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.btn-outline-danger {
    background: #ffffff;
    color: var(--danger);
    border: 1px solid rgba(196, 98, 95, 0.3);
}

.btn-outline-danger:hover {
    background: rgba(196, 98, 95, 0.08);
}

.btn-success {
    background: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    filter: brightness(0.95);
}

.btn-danger {
    background: #ffffff;
    color: var(--danger);
    border: 1px solid rgba(196, 98, 95, 0.3);
}

.btn-danger:hover {
    background: rgba(196, 98, 95, 0.08);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.btn-group-sm .btn {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-group {
    display: inline-flex;
    gap: 4px;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.card-header {
    background: var(--bg-tertiary);
    padding: 16px 20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: 1px solid var(--border-subtle);
}

.card-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 20px;
}

.list-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-group-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: all 0.2s ease;
}

.list-group-item-action {
    cursor: pointer;
}

.list-group-item-action:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.list-group-item h5 {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Forms */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.mb-3 {
    margin-bottom: 16px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid transparent;
    font-size: 13px;
}

.alert-danger {
    background: #fde8e7;
    color: var(--danger);
    border-color: rgba(196, 98, 95, 0.3);
}

.alert-success {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: rgba(37, 99, 235, 0.2);
}

.alert-info {
    background: #e8f4f8;
    color: #0c5e7e;
    border-color: rgba(12, 94, 126, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 51, 43, 0.5);
    backdrop-filter: blur(4px);
}

.modal.fade.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    position: relative;
    max-width: 520px;
    width: 90%;
    margin: auto;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-subtle);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 24px 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn-close::before {
    content: '×';
}

.close {
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    opacity: 1;
}

/* Settings Modal */
.modal-large {
    max-width: 960px;
    width: 90%;
}

.settings-modal {
    border: 1px solid var(--border-subtle);
}

#settings-modal {
    background: rgba(16, 34, 30, 0.2);
    backdrop-filter: blur(6px);
    align-items: flex-start;
    justify-content: center;
    animation: modalFadeIn 0.2s;
}

#settings-modal .modal-content {
    margin: 4% auto;
    width: 90%;
    max-height: 85vh;
    box-shadow: var(--shadow-md);
    animation: slideIn 0.3s;
}

.settings-modal .modal-header {
    align-items: center;
    gap: 16px;
}

.settings-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 10px 24px 28px;
    align-items: start;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.settings-help {
    font-size: 12px;
    color: var(--text-muted);
    display: grid;
    gap: 8px;
}

.settings-help a {
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 600;
}

.settings-content {
    display: grid;
    gap: 20px;
}

.settings-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.settings-tab {
    background: #ffffff;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 14px;
    text-align: left;
    width: 100%;
    box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.settings-tab:hover {
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}

.settings-tab.active {
    color: var(--text-primary);
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(37, 99, 235, 0.35),
        0 12px 18px rgba(37, 99, 235, 0.08);
}

.settings-tab-content {
    padding: 0;
    animation: fadeIn 0.3s ease;
}

.settings-tab-content h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 18px;
}

.settings-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.settings-block + .settings-block {
    margin-top: 20px;
}

.settings-block h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.settings-block-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.settings-block p {
    color: var(--text-secondary);
}

.settings-block .field-hint {
    margin-top: 6px;
}

.settings-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.settings-list li::before {
    content: "\2022";
    color: var(--accent-primary);
    margin-right: 8px;
}

.settings-actions .btn {
    min-width: 140px;
    justify-content: center;
}

.settings-content .user-management-section {
    margin-bottom: 0;
    border-bottom: none;
}

.settings-content .section-header p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 13px;
}

.form-group {
    margin-bottom: 16px;
}

.field-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .settings-shell {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted) !important;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.flex-grow-1 {
    flex-grow: 1;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-3 {
    gap: 16px;
}

.gap-2 {
    gap: 12px;
}

.gap-4 {
    gap: 24px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 8px !important;
}

.mb-2 {
    margin-bottom: 12px !important;
}

.mb-3 {
    margin-bottom: 16px !important;
}

.mb-4 {
    margin-bottom: 24px !important;
}

.mt-3 {
    margin-top: 16px !important;
}

.mt-4 {
    margin-top: 24px !important;
}

.mt-2 {
    margin-top: 12px !important;
}

.me-2 {
    margin-right: 8px !important;
}

.py-4 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.py-3 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.small {
    font-size: 12px;
}

.fw-semibold {
    font-weight: 600;
}

.w-100 {
    width: 100%;
}

.d-grid {
    display: grid !important;
}

.position-fixed {
    position: fixed !important;
}

.top-0 {
    top: 0 !important;
}

.end-0 {
    right: 0 !important;
}

.p-3 {
    padding: 16px !important;
}

.border-0 {
    border: 0 !important;
}

/* Spinner */
.spinner-border {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 12px;
    height: 12px;
    border-width: 2px;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Two-column content grid for meeting pages */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-action-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.form-action-stack > .btn {
    align-self: flex-start;
    margin-top: 16px;
}

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

.workspace-view-card {
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    color: var(--text-primary);
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.workspace-view-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.workspace-view-card.active {
    border-color: rgba(37, 99, 235, 0.34);
    background: rgba(239, 246, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.workspace-view-kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.workspace-view-card strong {
    font-size: 15px;
    font-family: var(--font-display);
}

.workspace-view-count {
    font-size: 24px;
    line-height: 1;
    font-family: var(--font-display);
    color: var(--accent-ink);
}

.workspace-view-panel {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--bg-tertiary);
}

.workspace-view-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

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

    .workspace-view-panel-head {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .workspace-view-grid {
        grid-template-columns: 1fr;
    }
}

/* Toasts */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1050;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 12px 16px;
    min-width: 240px;
    max-width: 360px;
}

.toast .toast-body {
    font-size: 13px;
    color: var(--text-primary);
}

.text-bg-success {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--accent-ink) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.text-bg-warning {
    background: rgba(197, 150, 43, 0.12) !important;
    color: #7a5a12 !important;
    border-color: rgba(197, 150, 43, 0.3) !important;
}

.text-bg-danger {
    background: rgba(196, 98, 95, 0.12) !important;
    color: #7a2e2c !important;
    border-color: rgba(196, 98, 95, 0.3) !important;
}

.btn-close-white {
    color: #ffffff;
}

/* Progress */
.progress {
    width: 100%;
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.progress-bar {
    height: 100%;
    background: #2563eb;
    transition: width 0.3s ease;
}

.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
}

.progress-bar-animated {
    animation: progressMove 1s linear infinite;
}

@keyframes progressMove {
    from { background-position: 0 0; }
    to { background-position: 20px 0; }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 18px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 14px;
}

/* Navbar (for non-dashboard pages) */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    backdrop-filter: blur(14px);
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary) !important;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 999px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary) !important;
}

.nav-link.active {
    color: var(--accent-primary) !important;
    font-weight: 600;
}

/* Account Pill */
.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

.account-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--accent-ink);
}

.account-initial {
    text-transform: uppercase;
}

.account-status {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    bottom: 0;
    right: 0;
    border: 2px solid var(--bg-secondary);
}

.account-email {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.account-icon-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-icon-btn:hover {
    background: var(--accent-soft);
    color: var(--accent-primary);
}

/* Meeting-specific styles */
.meeting-title {
    font-size: 32px !important;
    font-weight: 600 !important;
}

.task_heading {
    font-weight: 600 !important;
}

.feature-item {
    border-left: 3px solid var(--accent-primary);
    padding-left: 15px;
    margin-bottom: 12px;
}

.action-item {
    border-left: 3px solid var(--success);
    background-color: var(--bg-tertiary);
    margin-bottom: 8px;
}

.question-item {
    border-left: 3px solid #5ba8d0;
    background-color: var(--bg-tertiary);
    margin-bottom: 8px;
}

.topic-item {
    border-left: 3px solid var(--warning);
    background-color: var(--bg-tertiary);
    margin-bottom: 8px;
}

.participant-item {
    border-left: 3px solid var(--text-muted);
    background-color: var(--bg-tertiary);
    margin-bottom: 8px;
}

.participant-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.participant-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.participant-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.participant-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.participant-status.is-present {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.2);
}

.participant-status.is-invited {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-ink);
    border-color: rgba(37, 99, 235, 0.18);
}

.participant-status.is-absent {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.18);
}

.participant-attendance-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.participant-attendance-btn {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.participant-attendance-btn:hover,
.participant-attendance-btn.is-active {
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--accent-ink);
    background: rgba(37, 99, 235, 0.08);
}

.participant-attendance-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.transcript-text {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    padding: 16px;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
}

.transcript-structured-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transcript-outline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
}

.transcript-outline-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.transcript-chapters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.transcript-chapter {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.transcript-chapter:hover,
.transcript-chapter.is-active {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.transcript-chapter-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.transcript-chapter-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.transcript-segments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transcript-segment {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.transcript-segment:hover,
.transcript-segment.is-active {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.transcript-segment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.transcript-segment-speaker {
    font-weight: 700;
    color: var(--accent-ink);
}

.speaker-label {
    font-weight: bold;
    color: var(--accent-primary);
}

/* Recording indicator */
.recording-indicator {
    width: 12px;
    height: 12px;
    background-color: var(--danger);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.timer {
    font-family: var(--font-mono);
    font-size: 16px;
    margin-left: 8px;
}

/* Meeting Header Grid */
.meeting-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.meeting-header-grid p {
    margin-bottom: 0.35rem;
    font-size: 14px;
    line-height: 1.5;
}

.meeting-header-left,
.meeting-header-right {
    min-width: 0;
}

/* Agenda Cards */
.agenda-card .card-header {
    cursor: pointer;
}

.agenda-card-header:hover {
    background: var(--bg-tertiary);
}

.agenda-section {
    margin-bottom: 1rem;
}

.agenda-section:last-child {
    margin-bottom: 0;
}

.agenda-section h6 {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agenda-section p {
    margin-bottom: 0.25rem;
}

.agenda-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.agenda-list li {
    margin-bottom: 0.2rem;
    font-size: 14px;
}

/* Agenda Badges */
.agenda-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.agenda-badge-success {
    background: #dcfce7;
    color: #166534;
}

.agenda-badge-muted {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.agenda-badge-warning {
    background: #fef9c3;
    color: #854d0e;
}

/* Agenda Editor */
.agenda-editor .form-label {
    font-size: 13px;
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .meeting-header-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-side {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .dashboard-main {
        padding: 24px 20px;
    }

    .dashboard-title h2 {
        font-size: 24px;
    }

    .dashboard-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Auth Section */
.auth-section {
    position: relative;
}

.auth-container {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: flex-start;
    background: transparent;
    position: relative;
    padding: 128px 24px 64px 24px;
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.auth-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-brand .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--gradient-accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text h1 {
    font-size: 26px;
    margin-bottom: 4px;
}

.tagline {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.auth-headline {
    font-size: 40px;
    line-height: 1.1;
    margin: 0;
}

.auth-lede {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
}

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

.metric-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.metric-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.metric-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.auth-support {
    color: var(--text-muted);
    font-size: 13px;
}

.auth-support a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.auth-support a:hover {
    text-decoration: underline;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-feature-list li i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.auth-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-panel::before {
    content: "";
    position: absolute;
    inset: -42px -36px -42px -12px;
    background:
        radial-gradient(circle at 28% 24%, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.05) 34%, transparent 72%),
        radial-gradient(circle at 72% 70%, rgba(191, 219, 254, 0.28) 0%, transparent 66%);
    filter: blur(34px);
    pointer-events: none;
    z-index: 0;
}

.auth-navbar {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(244, 247, 255, 0.92);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.auth-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.auth-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
}

.auth-nav-links {
    display: flex;
    gap: 18px;
}

.auth-nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

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

.auth-pricing {
    margin-top: 32px;
    padding-bottom: 64px;
    display: grid;
    gap: 24px;
}

.auth-pricing-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

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

.auth-pricing-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.auth-pricing-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.auth-pricing-list li::before {
    content: "•";
    color: var(--accent-primary);
    margin-right: 8px;
}

.auth-pricing-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.auth-pricing-link {
    font-size: 12px;
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 600;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-tab.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.auth-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.auth-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(227, 236, 246, 0.72);
    border-radius: var(--radius-lg);
    padding: 42px 40px;
    box-shadow: 0 22px 52px rgba(30, 64, 175, 0.1);
    backdrop-filter: blur(16px);
    text-align: left;
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: riseIn 0.7s ease both;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 14% 16%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        linear-gradient(140deg, rgba(37, 99, 235, 0.04), transparent 56%);
    pointer-events: none;
}

.auth-card h2 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 28px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.auth-form {
    padding: 0;
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.field-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    transition: all 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background-color: #ffffff;
}

input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-secondary);
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

input[type="file"]:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-right: 12px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

input[type="file"]::-webkit-file-upload-button:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

input[type="file"]::file-selector-button {
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-right: 12px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

input[type="file"]::file-selector-button:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.auth-note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-card .auth-note {
    margin: 12px 0 0;
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin: 8px 0 12px;
}

.features {
    margin-top: 28px;
    text-align: left;
    display: grid;
    gap: 10px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--accent-primary);
    font-weight: bold;
    margin-right: 12px;
}

/* Pricing Page */
.pricing-page {
    background: var(--gradient-primary);
}

.pricing-main,
.checkout-main {
    padding: 0;
}

.pricing-main-inner {
    display: grid;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 72px;
}

.pricing-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.pricing-intro {
    display: grid;
    gap: 24px;
    text-align: center;
}

.pricing-intro-top {
    display: grid;
    grid-template-columns: 1fr;
}

.pricing-intro-copy {
    max-width: 680px;
    margin: 0 auto;
}

.pricing-intro h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.pricing-lede {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto;
}

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

.highlight-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.highlight-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-note {
    margin-top: 24px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.pricing-card {
    flex: 0 1 260px;
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0.8;
}

.plan-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent-primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
}

.plan-tag + .plan-name {
    padding-top: 32px;
    padding-right: 120px;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-ink);
}

.plan-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 14px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
    display: grid;
    gap: 10px;
}

.plan-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 13px;
}

.plan-features li::before {
    content: "•";
    color: var(--accent-primary);
    font-weight: 700;
    margin-top: 2px;
}

.plan-features li.disabled {
    opacity: 0.45;
}

.plan-features li.disabled::before {
    content: "-";
    color: var(--text-muted);
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-comparison {
    display: grid;
    gap: 20px;
}

.pricing-comparison .pricing-intro {
    gap: 10px;
}

.pricing-comparison .pricing-intro h2 {
    margin-bottom: 0;
}

.pricing-comparison-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pricing-table-wrap {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 14px;
}

.pricing-table-single {
    min-width: unset;
}

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

.pricing-table thead th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-table tbody th {
    color: var(--text-primary);
    font-weight: 600;
    width: 220px;
    background: rgba(255, 255, 255, 0.45);
}

.pricing-table tbody td {
    color: var(--text-secondary);
}

.pricing-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.pricing-status-yes {
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-ink);
}

.pricing-status-no {
    background: rgba(148, 163, 184, 0.18);
    color: var(--text-muted);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Single-plan card overrides ────────────────────────────────────────── */

/* Make the lone Free card wider and more prominent on the pricing page */
.pricing-card-free-only {
    flex: 0 1 460px;
    padding: 36px 36px 32px;
}

.pricing-card-free-only .plan-price {
    font-size: 40px;
}

/* Comparison table: centre wrapper + drop min-width for 2-col table */
.pricing-comparison-single-wrap {
    display: flex;
    justify-content: center;
}

.pricing-table-single {
    min-width: unset;
    max-width: 560px;
    width: 100%;
}

.pricing-table-single th:first-child,
.pricing-table-single td:first-child {
    width: 70%;
}

/* BYOK callout */
.byok-callout {
    margin: 40px auto;
    max-width: 620px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.byok-callout-text {
    text-align: center;
}

.byok-callout-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.byok-callout-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.byok-callout-desc strong {
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

.byok-services {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
}

.byok-service {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.byok-service-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.byok-service-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

.byok-service-wordmark {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1881ff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}

.byok-service-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.byok-service-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.byok-service-use {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 560px) {
    .byok-callout {
        padding: 22px 20px;
    }

    .byok-services {
        flex-direction: column;
    }

    .byok-service-divider {
        width: auto;
        height: 1px;
        align-self: stretch;
    }
}

.pricing-footer {
    margin-top: 56px;
    text-align: center;
    color: var(--text-muted);
}

.pricing-footer h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.pricing-footer a {
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 600;
}

.pricing-footer a:hover {
    text-decoration: underline;
}

.checkout-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.4fr) minmax(320px, 0.6fr);
    gap: 32px;
    align-items: start;
    margin: 24px;
}

.checkout-summary {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-summary h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.checkout-summary p {
    color: var(--text-secondary);
}

.checkout-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.plan-summary {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plan-summary h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 14px;
    line-height: 1.5;
}

.error-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    background: #fde8e7;
    color: var(--danger);
    border: 1px solid rgba(196, 98, 95, 0.3);
    font-size: 14px;
    line-height: 1.5;
}

/* Error Page */
.error-main {
    padding: 72px 0 80px;
}

.error-container {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.error-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(196, 98, 95, 0.1);
    border: 1px solid rgba(196, 98, 95, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--danger);
    margin-bottom: 20px;
}

.error-container .eyebrow {
    margin-bottom: 10px;
}

.error-heading {
    font-size: 32px;
    margin-bottom: 12px;
}

.error-message-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.error-causes {
    width: 100%;
    text-align: left;
    margin-bottom: 28px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Landing Page
   ============================================= */

.landing-page {
    background: var(--gradient-primary);
}

.landing-main {
    position: relative;
    z-index: 1;
}

.landing-hero > .container,
.landing-proof > .container,
.landing-section > .container,
.landing-cta-section > .container,
.landing-footer > .container {
    padding-top: 0;
    padding-bottom: 0;
}

.landing-hero {
    padding: 92px 0 68px;
    position: relative;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 30px 0 auto;
    height: 420px;
    background:
        radial-gradient(580px circle at 75% 30%, rgba(255, 255, 255, 0.88), transparent 62%),
        radial-gradient(520px circle at 18% 22%, rgba(191, 219, 254, 0.72), transparent 58%);
    pointer-events: none;
}

.landing-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 48px;
    align-items: center;
}

.landing-hero-copy {
    max-width: 620px;
}

.landing-hero-copy .eyebrow {
    margin-bottom: 16px;
}

.landing-hero-headline {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.97;
    letter-spacing: -1.8px;
    margin-bottom: 22px;
    max-width: 9.5em;
}

.landing-hero-sub {
    font-size: 18px;
    line-height: 1.72;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 30px;
}

.landing-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-large {
    padding: 16px 30px;
    font-size: 15px;
}

.landing-hero-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.landing-hero-quickflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.landing-quickflow-step,
.landing-feature-tile {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(227, 236, 246, 0.96);
    box-shadow: var(--shadow-sm);
}

.landing-quickflow-step {
    padding: 16px 16px 18px;
    border-radius: 22px;
    display: grid;
    gap: 8px;
    min-height: 150px;
}

.landing-quickflow-step::before,
.landing-feature-tile::before {
    content: "";
    position: absolute;
    inset: auto -16% -50% auto;
    width: 100px;
    height: 100px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
    pointer-events: none;
}

.landing-quickflow-number {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-quickflow-step i,
.landing-feature-tile i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
    animation: landingIconPulse 3.2s ease-in-out infinite;
}

.landing-quickflow-step strong,
.landing-feature-tile strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
}

.landing-quickflow-step span:last-child,
.landing-feature-tile span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.landing-hero-signals {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.landing-note-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(214, 225, 240, 0.95);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.landing-note-pill i {
    color: var(--accent-primary);
}

.landing-note-pill {
    animation: landingSignalFloat 4.4s ease-in-out infinite;
}

.landing-note-pill:nth-child(2) { animation-delay: 0.25s; }
.landing-note-pill:nth-child(3) { animation-delay: 0.5s; }
.landing-note-pill:nth-child(4) { animation-delay: 0.75s; }
.landing-note-pill:nth-child(5) { animation-delay: 1s; }
.landing-note-pill:nth-child(6) { animation-delay: 1.25s; }

.landing-hero-stage {
    position: relative;
    min-height: 620px;
}

.landing-stage-aura,
.landing-stage-orbit,
.landing-export-ring {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.landing-stage-aura {
    filter: blur(8px);
    opacity: 0.8;
}

.landing-stage-aura-one {
    inset: 42px 20px auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.26), transparent 70%);
}

.landing-stage-aura-two {
    left: 6px;
    bottom: 56px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.34), transparent 72%);
}

.landing-stage-orbit {
    border: 1px dashed rgba(37, 99, 235, 0.18);
}

.landing-stage-orbit-one {
    inset: 84px 28px 110px 46px;
    animation: landingSpin 22s linear infinite;
}

.landing-stage-orbit-two {
    inset: 126px 92px 144px 100px;
    animation: landingSpinReverse 18s linear infinite;
}

.landing-stage-beacon {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 236, 246, 0.98);
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-ink);
    animation: landingFloatSmall 6s ease-in-out infinite;
}

.landing-stage-beacon i {
    color: var(--accent-primary);
}

.landing-stage-beacon-one {
    top: 84px;
    left: -18px;
}

.landing-stage-beacon-two {
    top: 164px;
    right: -6px;
    animation-delay: 0.8s;
}

.landing-stage-beacon-three {
    bottom: 114px;
    left: 24px;
    animation-delay: 1.6s;
}

.landing-stage-window,
.landing-floating-card,
.landing-story-card,
.landing-bento-card,
.landing-quote-card,
.landing-metric-card,
.landing-cta-board {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(227, 236, 246, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.landing-stage-window {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(-1.4deg);
    animation: landingFloatLarge 9s ease-in-out infinite;
}

.landing-stage-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(244, 247, 255, 0.92);
    border-bottom: 1px solid var(--border-subtle);
}

.landing-stage-dots {
    display: flex;
    gap: 7px;
}

.landing-stage-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
}

.landing-stage-label,
.landing-stage-badge,
.landing-stage-kicker,
.landing-floating-label,
.landing-bento-kicker,
.landing-bento-label,
.landing-proof-title,
.landing-story-index,
.landing-cta-board-header,
.landing-review-row span {
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.landing-stage-label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.landing-stage-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-ink);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.14);
    padding: 6px 10px;
    border-radius: 999px;
}

.landing-stage-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 246, 255, 0.92)),
        linear-gradient(90deg, transparent 0, rgba(37, 99, 235, 0.03) 100%);
}

.landing-stage-column {
    min-height: 360px;
    border-radius: 22px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.82);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-stage-kicker,
.landing-floating-label,
.landing-bento-kicker,
.landing-story-index,
.landing-cta-board-header {
    text-transform: uppercase;
    font-size: 11px;
    color: var(--text-muted);
}

.landing-stage-column h3 {
    font-size: 18px;
    margin: 0;
}

.landing-stage-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.landing-stage-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.landing-stage-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 11px;
    font-family: var(--font-mono);
}

.landing-stage-stack {
    display: grid;
    gap: 12px;
}

.landing-stage-card {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.landing-stage-card strong {
    display: block;
    font-size: 12px;
    color: var(--accent-ink);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-stage-card p,
.landing-stage-action span,
.landing-floating-card p,
.landing-bento-card p,
.landing-story-card p,
.landing-quote-attribution,
.landing-metric-card span,
.landing-cta-step p {
    color: var(--text-secondary);
}

.landing-stage-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.landing-stage-actions {
    display: grid;
    gap: 10px;
}

.landing-stage-action {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(237, 243, 255, 0.88);
    border: 1px solid var(--border-subtle);
}

.landing-stage-action i {
    color: var(--accent-primary);
    font-size: 18px;
    margin-top: 1px;
}

.landing-stage-action strong,
.landing-mini-metric strong,
.landing-bento-panel strong,
.landing-metric-card strong,
.landing-cta-step strong {
    display: block;
    color: var(--text-primary);
}

.landing-stage-action strong {
    font-size: 14px;
    margin-bottom: 2px;
}

.landing-stage-action span {
    display: block;
    font-size: 12px;
}

.landing-floating-card {
    position: absolute;
    border-radius: 24px;
    padding: 18px 20px;
}

.landing-floating-card-top {
    top: 26px;
    right: -18px;
    width: 240px;
    z-index: 3;
    animation: landingFloatSmall 7s ease-in-out infinite;
}

.landing-floating-card-bottom {
    left: -14px;
    bottom: 26px;
    width: 260px;
    z-index: 3;
    animation: landingFloatSmall 8s ease-in-out infinite reverse;
}

.landing-floating-card h3 {
    font-size: 22px;
    margin: 6px 0 10px;
}

.landing-floating-card p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.landing-mini-metric + .landing-mini-metric {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.landing-mini-metric strong {
    font-size: 24px;
    margin-bottom: 3px;
}

.landing-mini-metric span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.landing-proof {
    padding: 0 0 24px;
}

.landing-proof-inner {
    padding: 0;
}

.landing-proof-title {
    margin-bottom: 16px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.landing-proof-rail {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-proof-rail span {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 600;
}

.landing-fast-fit {
    padding: 24px 0 12px;
}

.landing-fast-fit-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: start;
}

.landing-fast-fit-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.9px;
    margin-bottom: 12px;
}

.landing-fast-fit-copy p:last-child {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

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

.landing-feature-tile {
    border-radius: 22px;
    min-height: 146px;
    padding: 18px 18px 20px;
    display: grid;
    align-content: start;
    gap: 10px;
    animation: landingRevealUp 0.9s ease both;
}

.landing-feature-tile:nth-child(1) { animation-delay: 0.05s; }
.landing-feature-tile:nth-child(2) { animation-delay: 0.1s; }
.landing-feature-tile:nth-child(3) { animation-delay: 0.15s; }
.landing-feature-tile:nth-child(4) { animation-delay: 0.2s; }
.landing-feature-tile:nth-child(5) { animation-delay: 0.25s; }
.landing-feature-tile:nth-child(6) { animation-delay: 0.3s; }

.landing-feature-tile:hover,
.landing-quickflow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.18);
}

.landing-section {
    padding: 84px 0;
}

.landing-section-alt {
    background: rgba(255, 255, 255, 0.38);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.landing-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.landing-section-header .eyebrow {
    margin-bottom: 14px;
}

.landing-section-header h2,
.landing-section-copy h2,
.landing-cta-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.landing-section-header p,
.landing-section-copy p,
.landing-cta-copy p {
    font-size: 16px;
    line-height: 1.72;
    color: var(--text-secondary);
}

.landing-section-header p {
    max-width: 720px;
    margin: 0 auto;
}

.landing-section-split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 36px;
    align-items: start;
}

.landing-copy-metrics {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.landing-copy-metric {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.landing-copy-metric strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 3px;
}

.landing-copy-metric span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.landing-system-map {
    position: relative;
    min-height: 360px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 50%, rgba(219, 234, 254, 0.95), rgba(255, 255, 255, 0.7) 38%, rgba(255, 255, 255, 0.5) 62%, transparent 76%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 255, 0.82));
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.landing-system-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.landing-system-lines path {
    fill: none;
    stroke: rgba(37, 99, 235, 0.2);
    stroke-width: 2;
    stroke-dasharray: 8 10;
}

.landing-system-core,
.landing-system-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 236, 246, 0.96);
    box-shadow: var(--shadow-sm);
}

.landing-system-core {
    top: 124px;
    left: 50%;
    transform: translateX(-50%);
    width: 154px;
    height: 154px;
    border-radius: 999px;
    z-index: 2;
}

.landing-system-core span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-system-core strong {
    margin-top: 6px;
    font-size: 22px;
}

.landing-system-node {
    width: 144px;
    height: 108px;
    border-radius: 24px;
    padding: 14px;
    gap: 4px;
}

.landing-system-node i {
    font-size: 20px;
    color: var(--accent-primary);
}

.landing-system-node strong {
    font-size: 15px;
    color: var(--text-primary);
}

.landing-system-node span {
    font-size: 12px;
    color: var(--text-muted);
}

.landing-system-node-one {
    top: 28px;
    left: 18px;
    transform: rotate(-4deg);
}

.landing-system-node-two {
    top: 36px;
    right: 18px;
    transform: rotate(4deg);
}

.landing-system-node-three {
    bottom: 20px;
    left: 42px;
    transform: rotate(-5deg);
}

.landing-system-node-four {
    bottom: 18px;
    right: 30px;
    transform: rotate(5deg);
}

.landing-bento-card h3,
.landing-cta-step p,
.landing-metric-card strong {
    margin-bottom: 10px;
}

.landing-bento-card h3 {
    font-size: 22px;
    line-height: 1.15;
}

.landing-bento-card p {
    font-size: 14px;
    line-height: 1.68;
    margin: 0;
}

.landing-sheet-preview,
.landing-review-console {
    margin-top: 20px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.landing-sheet-preview {
    display: grid;
    grid-template-columns: 70px 1fr;
    min-height: 214px;
    overflow: hidden;
}

.landing-sheet-sidebar {
    background: rgba(237, 243, 255, 0.96);
    border-right: 1px solid var(--border-subtle);
    padding: 18px 14px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.landing-sheet-sidebar span,
.landing-review-rail span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
}

.landing-sheet-body {
    padding: 20px;
}

.landing-sheet-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(20, 35, 58, 0.08);
    margin-bottom: 10px;
}

.landing-sheet-line-strong {
    width: 72%;
    background: rgba(20, 35, 58, 0.15);
}

.landing-sheet-line-short {
    width: 54%;
}

.landing-sheet-highlight {
    margin: 18px 0;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.landing-sheet-highlight strong {
    font-size: 18px;
}

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

.landing-sheet-columns > div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(244, 247, 255, 0.92);
    border: 1px solid var(--border-subtle);
}

.landing-sheet-columns strong {
    font-size: 15px;
}

.landing-topic-stack {
    position: relative;
    margin-top: 18px;
    min-height: 140px;
}

.landing-topic-card {
    position: absolute;
    left: 0;
    right: 0;
    max-width: 210px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.landing-topic-card strong,
.landing-routing-task,
.landing-routing-state {
    color: var(--text-primary);
    font-weight: 700;
}

.landing-topic-card span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.landing-topic-card:nth-child(1) {
    top: 0;
    left: 10px;
    transform: rotate(-6deg);
}

.landing-topic-card:nth-child(2) {
    top: 36px;
    left: 72px;
    z-index: 2;
}

.landing-topic-card:nth-child(3) {
    top: 78px;
    left: 24px;
    transform: rotate(5deg);
}

.landing-routing-flow {
    display: grid;
    grid-template-columns: auto 28px 1fr 28px auto;
    gap: 8px;
    align-items: center;
    margin-top: 22px;
}

.landing-routing-chip,
.landing-routing-task,
.landing-routing-state {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.landing-routing-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-routing-chip span {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--gradient-accent);
}

.landing-routing-arrow {
    position: relative;
    height: 2px;
    background: rgba(37, 99, 235, 0.2);
}

.landing-routing-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(37, 99, 235, 0.35);
    border-right: 2px solid rgba(37, 99, 235, 0.35);
    transform: translateY(-50%) rotate(45deg);
}

.landing-review-console {
    display: grid;
    grid-template-columns: 72px 1fr;
    overflow: hidden;
}

.landing-review-rail {
    padding: 18px 14px;
    background: rgba(237, 243, 255, 0.96);
    border-right: 1px solid var(--border-subtle);
    display: grid;
    gap: 12px;
    align-content: start;
}

.landing-review-panels {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 14px;
    padding: 18px;
}

.landing-review-panel {
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.92);
    padding: 16px;
}

.landing-review-lines {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.landing-review-lines span {
    display: block;
    height: 11px;
    border-radius: 999px;
    background: rgba(20, 35, 58, 0.08);
}

.landing-review-lines span:nth-child(1) {
    width: 90%;
}

.landing-review-lines span:nth-child(2) {
    width: 72%;
}

.landing-review-lines span:nth-child(3) {
    width: 82%;
}

.landing-review-lines span:nth-child(4) {
    width: 58%;
}

.landing-review-panel-kanban {
    display: grid;
    gap: 12px;
}

.landing-review-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 16px;
    background: rgba(237, 243, 255, 0.92);
    border: 1px solid var(--border-subtle);
}

.landing-review-column strong {
    margin: 0;
    font-size: 14px;
}

.landing-review-column span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
}

.landing-export-orb {
    position: relative;
    width: 126px;
    height: 126px;
    margin: 20px auto 0;
}

.landing-export-core {
    position: absolute;
    inset: 27px;
    border-radius: 999px;
    background: var(--gradient-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.26);
}

.landing-export-ring {
    inset: 0;
    border: 1px dashed rgba(37, 99, 235, 0.24);
    animation: landingSpin 16s linear infinite;
}

.landing-waveform {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 88px;
    margin: 22px 0 20px;
}

.landing-waveform span {
    flex: 1 1 0;
    border-radius: 999px 999px 16px 16px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.8));
    animation: landingWave 1.6s ease-in-out infinite;
    transform-origin: bottom;
}

.landing-waveform span:nth-child(1) { height: 36%; }
.landing-waveform span:nth-child(2) { height: 68%; animation-delay: 0.1s; }
.landing-waveform span:nth-child(3) { height: 54%; animation-delay: 0.2s; }
.landing-waveform span:nth-child(4) { height: 84%; animation-delay: 0.3s; }
.landing-waveform span:nth-child(5) { height: 42%; animation-delay: 0.4s; }
.landing-waveform span:nth-child(6) { height: 74%; animation-delay: 0.5s; }
.landing-waveform span:nth-child(7) { height: 48%; animation-delay: 0.6s; }
.landing-waveform span:nth-child(8) { height: 90%; animation-delay: 0.7s; }
.landing-waveform span:nth-child(9) { height: 60%; animation-delay: 0.8s; }
.landing-waveform span:nth-child(10) { height: 72%; animation-delay: 0.9s; }
.landing-waveform span:nth-child(11) { height: 50%; animation-delay: 1s; }
.landing-waveform span:nth-child(12) { height: 82%; animation-delay: 1.1s; }

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

.landing-bento-card {
    border-radius: 26px;
    padding: 26px;
    min-height: 230px;
}

.landing-bento-card-large {
    grid-column: span 2;
    min-height: 300px;
}

.landing-bento-card-wide {
    grid-column: span 2;
}

.landing-bento-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.landing-bento-panel > div {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: rgba(237, 243, 255, 0.86);
}

.landing-bento-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.landing-bento-panel strong {
    font-size: 16px;
    line-height: 1.4;
}

.landing-review-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.landing-review-row span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-ink);
    border: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 11px;
    text-transform: uppercase;
}

.landing-metrics-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.landing-quote-card,
.landing-metric-card,
.landing-cta-board {
    border-radius: 28px;
    padding: 28px;
}

.landing-quote-card blockquote {
    margin: 10px 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.landing-quote-attribution {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

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

.landing-metric-card strong {
    font-size: 28px;
    line-height: 1.1;
}

.landing-metric-card span {
    display: block;
    font-size: 14px;
    line-height: 1.65;
}

.landing-cta-section {
    padding: 88px 0;
}

.landing-cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
    gap: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(227, 236, 246, 0.9);
    border-radius: 34px;
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.landing-cta-copy p {
    max-width: 600px;
    margin-bottom: 28px;
}

.landing-cta-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.landing-cta-steps {
    display: grid;
    gap: 12px;
}

.landing-cta-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(237, 243, 255, 0.9);
    border: 1px solid var(--border-subtle);
}

.landing-cta-step strong {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 14px;
}

.landing-cta-step p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.landing-footer {
    margin-top: auto;
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.landing-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.landing-footer-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
}

.landing-footer-brand:hover {
    color: var(--accent-ink);
}

.landing-footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes landingFloatLarge {
    0%, 100% {
        transform: rotate(-1.4deg) translateY(0);
    }
    50% {
        transform: rotate(-1deg) translateY(-8px);
    }
}

@keyframes landingFloatSmall {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

@keyframes landingWave {
    0%, 100% {
        transform: scaleY(0.8);
    }
    50% {
        transform: scaleY(1.05);
    }
}

@keyframes landingIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
    }
    50% {
        transform: scale(1.06);
        box-shadow:
            inset 0 0 0 1px rgba(37, 99, 235, 0.12),
            0 10px 18px rgba(37, 99, 235, 0.14);
    }
}

@keyframes landingSignalFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes landingRevealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .landing-hero-shell,
    .landing-fast-fit-shell,
    .landing-section-split,
    .landing-metrics-shell,
    .landing-cta-shell {
        grid-template-columns: 1fr;
    }

    .landing-hero-stage {
        min-height: auto;
        padding-top: 18px;
    }

    .landing-floating-card-top {
        right: 8px;
    }

    .landing-floating-card-bottom {
        left: 8px;
    }
}

@media (max-width: 960px) {
    .landing-hero {
        padding: 64px 0 44px;
    }

    .landing-hero-quickflow,
    .landing-stage-board,
    .landing-feature-grid,
    .landing-bento,
    .landing-metric-grid,
    .landing-bento-panel,
    .landing-sheet-columns,
    .landing-review-panels {
        grid-template-columns: 1fr;
    }

    .landing-bento-card-large,
    .landing-bento-card-wide {
        grid-column: span 1;
    }

    .landing-stage-window {
        transform: none;
        animation: none;
    }

    .landing-floating-card {
        position: static;
        width: auto;
        margin-top: 14px;
        animation: none;
    }

    .landing-stage-beacon {
        display: none;
    }

    .landing-system-node {
        width: 132px;
    }

    .landing-routing-flow {
        grid-template-columns: 1fr;
    }

    .landing-routing-arrow {
        height: 24px;
        width: 2px;
        justify-self: center;
    }

    .landing-routing-arrow::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%) rotate(135deg);
    }
}

@media (max-width: 720px) {
    .landing-hero-headline {
        letter-spacing: -1px;
    }

    .landing-section,
    .landing-cta-section {
        padding: 60px 0;
    }

    .landing-stage-toolbar {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .landing-system-map {
        min-height: 500px;
    }

    .landing-system-core {
        top: 170px;
        width: 132px;
        height: 132px;
    }

    .landing-system-node-one,
    .landing-system-node-two,
    .landing-system-node-three,
    .landing-system-node-four {
        transform: none;
    }

    .landing-system-node-one {
        top: 22px;
        left: 50%;
        transform: translateX(-50%);
    }

    .landing-system-node-two {
        top: 114px;
        right: 20px;
    }

    .landing-system-node-three {
        bottom: 112px;
        left: 18px;
    }

    .landing-system-node-four {
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
    }

    .landing-cta-shell {
        padding: 24px;
    }

    .landing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .landing-hero-sub,
    .landing-fast-fit-copy p:last-child,
    .landing-section-header p,
    .landing-section-copy p,
    .landing-cta-copy p {
        font-size: 15px;
    }

    .landing-stage-column,
    .landing-bento-card,
    .landing-quote-card,
    .landing-metric-card,
    .landing-cta-board {
        padding: 20px;
    }

    .landing-stage-window,
    .landing-system-map,
    .landing-cta-shell {
        border-radius: 24px;
    }

    .landing-system-node {
        width: 118px;
        height: 94px;
        border-radius: 18px;
    }

    .landing-system-node strong {
        font-size: 14px;
    }

    .landing-system-node span {
        font-size: 11px;
    }

    .landing-cta-step {
        grid-template-columns: 1fr;
    }

    .landing-cta-step strong {
        width: 44px;
        height: 44px;
    }

    .landing-review-console,
    .landing-sheet-preview {
        grid-template-columns: 1fr;
    }

    .landing-review-rail,
    .landing-sheet-sidebar {
        grid-auto-flow: column;
        grid-template-columns: repeat(4, 1fr);
        border-right: 0;
        border-bottom: 1px solid var(--border-subtle);
    }
}

.plan-summary {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

.plan-summary h3 {
    margin-top: 0;
    color: var(--accent-ink);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 999px;
    background: var(--gradient-accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.back-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 600;
}

.success-message,
.error-message {
    display: none;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: left;
}

.success-message {
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-ink);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.error-message {
    background: rgba(196, 98, 95, 0.12);
    color: #7a2e2c;
    border: 1px solid rgba(196, 98, 95, 0.3);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#logout-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
}

@media (max-width: 1024px) {
    .pricing-shell,
    .checkout-shell {
        grid-template-columns: 1fr;
    }

    .pricing-intro-top {
        grid-template-columns: 1fr;
    }

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

    .pricing-card {
        flex: 0 1 220px;
    }

    .pricing-main-inner,
    .checkout-main {
        padding-bottom: 60px;
    }

    .settings-shell {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Auth Section */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        padding: 48px 20px 48px;
    }

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

    .auth-pricing {
        padding-bottom: 48px;
    }

    .pricing-shell {
        grid-template-columns: 1fr;
    }

    .pricing-highlights {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .pricing-card-free-only {
        flex: 0 1 100%;
    }

    .pricing-intro h1 {
        font-size: 32px;
    }

    .auth-headline {
        font-size: 32px;
    }
}

/* ============================================================
   V2 LANDING PAGE — Notion-inspired redesign
   All selectors prefixed with .v2- to avoid collisions
   ============================================================ */

/* ─── Reset for v2 body ─────────────────────────────────────── */
body.v2-landing {
    background: #fff;
    font-family: var(--font-body);
    color: #111827;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.v2-landing::before { display: none; }

/* ─── Container ─────────────────────────────────────────────── */
.v2-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAV ────────────────────────────────────────────────────── */
.v2-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
}

.v2-nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.v2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.v2-logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}

.v2-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.v2-nav-links {
    display: flex;
    gap: 28px;
    margin-right: auto;
}

.v2-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

.v2-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-btn-ghost {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.v2-btn-ghost:hover { color: var(--text-primary); background: rgba(0,0,0,0.05); }

.v2-btn-cta {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 7px 18px;
    background: #2563eb;
    border-radius: 8px;
    transition: background 0.15s, transform 0.1s;
}

.v2-btn-cta:hover { background: #1d4ed8; transform: translateY(-1px); }

/* ─── HERO ───────────────────────────────────────────────────── */
.v2-hero {
    position: relative;
    background: #070d1a;
    overflow: hidden;
    padding-bottom: 0;
}

.v2-hero-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px circle at 20% 50%, rgba(37,99,235,0.18) 0%, transparent 70%),
        radial-gradient(600px circle at 80% 20%, rgba(99,102,241,0.12) 0%, transparent 60%),
        radial-gradient(500px circle at 60% 80%, rgba(59,130,246,0.10) 0%, transparent 60%);
    pointer-events: none;
}

.v2-hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.v2-hero-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}

.v2-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 80px;
}

.v2-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #60a5fa;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.v2-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.v2-hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #f1f5f9;
    margin: 0;
}

.v2-hero-h1 em {
    font-style: normal;
    background: linear-gradient(92deg, #60a5fa 0%, #3b82f6 40%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.v2-hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 480px;
    margin: 0;
}

.v2-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 13px 26px;
    background: #2563eb;
    border-radius: 10px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

.v2-btn-primary-lg:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.5);
}

.v2-btn-outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.v2-btn-outline-lg:hover {
    border-color: rgba(255,255,255,0.3);
    color: #e2e8f0;
    background: rgba(255,255,255,0.05);
}

.v2-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.v2-hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.v2-hero-trust .bi-check-circle-fill { color: #22c55e; font-size: 13px; }

/* ─── Floating cards ─────────────────────────────────────────── */
.v2-hero-mockup {
    position: relative;
    align-self: flex-end;
}

.v2-float-card {
    position: absolute;
    z-index: 10;
    background: rgba(15,23,42,0.92);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.v2-float-card-a {
    top: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 230px;
}

.v2-float-card-a .v2-float-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #3b82f6, #818cf8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.v2-float-card-a strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.v2-float-card-a span {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.v2-float-card-b {
    bottom: 60px;
    right: -20px;
}

.v2-float-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: #60a5fa;
}

.v2-float-stat span {
    display: block;
    font-size: 11px;
    color: #64748b;
}

/* ─── Browser mockup ─────────────────────────────────────────── */
.v2-browser {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.v2-browser:hover {
    transform: perspective(1400px) rotateY(-1deg) rotateX(0deg);
}

.v2-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.v2-browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.v2-browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
}

.v2-browser-dots span:nth-child(1) { background: #ef4444; }
.v2-browser-dots span:nth-child(2) { background: #f59e0b; }
.v2-browser-dots span:nth-child(3) { background: #22c55e; }

.v2-browser-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #64748b;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    padding: 3px 10px;
    text-align: center;
}

.v2-browser-body {
    display: flex;
    height: 360px;
}

/* ─── Mock sidebar ───────────────────────────────────────────── */
.v2-mock-sidebar {
    width: 160px;
    flex-shrink: 0;
    background: #0f172a;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2-mock-sidebar-header {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0 6px;
    margin-bottom: 6px;
}

.v2-mock-topic {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
    cursor: pointer;
    transition: background 0.1s;
}

.v2-mock-topic .bi { font-size: 12px; }

.v2-mock-topic-active {
    background: rgba(37,99,235,0.15);
    color: #60a5fa;
}

/* ─── Mock main area ─────────────────────────────────────────── */
.v2-mock-main {
    flex: 1;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-mock-meeting-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-mock-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}

.v2-mock-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.v2-mock-tab {
    font-size: 10px;
    font-weight: 500;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.v2-mock-tab-active {
    background: rgba(37,99,235,0.2);
    color: #60a5fa;
}

.v2-mock-summary-block,
.v2-mock-actions-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2-mock-block-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #475569;
}

.v2-mock-lines { display: flex; flex-direction: column; gap: 4px; }

.v2-mock-line {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}

.v2-mock-line-full { width: 100%; }
.v2-mock-line-lg { width: 78%; }
.v2-mock-line-md { width: 55%; }

.v2-mock-action-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #94a3b8;
}

.v2-mock-action-check {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #475569;
    flex-shrink: 0;
}

.v2-mock-action-done {
    background: rgba(37,99,235,0.2);
    border-color: #3b82f6;
    color: #60a5fa;
}

.v2-mock-action-text { flex: 1; }

.v2-mock-action-owner {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    color: #64748b;
}

/* ─── Use case rail ──────────────────────────────────────────── */
.v2-use-rail {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
    margin-top: 48px;
}

.v2-use-rail .v2-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.v2-use-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.v2-use-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.v2-use-chips span {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 99px;
    background: rgba(255,255,255,0.03);
    white-space: nowrap;
}

/* ─── Sections ───────────────────────────────────────────────── */
.v2-section {
    padding: 96px 0;
}

.v2-section-white { background: #fff; }
.v2-section-gray  { background: #f8fafc; }

.v2-section-dark {
    background: #070d1a;
    color: #f1f5f9;
}

.v2-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.v2-eyebrow {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 14px;
    border-radius: 99px;
}

.v2-h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #0f172a;
    margin: 0;
}

.v2-h2-light {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #f1f5f9;
    margin: 0;
}

.v2-body-lg {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ─── Feature split ──────────────────────────────────────────── */
.v2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.v2-split-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.v2-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.v2-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.v2-step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 4px 8px;
    flex-shrink: 0;
    margin-top: 1px;
}

.v2-step-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.v2-step-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.v2-step-text span {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.v2-step-line {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
    margin-left: 22px;
}

/* ─── Pipeline visual ────────────────────────────────────────── */
.v2-split-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-pipeline {
    background: #0f172a;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 340px;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.v2-pipeline-node {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-pipeline-node strong {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.v2-pipeline-node span {
    font-size: 12px;
    color: #64748b;
}

.v2-pipeline-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.v2-pipeline-icon-ai { background: rgba(37,99,235,0.2); color: #60a5fa; }
.v2-pipeline-icon-done { background: rgba(34,197,94,0.15); color: #22c55e; }

.v2-pipeline-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.v2-pipeline-badge-ai { background: rgba(37,99,235,0.15); color: #60a5fa; }
.v2-pipeline-badge-done { background: rgba(34,197,94,0.15); color: #22c55e; }

.v2-pipeline-arrow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
    gap: 0;
}

.v2-pipeline-line {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.1);
}

.v2-pipeline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    margin-left: -3px;
}

.v2-output-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.v2-output-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
}

.v2-output-chip-accent {
    background: rgba(37,99,235,0.12);
    border-color: rgba(37,99,235,0.25);
    color: #60a5fa;
}

/* ─── BENTO GRID ─────────────────────────────────────────────── */
.v2-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.v2-bento-card {
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.v2-bento-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 0;
}

.v2-bento-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.v2-bento-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.65;
}

/* Large card spans 2 cols */
.v2-bento-lg {
    grid-column: span 2;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}

/* Wide card spans all 3 cols */
.v2-bento-wide {
    grid-column: span 3;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.v2-bento-copy { flex: 1; }

/* ─── Bento color variants ───────────────────────────────────── */
.v2-bento-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.v2-bento-blue h3 { color: #1e3a8a; }
.v2-bento-blue p  { color: #3b82f6; }
.v2-bento-blue .v2-bento-eyebrow { color: #2563eb; }

.v2-bento-coral {
    background: linear-gradient(135deg, #fff7f5 0%, #ffe4dd 100%);
    border: 1px solid #fecaca;
}

.v2-bento-coral h3 { color: #7f1d1d; }
.v2-bento-coral p  { color: #b91c1c; }
.v2-bento-coral .v2-bento-eyebrow { color: #dc2626; }

.v2-bento-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

.v2-bento-amber h3 { color: #78350f; }
.v2-bento-amber p  { color: #92400e; }
.v2-bento-amber .v2-bento-eyebrow { color: #d97706; }

.v2-bento-sage {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
}

.v2-bento-sage h3 { color: #14532d; }
.v2-bento-sage p  { color: #166534; }
.v2-bento-sage .v2-bento-eyebrow { color: #16a34a; }

.v2-bento-violet {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    border: 1px solid #c4b5fd;
}

.v2-bento-violet h3 { color: #3b0764; }
.v2-bento-violet p  { color: #6d28d9; }
.v2-bento-violet .v2-bento-eyebrow { color: #7c3aed; }

/* ─── Transcript preview in bento ───────────────────────────── */
.v2-transcript-preview {
    flex: 1;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    border: 1px solid rgba(191,219,254,0.6);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.v2-transcript-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
    color: #334155;
}

.v2-speaker {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.v2-speaker-a { background: #dbeafe; color: #1d4ed8; }
.v2-speaker-b { background: #fce7f3; color: #9d174d; }
.v2-speaker-c { background: #d1fae5; color: #065f46; }

/* ─── Tag row in bento ───────────────────────────────────────── */
.v2-bento-tag-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}

.v2-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(220,38,38,0.1);
    color: #dc2626;
    border: 1px solid rgba(220,38,38,0.2);
}

/* ─── Action preview in amber bento ─────────────────────────── */
.v2-action-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid rgba(253,230,138,0.8);
}

.v2-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #78350f;
}

.v2-action-item .bi { color: #d97706; }

/* ─── Topic stack in sage bento ──────────────────────────────── */
.v2-topic-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(134,239,172,0.6);
}

.v2-topic-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.v2-topic-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(22,163,74,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 14px;
    flex-shrink: 0;
}

.v2-topic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.v2-topic-info strong {
    font-size: 12px;
    font-weight: 600;
    color: #14532d;
}

.v2-topic-info span {
    font-size: 10px;
    color: #4ade80;
    opacity: 0.8;
}

.v2-topic-count {
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22,163,74,0.1);
    border-radius: 6px;
    padding: 2px 8px;
}

/* ─── OneDrive export icon ───────────────────────────────────── */
.v2-export-icon-wrap {
    margin-top: auto;
    font-size: 48px;
    color: #7c3aed;
    opacity: 0.4;
    text-align: right;
}

/* ─── METRICS section ────────────────────────────────────────── */
.v2-metrics-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.v2-metrics-header p {
    font-size: 16px;
    color: #64748b;
    margin-top: 12px;
}

.v2-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
}

.v2-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 40px 32px;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.v2-metric:last-child { border-right: none; }

.v2-metric strong {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    color: #f1f5f9;
    line-height: 1;
}

.v2-metric span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* ─── BYOK section ───────────────────────────────────────────── */
.v2-byok-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.v2-byok-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.v2-byok-keys {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-key-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 7px 14px;
    border-radius: 8px;
}

.v2-key-arrow {
    color: #94a3b8;
    font-size: 16px;
}

.v2-byok-visual {
    display: flex;
    justify-content: center;
}

.v2-byok-card {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v2-byok-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.v2-byok-card-header .bi { color: #3b82f6; font-size: 18px; }

.v2-byok-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #64748b;
}

.v2-byok-row:last-child { border-bottom: none; }

.v2-byok-masked {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #475569;
    background: rgba(255,255,255,0.04);
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: 1px;
}

.v2-byok-active {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #22c55e;
    font-weight: 600;
    font-size: 12px;
}

.v2-byok-active .bi { font-size: 12px; }

/* ─── CTA section ────────────────────────────────────────────── */
.v2-cta {
    position: relative;
    background: #070d1a;
    overflow: hidden;
    padding: 120px 0;
}

.v2-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at 50% 50%, rgba(37,99,235,0.2), transparent 70%);
    pointer-events: none;
}

.v2-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.v2-cta-eyebrow {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(96,165,250,0.1);
    border: 1px solid rgba(96,165,250,0.2);
    padding: 4px 14px;
    border-radius: 99px;
}

.v2-cta-h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #f1f5f9;
    margin: 0;
}

.v2-cta-sub {
    font-size: 17px;
    color: #64748b;
    max-width: 480px;
    line-height: 1.65;
    margin: 0;
}

.v2-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.v2-btn-white {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.v2-btn-white:hover {
    background: #f1f5f9;
    box-shadow: 0 8px 28px rgba(255,255,255,0.2);
}

.v2-btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: border-color 0.15s, color 0.15s;
}

.v2-btn-ghost-light:hover {
    border-color: rgba(255,255,255,0.25);
    color: #e2e8f0;
}

.v2-cta-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 8px;
}

.v2-cta-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.v2-cta-step strong {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #3b82f6;
}

.v2-cta-step span {
    font-size: 12px;
    color: #475569;
}

.v2-cta-arrow { color: #334155; font-size: 14px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.v2-footer {
    background: #070d1a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}

.v2-footer-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.v2-footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: auto;
}

.v2-footer-tagline {
    font-size: 13px;
    color: #475569;
}

.v2-footer-links {
    display: flex;
    gap: 24px;
}

.v2-footer-links a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.v2-footer-links a:hover { color: #94a3b8; }

.v2-footer-copy {
    font-size: 12px;
    color: #334155;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .v2-hero-shell {
        grid-template-columns: 1fr;
        padding-top: 72px;
        gap: 40px;
    }

    .v2-hero-copy { padding-bottom: 0; }

    .v2-hero-mockup {
        display: none;
    }

    .v2-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .v2-bento {
        grid-template-columns: 1fr 1fr;
    }

    .v2-bento-lg,
    .v2-bento-wide {
        grid-column: span 2;
        flex-direction: column;
    }

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

    .v2-metric {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .v2-byok-shell {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .v2-footer-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .v2-footer-brand { margin-right: 0; }
}

@media (max-width: 640px) {
    .v2-nav-links { display: none; }

    .v2-hero-h1 { font-size: 38px; letter-spacing: -1px; }

    .v2-hero-copy { gap: 18px; }

    .v2-hero-trust { display: none; }

    .v2-section { padding: 64px 0; }

    .v2-bento {
        grid-template-columns: 1fr;
    }

    .v2-bento-lg,
    .v2-bento-wide {
        grid-column: span 1;
        flex-direction: column;
    }

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

    .v2-metric { padding: 28px 20px; }

    .v2-byok-keys { flex-direction: column; align-items: flex-start; }

    .v2-cta { padding: 80px 0; }

    .v2-cta-h2 { font-size: 34px; }

    .v2-cta-steps {
        flex-direction: column;
        gap: 8px;
    }

    .v2-cta-arrow { transform: rotate(90deg); }

    .v2-footer-inner { flex-direction: column; align-items: flex-start; }
}
