/* Base Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-hover: #242424;
    --border-color: #2a2a2a;
    --border-hover: #3a3a3a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1a1;
    --text-muted: #666666;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --warning: #eab308;
    --warning-bg: rgba(234, 179, 8, 0.1);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Styles */
html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-mono);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    min-width: 0;
    overflow-x: hidden;
}

/* Auth Pages */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-left: 0.5rem;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.info-tooltip:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Info Modal */
.info-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.info-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.info-modal h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-modal-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.info-modal-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-modal-text h4 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.info-modal-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-modal-close {
    margin-top: 1rem;
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.info-modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Custom File Input */
.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-input-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.file-input-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.file-input-btn svg {
    width: 16px;
    height: 16px;
}

.file-input-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.form-error {
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 0.375rem;
}

/* Checkbox and Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-danger {
    background-color: var(--error);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #dc2626;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Toggle Switch Group */
.toggle-switch-group {
    display: flex;
    gap: 0;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.toggle-btn:hover {
    color: var(--text-secondary);
    background: var(--bg-hover);
}

.toggle-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.toggle-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.toggle-label {
    font-weight: 500;
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    overflow: hidden;
    max-width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Navigation */
.nav-brand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-secondary);
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
}

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

.nav-link.active {
    background-color: var(--accent);
    color: white;
}

.nav-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* Spacing utilities */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* Text utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-sm { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.font-semibold { font-weight: 600; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.badge-default {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
}

.badge-success {
    background-color: var(--success-bg);
    color: var(--success);
}

.badge-warning {
    background-color: var(--warning-bg);
    color: var(--warning);
}

.badge-error {
    background-color: var(--error-bg);
    color: var(--error);
}

.badge-accent {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.badge-claude {
    background-color: rgba(217, 119, 87, 0.15);
    color: #d97757;
}

/* Color Preview */
.color-preview {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.color-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-input {
    width: 3rem;
    height: 2.5rem;
    padding: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

/* Toggle */
.toggle-group {
    display: flex;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.toggle-option {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.toggle-option:hover {
    background-color: var(--bg-hover);
}

.toggle-option.active {
    background-color: var(--accent);
    color: white;
}

/* Style Cards */
.style-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.style-card {
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.style-card:hover {
    border-color: var(--border-hover);
}

.style-card.selected {
    border-color: var(--accent);
    background-color: rgba(59, 130, 246, 0.05);
}

.style-card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.style-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Goal Select */
.goal-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.goal-option {
    padding: 0.75rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.goal-option:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.goal-option.selected {
    border-color: var(--accent);
    background-color: rgba(59, 130, 246, 0.05);
    color: var(--text-primary);
}

.goal-option.selected::before {
    content: "✓ ";
    color: var(--accent);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.image-thumb {
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.image-thumb:hover {
    border-color: var(--border-hover);
}

.image-thumb.selected {
    border-color: var(--accent);
}

.image-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.625rem;
    text-align: center;
}

/* Image Preview */
.image-preview-container {
    aspect-ratio: 1;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-preview-placeholder {
    text-align: center;
    color: var(--text-muted);
}

/* Loading States */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error {
    background-color: var(--error-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.alert-success {
    background-color: var(--success-bg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.alert-warning {
    background-color: var(--warning-bg);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--warning);
}

/* Divider */
.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

/* Brand Preview */
.brand-preview {
    padding: 1.5rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.brand-colors {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.brand-color {
    width: 3rem;
    height: 3rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Campaign Card */
.campaign-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.campaign-card:hover {
    border-color: var(--border-hover);
}

.campaign-card.selected {
    border-color: var(--accent);
}

.campaign-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Number Input */
.number-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
}

.number-btn:hover {
    background-color: var(--bg-hover);
}

.number-input {
    width: 3rem;
    text-align: center;
}

/* Steps */
.steps {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    border-color: var(--accent);
}

.step.completed {
    opacity: 1;
}

.step-number {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step.completed .step-number {
    background-color: var(--success);
}

.step-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.brand-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.brand-card:hover {
    border-color: var(--border-hover);
}

.brand-card-link {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.brand-card-link:hover {
    color: inherit;
}

.brand-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.brand-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.brand-card-info {
    flex: 1;
    min-width: 0;
}

.brand-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-theme {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-colors {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.brand-color-swatch {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.brand-card-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.brand-card-fonts {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.brand-card-actions .btn {
    flex: 1;
}

/* Sidebar Brand Links */
.brand-link {
    text-decoration: none;
}

.brand-color-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-palette {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-palette .palette-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Brand Preview Page */
.brand-preview-container {
    padding: 1rem;
}

.brand-palette-swatch {
    width: 4rem;
    height: 4rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.brand-palette-swatch .swatch-label {
    font-size: 0.6rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-typography {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Ghost Danger Button */
.btn-ghost.btn-danger {
    color: var(--error);
    background: transparent;
}

.btn-ghost.btn-danger:hover:not(:disabled) {
    background-color: var(--error-bg);
    color: var(--error);
}

/* Text xs utility */
.text-xs {
    font-size: 0.65rem;
}

.font-medium {
    font-weight: 500;
}

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

/* Text overflow handling */
.text-break {
    word-break: break-word;
    overflow-wrap: break-word;
}

#design-spec-view,
#outlines-view {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.shimmer-block {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}
.shimmer-block::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .main-content {
        margin-left: 0;
    }

    .page-wrapper {
        flex-direction: column;
    }

    .style-grid,
    .goal-select {
        grid-template-columns: 1fr;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* =============================================
   LANDING PAGE STYLES - COMPLETE REDESIGN
   ============================================= */

body.landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.08), transparent 25%);
    background-attachment: fixed;
    color: #e4e4e7;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.landing p {
    margin-bottom: 1.25rem;
}

/* Containers */
.landing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.landing .container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.landing .landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.landing .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.landing .nav-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.landing .nav-links a:hover {
    color: #fff;
}

.landing .btn-cta-nav {
    background: #3b82f6;
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.landing .btn-cta-nav:hover {
    background: #2563eb;
}

.landing .mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.landing .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.landing .btn-cta {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.landing .btn-cta:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.landing .btn-cta-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.landing .btn-cta-block {
    display: block;
    width: 100%;
    text-align: center;
}

.landing .btn-secondary {
    display: inline-block;
    background: transparent;
    color: #a1a1aa;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
}

.landing .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ===== HERO SECTION ===== */
.landing .hero-section {
    padding: 5rem 2rem 6rem;
    background: linear-gradient(180deg, #08090a 0%, #0c0d10 100%);
}

.landing .hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.landing .hero-text h1 {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.75rem;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.landing .hero-sub {
    font-size: 1.35rem;
    color: #d4d4d8;
    line-height: 1.6;
    margin: 0 0 1rem;
    font-weight: 400;
}

.landing .hero-sub-secondary {
    font-size: 1.1rem;
    color: #a1a1aa;
    margin: 0 0 2.5rem;
}

/* Powered By Section */
.landing .powered-by {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing .powered-label {
    font-size: 0.95rem;
    color: #52525b;
    font-weight: 500;
}

.landing .powered-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.landing .powered-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.landing .powered-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.landing .powered-logo-banana {
    color: #fcd34d;
}

.landing .powered-logo-claude {
    color: #d97757;
}

/* Hero Flow Visual - Vertical */
.landing .hero-visual {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.landing .flow-visual-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing .flow-step-v {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.landing .flow-step-icon {
    width: 44px;
    height: 44px;
    background: rgba(161, 161, 170, 0.1);
    border: 1px solid rgba(161, 161, 170, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.landing .flow-step-content {
    flex: 1;
}

.landing .flow-step-label {
    display: block;
    font-size: 0.85rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.landing .flow-step-desc {
    display: block;
    font-size: 0.9rem;
    color: #71717a;
}

.landing .flow-step-input {
    background: #1a1b1e;
    border: 1px solid #27282c;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
    color: #71717a;
}

.landing .flow-step-colors {
    display: flex;
    gap: 6px;
}

.landing .flow-step-colors span {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.landing .flow-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, #71717a 0%, rgba(113, 113, 122, 0.2) 100%);
    margin-left: 21px;
}

.landing .flow-step-slides {
    display: flex;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.landing .mini-slide-v {
    width: 36px;
    height: 45px;
    background: linear-gradient(135deg, #71717a 0%, #52525b 100%);
    border-radius: 4px;
}

.landing .flow-step-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing .flow-step-actions span {
    font-size: 0.85rem;
    color: #71717a;
    background: rgba(113, 113, 122, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* ===== SECTIONS BASE ===== */
.landing .section {
    padding: 6rem 2rem;
}

.landing .section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.landing .section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem;
}

.landing .section-subhead {
    font-size: 1.2rem;
    color: #71717a;
    margin: 0;
    line-height: 1.6;
}

/* ===== SECTION: COMPARISON ===== */
.landing .section-comparison {
    background: transparent;
}

.landing .section-comparison h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.landing .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.landing .comparison-col {
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.landing .comparison-old {
    background: rgba(255, 255, 255, 0.02);
}

.landing .comparison-new {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    position: relative;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.landing .comparison-col h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing .comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.landing .comparison-col li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #a1a1aa;
}

.landing .comparison-new li {
    color: #e4e4e7;
    font-weight: 500;
}

.landing .comparison-col .icon {
    font-size: 1.5rem;
    width: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .landing .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== SECTION: SOLUTION ===== */
.landing .section-solution {
    background: transparent;
}

.landing .solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.landing .solution-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.landing .solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .solution-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.landing .solution-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.85rem;
}

.landing .solution-card p {
    font-size: 1rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.7;
}

/* ===== SECTION: BENEFITS ===== */
.landing .section-benefits {
    background: transparent;
}

.landing .section-benefits h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.landing .benefit-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.landing .benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .benefit-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.landing .benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
}

.landing .benefit-card p {
    font-size: 1rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.7;
}

/* ===== SECTION: USE CASES ===== */
.landing .section-usecases {
    background: transparent;
}

.landing .section-usecases h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.landing .usecase-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.landing .usecase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .usecase-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.landing .usecase-icon {
    font-size: 1.5rem;
}

.landing .usecase-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.landing .usecase-persona {
    font-size: 0.9rem;
    color: #71717a;
    margin: 0 0 1rem;
}

.landing .usecase-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.landing .usecase-benefits li {
    font-size: 1.05rem;
    color: #a1a1aa;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.landing .usecase-benefits li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: 600;
    position: absolute;
    left: 0;
}

.landing .usecase-stat {
    font-size: 1rem;
    color: #3b82f6;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

/* ===== SECTION: HOW IT WORKS ===== */
.landing .section-howitworks {
    background: transparent;
}

.landing .section-howitworks h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.landing .steps-list {
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.landing .howitworks-screenshot {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 4rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.landing .howitworks-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.landing .step-item {
    display: flex;
    gap: 1.75rem;
    padding: 2rem;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.landing .step-item:last-child {
    margin-bottom: 0;
}

.landing .step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .step-item .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.landing .step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.6rem;
}

.landing .step-content p {
    font-size: 1.05rem;
    color: #a1a1aa;
    margin: 0 0 0.6rem;
    line-height: 1.7;
}

.landing .step-note {
    font-size: 0.95rem;
    color: #71717a;
    font-style: italic;
}

/* ===== SECTION: FEATURES ===== */
.landing .section-features {
    background: transparent;
}

.landing .section-features h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing .feature-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.landing .feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .feature-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.6rem;
}

.landing .feature-item p {
    font-size: 1.05rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.65;
}

.landing .feature-item-roadmap {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.landing .feature-item-roadmap h4::before {
    content: "🚀 ";
}

/* ===== SECTION: TESTIMONIALS ===== */
.landing .section-testimonials {
    background: transparent;
}

.landing .section-testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.landing .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.landing .testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.landing .testimonial-card blockquote {
    font-size: 1.1rem;
    color: #d4d4d8;
    margin: 0 0 1.25rem;
    line-height: 1.7;
    font-style: italic;
}

.landing .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.landing .testimonial-author strong {
    color: #fff;
    font-size: 1rem;
}

.landing .testimonial-author span {
    color: #71717a;
    font-size: 0.9rem;
}

.landing .testimonial-stat {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 600;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing .social-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.landing .social-stat {
    text-align: center;
}

.landing .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
}

.landing .stat-label {
    font-size: 0.95rem;
    color: #71717a;
}

/* ===== SECTION: PRICING ===== */
.landing .section-pricing {
    background: transparent;
}

.landing .section-pricing h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .pricing-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.landing .pricing-card-main {
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 0 60px -20px rgba(59, 130, 246, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.landing .pricing-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.landing .pricing-price {
    margin-bottom: 1.5rem;
}

.landing .price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.landing .price-period {
    font-size: 1.1rem;
    color: #71717a;
}

.landing .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.landing .pricing-features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    font-size: 1.05rem;
}

.landing .pricing-features li::before {
    content: "✓";
    color: #3b82f6;
    margin-right: 0.75rem;
    font-weight: 700;
}

.landing .pricing-subtext {
    font-size: 0.95rem;
    color: #71717a;
    margin: 1rem 0 0;
}

.landing .pricing-addons {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.landing .pricing-addons h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.landing .pricing-addons > p {
    font-size: 1rem;
    color: #71717a;
    margin: 0 0 1.25rem;
}

.landing .addon-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.landing .addon-option {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 1rem;
    color: #a1a1aa;
}

.landing .addon-price {
    color: #fff;
    font-weight: 600;
}

.landing .pricing-justification {
    font-size: 0.95rem;
    color: #71717a;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== SECTION: FAQ ===== */
.landing .section-faq {
    background: transparent;
}

.landing .section-faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing .faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.landing .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s;
    border-radius: 8px;
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.landing .faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.landing .faq-item[open] {
    background: rgba(255, 255, 255, 0.03);
}

.landing .faq-item summary {
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.landing .faq-item summary::-webkit-details-marker {
    display: none;
}

.landing .faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.landing .faq-item[open] summary::after {
    content: "−";
}

.landing .faq-item p {
    padding: 0 0 1.25rem;
    margin: 0;
    color: #a1a1aa;
    line-height: 1.75;
    font-size: 1.05rem;
}

/* ===== SECTION: FINAL CTA ===== */
.landing .section-final-cta {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
    text-align: center;
    padding: 8rem 2rem 6rem;
}

.landing .section-final-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.landing .final-cta-sub {
    font-size: 1.2rem;
    color: #71717a;
    margin: 0 0 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.landing .final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.landing .final-cta-supporting {
    font-size: 1rem;
    color: #52525b;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.landing .footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem 2rem;
}

.landing .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto 2rem;
}

.landing .footer-brand p {
    color: #52525b;
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
}

.landing .footer-links {
    display: flex;
    gap: 2rem;
}

.landing .footer-links a {
    color: #71717a;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.landing .footer-links a:hover {
    color: #fff;
}

.landing .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 1140px;
    margin: 0 auto;
}

.landing .footer-bottom p {
    color: #52525b;
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   LANDING PAGE MOBILE RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .landing .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .landing .solution-grid,
    .landing .usecases-grid,
    .landing .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .landing .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .landing .problem-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .landing .landing-nav {
        padding: 1rem 1.25rem;
    }

    .landing .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 9, 10, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .landing .nav-links.open {
        display: flex;
    }

    .landing .nav-links a {
        padding: 0.75rem 0;
    }

    .landing .mobile-menu-btn {
        display: flex;
    }

    .landing .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .landing .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .landing .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .landing .hero-section {
        padding: 2rem 1.25rem 3rem;
    }

    .landing .hero-text h1 {
        font-size: 1.85rem;
    }

    .landing .section {
        padding: 3.5rem 1.25rem;
    }

    .landing .section h2 {
        font-size: 1.5rem;
    }

    .landing .flow-visual {
        flex-direction: column;
        align-items: center;
    }

    .landing .flow-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .landing .flow-step {
        width: 100%;
        max-width: 200px;
    }

    .landing .benefits-grid,
    .landing .features-grid {
        grid-template-columns: 1fr;
    }

    .landing .step-item {
        flex-direction: column;
        gap: 1rem;
    }

    .landing .social-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .landing .pricing-card-main {
        padding: 1.75rem;
    }

    .landing .price-amount {
        font-size: 2.75rem;
    }

    .landing .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .landing .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .landing .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .landing .hero-text h1 {
        font-size: 1.6rem;
    }

    .landing .hero-sub {
        font-size: 1.1rem;
    }

    .landing .btn-cta-lg {
        padding: 0.85rem 1.5rem;
        font-size: 1.05rem;
    }

    .landing .section h2 {
        font-size: 1.35rem;
    }

    .landing .solution-card,
    .landing .benefit-card,
    .landing .usecase-card,
    .landing .feature-item,
    .landing .testimonial-card {
        padding: 1.25rem;
    }
}

/* Billing layout extras */
.pill-gradient {
    padding: 0.6rem 1rem;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.18), rgba(16, 185, 129, 0.18));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.credit-pack {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.credit-pack:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pack-name {
    font-weight: 600;
}

.pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.table-head {
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 700px) {
    .table-row {
        grid-template-columns: 1fr 1fr;
    }
}


/* Vertical Image List Layout */
.image-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.image-row {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.image-row-left {
    flex-shrink: 0;
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slide-number {
    font-weight: 600;
    color: var(--text-primary);
}

.image-container {
    position: relative;
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.image-placeholder-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-row-right {
    flex: 1;
    min-width: 0;
}

.outline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.outline-text {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
}

.outline-textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.outline-edit {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
    }
    
    .image-row-left {
        width: 100%;
    }
    
    .image-placeholder,
    .image-placeholder-empty {
        width: 100% !important;
        max-width: 300px;
    }
}

/* Add Slide Button */
.add-slide-row {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.add-slide-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px dashed var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.add-slide-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.add-slide-form {
    border: 2px dashed var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

/* Add Slide Form - Compact */
.add-slide-form-container {
    padding: 1rem;
}

.add-slide-form-inner {
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--accent);
    border-radius: 8px;
}

.add-slide-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.25rem;
    cursor: pointer;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* Outline edit mode */
.outline-edit .form-textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.5;
}

.outline-edit .form-textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.justify-end {
    justify-content: flex-end;
}
