:root {
    --accent-color: #3B82F6;
    --global-font: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #020617;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    height: 100vh;
}

.viewport-guard {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.16), rgba(2, 6, 23, 0.96) 42%), #020617;
}

.viewport-guard__panel {
    width: min(560px, 96vw);
    background: rgba(10, 16, 31, 0.94);
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 1.1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.95);
}

.viewport-guard__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #60a5fa;
    font-size: 1.6rem;
}

.viewport-guard h2 {
    margin: 0 0 0.6rem;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.viewport-guard p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
}

.viewport-guard__meta {
    margin-top: 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.viewport-guard__required {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7dd3fc;
}

.viewport-guard__actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.viewport-guard__btn {
    border-radius: 0.7rem;
    padding: 0.62rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.viewport-guard__btn--primary {
    background: #2563eb;
    border-color: #3b82f6;
}

.viewport-guard__btn--secondary {
    background: #0f172a;
    border-color: #334155;
}

.viewport-guard__btn--landing {
    background: #1e293b;
    border-color: #475569;
}

.mobile-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.mobile-preview-card {
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 0.85rem;
    padding: 0.65rem;
}

.mobile-preview-card--wide {
    grid-column: 1 / -1;
}

.mobile-preview-card__head {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #93c5fd;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.mobile-preview-card__title {
    color: #f8fafc;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.mobile-preview-card__line {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #1e293b);
    margin-bottom: 0.25rem;
}

.mobile-preview-card__line--short {
    width: 65%;
}

.mobile-preview-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.mobile-preview-pills span {
    font-size: 0.65rem;
    color: #cbd5e1;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
}

/* Layouts */
#dashboardView {
    height: 100vh;
    overflow-y: auto;
    background-image: radial-gradient(#0f172a 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    display: flex;
    flex-direction: column;
}

#builderView {
    display: none;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.header {
    height: 60px;
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    flex-shrink: 0;
    z-index: 50;
}

.workspace {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.sidebar-left {
    width: 280px;
    background: #0f172a;
    border-right: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 10;
}

.sidebar-right {
    width: 360px;
    background: #0f172a;
    border-left: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.inspector-pane {
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 32%),
        linear-gradient(180deg, #08111f 0%, #0f172a 100%);
}

.inspector-pane__header {
    background: rgba(5, 10, 20, 0.72);
    backdrop-filter: blur(18px);
}

.inspector-pane__body {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.inspector-card {
    margin: 0 0 1rem;
    border: 1px solid rgba(30, 41, 59, 0.92);
    border-radius: 1.15rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(4, 10, 24, 0.9) 0%, rgba(8, 15, 31, 0.88) 100%);
    box-shadow: 0 18px 38px -28px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(148, 163, 184, 0.05);
    backdrop-filter: blur(16px);
}

.inspector-card--hero {
    margin-bottom: 1.25rem;
}

.inspector-card--notes {
    margin-bottom: 2.5rem;
}

.inspector-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(9, 15, 28, 0.78) 100%);
    border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.inspector-card__header--hero {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 15, 28, 0.82) 100%);
}

.inspector-card__body {
    padding: 1rem;
}

.inspector-eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #64748b;
}

.inspector-chip {
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: rgba(15, 23, 42, 0.85);
    color: #cbd5e1;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.inspector-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.88);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.75);
}

.inspector-helper-copy {
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.6;
}

.inspector-helper-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #64748b;
}

.speaker-notes-input {
    width: 100%;
    min-height: 190px;
    resize: vertical;
    border: 1px solid rgba(51, 65, 85, 0.88);
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.78);
    padding: 0.95rem 1rem;
    color: #cbd5e1;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.6;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.speaker-notes-input::placeholder {
    color: #475569;
}

.speaker-notes-input:hover,
.speaker-notes-input:focus {
    background: rgba(2, 6, 23, 0.96);
    border-color: rgba(59, 130, 246, 0.78);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.preview-pane {
    flex-grow: 1;
    background: #020617;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 30px 30px;
}

.preview-wrapper {
    width: 1200px;
    height: 800px;
    transform-origin: center center;
    position: absolute;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    overflow: hidden;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 1.2rem;
    width: 1000px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

/* Form Resets & Select Fixes */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
}

select option {
    background-color: #0f172a;
    color: #ffffff;
}

/* --- PRO INSPECTOR UI --- */
.prop-panel {
    border-bottom: 1px solid #1e293b;
    padding: 1.25rem 1.25rem;
}

.prop-header {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.prop-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.prop-row-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.prop-label {
    font-size: 0.75rem;
    color: #cbd5e1;
    flex: 1;
}

.prop-input {
    background: #020617;
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 0.4rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    flex: 1.5;
    width: 100%;
    outline: none;
    transition: all 0.2s;
    font-family: var(--global-font);
}

.prop-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color) 20%, transparent);
}

textarea.prop-input {
    resize: vertical;
    min-height: 80px;
}

input[type="color"].prop-color {
     appearance: none;
    -webkit-appearance: none;
    border: none;
    width: 2rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    padding: 0;
    background: transparent;
    flex: none;
}

input[type="color"].prop-color::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"].prop-color::-webkit-color-swatch {
    border: 1px solid #334155;
    border-radius: 0.25rem;
}

.array-box {
    background: #0b1121;
    border: 1px solid #1e293b;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    transition: border-color 0.2s;
}

.array-box:hover {
    border-color: #334155;
}

.array-del {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #ef4444;
    color: white;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    opacity: 0;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.array-box:hover .array-del {
    opacity: 1;
    transform: scale(1.1);
}

.array-del:hover {
    background: #dc2626;
}

.prop-file {
    font-size: 0.65rem;
    color: #94a3b8;
    width: 100%;
    margin-top: 0.25rem;
}

.prop-file::file-selector-button {
    background: #1e293b;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    border-radius: 0.25rem;
    color: white;
    border: 1px solid #334155;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 0.5rem;
}

.prop-file::file-selector-button:hover {
    background: #334155;
}

.prop-btn {
    width: 100%;
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.prop-btn:hover {
    background: #334155;
    border-color: #475569;
}

/* Slide List */
.slide-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #1e293b;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.slide-item:active {
    cursor: grabbing;
}

.slide-item.active {
    background: #1e293b;
    border-left: 4px solid var(--accent-color);
}

.slide-item:hover:not(.active) {
    background: #1e293b;
    filter: brightness(1.2);
}

.drag-over {
    border-top: 2px solid var(--accent-color);
}

/* Dashboard Cards */
.project-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.8);
}

.deck-preview {
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #334155;
    transition: transform 0.3s;
}

.deck-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--deck-color, #3B82F6) 0%, transparent 60%);
    opacity: 0.2;
    pointer-events: none;
}

.project-card:hover .deck-preview {
    transform: scale(1.02);
}

/* Template Cards */
.template-tab {
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.template-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.template-card {
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.template-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background: #223044;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.icon-btn {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1.2rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.icon-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Tutorial Fixes */
.tut-highlight {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 0 4px var(--accent-color), 0 0 20px var(--accent-color);
    animation: pulseHighlight 2s infinite;
    border-radius: inherit;
    background-color: inherit;
    pointer-events: none;
}

@keyframes pulseHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.tut-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 10, 0.7);
    z-index: 9998;
    pointer-events: none;
    display: none;
}

.tut-tooltip {
    position: fixed;
    background: #0f172a;
    border: 1px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 320px;
    z-index: 10000;
    display: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
    color: white;
    transition: top 0.3s, left 0.3s;
    pointer-events: auto;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Themes & Editing */
.theme-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    position: relative;
    pointer-events: auto;
    font-family: var(--global-font);
    overflow: hidden;
}

.slide-autofit {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
}

.bg-default {
    background: radial-gradient(circle at 50% 50%, #111827 0%, #000000 100%);
}

.bg-deepblue {
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
}

.bg-midnight {
    background: radial-gradient(circle at 50% 50%, #2e1065 0%, #000000 100%);
}

.bg-aurora {
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.24) 0%, transparent 30%),
        radial-gradient(circle at 85% 78%, rgba(249, 115, 22, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 50% 8%, rgba(168, 85, 247, 0.18) 0%, transparent 28%),
        linear-gradient(145deg, #030712 0%, #050816 45%, #020617 100%);
}

.bg-sunset {
    background:
        radial-gradient(circle at 18% 18%, rgba(251, 146, 60, 0.26) 0%, transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(236, 72, 153, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 50% 84%, rgba(59, 130, 246, 0.18) 0%, transparent 30%),
        linear-gradient(145deg, #12070c 0%, #1f0c15 48%, #09090b 100%);
}

.bg-pitchblack {
    background: #000000;
}

.bg-purewhite {
    background: #ffffff;
    color: #000000 !important;
}

.theme-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border: 1px solid color-mix(in srgb, var(--accent-color) 15%, transparent);
    border-radius: 1.5rem;
    padding: 4rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.od-deck-shell {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: visible;
    padding: 3.25rem;
    border-radius: 1.75rem;
    background: rgba(8, 12, 21, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px);
    font-family: var(--global-font);
}

.bg-purewhite .od-deck-shell {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 30px 80px -34px rgba(15, 23, 42, 0.18);
}

.od-deck-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.od-title-mark {
    width: 5rem;
    height: 0.35rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
    background: var(--accent-color);
    box-shadow: 0 0 20px -4px var(--accent-color);
}

.od-lead {
    font-size: 1.32rem;
    line-height: 1.7;
    color: #94a3b8;
}

.bg-purewhite .od-lead {
    color: #475569;
}

.od-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.od-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.4rem;
    width: 100%;
}

.od-card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.od-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.bg-purewhite .od-card {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    background: var(--card-accent, var(--accent-color));
}

.od-card__icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.od-grid-quad {
    align-items: stretch;
}

.od-card--compact {
    padding: 1.05rem;
}

.od-card--compact .od-card__icon {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.6rem;
}

.od-card--compact h4 {
    margin-bottom: 0.45rem !important;
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
}

.od-card--compact p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
}

.od-checklist-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.od-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-purewhite .od-check-row {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-code-shell {
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #09101d;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.95);
}

.od-code-shell__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: #050b16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.od-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 1.25rem;
    width: 100%;
}

.od-metric-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    margin: 0 auto;
}

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

.od-metric-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-metric-card {
    padding: 1.7rem 1rem;
    border-radius: 1.4rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-purewhite .od-metric-card {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1.5rem;
    width: 100%;
}

.od-profile-card {
    position: relative;
    padding: 1.6rem;
    border-radius: 1.4rem;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 34%),
        rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bg-purewhite .od-profile-card {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-profile-avatar-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

.od-profile-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: 14% 12%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.od-profile-avatar {
    position: relative;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--accent-color);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.92) 100%);
    box-shadow: 0 18px 42px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease;
    object-fit: cover;
}

.od-profile-card:hover .od-profile-avatar {
    transform: scale(1.04);
}

.od-profile-avatar--image {
    background: #0f172a;
}

.od-profile-accent {
    width: 3.4rem;
    height: 0.24rem;
    border-radius: 999px;
    margin-top: 1rem;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--accent-color) 80%, transparent 100%);
    opacity: 0.9;
}

.od-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.2rem;
    width: 100%;
    align-items: stretch;
}

.od-pricing-card {
    padding: 1.8rem;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.od-pricing-card--featured {
    transform: translateY(-10px);
    border-width: 2px;
    box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.9);
}

.bg-purewhite .od-pricing-card {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
}

.od-timeline-track::before {
    content: '';
    position: absolute;
    top: 1.8rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(148, 163, 184, 0.24);
}

.od-timeline-item {
    position: relative;
    text-align: center;
    padding: 0 0.8rem;
}

.od-hero-cover {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.od-hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.82) 100%);
}

.od-button-busy {
    opacity: 0.75;
    pointer-events: none;
}

.od-button-busy i {
    animation: pulseHighlight 1.3s infinite;
}

.od-shell {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: visible;
    padding: 3.5rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 12, 20, 0.68);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bg-purewhite .od-shell {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.18);
}

.od-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%, rgba(255, 255, 255, 0.03));
    pointer-events: none;
}

.od-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-purewhite .od-kicker {
    background: rgba(241, 245, 249, 0.9);
    color: #475569;
    border-color: rgba(15, 23, 42, 0.1);
}

.od-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.9;
    pointer-events: none;
}

.od-orb--blue {
    width: 20rem;
    height: 20rem;
    top: -6rem;
    left: -5rem;
    background: rgba(59, 130, 246, 0.22);
}

.od-orb--orange {
    width: 18rem;
    height: 18rem;
    right: -4rem;
    bottom: -5rem;
    background: rgba(249, 115, 22, 0.16);
}

.od-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.od-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bg-purewhite .od-badge {
    color: #0f172a;
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.od-compare-panel {
    position: relative;
    padding: 1.8rem;
    border-radius: 1.4rem;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bg-purewhite .od-compare-panel {
    background: rgba(248, 250, 252, 0.94);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-compare-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
}

.od-point-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.od-point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #cbd5e1;
}

.bg-purewhite .od-point-item {
    color: #334155;
}

.od-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.75rem;
    align-items: stretch;
}

.od-window {
    display: flex;
    flex-direction: column;
    min-height: 30rem;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b1120;
    box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.95);
}

.bg-purewhite .od-window {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

.od-window__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: rgba(15, 23, 42, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bg-purewhite .od-window__header {
    background: #e2e8f0;
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.od-window__dots {
    display: flex;
    gap: 0.4rem;
}

.od-window__dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
}

.od-window__body {
    flex: 1;
    padding: 1.4rem;
    overflow: auto;
}

.od-window__body pre {
    margin: 0;
}

.od-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.od-roadmap-card {
    position: relative;
    padding: 1.6rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.58);
    overflow: hidden;
    min-height: 16rem;
}

.bg-purewhite .od-roadmap-card {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
}

.od-roadmap-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--phase-color, var(--accent-color));
}

.od-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.od-shell-density-compact,
.od-shell-density-tight,
.od-shell-density-ultra {
    justify-content: flex-start !important;
}

.od-shell-density-compact {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.od-shell-density-tight {
    padding-top: 1.9rem;
    padding-bottom: 1.9rem;
}

.od-shell-density-ultra {
    padding-top: 1.45rem;
    padding-bottom: 1.45rem;
}

.od-shell-density-compact .od-title-mark,
.od-shell-density-tight .od-title-mark,
.od-shell-density-ultra .od-title-mark {
    margin-bottom: 0.9rem;
}

.od-shell-density-compact > h1,
.od-shell-density-compact > h2,
.od-shell-density-tight > h1,
.od-shell-density-tight > h2,
.od-shell-density-ultra > h1,
.od-shell-density-ultra > h2 {
    margin-bottom: 0.45rem !important;
}

.od-shell-density-compact > p,
.od-shell-density-tight > p,
.od-shell-density-ultra > p {
    margin-bottom: 1rem !important;
}

.od-profile-grid.od-density-compact,
.od-metric-grid.od-density-compact,
.od-pricing-grid.od-density-compact,
.od-roadmap-grid.od-density-compact,
.od-timeline-track.od-density-compact {
    gap: 0.9rem;
}

.od-profile-grid.od-density-tight,
.od-metric-grid.od-density-tight,
.od-pricing-grid.od-density-tight,
.od-roadmap-grid.od-density-tight,
.od-timeline-track.od-density-tight {
    gap: 0.7rem;
}

.od-profile-grid.od-density-ultra,
.od-metric-grid.od-density-ultra,
.od-pricing-grid.od-density-ultra,
.od-roadmap-grid.od-density-ultra,
.od-timeline-track.od-density-ultra {
    gap: 0.55rem;
}

.od-profile-grid.od-density-compact .od-profile-card {
    padding: 1.2rem;
}

.od-profile-grid.od-density-tight .od-profile-card {
    padding: 0.95rem;
}

.od-profile-grid.od-density-ultra .od-profile-card {
    padding: 0.75rem;
}

.od-profile-grid.od-density-compact .od-profile-avatar {
    width: 8.2rem;
    height: 8.2rem;
}

.od-profile-grid.od-density-tight .od-profile-avatar {
    width: 6.8rem;
    height: 6.8rem;
}

.od-profile-grid.od-density-ultra .od-profile-avatar {
    width: 5.6rem;
    height: 5.6rem;
}

.od-profile-grid.od-density-tight h4,
.od-profile-grid.od-density-ultra h4 {
    font-size: 1.5rem !important;
}

.od-profile-grid.od-density-tight p,
.od-profile-grid.od-density-ultra p {
    letter-spacing: 0.2em !important;
}

.od-metric-grid.od-density-compact .od-metric-card,
.od-pricing-grid.od-density-compact .od-pricing-card,
.od-roadmap-grid.od-density-compact .od-roadmap-card {
    padding: 1.2rem;
}

.od-metric-grid.od-density-tight .od-metric-card,
.od-pricing-grid.od-density-tight .od-pricing-card,
.od-roadmap-grid.od-density-tight .od-roadmap-card {
    padding: 1rem;
}

.od-metric-grid.od-density-ultra .od-metric-card,
.od-pricing-grid.od-density-ultra .od-pricing-card,
.od-roadmap-grid.od-density-ultra .od-roadmap-card {
    padding: 0.85rem;
}

.od-pricing-grid.od-density-tight .od-pricing-card--featured,
.od-pricing-grid.od-density-ultra .od-pricing-card--featured {
    transform: translateY(0);
}

.bg-purewhite .od-status-pill {
    background: rgba(241, 245, 249, 0.94);
    border-color: rgba(15, 23, 42, 0.1);
}

.bg-purewhite .theme-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.bg-purewhite .text-white {
    color: #000000 !important;
}

.bg-purewhite .text-slate-400 {
    color: #475569 !important;
}

.bg-purewhite .text-slate-300 {
    color: #334155 !important;
}

.bg-purewhite .bg-slate-900 {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

.bg-purewhite .bg-slate-800 {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.accent-text {
    color: var(--accent-color);
}

.reveal-right {
    animation: revealRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .od-compare-grid,
    .od-showcase-grid,
    .od-roadmap-grid,
    .od-panel-grid,
    .od-card-grid,
    .od-checklist-shell,
    .od-metric-grid,
    .od-profile-grid,
    .od-pricing-grid,
    .od-timeline-track {
        grid-template-columns: 1fr;
    }

    .od-timeline-track::before {
        display: none;
    }
}

[contenteditable="true"] {
    outline: none;
    transition: all 0.2s;
    border-radius: 6px;
    border: 1px dashed transparent;
    position: relative;
    padding: 2px 4px;
    margin: -2px -4px;
    min-width: 20px;
    display: inline-block;
}

[contenteditable="true"]:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    cursor: text;
}

[contenteditable="true"]:focus {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
    z-index: 10;
    cursor: text;
    color: white;
}

@media (max-width: 900px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    #landingView {
        position: relative;
        min-height: 100vh;
    }

    #landingNav {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    #landingNav > div:last-child {
        width: 100%;
        display: flex;
        gap: 0.55rem;
    }

    #landingNav > div:last-child a,
    #landingNav > div:last-child button {
        flex: 1;
        justify-content: center;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    #landingHeadline {
        font-size: 2.25rem;
        line-height: 1.1;
        margin-bottom: 0.9rem;
    }

    #landingInteractiveMockup,
    #landingFeatureGrid {
        display: none;
    }

    #landingMobilePanel {
        display: block;
    }

    #landingFooter {
        margin-top: 2rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}

.bg-purewhite [contenteditable="true"]:focus {
    background: white;
    color: black;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.exporting [contenteditable="true"] {
    border-color: transparent !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}