:root {
 --primary: #5c3cf2;
 --primary-hover: #4d2fe0;
 --primary-subtle: #f3f0ff;
 --primary-border: #dcd3ff;
 --ink: #0f172a;
 --ink-secondary: #334155;
 --muted: #64748b;
 --line: #e2e8f0;
 --line-strong: #cbd5e1;
 --bg: #f8fafc;
 --card-bg: #ffffff;
 --success: #10b981;
 --success-bg: #ecfdf5;
 --warning: #f59e0b;
 --danger: #ef4444;
 --rozetka-color: #00a046;
 --rozetka-bg: #eaf8f0;
 --prom-color: #7c3aed;
 --prom-bg: #f5f0ff;
 --olx-color: #002f34;
 --olx-bg: #e6f6f7;
 --epicentr-color: #004b93;
 --epicentr-bg: #ebf3fb;
 --wb-color: #cb11ab;
 --wb-bg: #fdf2fb;
 --ozon-color: #005bff;
 --ozon-bg: #eef5ff;
 --avito-color: #00aa5b;
 --avito-bg: #eefaf3;
 --ym-color: #fc3f1d;
 --ym-bg: #fff1ef;
 --radius-xs: 8px;
 --radius-sm: 10px;
 --radius-md: 14px;
 --radius-lg: 18px;
 --radius-xl: 24px;
 --radius-2xl: 32px;
 --radius-3xl: 42px;
 --radius-full: 9999px;
 --radius-pill: 9999px;
 --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
 --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
 --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.12);
 --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
 overflow-x: hidden;
 max-width: 100vw;
}

body {
 font-family: var(--font-family);
 background-color: var(--bg);
 color: var(--ink);
 line-height: 1.5;
 min-height: 100vh;
 -webkit-font-smoothing: antialiased;
}

/* Header */
.top-nav {
 background: #ffffff;
 border-bottom: 1px solid var(--line);
 position: sticky;
 top: 0;
 z-index: 100;
}

.top-nav-inner {
 max-width: 1400px;
 margin: 0 auto;
 padding: 14px 24px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
}

.brand {
 display: flex;
 align-items: center;
 gap: 14px;
 text-decoration: none;
 color: var(--ink);
}

.brand-icon {
 width: 44px;
 height: 44px;
 border-radius: 13px;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
 transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
 position: relative;
 overflow: hidden;
 background: #0f172a;
 flex-shrink: 0;
}

.brand:hover .brand-icon {
 transform: translateY(-1px) scale(1.05);
 box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}

.brand-logo-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 border-radius: 13px;
}

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

.brand-text h1 {
 font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
 font-size: 20px;
 font-weight: 700;
 letter-spacing: 0.02em;
 line-height: 1.15;
 display: flex;
 align-items: center;
 gap: 8px;
 color: var(--ink);
}

.brand-badge-ai {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
 font-size: 11px !important;
 font-weight: 800 !important;
 letter-spacing: 0.08em !important;
 padding: 2px 7px !important;
 border-radius: 6px !important;
 background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
 color: #ffffff !important;
 box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4) !important;
 text-transform: uppercase !important;
 line-height: 1 !important;
 display: inline-flex !important;
 align-items: center !important;
 vertical-align: middle !important;
}

.brand-text > span {
 font-size: 12px;
 font-weight: 500;
 letter-spacing: 0.01em;
 color: var(--muted);
 line-height: 1.25;
}

:root[data-theme="dark"] .brand-text h1 {
 color: #f8fafc;
}

:root[data-theme="dark"] .brand-text > span {
 color: #94a3b8;
}

.nav-tabs {
 display: flex;
 background: #f1f5f9;
 padding: 4px;
 border-radius: var(--radius-md);
 gap: 4px;
}

.nav-tab-btn {
 border: 0;
 background: transparent;
 padding: 8px 18px;
 font-size: 14px;
 font-weight: 600;
 color: var(--muted);
 border-radius: var(--radius-sm);
 cursor: pointer;
 display: flex;
 align-items: center;
 gap: 8px;
 transition: all 0.15s ease;
}

.nav-tab-btn:hover {
 color: var(--ink);
}

.nav-tab-btn.active {
 background: #ffffff;
 color: var(--primary);
 box-shadow: var(--shadow-sm);
}

.badge-count {
 background: var(--line);
 color: var(--ink);
 font-size: 11px;
 padding: 1px 7px;
 border-radius: 99px;
 font-weight: 700;
}

.nav-tab-btn.active .badge-count {
 background: var(--primary-subtle);
 color: var(--primary);
}

.nav-right {
 display: flex;
 align-items: center;
 gap: 12px;
}

/* Language Switcher */
.lang-switcher {
 display: inline-flex;
 align-items: center;
 background: var(--card-bg);
 border: 1px solid var(--line-strong);
 border-radius: var(--radius-full);
 padding: 3px;
 gap: 2px;
 box-shadow: var(--shadow-sm);
}

.lang-btn {
 border: 0;
 background: transparent;
 color: var(--muted);
 font-size: 11.5px;
 font-weight: 700;
 padding: 4px 9px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.15s ease;
 line-height: 1;
}

.lang-btn:hover {
 color: var(--ink);
}

.lang-btn.active {
 background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
 color: #ffffff;
 box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

/* Theme Toggle Button */
.btn-theme-toggle {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 6px 12px;
 font-size: 13px;
 font-weight: 700;
 border-radius: var(--radius-full);
 border: 1px solid var(--line-strong);
 background: var(--card-bg);
 color: var(--ink);
 cursor: pointer;
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: var(--shadow-sm);
 user-select: none;
}

.btn-theme-toggle:hover {
 transform: translateY(-1px);
 border-color: var(--primary);
 box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.theme-toggle-icon {
 font-size: 15px;
 line-height: 1;
 display: inline-block;
 transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-theme-toggle:hover .theme-toggle-icon {
 transform: rotate(20deg) scale(1.15);
}

.btn-theme-toggle.active-dark .theme-toggle-icon {
 transform: rotate(0deg);
}

.theme-toggle-label {
 font-size: 12px;
 font-weight: 700;
}

.status-pill {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 font-size: 12px;
 font-weight: 600;
 padding: 5px 12px;
 border-radius: 99px;
 background: var(--success-bg);
 color: #065f46;
 border: 1px solid #a7f3d0;
}

.status-dot {
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--success);
 animation: pulse 2s infinite;
}

@keyframes pulse {
 0% { transform: scale(0.95); opacity: 0.8; }
 50% { transform: scale(1.15); opacity: 1; }
 100% { transform: scale(0.95); opacity: 0.8; }
}

/* App Layout */
.app-container {
 max-width: 1400px;
 margin: 0 auto;
 padding: 24px;
}

.tab-pane {
 display: none;
}

.tab-pane.active {
 display: block;
}

/* Studio Grid Layout */
.studio-grid {
 display: grid;
 grid-template-columns: 460px 1fr;
 gap: 24px;
 align-items: start;
}

.studio-grid:has(#panel-result-column.hidden) {
 grid-template-columns: minmax(320px, 680px);
 justify-content: center;
}

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

.panel {
 background: var(--card-bg);
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 24px;
 box-shadow: var(--shadow-sm);
}

.panel-header {
 margin-bottom: 20px;
 padding-bottom: 16px;
 border-bottom: 1px solid var(--line);
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.panel-title {
 font-size: 18px;
 font-weight: 700;
 display: flex;
 align-items: center;
 gap: 8px;
}

.panel-subtitle {
 font-size: 13px;
 color: var(--muted);
 margin-top: 3px;
}

/* Marketplace Selector */
.field-group {
 margin-bottom: 18px;
}

.field-label {
 display: flex;
 justify-content: space-between;
 font-size: 13px;
 font-weight: 700;
 color: var(--ink-secondary);
 margin-bottom: 7px;
}

.field-hint {
 font-weight: 500;
 font-size: 12px;
 color: var(--muted);
}

.marketplace-cards {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 8px;
}

.market-option {
 position: relative;
 cursor: pointer;
}

.market-option input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.market-card {
 border: 1.5px solid var(--line);
 border-radius: var(--radius-md);
 padding: 10px 8px;
 text-align: center;
 transition: all 0.15s ease;
 background: #ffffff;
}

.market-card .m-icon {
 font-size: 20px;
 display: block;
 margin-bottom: 4px;
}

.market-card .m-name {
 font-size: 12px;
 font-weight: 700;
 display: block;
}

.market-card .m-limit {
 font-size: 10px;
 color: var(--muted);
 display: block;
}

.market-option input:checked + .market-card {
 border-color: var(--primary);
 background: var(--primary-subtle);
 box-shadow: 0 0 0 2px var(--primary-border);
}

.market-option input[value="rozetka"]:checked + .market-card {
 border-color: var(--rozetka-color);
 background: var(--rozetka-bg);
 box-shadow: 0 0 0 2px #a3e9be;
 color: var(--rozetka-color);
}

.market-option input[value="prom"]:checked + .market-card {
 border-color: var(--prom-color);
 background: var(--prom-bg);
 box-shadow: 0 0 0 2px #c4b5fd;
 color: var(--prom-color);
}

.market-option input[value="olx"]:checked + .market-card {
 border-color: var(--olx-color);
 background: var(--olx-bg);
 box-shadow: 0 0 0 2px #81e2e6;
 color: var(--olx-color);
}

.market-option input[value="epicentr"]:checked + .market-card {
 border-color: var(--epicentr-color);
 background: var(--epicentr-bg);
 box-shadow: 0 0 0 2px #9ec2e6;
 color: var(--epicentr-color);
}

/* URL Import Box */
.url-import-group {
 background: #f8fafc;
 border: 1.5px dashed #cbd5e1;
 border-radius: var(--radius-lg);
 padding: 14px 16px;
 margin-bottom: 20px;
 transition: all 0.2s ease;
}

.url-import-group:hover, .url-import-group:focus-within {
 border-color: var(--primary);
 background: #eff6ff;
}

.url-import-input-wrap {
 display: flex;
 gap: 8px;
 margin-top: 6px;
}

.url-import-input-wrap input {
 flex: 1;
 background: #ffffff;
 border: 1px solid var(--line-strong);
 border-radius: var(--radius-md);
 padding: 9px 12px;
 font-size: 13px;
 color: var(--ink);
 transition: border-color 0.2s;
}

.url-import-input-wrap input:focus {
 outline: none;
 border-color: var(--primary);
 box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-import-url {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 9px 16px;
 font-size: 13px;
 font-weight: 600;
 color: #ffffff;
 background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
 border: none;
 border-radius: var(--radius-md);
 cursor: pointer;
 white-space: nowrap;
 transition: all 0.2s;
 box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.btn-import-url:hover:not(:disabled) {
 opacity: 0.93;
 transform: translateY(-1px);
 box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.btn-import-url:disabled {
 opacity: 0.6;
 cursor: not-allowed;
}

.url-import-status {
 margin-top: 8px;
 font-size: 12px;
 color: var(--primary);
}

.status-spinner-wrap {
 display: inline-flex;
 align-items: center;
 gap: 8px;
}

.mini-spinner {
 width: 14px;
 height: 14px;
 border: 2px solid rgba(37, 99, 235, 0.3);
 border-top-color: var(--primary);
 border-radius: 50%;
 animation: miniSpin 0.8s linear infinite;
}

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

/* Image Upload & Drag & Drop */
.upload-dropzone {
 border: 2px dashed var(--line-strong);
 border-radius: var(--radius-lg);
 padding: 20px;
 text-align: center;
 background: #fbfcfe;
 cursor: pointer;
 transition: all 0.2s ease;
 position: relative;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
 border-color: var(--primary);
 background: var(--primary-subtle);
}

.upload-dropzone input[type="file"] {
 position: absolute;
 top: 0; left: 0; width: 100%; height: 100%;
 opacity: 0;
 cursor: pointer;
}

.dropzone-empty .upload-icon {
 width: 44px;
 height: 44px;
 background: #f1f5f9;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 22px;
 color: var(--primary);
 margin-bottom: 8px;
}

.dropzone-empty p {
 font-size: 13px;
 font-weight: 600;
 color: var(--ink);
}

.dropzone-empty small {
 font-size: 11px;
 color: var(--muted);
}

.dropzone-preview {
 display: flex;
 align-items: center;
 gap: 16px;
 text-align: left;
}

.dropzone-preview img {
 width: 76px;
 height: 76px;
 object-fit: cover;
 border-radius: var(--radius-md);
 border: 1px solid var(--line);
 background: #fff;
}

.dropzone-preview-info {
 flex: 1;
}

.dropzone-preview-info strong {
 display: block;
 font-size: 13px;
 word-break: break-all;
}

.dropzone-preview-info span {
 font-size: 12px;
 color: var(--muted);
}

.dropzone-actions {
 display: flex;
 gap: 8px;
 margin-top: 8px;
}

.btn-sm-action {
 border: 0;
 padding: 4px 10px;
 font-size: 11px;
 font-weight: 600;
 border-radius: var(--radius-sm);
 cursor: pointer;
 background: #e2e8f0;
 color: var(--ink);
}

.btn-vision-ai {
 background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
 color: #ffffff;
 display: inline-flex;
 align-items: center;
 gap: 5px;
 box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.btn-vision-ai:hover {
 filter: brightness(1.08);
}

/* AI Scanning & Field Auto-fill Highlights */
.dropzone-preview.ai-scanning {
 position: relative;
 border-radius: var(--radius-md);
 box-shadow: 0 0 0 2px #6366f1, 0 0 20px rgba(99, 102, 241, 0.4);
}

.dropzone-preview.ai-scanning::before {
 content: ' AI визначає товар...';
 position: absolute;
 top: -12px;
 right: 0;
 background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
 color: #ffffff;
 font-size: 10px;
 font-weight: 800;
 padding: 3px 9px;
 border-radius: var(--radius-full);
 z-index: 10;
 box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
 animation: pulseDot 2s infinite;
}

.field-highlight {
 border-color: #6366f1 !important;
 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
 background: #fdf4ff !important;
 transition: all 0.4s ease;
}

/* Inputs & Form controls */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
textarea,
select {
 width: 100%;
 border: 1px solid var(--line-strong);
 border-radius: var(--radius-md);
 padding: 10px 14px;
 font-family: inherit;
 font-size: 14px;
 color: var(--ink);
 background: #ffffff;
 transition: all 0.15s ease;
}

input:focus, textarea:focus, select:focus {
 outline: none;
 border-color: var(--primary);
 box-shadow: 0 0 0 3px rgba(92, 60, 242, 0.15);
}

textarea {
 resize: vertical;
 min-height: 90px;
 line-height: 1.5;
}

.input-row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 12px;
}

.checkbox-card {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 padding: 12px 14px;
 border: 1px solid var(--line);
 border-radius: var(--radius-md);
 background: #f8fafc;
 cursor: pointer;
 transition: all 0.15s;
}

.checkbox-card:hover {
 background: #f1f5f9;
}

.checkbox-card input[type="checkbox"] {
 width: 18px;
 height: 18px;
 margin-top: 2px;
 accent-color: var(--primary);
}

.checkbox-text strong {
 display: block;
 font-size: 13px;
 font-weight: 700;
}

.checkbox-text small {
 display: block;
 font-size: 11px;
 color: var(--muted);
 line-height: 1.35;
 margin-top: 2px;
}

/* Submit Button & Progress */
.btn-submit {
 width: 100%;
 background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
 color: #fff;
 border: 0;
 border-radius: var(--radius-md);
 padding: 14px 20px;
 font-size: 15px;
 font-weight: 700;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
 transition: all 0.15s ease;
}

.btn-submit:hover:not(:disabled) {
 transform: translateY(-1px);
 box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

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

/* Progress Step Tracker */
.progress-card {
 margin-top: 14px;
 background: #f8fafc;
 border: 1px solid var(--line);
 border-radius: var(--radius-md);
 padding: 14px;
}

.progress-steps {
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.progress-step {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 12px;
 color: var(--muted);
}

.step-icon {
 width: 20px;
 height: 20px;
 border-radius: 50%;
 background: var(--line);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 11px;
 font-weight: 700;
}

.progress-step.active {
 color: var(--primary);
 font-weight: 600;
}

.progress-step.active .step-icon {
 background: var(--primary-subtle);
 color: var(--primary);
 border: 1.5px solid var(--primary);
}

.progress-step.done {
 color: #065f46;
}

.progress-step.done .step-icon {
 background: var(--success-bg);
 color: var(--success);
}

/* Right Panel: Result Header & View Modes */
.result-view-tabs {
 display: flex;
 background: #f1f5f9;
 padding: 3px;
 border-radius: var(--radius-sm);
 gap: 3px;
}

.result-view-btn {
 border: 0;
 background: transparent;
 padding: 6px 14px;
 font-size: 12px;
 font-weight: 600;
 color: var(--muted);
 border-radius: 6px;
 cursor: pointer;
 transition: all 0.15s;
}

.result-view-btn.active {
 background: #ffffff;
 color: var(--ink);
 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Studio Editor View */
.editor-section {
 margin-bottom: 22px;
 padding-bottom: 18px;
 border-bottom: 1px solid var(--line);
}

.editor-section:last-child {
 border-bottom: 0;
 margin-bottom: 0;
 padding-bottom: 0;
}

.section-head {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 10px;
}

.section-title {
 font-size: 13px;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 font-weight: 800;
 color: var(--muted);
 display: flex;
 align-items: center;
 gap: 6px;
}

.btn-copy-small {
 border: 0;
 background: #f1f5f9;
 color: var(--ink-secondary);
 padding: 3px 9px;
 font-size: 11px;
 font-weight: 600;
 border-radius: 6px;
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 4px;
 transition: all 0.15s;
}

.btn-copy-small:hover {
 background: var(--primary-subtle);
 color: var(--primary);
}

/* Image Visual Box with Infographic Overlays */
.photo-showcase {
 display: flex;
 gap: 20px;
 margin-bottom: 20px;
 align-items: flex-start;
}

@media (max-width: 640px) {
 .photo-showcase {
 flex-direction: column;
 }
}

.photo-preview-wrap {
 position: relative;
 width: 260px;
 height: 260px;
 flex-shrink: 0;
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--line);
 background: #ffffff;
 display: flex;
 align-items: center;
 justify-content: center;
}

.photo-preview-wrap img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

/* Infographic Badges Overlay on Photo */
.infographic-badges {
 position: absolute;
 top: 10px;
 left: 10px;
 display: flex;
 flex-direction: column;
 gap: 6px;
 max-width: 85%;
 pointer-events: none;
}

.info-badge {
 background: rgba(15, 23, 42, 0.88);
 color: #ffffff;
 backdrop-filter: blur(4px);
 padding: 4px 10px;
 border-radius: 99px;
 font-size: 11px;
 font-weight: 700;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
 display: inline-flex;
 align-items: center;
 gap: 5px;
}

.info-badge:nth-child(1) { background: rgba(124, 58, 237, 0.92); }
.info-badge:nth-child(2) { background: rgba(16, 185, 129, 0.92); }
.info-badge:nth-child(3) { background: rgba(245, 158, 11, 0.92); }

.photo-meta {
 flex: 1;
}

.tag-list {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 margin-top: 8px;
}

.keyword-tag {
 background: #f1f5f9;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 font-size: 12px;
 padding: 4px 10px;
 border-radius: 99px;
 cursor: pointer;
 transition: all 0.15s;
}

.keyword-tag:hover {
 background: var(--primary-subtle);
 border-color: var(--primary-border);
 color: var(--primary);
}

/* Table specs */
.specs-table {
 width: 100%;
 border-collapse: collapse;
 font-size: 13px;
 margin-top: 6px;
}

.specs-table tr {
 border-bottom: 1px solid var(--line);
}

.specs-table th {
 text-align: left;
 padding: 8px 12px;
 color: var(--muted);
 width: 40%;
 font-weight: 600;
}

.specs-table td {
 padding: 8px 12px;
 color: var(--ink);
}

.specs-table input {
 padding: 4px 8px;
 font-size: 13px;
}

/* Actions Bar */
.result-actions-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 20px;
 padding-top: 18px;
 border-top: 1px solid var(--line);
}

.btn-secondary {
 border: 1px solid var(--line-strong);
 background: #ffffff;
 color: var(--ink);
 padding: 9px 16px;
 font-size: 13px;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 transition: all 0.15s;
}

.btn-secondary:hover {
 background: #f8fafc;
 border-color: var(--muted);
}

.btn-primary-action {
 border: 0;
 background: var(--primary);
 color: #fff;
 padding: 9px 18px;
 font-size: 13px;
 font-weight: 700;
 border-radius: var(--radius-md);
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 6px;
}

.btn-primary-action:hover {
 background: var(--primary-hover);
}

/* Live Mobile Mockup Preview */
.mockup-container {
 display: flex;
 flex-direction: column;
 align-items: center;
 padding: 16px 0 24px;
}

.mockup-platform-switcher {
 display: flex;
 background: #f1f5f9;
 padding: 4px;
 border-radius: var(--radius-md);
 gap: 6px;
 margin-bottom: 20px;
}

.mockup-switch-btn {
 border: 0;
 background: transparent;
 padding: 7px 16px;
 font-size: 13px;
 font-weight: 700;
 border-radius: var(--radius-sm);
 cursor: pointer;
 color: var(--muted);
 transition: all 0.15s;
}

.mockup-switch-btn.active {
 background: #ffffff;
 color: var(--ink);
 box-shadow: var(--shadow-sm);
}

.mockup-switch-btn[data-plat="prom"].active { color: #7900c8; }
.mockup-switch-btn[data-plat="rozetka"].active { color: #00a046; }
.mockup-switch-btn[data-plat="olx"].active { color: #002f34; }

/* Authentic Smartphone Frame */
.phone-mockup {
 width: 100%;
 max-width: 380px;
 background: #ffffff;
 border: 11px solid #1e293b;
 border-radius: 44px;
 box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
 overflow: hidden;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 display: flex;
 flex-direction: column;
 position: relative;
 box-sizing: border-box;
 margin: 0 auto;
}

.phone-notch {
 width: 130px;
 max-width: 45%;
 height: 18px;
 background: #1e293b;
 border-radius: 0 0 14px 14px;
 margin: 0 auto 4px;
 position: relative;
 z-index: 10;
}

.mockup-screen {
 padding: 0;
 max-height: 620px;
 overflow-y: auto;
 background: #ffffff;
 display: flex;
 flex-direction: column;
}

/* =========================================
 AUTHENTIC PROM.UA MOBILE APP STYLES
 ========================================= */
.prom-screen {
 background: #ffffff;
 color: #14171a;
 font-size: 13px;
}

/* Prom Top Header Bar */
.prom-top-bar {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 8px 14px;
 background: #ffffff;
 border-bottom: 1px solid #f0f2f5;
 position: sticky;
 top: 0;
 z-index: 20;
}

.prom-logo-sq {
 width: 28px;
 height: 28px;
 border: 4px solid #7900c8;
 border-radius: 7px;
 background: #ffffff;
 flex-shrink: 0;
}

.prom-search-input-box {
 flex: 1;
 display: flex;
 align-items: center;
 justify-content: space-between;
 border: 1px solid #cfd4dc;
 border-radius: 10px;
 padding: 7px 12px;
 background: #ffffff;
 color: #79808d;
 font-size: 13px;
}

.prom-bell-icon {
 font-size: 18px;
 color: #2b303b;
 cursor: pointer;
 padding: 2px;
}

/* Prom Breadcrumb */
.prom-breadcrumb-bar {
 padding: 8px 14px;
 display: flex;
 align-items: center;
 gap: 6px;
 font-size: 13px;
 color: #0072db;
 font-weight: 500;
}

.prom-breadcrumb-bar span {
 cursor: pointer;
}

/* Prom "Дивись також" Carousel */
.prom-also-strip {
 background: #f4f6fa;
 padding: 10px 14px 12px;
 border-top: 1px solid #edf0f5;
 border-bottom: 1px solid #edf0f5;
}

.prom-also-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 8px;
}

.prom-also-header strong {
 font-size: 13px;
 font-weight: 800;
 color: #14171a;
}

.prom-also-header a {
 font-size: 12px;
 color: #0072db;
 text-decoration: none;
 font-weight: 600;
}

.prom-also-cards {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 10px;
}

.prom-mini-item {
 background: #ffffff;
 border-radius: 10px;
 padding: 8px;
 display: flex;
 gap: 8px;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.prom-mini-img {
 width: 50px;
 height: 50px;
 border-radius: 6px;
 object-fit: cover;
 background: #edf0f5;
 flex-shrink: 0;
}

.prom-mini-info {
 display: flex;
 flex-direction: column;
 justify-content: center;
 overflow: hidden;
}

.prom-mini-title {
 font-size: 11px;
 line-height: 1.25;
 color: #26292d;
 font-weight: 500;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.prom-mini-price {
 font-size: 12px;
 font-weight: 800;
 color: #14171a;
 margin-top: 3px;
}

/* Prom Main Product Photo */
.prom-main-photo-wrap {
 width: 100%;
 height: 270px;
 position: relative;
 background: #ffffff;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
}

.prom-main-photo-wrap img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.prom-heart-btn {
 position: absolute;
 right: 14px;
 bottom: 14px;
 width: 38px;
 height: 38px;
 border-radius: 50%;
 background: #ffffff;
 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
 border: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 20px;
 color: #555c69;
 cursor: pointer;
 transition: transform 0.15s;
}

.prom-heart-btn:hover {
 transform: scale(1.08);
}

/* Prom Product Info Container */
.prom-content-body {
 padding: 14px 16px 20px;
}

.prom-title-line {
 margin-bottom: 6px;
}

.prom-item-title {
 font-size: 17px;
 font-weight: 800;
 line-height: 1.3;
 color: #14171a;
 display: inline;
}

.prom-item-sku {
 font-size: 12px;
 color: #79808d;
 font-weight: 500;
 margin-left: 6px;
 white-space: nowrap;
}

.prom-badges-line {
 display: flex;
 align-items: center;
 gap: 12px;
 margin: 8px 0 6px;
}

.prom-stock-tag {
 color: #008b47;
 font-weight: 700;
 font-size: 13px;
}

.prom-sold-count {
 color: #79808d;
 font-size: 13px;
}

.prom-delivery-link-row {
 font-size: 12px;
 color: #79808d;
 margin-bottom: 12px;
}

.prom-delivery-link-row a {
 color: #0072db;
 text-decoration: underline;
 font-weight: 500;
}

/* Prom Big Price Section */
.prom-price-strip {
 margin: 10px 0 14px;
}

.prom-price-big {
 font-size: 32px;
 font-weight: 900;
 letter-spacing: -0.03em;
 color: #14171a;
 line-height: 1;
}

.prom-price-cur {
 font-size: 16px;
 font-weight: 700;
 margin-left: 2px;
 color: #14171a;
}

.prom-min-order-note {
 font-size: 12px;
 color: #79808d;
 margin-top: 6px;
}

/* Prom Action & Floating AI */
.prom-action-bar {
 display: flex;
 align-items: center;
 gap: 10px;
 position: relative;
 margin: 14px 0 20px;
}

.prom-buy-button {
 flex: 1;
 background: #7900c8;
 color: #ffffff;
 border: 0;
 border-radius: 99px;
 height: 46px;
 font-size: 16px;
 font-weight: 800;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 cursor: pointer;
 box-shadow: 0 4px 14px rgba(121, 0, 200, 0.35);
 transition: filter 0.15s;
}

.prom-buy-button:hover {
 filter: brightness(1.08);
}

.prom-ai-sparkle-pill {
 width: 44px;
 height: 44px;
 border-radius: 12px;
 background: linear-gradient(135deg, #1f0440 0%, #3e0c7a 100%);
 border: 2px solid #a855f7;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 18px;
 box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
 cursor: pointer;
 flex-shrink: 0;
}

/* Prom Bottom Navigation Tabbar */
.prom-bottom-appbar {
 display: flex;
 justify-content: space-around;
 align-items: center;
 padding: 8px 6px;
 background: #ffffff;
 border-top: 1px solid #e5e8ed;
 position: sticky;
 bottom: 0;
 z-index: 20;
}

.prom-tab-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 3px;
 color: #79808d;
 font-size: 10px;
 font-weight: 600;
 cursor: pointer;
}

.prom-tab-item.active {
 color: #7900c8;
}

.prom-tab-icon {
 font-size: 16px;
}

/* Extended Accordion Details for Prom Mockup */
.prom-accordion-card {
 border-top: 1px solid #edf0f5;
 padding: 14px 0;
}

.prom-accordion-head {
 font-size: 14px;
 font-weight: 800;
 margin-bottom: 8px;
 color: #14171a;
}

.prom-desc-text {
 font-size: 13px;
 line-height: 1.6;
 color: #3b4049;
}

/* =========================================
 ROZETKA MOBILE APP STYLES
 ========================================= */
.rozetka-screen {
 background: #ffffff;
 color: #222;
}

.rz-top-bar {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 10px 14px;
 background: #221f1f;
 color: #fff;
}

.rz-logo-text {
 font-weight: 900;
 font-size: 16px;
 color: #00a046;
 letter-spacing: -0.02em;
}

.rz-search-box {
 flex: 1;
 background: #3c3838;
 border-radius: 8px;
 padding: 6px 10px;
 color: #a6a5a5;
 font-size: 12px;
}

.rz-buy-btn {
 background: #00a046;
 color: #fff;
 border: 0;
 border-radius: 8px;
 height: 44px;
 width: 100%;
 font-size: 15px;
 font-weight: 800;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 cursor: pointer;
}

/* =========================================
 OLX MOBILE APP STYLES
 ========================================= */
.olx-screen {
 background: #f2f4f5;
 color: #002f34;
}

.olx-top-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 12px 16px;
 background: #002f34;
 color: #ffffff;
 font-weight: 900;
 font-size: 18px;
}

.olx-card-body {
 background: #ffffff;
 padding: 16px;
 margin-bottom: 10px;
}

.olx-buy-btn {
 background: #002f34;
 color: #ffffff;
 border: 0;
 border-radius: 6px;
 height: 44px;
 width: 100%;
 font-size: 14px;
 font-weight: 800;
 cursor: pointer;
}

/* Catalog View (Tab 2) */
.catalog-toolbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 margin-bottom: 24px;
 flex-wrap: wrap;
}

.catalog-search-wrap {
 display: flex;
 align-items: center;
 gap: 10px;
 flex: 1;
 max-width: 500px;
}

.catalog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
 gap: 20px;
}

.catalog-card {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-sm);
 transition: all 0.2s ease;
 display: flex;
 flex-direction: column;
}

.catalog-card:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
 border-color: var(--line-strong);
}

.catalog-card-image {
 height: 180px;
 background: #f8fafc;
 position: relative;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
}

.catalog-card-image img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.catalog-card-body {
 padding: 16px;
 flex: 1;
 display: flex;
 flex-direction: column;
}

.catalog-card-meta {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 8px;
}

.badge-marketplace {
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 padding: 3px 8px;
 border-radius: 6px;
}

.badge-marketplace.rozetka { background: var(--rozetka-bg); color: var(--rozetka-color); }
.badge-marketplace.prom { background: var(--prom-bg); color: var(--prom-color); }
.badge-marketplace.olx { background: var(--olx-bg); color: var(--olx-color); }
.badge-marketplace.epicentr { background: var(--epicentr-bg); color: var(--epicentr-color); }
.badge-marketplace.wb { background: var(--wb-bg); color: var(--wb-color); }
.badge-marketplace.ozon { background: var(--ozon-bg); color: var(--ozon-color); }
.badge-marketplace.avito { background: var(--avito-bg); color: var(--avito-color); }
.badge-marketplace.yandex { background: var(--ym-bg); color: var(--ym-color); }

.catalog-card-date {
 font-size: 11px;
 color: var(--muted);
}

.catalog-card-title {
 font-size: 15px;
 font-weight: 700;
 line-height: 1.35;
 margin-bottom: 8px;
 color: var(--ink);
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.catalog-card-desc {
 font-size: 12px;
 color: var(--muted);
 line-height: 1.4;
 margin-bottom: 14px;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 flex: 1;
}

.catalog-card-footer {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 12px;
 border-top: 1px solid var(--line);
}

/* Empty State */
.empty-state {
 text-align: center;
 padding: 60px 20px;
 background: #ffffff;
 border: 1px dashed var(--line-strong);
 border-radius: var(--radius-xl);
}

.empty-state-icon {
 font-size: 48px;
 margin-bottom: 12px;
}

.empty-state h3 {
 font-size: 18px;
 font-weight: 700;
 margin-bottom: 6px;
}

.empty-state p {
 color: var(--muted);
 font-size: 14px;
 max-width: 400px;
 margin: 0 auto 18px;
}

/* Toast Notification */
.toast {
 position: fixed;
 bottom: 24px;
 right: 24px;
 background: #1e293b;
 color: #ffffff;
 padding: 12px 20px;
 border-radius: var(--radius-md);
 font-size: 14px;
 font-weight: 600;
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 display: flex;
 align-items: center;
 gap: 10px;
 z-index: 1000;
 transform: translateY(100px);
 opacity: 0;
 transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
 transform: translateY(0);
 opacity: 1;
}

.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }

/* Utilities */
.hidden { display: none !important; }

/* ─────────────────────────────────────────────────────────────────────────────
 AUTHENTICATION & PRICING (Aidentika Style)
 ───────────────────────────────────────────────────────────────────────────── */

.auth-nav-box {
 display: flex;
 align-items: center;
}

.nav-auth-state {
 display: flex;
 align-items: center;
 gap: 8px;
}

.btn-free-gift {
 border: 1px dashed #f59e0b;
 background: #fef3c7;
 color: #b45309;
 font-size: 12px;
 font-weight: 700;
 padding: 6px 12px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.2s;
 display: inline-flex;
 align-items: center;
 gap: 4px;
}

.btn-free-gift:hover {
 background: #fde68a;
 transform: translateY(-1px);
}

.btn-login-nav {
 border: 1px solid var(--line-strong);
 background: #ffffff;
 color: var(--ink);
 font-size: 13px;
 font-weight: 600;
 padding: 6px 14px;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: all 0.2s;
}

.btn-login-nav:hover {
 border-color: var(--primary);
 color: var(--primary);
 background: var(--primary-subtle);
}

.credits-badge {
 background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
 border: 1px solid #bfdbfe;
 color: #1d4ed8;
 font-size: 12px;
 font-weight: 700;
 padding: 6px 12px;
 border-radius: var(--radius-full);
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 5px;
 transition: all 0.2s;
}

.credits-badge:hover {
 background: #dbeafe;
 border-color: #93c5fd;
 transform: translateY(-1px);
}

.credits-icon {
 color: #eab308;
 font-size: 14px;
}

.btn-subscribe-nav {
 background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
 color: #ffffff;
 border: 0;
 font-size: 12px;
 font-weight: 700;
 padding: 6px 12px;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: all 0.2s;
 box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.btn-subscribe-nav:hover {
 opacity: 0.92;
 transform: translateY(-1px);
}

.user-pill {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: #f8fafc;
 border: 1px solid var(--line);
 padding: 3px 8px 3px 4px;
 border-radius: var(--radius-full);
}

.avatar-sq {
 width: 24px;
 height: 24px;
 border-radius: 50%;
 background: var(--primary);
 color: #ffffff;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
}

.user-name-label {
 font-size: 12px;
 font-weight: 600;
 color: var(--ink);
 max-width: 110px;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
}

.btn-logout-mini {
 border: 0;
 background: transparent;
 color: var(--muted);
 font-size: 12px;
 cursor: pointer;
 padding: 2px 4px;
 border-radius: 4px;
 transition: all 0.15s;
}

.btn-logout-mini:hover {
 color: #ef4444;
 background: #fee2e2;
}

/* Modals */
.modal-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100vh;
 background: rgba(15, 23, 42, 0.65);
 backdrop-filter: blur(4px);
 z-index: 9999;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 20px;
 overflow-y: auto;
 box-sizing: border-box;
}

.modal-card {
 background: #ffffff;
 border-radius: var(--radius-xl);
 box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
 border: 1px solid var(--line);
 padding: 28px;
 max-height: 90vh;
 overflow-y: auto;
 position: relative;
 animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
 from { opacity: 0; transform: scale(0.95) translateY(10px); }
 to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-auth-card {
 width: 100%;
 max-width: 440px;
}

.modal-pricing-card {
 width: 100%;
 max-width: 900px;
}

.modal-header {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 margin-bottom: 20px;
}

.modal-title {
 font-size: 20px;
 font-weight: 800;
 color: var(--ink);
}

.modal-desc {
 font-size: 13px;
 color: var(--muted);
 margin-top: 4px;
}

.modal-close-btn {
 border: 0;
 background: #f1f5f9;
 color: var(--muted);
 width: 32px;
 height: 32px;
 border-radius: 50%;
 font-size: 14px;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.15s;
 display: inline-flex;
 align-items: center;
 justify-content: center;
}

.modal-close-btn:hover {
 background: #e2e8f0;
 color: var(--ink);
}

/* Auth Tabs */
.auth-tabs {
 display: flex;
 background: #f1f5f9;
 border-radius: var(--radius-md);
 padding: 4px;
 margin-bottom: 20px;
}

.auth-tab-btn {
 flex: 1;
 border: 0;
 background: transparent;
 padding: 8px 12px;
 font-size: 13px;
 font-weight: 600;
 color: var(--muted);
 border-radius: var(--radius-sm);
 cursor: pointer;
 transition: all 0.2s;
}

.auth-tab-btn.active {
 background: #ffffff;
 color: var(--ink);
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Google Sign-in Button */
.btn-google-auth {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
 background: #ffffff;
 border: 1.5px solid var(--line-strong);
 color: var(--ink);
 font-size: 14px;
 font-weight: 600;
 padding: 11px 16px;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: all 0.2s;
}

.btn-google-auth:hover {
 background: #f8fafc;
 border-color: #94a3b8;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.auth-divider {
 display: flex;
 align-items: center;
 margin: 18px 0;
 color: var(--muted);
 font-size: 12px;
}

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

.auth-divider span {
 padding: 0 12px;
}

.auth-gift-callout {
 background: #fffbeb;
 border: 1px solid #fef3c7;
 border-radius: var(--radius-md);
 padding: 10px 14px;
 font-size: 12px;
 color: #92400e;
 line-height: 1.5;
 margin-top: 14px;
}

/* Pricing Grid */
.pricing-pill-top {
 display: inline-block;
 background: #f3e8ff;
 color: #7e22ce;
 font-size: 11px;
 font-weight: 700;
 padding: 3px 10px;
 border-radius: 99px;
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

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

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

.pricing-plan-card {
 border: 1.5px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 22px;
 background: #ffffff;
 display: flex;
 flex-direction: column;
 position: relative;
 transition: all 0.2s;
}

.pricing-plan-card:hover {
 border-color: #cbd5e1;
 transform: translateY(-2px);
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pricing-plan-card.featured {
 border: 2px solid var(--primary);
 background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
 box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
}

.plan-badge {
 font-size: 12px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 color: var(--muted);
 margin-bottom: 6px;
}

.featured-badge {
 color: #7c3aed;
 background: #f3e8ff;
 display: inline-block;
 padding: 2px 8px;
 border-radius: 4px;
 font-size: 11px;
}

.plan-name-feat {
 font-size: 17px;
 font-weight: 800;
 color: var(--ink);
 margin-top: 4px;
}

.plan-price-row {
 margin: 12px 0 4px;
 display: flex;
 align-items: baseline;
 gap: 4px;
}

.plan-price {
 font-size: 28px;
 font-weight: 900;
 color: var(--ink);
}

.plan-period {
 font-size: 13px;
 color: var(--muted);
}

.plan-unit-cost {
 font-size: 11px;
 color: #059669;
 font-weight: 700;
 margin-bottom: 16px;
}

.plan-features {
 list-style: none;
 padding: 0;
 margin: 0 0 20px;
 flex: 1;
}

.plan-features li {
 font-size: 12px;
 color: var(--ink-secondary);
 line-height: 1.6;
 margin-bottom: 8px;
}

.btn-plan-action {
 width: 100%;
 border: 1px solid var(--line-strong);
 background: #f8fafc;
 color: var(--ink);
 padding: 10px 14px;
 border-radius: var(--radius-md);
 font-size: 13px;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.2s;
}

.btn-plan-action:hover {
 background: #f1f5f9;
 border-color: var(--ink);
}

.btn-plan-action.primary {
 background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
 border: 0;
 color: #ffffff;
 box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-plan-action.primary:hover {
 opacity: 0.93;
 transform: translateY(-1px);
 box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

.pricing-promo-box {
 background: #f8fafc;
 border: 1px dashed var(--line-strong);
 border-radius: var(--radius-md);
 padding: 14px 18px;
 display: flex;
 flex-direction: column;
 gap: 6px;
}

.promo-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 font-size: 13px;
 font-weight: 600;
}

.promo-input-wrap {
 display: flex;
 gap: 6px;
}

.promo-input-wrap input {
 padding: 6px 10px;
 font-size: 12px;
 border: 1px solid var(--line-strong);
 border-radius: var(--radius-sm);
 width: 140px;
 text-transform: uppercase;
 font-weight: 700;
}

.promo-note {
 font-size: 11px;
 color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
 MOBILE & RESPONSIVE ADAPTATION (iOS & Android & Tablets)
 ───────────────────────────────────────────────────────────────────────────── */

/* Global touch manipulation and label toggles */
button, a, input, select, textarea, .market-card, .checkbox-card {
 touch-action: manipulation;
}

.gift-text-short,
.tab-label-short {
 display: none;
}

/* ── Tablets & Medium Screens (<= 860px) ────────────────────────────────── */
@media (max-width: 860px) {
 .top-nav {
 position: sticky;
 top: 0;
 z-index: 100;
 }

 .top-nav-inner {
 flex-wrap: wrap;
 padding: 10px 16px;
 gap: 10px;
 }

 .brand {
 order: 1;
 gap: 8px;
 }

 .nav-right {
 order: 2;
 gap: 8px;
 }

 .nav-tabs {
 order: 3;
 width: 100%;
 margin-top: 2px;
 display: flex;
 }

 .nav-tab-btn {
 flex: 1;
 justify-content: center;
 text-align: center;
 padding: 9px 12px;
 font-size: 13px;
 }

 .app-container {
 padding: 16px 12px;
 }

 .studio-grid {
 grid-template-columns: 1fr;
 gap: 16px;
 }

 .panel {
 padding: 18px 16px;
 border-radius: var(--radius-lg);
 }

 .catalog-toolbar {
 flex-direction: column;
 align-items: stretch;
 gap: 12px;
 }

 .catalog-search-wrap {
 max-width: 100%;
 }
}

/* ── Smartphones & Small Screens (<= 640px) ──────────────────────────────── */
@media (max-width: 640px) {
 /* Prevent iOS Safari auto-zoom on input focus */
 input[type="text"],
 input[type="number"],
 input[type="email"],
 input[type="password"],
 input[type="url"],
 textarea,
 select {
 font-size: 16px !important;
 }

 .panel-header {
 flex-direction: column;
 align-items: stretch;
 gap: 12px;
 margin-bottom: 16px;
 padding-bottom: 14px;
 }

 .panel-title {
 font-size: 17px;
 }

 .panel-subtitle {
 font-size: 12px;
 }

 /* 2-column marketplace selector */
 .marketplace-cards {
 grid-template-columns: repeat(2, 1fr);
 gap: 8px;
 }

 .market-card {
 padding: 10px 6px;
 min-height: 68px;
 }

 .market-card .m-icon {
 font-size: 18px;
 margin-bottom: 2px;
 }

 .market-card .m-name {
 font-size: 12px;
 }

 /* 1-column input rows */
 .input-row {
 grid-template-columns: 1fr;
 gap: 14px;
 }

 /* URL import box */
 .url-import-group {
 padding: 12px 14px;
 }

 .url-import-input-wrap {
 flex-direction: column;
 gap: 8px;
 }

 .btn-import-url {
 width: 100%;
 justify-content: center;
 padding: 11px 16px;
 font-size: 14px;
 }

 /* Image upload dropzone */
 .upload-dropzone {
 padding: 16px 12px;
 }

 .dropzone-empty .upload-icon {
 width: 38px;
 height: 38px;
 font-size: 18px;
 margin-bottom: 4px;
 }

 .dropzone-preview {
 flex-direction: column;
 text-align: center;
 }

 .dropzone-preview img {
 width: 80px;
 height: 80px;
 margin: 0 auto;
 }

 .dropzone-actions {
 justify-content: center;
 }

 /* Submit button */
 .btn-submit {
 padding: 13px 16px;
 font-size: 15px;
 }

 .btn-submit-shortcut {
 display: none;
 }

 /* View switcher tabs */
 .result-view-tabs {
 width: 100%;
 display: flex;
 }

 .result-view-btn {
 flex: 1;
 text-align: center;
 padding: 8px 10px;
 font-size: 12px;
 }

 .tab-label-full {
 display: none;
 }

 .tab-label-short {
 display: inline;
 }

 /* Photo showcase */
 .photo-showcase {
 flex-direction: column;
 align-items: center;
 gap: 16px;
 }

 .photo-preview-wrap {
 width: 100%;
 max-width: 280px;
 height: 280px;
 margin: 0 auto;
 }

 .photo-meta {
 width: 100%;
 }

 /* Result actions bar */
 .result-actions-bar {
 flex-direction: column;
 gap: 8px;
 }

 .result-actions-bar .btn-secondary,
 .result-actions-bar .btn-primary-action {
 width: 100%;
 justify-content: center;
 padding: 11px 16px;
 }

 /* Catalog toolbar & grid */
 .catalog-search-wrap {
 flex-direction: column;
 gap: 8px;
 }

 .catalog-search-wrap select {
 width: 100% !important;
 }

 .catalog-actions-wrap {
 display: grid !important;
 grid-template-columns: 1fr 1fr;
 width: 100%;
 gap: 8px !important;
 }

 .catalog-actions-wrap button,
 .catalog-actions-wrap a {
 width: 100%;
 justify-content: center;
 text-align: center;
 padding: 9px 12px;
 font-size: 12px;
 }

 .catalog-grid {
 grid-template-columns: 1fr;
 gap: 14px;
 }

 .catalog-card-image {
 height: 160px;
 }

 /* Modals */
 .modal-overlay {
 padding: 10px;
 }

 .modal-card {
 padding: 18px 14px;
 border-radius: 18px;
 max-height: 92vh;
 width: 100%;
 }

 .modal-header {
 margin-bottom: 14px;
 }

 .modal-title {
 font-size: 18px;
 }

 /* Pricing modal cards */
 .pricing-grid {
 grid-template-columns: 1fr;
 gap: 14px;
 margin: 16px 0;
 }

 .pricing-plan-card {
 padding: 16px 14px;
 }

 .plan-price {
 font-size: 24px;
 }

 .btn-plan-action {
 padding: 11px 14px;
 font-size: 14px;
 }

 .promo-inner {
 flex-direction: column;
 align-items: stretch;
 gap: 8px;
 }

 .promo-input-wrap {
 width: 100%;
 display: flex;
 }

 .promo-input-wrap input {
 flex: 1;
 width: auto;
 }

 /* Toast notification */
 .toast {
 left: 14px;
 right: 14px;
 bottom: 14px;
 text-align: center;
 justify-content: center;
 font-size: 13px;
 padding: 10px 16px;
 }
}

/* ── Narrow Mobile Screens (<= 480px) ─────────────────────────────────────── */
@media (max-width: 480px) {
 .top-nav-inner {
 padding: 8px 12px;
 }

 .brand-text > span {
 display: none;
 }

 .brand-icon {
 width: 32px;
 height: 32px;
 font-size: 16px;
 }

 .brand-text h1 {
 font-size: 15px;
 }

 .gift-text-full {
 display: none;
 }

 .gift-text-short {
 display: inline;
 }

 .btn-free-gift {
 font-size: 11px;
 padding: 5px 8px;
 }

 .btn-login-nav {
 font-size: 12px;
 padding: 5px 9px;
 }

 .export-nav-btn {
 display: none !important;
 }

 .sub-text-full {
 display: none;
 }

 .btn-subscribe-nav {
 padding: 5px 8px;
 font-size: 12px;
 }

 .credits-badge {
 padding: 4px 8px;
 font-size: 11px;
 }

 .user-name-label {
 max-width: 55px;
 }

 /* Phone Mockup Frame Scaling */
 .phone-mockup {
 border-width: 7px;
 border-radius: 28px;
 }

 .phone-notch {
 width: 90px;
 height: 12px;
 }

 .mockup-platform-switcher {
 width: 100%;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
 }

 .mockup-switch-btn {
 flex: 1;
 white-space: nowrap;
 padding: 6px 8px;
 font-size: 11px;
 }

 /* Specs table compact padding */
 .specs-table th,
 .specs-table td {
 padding: 6px 4px;
 font-size: 12px;
 }

 .specs-table th {
 width: 36%;
 }

 /* Empty state */
 .empty-state {
 padding: 36px 14px;
 }

 .empty-state-icon {
 font-size: 36px;
 }

 .empty-state h3 {
 font-size: 16px;
 }

 .empty-state p {
 font-size: 13px;
 }
}

/* ── Tiny Displays (<= 360px) ────────────────────────────────────────────── */
@media (max-width: 360px) {
 .phone-mockup {
 border-width: 5px;
 border-radius: 20px;
 }

 .nav-tab-btn {
 padding: 7px 6px;
 font-size: 12px;
 gap: 4px;
 }

 .catalog-actions-wrap {
 grid-template-columns: 1fr !important;
 }

 .marketplace-cards {
 gap: 6px;
 }

 .market-card {
 padding: 8px 4px;
 }
}

/* ─────────────────────────────────────────────────────────────────────────────
 HOME PAGE: HERO, STATISTICS & REVIEWS
 ───────────────────────────────────────────────────────────────────────────── */

.home-hero {
 text-align: center;
 max-width: 960px;
 margin: 10px auto 30px;
 padding: 36px 16px 20px;
}

.home-hero-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
 border: 1px solid #ddd6fe;
 color: #6d28d9;
 padding: 6px 16px;
 border-radius: var(--radius-full);
 font-size: 13px;
 font-weight: 700;
 margin-bottom: 20px;
}

.home-hero-title {
 font-size: 40px;
 font-weight: 900;
 line-height: 1.2;
 letter-spacing: -0.03em;
 color: var(--ink);
 margin-bottom: 18px;
}

.home-hero-subtitle {
 font-size: 16px;
 line-height: 1.65;
 color: var(--muted);
 max-width: 740px;
 margin: 0 auto 30px;
}

.home-hero-cta {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 14px;
 margin-bottom: 28px;
}

.btn-hero-primary {
 background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
 color: #ffffff;
 border: 0;
 border-radius: var(--radius-lg);
 padding: 13px 28px;
 font-size: 16px;
 font-weight: 800;
 cursor: pointer;
 display: inline-flex;
 flex-direction: column;
 align-items: center;
 gap: 2px;
 box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45);
}

.btn-hero-sub {
 font-size: 11px;
 opacity: 0.85;
 font-weight: 600;
}

.btn-hero-secondary {
 background: #ffffff;
 border: 1.5px solid var(--line-strong);
 color: var(--ink);
 border-radius: var(--radius-lg);
 padding: 16px 24px;
 font-size: 15px;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.2s;
}

.btn-hero-secondary:hover {
 background: #f8fafc;
 border-color: var(--ink);
}

.home-trust-pills {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 10px;
}

.trust-pill {
 background: #ffffff;
 border: 1px solid var(--line);
 padding: 6px 14px;
 border-radius: var(--radius-full);
 font-size: 12px;
 font-weight: 600;
 color: var(--ink-secondary);
 box-shadow: var(--shadow-sm);
}

/* Sections */
.home-section {
 max-width: 1200px;
 margin: 48px auto;
 padding: 0 10px;
}

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

.section-title-wrap {
 margin-bottom: 30px;
}

.section-tag {
 display: inline-block;
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--primary);
 background: var(--primary-subtle);
 padding: 3px 10px;
 border-radius: var(--radius-full);
 margin-bottom: 8px;
}

.section-heading {
 font-size: 28px;
 font-weight: 800;
 color: var(--ink);
 letter-spacing: -0.02em;
}

.section-subtext {
 font-size: 14px;
 color: var(--muted);
 max-width: 620px;
 margin: 6px auto 0;
}

/* Stats Grid */
.home-stats-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
 margin-bottom: 24px;
}

.stat-card {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 24px 20px;
 box-shadow: var(--shadow-sm);
 transition: all 0.2s;
 display: flex;
 flex-direction: column;
}

.stat-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
 border-color: #cbd5e1;
}

.stat-icon-wrap {
 width: 44px;
 height: 44px;
 border-radius: 12px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 22px;
 margin-bottom: 12px;
}

.bg-violet { background: #f3e8ff; color: #7e22ce; }
.bg-emerald { background: #d1fae5; color: #047857; }
.bg-amber { background: #fef3c7; color: #b45309; }
.bg-blue { background: #dbeafe; color: #1d4ed8; }

.stat-number {
 font-size: 32px;
 font-weight: 900;
 color: var(--ink);
 letter-spacing: -0.03em;
 line-height: 1.1;
 margin-bottom: 6px;
}

.stat-label {
 font-size: 14px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 6px;
}

.stat-desc {
 font-size: 12px;
 color: var(--muted);
 line-height: 1.5;
 flex: 1;
 margin-bottom: 14px;
}

.stat-trend {
 display: inline-flex;
 align-items: center;
 font-size: 11px;
 font-weight: 700;
 padding: 3px 8px;
 border-radius: 6px;
 align-self: flex-start;
}

.trend-up { background: #ecfdf5; color: #059669; }
.trend-neutral { background: #f5f3ff; color: #7c3aed; }

/* Breakdown Bar */
.stats-breakdown-bar {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 18px 24px;
 display: flex;
 justify-content: space-around;
 align-items: center;
 box-shadow: var(--shadow-sm);
}

.breakdown-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 gap: 3px;
}

.b-val {
 font-size: 15px;
 font-weight: 800;
 color: var(--ink);
}

.b-note {
 font-size: 12px;
 color: var(--muted);
}

.breakdown-divider {
 width: 1px;
 height: 36px;
 background: var(--line);
}

/* Comparison */
.comparison-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 24px;
}

.comparison-card {
 border-radius: var(--radius-xl);
 padding: 28px;
}

.comparison-card.manual {
 background: #fffafa;
 border: 1.5px solid #fee2e2;
}

.comparison-card.ai-smart {
 background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
 border: 2px solid #86efac;
 box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.comp-head {
 margin-bottom: 20px;
}

.comp-badge {
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 padding: 3px 8px;
 border-radius: 6px;
 display: inline-block;
 margin-bottom: 8px;
}

.comp-badge.bad { background: #fee2e2; color: #dc2626; }
.comp-badge.good { background: #dcfce7; color: #15803d; }

.comp-head h3 {
 font-size: 20px;
 font-weight: 800;
 color: var(--ink);
}

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

.comp-list li {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 font-size: 13px;
 line-height: 1.5;
 color: var(--ink-secondary);
}

.comp-icon {
 width: 20px;
 height: 20px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 11px;
 font-weight: 800;
 flex-shrink: 0;
 margin-top: 1px;
}

.comp-icon.red { background: #fee2e2; color: #dc2626; }
.comp-icon.green { background: #dcfce7; color: #16a34a; }

/* Reviews */
.home-reviews-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
}

.review-card {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 24px;
 box-shadow: var(--shadow-sm);
 display: flex;
 flex-direction: column;
 transition: all 0.2s;
}

.review-card:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
 border-color: #cbd5e1;
}

.review-card.featured-review {
 border: 1.5px solid #a7f3d0;
 background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.review-header {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 14px;
}

.review-avatar {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 color: #ffffff;
 font-weight: 800;
 font-size: 15px;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.review-author {
 flex: 1;
 display: flex;
 flex-direction: column;
}

.review-author strong {
 font-size: 15px;
 color: var(--ink);
}

.review-author span {
 font-size: 12px;
 color: var(--muted);
}

.review-stars {
 color: #f59e0b;
 font-size: 15px;
 letter-spacing: 2px;
}

.review-body {
 font-size: 14px;
 line-height: 1.65;
 color: var(--ink-secondary);
 font-style: italic;
 flex: 1;
 margin-bottom: 16px;
}

.review-footer {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 font-size: 12px;
}

.review-metric {
 font-weight: 700;
 color: #047857;
 background: #d1fae5;
 padding: 3px 8px;
 border-radius: 6px;
}

.review-platform {
  color: var(--muted);
  font-weight: 600;
}

.btn-leave-review {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 12px 28px;
 background: var(--bg-surface, #ffffff);
 border: 1.5px solid var(--primary, #6366f1);
 color: var(--primary, #6366f1);
 border-radius: var(--radius-full, 9999px);
 font-size: 15px;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
}

.btn-leave-review:hover {
 background: var(--primary, #6366f1);
 color: #ffffff;
 transform: translateY(-2px);
 box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.star-rating-select {
 display: flex;
 gap: 6px;
 margin-top: 6px;
}

.star-btn {
 background: none;
 border: none;
 font-size: 26px;
 color: #cbd5e1;
 cursor: pointer;
 padding: 0;
 transition: transform 0.15s, color 0.15s;
 line-height: 1;
}

.star-btn.active,
.star-btn:hover {
 color: #f59e0b;
}

.star-btn:hover {
 transform: scale(1.2);
}

/* Bottom CTA Banner */
.home-bottom-cta {
 background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
 border-radius: var(--radius-2xl);
 padding: 48px 32px;
 color: #ffffff;
 text-align: center;
 margin: 56px auto 30px;
 box-shadow: 0 20px 40px rgba(49, 46, 129, 0.25);
}

.home-cta-inner {
 max-width: 680px;
 margin: 0 auto;
}

.cta-badge {
 display: inline-block;
 background: rgba(255, 255, 255, 0.15);
 backdrop-filter: blur(4px);
 color: #fed7aa;
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 padding: 4px 12px;
 border-radius: var(--radius-full);
 margin-bottom: 16px;
}

.home-cta-inner h2 {
 font-size: 30px;
 font-weight: 900;
 line-height: 1.25;
 margin-bottom: 12px;
}

.home-cta-inner p {
 font-size: 15px;
 color: #c7d2fe;
 line-height: 1.6;
 margin-bottom: 28px;
}

.cta-actions {
 display: flex;
 justify-content: center;
 gap: 14px;
}

.btn-cta-launch {
 background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
 color: #ffffff;
 border: 0;
 padding: 14px 28px;
 font-size: 15px;
 font-weight: 800;
 border-radius: var(--radius-lg);
 cursor: pointer;
 box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
 transition: all 0.2s;
}

.btn-cta-launch:hover {
 transform: translateY(-2px);
 box-shadow: 0 12px 25px rgba(234, 88, 12, 0.5);
}

.btn-cta-pricing {
 background: rgba(255, 255, 255, 0.1);
 border: 1px solid rgba(255, 255, 255, 0.25);
 color: #ffffff;
 padding: 14px 24px;
 font-size: 15px;
 font-weight: 700;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
}

.btn-cta-pricing:hover {
 background: rgba(255, 255, 255, 0.2);
}

/* Home Page Responsive Queries */
@media (max-width: 860px) {
 .home-stats-grid {
 grid-template-columns: repeat(2, 1fr);
 }
 .comparison-grid {
 grid-template-columns: 1fr;
 }
 .home-reviews-grid {
 grid-template-columns: 1fr;
 }
 .stats-breakdown-bar {
 flex-direction: column;
 gap: 14px;
 }
 .breakdown-divider {
 width: 60%;
 height: 1px;
 }
}

@media (max-width: 640px) {
 .home-hero-title {
 font-size: 28px;
 }
 .hide-mobile {
 display: none;
 }
 .home-hero-cta {
 flex-direction: column;
 width: 100%;
 }
 .btn-hero-primary,
 .btn-hero-secondary {
 width: 100%;
 justify-content: center;
 }
 .home-stats-grid {
 grid-template-columns: 1fr;
 }
 .cta-actions {
 flex-direction: column;
 width: 100%;
 }
 .btn-cta-launch,
 .btn-cta-pricing {
 width: 100%;
 }
 .home-bottom-cta {
 padding: 32px 18px;
 }
}

/* ─────────────────────────────────────────────────────────────────────────────
 VISUAL REALISM, ANIMATIONS, SHOWCASE, CALCULATOR & EXAMPLES PAGE
 ───────────────────────────────────────────────────────────────────────────── */

/* Lock Badges */
.tab-lock-badge {
 font-size: 11px;
 margin-left: 4px;
 opacity: 0.85;
 transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-tab-btn:hover .tab-lock-badge {
 transform: scale(1.25) rotate(-5deg);
}

/* Aurora Glow Orbs */
.home-hero {
 position: relative;
 overflow: visible;
}

.hero-aurora-glow {
 position: absolute;
 width: 480px;
 height: 480px;
 border-radius: 50%;
 filter: blur(90px);
 opacity: 0.22;
 pointer-events: none;
 z-index: 0;
 animation: floatOrb 12s ease-in-out infinite alternate;
}
.glow-1 {
 top: -80px;
 left: 5%;
 background: radial-gradient(circle, #818cf8 0%, #c084fc 100%);
}
.glow-2 {
 top: 40px;
 right: 5%;
 background: radial-gradient(circle, #38bdf8 0%, #34d399 100%);
 animation-delay: -6s;
}

@keyframes floatOrb {
 0% { transform: translate(0, 0) scale(1); }
 50% { transform: translate(25px, 35px) scale(1.08); }
 100% { transform: translate(-20px, -25px) scale(0.95); }
}

.text-gradient {
 background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

/* Shiny Sweep on Buttons */
.btn-shine {
 position: relative;
 overflow: hidden;
}
.btn-shine::after {
 content: '';
 position: absolute;
 top: -50%;
 left: -70%;
 width: 45%;
 height: 200%;
 background: linear-gradient(
 60deg,
 rgba(255, 255, 255, 0) 0%,
 rgba(255, 255, 255, 0.38) 50%,
 rgba(255, 255, 255, 0) 100%
 );
 transform: rotate(25deg);
 animation: shimmerSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes shimmerSweep {
 0% { left: -70%; }
 35%, 100% { left: 150%; }
}

/* Live Activity Ticker */
.home-ticker-wrap {
 margin: -10px auto 24px;
 max-width: 960px;
 padding: 0 14px;
 position: relative;
 z-index: 2;
}

.home-ticker-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(14px);
 -webkit-backdrop-filter: blur(14px);
 border: 1px solid rgba(226, 232, 240, 0.9);
 padding: 8px 18px;
 border-radius: var(--radius-full);
 font-size: 13px;
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
 transition: all 0.3s;
}

.home-ticker-inner:hover {
 border-color: #cbd5e1;
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.ticker-badge {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: #ecfdf5;
 color: #059669;
 font-size: 11px;
 font-weight: 800;
 padding: 3px 10px;
 border-radius: var(--radius-full);
 letter-spacing: 0.05em;
 flex-shrink: 0;
}

.pulse-dot {
 width: 7px;
 height: 7px;
 background: #10b981;
 border-radius: 50%;
 box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
 animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
 70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticker-text {
 color: var(--ink);
 font-weight: 600;
 flex: 1;
 text-align: left;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.ticker-gift {
 color: #7c3aed;
 font-size: 12px;
 font-weight: 700;
 flex-shrink: 0;
}

.badge-pill {
 background: #7c3aed;
 color: #ffffff;
 font-size: 10px;
 padding: 2px 7px;
 border-radius: 6px;
 margin-left: 6px;
 letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────────────────────────────
 INTERACTIVE LIVE SHOWCASE (BEFORE / AFTER AI)
 ───────────────────────────────────────────────────────────────────────────── */

.hero-showcase-box {
 margin: 36px auto 0;
 max-width: 1080px;
 background: rgba(255, 255, 255, 0.92);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border: 1px solid rgba(226, 232, 240, 0.95);
 border-radius: var(--radius-2xl);
 box-shadow:
 0 4px 6px -1px rgba(0, 0, 0, 0.02),
 0 25px 45px -12px rgba(99, 102, 241, 0.12),
 inset 0 1px 0 rgba(255, 255, 255, 0.9);
 overflow: hidden;
 text-align: left;
 position: relative;
 z-index: 2;
}

.showcase-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 14px 22px;
 background: #f8fafc;
 border-bottom: 1px solid var(--line);
 gap: 16px;
}

.showcase-title-group {
 display: flex;
 align-items: center;
 gap: 8px;
}

.showcase-dot {
 width: 10px;
 height: 10px;
 border-radius: 50%;
}
.showcase-dot.green { background: #10b981; }
.showcase-dot.amber { background: #f59e0b; }
.showcase-dot.red { background: #ef4444; }

.showcase-title {
 font-size: 13px;
 font-weight: 700;
 color: var(--ink);
 margin-left: 6px;
}

.showcase-presets {
 display: flex;
 gap: 6px;
}

.preset-btn {
 background: #ffffff;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 font-size: 12px;
 font-weight: 700;
 padding: 6px 13px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.preset-btn:hover {
 background: #f1f5f9;
 border-color: #cbd5e1;
}

.preset-btn.active {
 background: #6366f1;
 border-color: #6366f1;
 color: #ffffff;
 box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.showcase-stage {
 display: grid;
 grid-template-columns: 1fr 140px 1.4fr;
 align-items: stretch;
 padding: 24px;
 gap: 20px;
}

.showcase-col {
 display: flex;
 flex-direction: column;
}

.showcase-col-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 14px;
}

.col-tag {
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 padding: 3px 10px;
 border-radius: 6px;
}

.raw-tag {
 background: #fee2e2;
 color: #dc2626;
}

.ai-tag {
 background: #dcfce7;
 color: #15803d;
}

.col-title {
 font-size: 12px;
 color: var(--muted);
 font-weight: 600;
}

/* Left Image Box with Laser Scanner */
.showcase-media-frame {
 position: relative;
 border-radius: var(--radius-xl);
 overflow: hidden;
 background: #0f172a;
 height: 310px;
 border: 1px solid var(--line-strong);
 box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.showcase-product-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: opacity 0.3s ease;
}

.scan-laser-line {
 position: absolute;
 left: 0;
 right: 0;
 height: 3px;
 background: linear-gradient(90deg, rgba(99, 102, 241, 0) 0%, #38bdf8 50%, rgba(99, 102, 241, 0) 100%);
 box-shadow: 0 0 16px #38bdf8, 0 0 28px #818cf8;
 z-index: 4;
 animation: scanLaser 3s ease-in-out infinite alternate;
}
@keyframes scanLaser {
 0% { top: 4%; }
 100% { top: 94%; }
}

/* Floating AI Detection Chips */
.ai-detect-chip {
 position: absolute;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: rgba(15, 23, 42, 0.85);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(56, 189, 248, 0.5);
 color: #f8fafc;
 font-size: 11px;
 font-weight: 700;
 padding: 5px 11px;
 border-radius: var(--radius-full);
 box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
 z-index: 5;
 transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
 animation: chipFloat 3.5s ease-in-out infinite alternate;
}
.chip-dot {
 width: 6px;
 height: 6px;
 background: #38bdf8;
 border-radius: 50%;
 box-shadow: 0 0 8px #38bdf8;
}

.chip-1 { top: 18px; left: 14px; }
.chip-2 { top: 120px; right: 14px; animation-delay: -1.2s; }
.chip-3 { bottom: 18px; left: 14px; animation-delay: -2.4s; }

@keyframes chipFloat {
 0% { transform: translateY(0); }
 100% { transform: translateY(-5px); }
}

.showcase-source-meta {
 margin-top: 12px;
 display: flex;
 align-items: center;
 gap: 6px;
 font-size: 11px;
 color: var(--muted);
}
.showcase-source-meta .meta-val {
 font-weight: 700;
 color: var(--ink-secondary);
}

/* Center Neural Bridge */
.showcase-center-bridge {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 12px;
 text-align: center;
}

.neural-core-wrap {
 position: relative;
 width: 74px;
 height: 74px;
 display: flex;
 align-items: center;
 justify-content: center;
}

.pulse-ring {
 position: absolute;
 border-radius: 50%;
 border: 1.5px solid rgba(99, 102, 241, 0.4);
 animation: pulseRing 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.ring-outer { width: 74px; height: 74px; animation-delay: 0s; }
.ring-middle { width: 56px; height: 56px; animation-delay: 0.6s; border-color: rgba(56, 189, 248, 0.5); }

@keyframes pulseRing {
 0% { transform: scale(0.85); opacity: 0.9; }
 100% { transform: scale(1.35); opacity: 0; }
}

.ai-core-chip {
 width: 50px;
 height: 50px;
 background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
 border-radius: 14px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
 color: #ffffff;
 z-index: 2;
}

.core-icon {
 font-size: 20px;
 line-height: 1;
}
.core-label {
 font-size: 8px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 opacity: 0.9;
}

.bridge-stream-arrow {
 width: 100%;
 height: 2px;
 background: var(--line);
 position: relative;
 overflow: hidden;
}

.laser-beam {
 position: absolute;
 width: 40px;
 height: 100%;
 background: linear-gradient(90deg, transparent, #6366f1, #38bdf8, transparent);
 animation: beamPass 1.8s linear infinite;
}
@keyframes beamPass {
 0% { left: -40px; }
 100% { left: 100%; }
}

.ai-speed-pill {
 font-size: 11px;
 font-weight: 800;
 color: #6366f1;
 background: #ede9fe;
 padding: 4px 10px;
 border-radius: var(--radius-full);
}

/* Right Output Listing Card */
.showcase-platform-toggle {
 display: flex;
 gap: 4px;
}

.showcase-p-btn {
 background: #f1f5f9;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 font-size: 11px;
 font-weight: 700;
 padding: 4px 10px;
 border-radius: 6px;
 cursor: pointer;
 transition: all 0.2s;
}

.showcase-p-btn.active {
 background: #1e293b;
 border-color: #1e293b;
 color: #ffffff;
}

.showcase-card-preview {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 18px 20px;
 display: flex;
 flex-direction: column;
 box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.card-preview-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 10px;
}

.badge-marketplace-top {
 font-size: 10px;
 font-weight: 900;
 letter-spacing: 0.05em;
 background: #fef3c7;
 color: #b45309;
 padding: 4px 10px;
 border-radius: var(--radius-full);
}

.card-rating {
 display: flex;
 align-items: center;
 gap: 5px;
}
.card-rating .stars {
 color: #f59e0b;
 font-size: 13px;
}
.card-rating .rating-num {
 font-size: 12px;
 font-weight: 700;
 color: var(--muted);
}

.card-preview-title {
 font-size: 16px;
 font-weight: 800;
 color: var(--ink);
 line-height: 1.35;
 margin-bottom: 12px;
}

.card-preview-pricing {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 14px;
 padding-bottom: 12px;
 border-bottom: 1px solid var(--line);
}

.price-wrap {
 display: flex;
 align-items: baseline;
 gap: 8px;
}

.price-current {
 font-size: 22px;
 font-weight: 900;
 color: #dc2626;
}

.price-old {
 font-size: 13px;
 color: var(--muted);
 text-decoration: line-through;
}

.price-discount {
 font-size: 11px;
 font-weight: 800;
 background: #fee2e2;
 color: #dc2626;
 padding: 3px 8px;
 border-radius: var(--radius-full);
}

.stock-status {
 font-size: 11px;
 font-weight: 700;
 color: #059669;
}

.card-specs-mini {
 display: flex;
 flex-direction: column;
 gap: 5px;
 margin-bottom: 14px;
 font-size: 12px;
}

.spec-row {
 display: flex;
 justify-content: space-between;
 padding: 3px 0;
 border-bottom: 1px dashed #f1f5f9;
}
.spec-row .s-name { color: var(--muted); }
.spec-row .s-val { font-weight: 700; color: var(--ink); text-align: right; }

.card-seo-tags-preview {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 margin-bottom: 16px;
}

.seo-tag {
 font-size: 10px;
 font-weight: 700;
 background: #f1f5f9;
 color: #475569;
 padding: 3px 9px;
 border-radius: var(--radius-full);
}

.btn-card-use {
 width: 100%;
 background: linear-gradient(135deg, #10b981 0%, #059669 100%);
 color: #ffffff;
 border: 0;
 font-size: 13px;
 font-weight: 800;
 padding: 10px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
 box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-card-use:hover {
 transform: translateY(-1px);
 box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ─────────────────────────────────────────────────────────────────────────────
 INTERACTIVE ROI & TIME CALCULATOR
 ───────────────────────────────────────────────────────────────────────────── */

.calculator-card {
 background: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(18px);
 -webkit-backdrop-filter: blur(18px);
 border: 1px solid rgba(226, 232, 240, 0.95);
 border-radius: var(--radius-2xl);
 padding: 36px 32px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.calc-body-grid {
 display: grid;
 grid-template-columns: 1fr 1.3fr;
 gap: 36px;
 align-items: center;
 margin-top: 28px;
}

.calc-slider-box {
 background: #f8fafc;
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 24px;
}

.calc-slider-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 16px;
}

.slider-label {
 font-size: 14px;
 font-weight: 700;
 color: var(--ink);
}

.slider-val-badge {
 font-size: 16px;
 font-weight: 900;
 color: #6366f1;
 background: #ede9fe;
 padding: 4px 12px;
 border-radius: var(--radius-full);
}

.calc-range-input {
 width: 100%;
 height: 8px;
 border-radius: 4px;
 background: #e2e8f0;
 outline: none;
 -webkit-appearance: none;
 cursor: pointer;
 accent-color: #6366f1;
}

.calc-range-marks {
 display: flex;
 justify-content: space-between;
 font-size: 11px;
 color: var(--muted);
 font-weight: 600;
 margin-top: 8px;
}

.calc-assumptions {
 margin-top: 18px;
 font-size: 11px;
 color: var(--muted);
 line-height: 1.5;
 border-top: 1px solid var(--line);
 padding-top: 12px;
}

.calc-results-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 16px;
}

.calc-metric-card {
 background: #ffffff;
 border: 1.5px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 20px 16px;
 display: flex;
 flex-direction: column;
 transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.calc-metric-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.metric-time { border-color: #c7d2fe; background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%); }
.metric-money { border-color: #a7f3d0; background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); }
.metric-speed { border-color: #fed7aa; background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%); }

.m-icon { font-size: 26px; margin-bottom: 8px; }
.m-val {
 font-size: 24px;
 font-weight: 900;
 letter-spacing: -0.02em;
 color: var(--ink);
 margin-bottom: 4px;
}
.m-label {
 font-size: 12px;
 font-weight: 800;
 color: var(--ink-secondary);
 margin-bottom: 6px;
}
.m-note {
 font-size: 11px;
 color: var(--muted);
 line-height: 1.4;
 flex: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
 STATISTICS DASHBOARD (GLASS + PROGRESS BARS)
 ───────────────────────────────────────────────────────────────────────────── */

.stat-card-top {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 8px;
}

.stat-live-badge {
 font-size: 9px;
 font-weight: 900;
 letter-spacing: 0.08em;
 padding: 3px 8px;
 border-radius: var(--radius-full);
}

.live-pulse { background: #f3e8ff; color: #7e22ce; }
.live-green { background: #d1fae5; color: #047857; }
.live-amber { background: #fef3c7; color: #b45309; }
.live-blue { background: #dbeafe; color: #1d4ed8; }

.stat-progress-bar {
 width: 100%;
 height: 6px;
 background: #f1f5f9;
 border-radius: 9999px;
 margin-bottom: 12px;
 overflow: hidden;
}

.progress-fill {
 height: 100%;
 border-radius: 9999px;
 transition: width 1s ease-in-out;
}
.fill-violet { background: linear-gradient(90deg, #a855f7, #6366f1); }
.fill-emerald { background: linear-gradient(90deg, #10b981, #059669); }
.fill-amber { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.fill-blue { background: linear-gradient(90deg, #3b82f6, #06b6d4); }

/* ─────────────────────────────────────────────────────────────────────────────
 3-STEP PIPELINE
 ───────────────────────────────────────────────────────────────────────────── */

.pipeline-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 24px;
}

.pipeline-card {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 padding: 30px 24px;
 position: relative;
 display: flex;
 flex-direction: column;
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
 transition: all 0.25s;
}

.pipeline-card:hover {
 transform: translateY(-4px);
 border-color: #6366f1;
 box-shadow: 0 14px 30px rgba(99, 102, 241, 0.1);
}

.pipeline-step-badge {
 font-size: 10px;
 font-weight: 900;
 letter-spacing: 0.1em;
 color: #6366f1;
 background: #ede9fe;
 padding: 3px 10px;
 border-radius: var(--radius-full);
 align-self: flex-start;
 margin-bottom: 14px;
}

.pipeline-icon {
 font-size: 32px;
 margin-bottom: 14px;
}

.pipeline-card h3 {
 font-size: 18px;
 font-weight: 800;
 color: var(--ink);
 margin-bottom: 10px;
}

.pipeline-card p {
 font-size: 13px;
 color: var(--muted);
 line-height: 1.6;
 flex: 1;
 margin-bottom: 16px;
}

.pipeline-feature-tag {
 font-size: 11px;
 font-weight: 700;
 color: #047857;
 background: #ecfdf5;
 padding: 4px 10px;
 border-radius: 6px;
 align-self: flex-start;
}

/* ─────────────────────────────────────────────────────────────────────────────
 REVIEWS FILTER
 ───────────────────────────────────────────────────────────────────────────── */

.reviews-filter-bar {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 8px;
 margin-top: 18px;
}

.rf-btn {
 background: #ffffff;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 font-size: 13px;
 font-weight: 700;
 padding: 7px 16px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.2s;
}

.rf-btn:hover {
 background: #f8fafc;
 border-color: #cbd5e1;
}

.rf-btn.active {
 background: #1e293b;
 border-color: #1e293b;
 color: #ffffff;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-row {
 display: flex;
 align-items: center;
 gap: 8px;
}

.verified-badge {
 font-size: 10px;
 font-weight: 800;
 background: #ecfdf5;
 color: #059669;
 padding: 2px 6px;
 border-radius: 4px;
}

/* Bottom CTA Orbs */
.home-bottom-cta {
 position: relative;
 overflow: hidden;
}

.cta-glow-orb {
 position: absolute;
 width: 320px;
 height: 320px;
 border-radius: 50%;
 filter: blur(70px);
 pointer-events: none;
 opacity: 0.28;
}

.glow-a { top: -60px; left: -60px; background: #6366f1; }
.glow-b { bottom: -60px; right: -60px; background: #ea580c; }

.cta-guarantee-note {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 16px;
 margin-top: 20px;
 font-size: 12px;
 color: #c7d2fe;
}

/* ─────────────────────────────────────────────────────────────────────────────
 EXAMPLES PAGE / ПОРТФОЛІО КАРТОК (#pane-examples)
 ───────────────────────────────────────────────────────────────────────────── */

.examples-page {
 max-width: 1200px;
 margin: 10px auto 40px;
 padding: 0 10px;
}

.examples-hero {
 margin-bottom: 36px;
}

.examples-heading {
 font-size: 34px;
 font-weight: 900;
 letter-spacing: -0.02em;
 color: var(--ink);
 margin-top: 8px;
 margin-bottom: 10px;
}

.examples-subtext {
 font-size: 15px;
 color: var(--muted);
 max-width: 720px;
 margin: 0 auto 24px;
 line-height: 1.6;
}

.examples-filter-bar {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 8px;
}

.ex-filter-btn {
 background: #ffffff;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 font-size: 13px;
 font-weight: 700;
 padding: 8px 18px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: var(--shadow-sm);
}

.ex-filter-btn:hover {
 background: #f8fafc;
 border-color: #cbd5e1;
}

.ex-filter-btn.active {
 background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
 border-color: #6366f1;
 color: #ffffff;
 box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

/* Examples Grid */
.examples-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 28px;
}

.example-card {
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-2xl);
 overflow: hidden;
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
 display: flex;
 flex-direction: column;
 transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.example-card:hover {
 transform: translateY(-4px);
 border-color: #cbd5e1;
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.example-card-media {
 position: relative;
 height: 240px;
 overflow: hidden;
 background: #0f172a;
}

.ex-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.4s ease;
}

.example-card:hover .ex-img {
 transform: scale(1.04);
}

.ex-market-badge {
 position: absolute;
 top: 14px;
 left: 14px;
 z-index: 2;
 font-size: 11px;
 font-weight: 800;
 padding: 5px 12px;
 border-radius: var(--radius-full);
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.badge-rozetka { background: #00a046; color: #ffffff; }
.badge-prom { background: #8132df; color: #ffffff; }
.badge-olx { background: #002f34; color: #23e5db; }
.badge-epicentr { background: #004c97; color: #ffffff; }

.ex-price-tag {
 position: absolute;
 bottom: 14px;
 right: 14px;
 background: rgba(15, 23, 42, 0.88);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 padding: 6px 14px;
 border-radius: var(--radius-lg);
 display: flex;
 align-items: baseline;
 gap: 6px;
 box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ex-price-main {
 font-size: 20px;
 font-weight: 900;
 color: #38bdf8;
}

.ex-price-old {
 font-size: 12px;
 color: #94a3b8;
 text-decoration: line-through;
}

.ex-discount {
 font-size: 11px;
 font-weight: 800;
 background: #ef4444;
 color: #ffffff;
 padding: 2px 8px;
 border-radius: var(--radius-full);
}

.ex-opt-note {
 font-size: 11px;
 color: #94a3b8;
 font-weight: 600;
}

.example-card-body {
 padding: 22px;
 display: flex;
 flex-direction: column;
 flex: 1;
}

.ex-rating-row {
 display: flex;
 align-items: center;
 gap: 8px;
 margin-bottom: 10px;
}

.ex-rating-row .stars {
 color: #f59e0b;
 font-size: 14px;
}

.ex-rating-row .score {
 font-size: 12px;
 font-weight: 700;
 color: var(--muted);
}

.ex-trust-badge {
 margin-left: auto;
 font-size: 10px;
 font-weight: 800;
 background: #fef3c7;
 color: #b45309;
 padding: 4px 10px;
 border-radius: var(--radius-full);
}

.prom-badge { background: #f3e8ff; color: #7e22ce; }
.olx-badge { background: #ccfbf1; color: #0f766e; }

.ex-card-title {
 font-size: 17px;
 font-weight: 800;
 line-height: 1.35;
 color: var(--ink);
 margin-bottom: 12px;
}

.ex-meta-pills {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 margin-bottom: 16px;
}

.ex-pill {
 font-size: 11px;
 font-weight: 600;
 background: #f8fafc;
 border: 1px solid var(--line);
 color: var(--ink-secondary);
 padding: 3px 9px;
 border-radius: 6px;
}

.ex-specs-box {
 background: #f8fafc;
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 14px;
 margin-bottom: 14px;
}

.ex-box-title {
 font-size: 12px;
 font-weight: 800;
 color: var(--ink);
 margin-bottom: 8px;
}

.ex-spec-row {
 display: flex;
 justify-content: space-between;
 font-size: 12px;
 padding: 4px 0;
 border-bottom: 1px dashed #e2e8f0;
}
.ex-spec-row:last-child { border-bottom: none; }
.ex-spec-row span { color: var(--muted); }
.ex-spec-row strong { color: var(--ink); text-align: right; }

.ex-desc-box {
 font-size: 12px;
 color: var(--ink-secondary);
 line-height: 1.55;
 background: #fffafa;
 border: 1px solid #fee2e2;
 border-radius: var(--radius-lg);
 padding: 12px 14px;
 margin-bottom: 14px;
}
.ex-desc-box p { margin: 0; }

.ex-seo-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 margin-bottom: 18px;
}

.ex-seo-tags .tag {
 font-size: 11px;
 font-weight: 700;
 background: #ede9fe;
 color: #6d28d9;
 padding: 3px 10px;
 border-radius: var(--radius-full);
}

.ex-card-actions {
 display: flex;
 gap: 10px;
 margin-top: auto;
}

.btn-copy-example {
 background: #f8fafc;
 border: 1px solid var(--line-strong);
 color: var(--ink);
 font-size: 12px;
 font-weight: 700;
 padding: 9px 14px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
 flex: 1;
}
.btn-copy-example:hover {
 background: #e2e8f0;
}

.btn-use-template {
 background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
 color: #ffffff;
 border: 0;
 font-size: 12px;
 font-weight: 800;
 padding: 9px 16px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
 flex: 1.2;
 box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.btn-use-template:hover {
 transform: translateY(-1px);
 box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.examples-bottom-cta {
 background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
 border-radius: var(--radius-2xl);
 padding: 44px 32px;
 color: #ffffff;
 text-align: center;
 margin-top: 48px;
 box-shadow: 0 20px 45px rgba(49, 46, 129, 0.25);
}

.ex-cta-inner {
 max-width: 680px;
 margin: 0 auto;
}

.ex-badge-gold {
 display: inline-block;
 background: rgba(254, 215, 170, 0.2);
 color: #fed7aa;
 font-size: 11px;
 font-weight: 800;
 letter-spacing: 0.08em;
 padding: 4px 12px;
 border-radius: var(--radius-full);
 margin-bottom: 14px;
}

.ex-cta-inner h2 {
 font-size: 28px;
 font-weight: 900;
 margin-bottom: 12px;
}

.ex-cta-inner p {
 font-size: 15px;
 color: #c7d2fe;
 line-height: 1.6;
 margin-bottom: 24px;
}

.ex-cta-btns {
 display: flex;
 justify-content: center;
 gap: 12px;
}

/* ─────────────────────────────────────────────────────────────────────────────
 CATALOG AUTH LOCK STATE (#catalog-auth-lock)
 ───────────────────────────────────────────────────────────────────────────── */

.catalog-guest-lock {
 padding: 60px 20px;
 display: flex;
 justify-content: center;
}

.lock-card {
 max-width: 480px;
 background: #ffffff;
 border: 1px solid var(--line);
 border-radius: var(--radius-2xl);
 padding: 40px 32px;
 text-align: center;
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.lock-icon-wrap {
 width: 68px;
 height: 68px;
 background: #f1f5f9;
 border-radius: 50%;
 font-size: 32px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 18px;
}

.lock-card h3 {
 font-size: 20px;
 font-weight: 800;
 color: var(--ink);
 margin-bottom: 10px;
}

.lock-card p {
 font-size: 14px;
 color: var(--muted);
 line-height: 1.55;
 margin-bottom: 24px;
}

.lock-btns {
 display: flex;
 gap: 12px;
 justify-content: center;
}

.btn-lock-action-login {
 background: #f1f5f9;
 border: 1.5px solid var(--line-strong);
 color: var(--ink);
 font-size: 14px;
 font-weight: 700;
 padding: 11px 20px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
}

.btn-lock-action-login:hover {
 background: #e2e8f0;
}

.btn-lock-action-reg {
 background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
 color: #ffffff;
 border: 0;
 font-size: 14px;
 font-weight: 800;
 padding: 11px 22px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
 box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.btn-lock-action-reg:hover {
 transform: translateY(-1px);
 box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* ─────────────────────────────────────────────────────────────────────────────
 ADDITIONAL RESPONSIVE RULES FOR SHOWCASE & EXAMPLES
 ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
 .showcase-stage {
 grid-template-columns: 1fr;
 gap: 20px;
 }
 .showcase-center-bridge {
 flex-direction: row;
 gap: 20px;
 padding: 10px 0;
 }
 .bridge-stream-arrow {
 display: none;
 }
 .calc-body-grid {
 grid-template-columns: 1fr;
 }
 .calc-results-grid {
 grid-template-columns: repeat(3, 1fr);
 }
 .pipeline-grid {
 grid-template-columns: 1fr;
 }
 .examples-grid {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 640px) {
 .home-ticker-inner {
 flex-direction: column;
 align-items: flex-start;
 gap: 6px;
 border-radius: var(--radius-xl);
 }
 .ticker-text {
 white-space: normal;
 }
 .calc-results-grid {
 grid-template-columns: 1fr;
 }
 .ex-cta-btns {
 flex-direction: column;
 }
 .lock-btns {
 flex-direction: column;
 }
 .showcase-header {
 flex-direction: column;
 align-items: flex-start;
 }
 .showcase-presets {
 flex-wrap: wrap;
 width: 100%;
 }
}

/* ─────────────────────────────────────────────────────────────────────────────
 DARK THEME PALETTE & OVERRIDES ([data-theme="dark"])
 ───────────────────────────────────────────────────────────────────────────── */

:root[data-theme="dark"] {
 --ink: #f8fafc;
 --ink-secondary: #cbd5e1;
 --muted: #94a3b8;
 --line: rgba(255, 255, 255, 0.1);
 --line-strong: rgba(255, 255, 255, 0.18);
 --bg: #0b0f19;
 --card-bg: #111827;
 --primary: #818cf8;
 --primary-hover: #6366f1;
 --primary-subtle: rgba(99, 102, 241, 0.16);
 --primary-border: rgba(129, 140, 248, 0.35);
 --success: #34d399;
 --success-bg: rgba(16, 185, 129, 0.16);
 --warning: #fbbf24;
 --danger: #f87171;
 --rozetka-bg: rgba(0, 160, 70, 0.18);
 --prom-bg: rgba(124, 58, 237, 0.18);
 --olx-bg: rgba(0, 47, 52, 0.4);
 --epicentr-bg: rgba(0, 75, 147, 0.22);
 --wb-bg: rgba(203, 17, 171, 0.18);
 --ozon-bg: rgba(0, 91, 255, 0.18);
 --avito-bg: rgba(0, 170, 91, 0.18);
 --ym-bg: rgba(252, 63, 29, 0.18);
 --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
 --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.65);
 --shadow-lg: 0 12px 36px -4px rgba(0, 0, 0, 0.85);
}

/* Base Body & Navigation */
[data-theme="dark"] body {
 background-color: var(--bg);
 color: var(--ink);
}

[data-theme="dark"] .top-nav {
 background: #0f172a;
 border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .brand-text h1 {
 color: #f8fafc;
}

[data-theme="dark"] .nav-tabs {
 background: #1e293b;
}

[data-theme="dark"] .nav-tab-btn {
 color: #94a3b8;
}

[data-theme="dark"] .nav-tab-btn:hover {
 color: #f8fafc;
}

[data-theme="dark"] .nav-tab-btn.active {
 background: #0b0f19;
 color: #818cf8;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .badge-count {
 background: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-login-nav {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-login-nav:hover {
 background: #243046;
 border-color: #818cf8;
 color: #a5b4fc;
}

[data-theme="dark"] .export-nav-btn {
 background: #1e293b !important;
 color: #f8fafc !important;
 border: 1px solid #334155 !important;
}

[data-theme="dark"] .export-nav-btn:hover {
 background: #243046 !important;
 border-color: #818cf8 !important;
}

[data-theme="dark"] .user-pill {
 background: #1e293b;
 border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .user-name-label {
 color: #f8fafc;
}

[data-theme="dark"] .btn-free-gift {
 background: rgba(245, 158, 11, 0.15);
 border-color: rgba(245, 158, 11, 0.4);
 color: #fbbf24;
}

[data-theme="dark"] .credits-badge {
 background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(49, 46, 129, 0.4) 100%);
 border-color: #3b82f6;
 color: #93c5fd;
}

[data-theme="dark"] .btn-theme-toggle {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-theme-toggle:hover {
 background: #243046;
 border-color: #818cf8;
}

/* Panels & Generator Inputs */
[data-theme="dark"] .panel {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .panel-header {
 border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .panel-title {
 color: #f8fafc;
}

[data-theme="dark"] .field-label {
 color: #e2e8f0;
}

[data-theme="dark"] .market-card {
 background: #1e293b;
 border-color: rgba(255, 255, 255, 0.1);
 color: #e2e8f0;
}

[data-theme="dark"] .market-card .m-limit {
 color: #94a3b8;
}

[data-theme="dark"] .url-import-group {
 background: #0f172a;
 border-color: #334155;
}

[data-theme="dark"] .url-import-group:hover,
[data-theme="dark"] .url-import-group:focus-within {
 background: rgba(99, 102, 241, 0.1);
 border-color: #818cf8;
}

[data-theme="dark"] .url-import-input-wrap input {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .upload-dropzone {
 background: #0f172a;
 border-color: #334155;
}

[data-theme="dark"] .upload-dropzone:hover,
[data-theme="dark"] .upload-dropzone.dragover {
 background: rgba(99, 102, 241, 0.12);
 border-color: #818cf8;
}

[data-theme="dark"] .dropzone-empty .upload-icon {
 background: #1e293b;
 color: #818cf8;
}

[data-theme="dark"] .dropzone-empty p {
 color: #f8fafc;
}

[data-theme="dark"] .dropzone-preview img {
 background: #1e293b;
 border-color: #334155;
}

[data-theme="dark"] .dropzone-preview-info strong {
 color: #f8fafc;
}

[data-theme="dark"] .btn-sm-action {
 background: #1e293b;
 color: #f8fafc;
 border: 1px solid #334155;
}

[data-theme="dark"] .btn-sm-action:hover {
 background: #243046;
 border-color: #818cf8;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
 background: #0f172a;
 border-color: #818cf8;
 box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

[data-theme="dark"] .field-highlight {
 background: rgba(99, 102, 241, 0.18) !important;
 border-color: #818cf8 !important;
 box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3) !important;
}

[data-theme="dark"] .checkbox-card {
 background: #1e293b;
 border-color: rgba(255, 255, 255, 0.1);
 color: #f8fafc;
}

[data-theme="dark"] .checkbox-card:hover {
 background: #273549;
}

[data-theme="dark"] .checkbox-text strong {
 color: #f8fafc;
}

[data-theme="dark"] .progress-card {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .progress-step {
 color: #94a3b8;
}

[data-theme="dark"] .progress-step.active {
 color: #818cf8;
}

/* Result Editor & View Switch */
[data-theme="dark"] .result-view-switch,
[data-theme="dark"] .result-view-tabs {
 background: #1e293b;
 border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .result-view-btn {
 color: #94a3b8;
}

[data-theme="dark"] .result-view-btn.active {
 background: #0b0f19;
 color: #818cf8;
}

[data-theme="dark"] .btn-secondary {
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid rgba(255, 255, 255, 0.16);
 color: #f8fafc;
}

[data-theme="dark"] .btn-secondary:hover {
 background: rgba(255, 255, 255, 0.1);
 border-color: rgba(255, 255, 255, 0.3);
 color: #ffffff;
}

[data-theme="dark"] .editor-section {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .editor-field-title {
 color: #e2e8f0;
}

[data-theme="dark"] .btn-copy-small {
 background: #1e293b;
 border: 1px solid #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .btn-copy-small:hover {
 background: rgba(99, 102, 241, 0.2);
 border-color: #818cf8;
 color: #a5b4fc;
}

[data-theme="dark"] .keyword-tag {
 background: #1e293b;
 border: 1px solid #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .keyword-tag:hover {
 background: rgba(99, 102, 241, 0.2);
 border-color: #818cf8;
 color: #a5b4fc;
}

[data-theme="dark"] .mockup-switch,
[data-theme="dark"] .mockup-platform-switcher {
 background: #1e293b;
 border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mockup-switch-btn {
 color: #94a3b8;
}

[data-theme="dark"] .mockup-switch-btn.active {
 background: #0b0f19;
 color: #f8fafc;
}

[data-theme="dark"] .phone-mockup {
 border-color: #334155;
 box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .phone-notch {
 background: #334155;
}

/* Home / Landing Components */
[data-theme="dark"] .home-hero-badge {
 background: rgba(124, 58, 237, 0.15);
 border-color: rgba(167, 139, 250, 0.3);
 color: #c4b5fd;
}

[data-theme="dark"] .home-hero-badge .badge-pill {
 background: #7c3aed;
 color: #ffffff;
}

[data-theme="dark"] .ticker-badge {
 background: rgba(16, 185, 129, 0.18);
 color: #6ee7b7;
}

[data-theme="dark"] .btn-hero-secondary {
 background: rgba(255, 255, 255, 0.05);
 border: 1.5px solid rgba(255, 255, 255, 0.18);
 color: #f8fafc;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-hero-secondary:hover {
 background: rgba(255, 255, 255, 0.1);
 border-color: rgba(255, 255, 255, 0.35);
 color: #ffffff;
}

[data-theme="dark"] .trust-pill {
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid rgba(255, 255, 255, 0.12);
 color: #cbd5e1;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .home-ticker-inner {
 background: rgba(15, 23, 42, 0.88);
 border-color: rgba(255, 255, 255, 0.12);
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ticker-text {
 color: #f8fafc;
}

[data-theme="dark"] .hero-showcase-box {
 background: rgba(17, 24, 39, 0.92);
 border-color: rgba(255, 255, 255, 0.12);
 box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .showcase-header {
 background: #0f172a;
 border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .showcase-title {
 color: #f8fafc;
}

[data-theme="dark"] .preset-btn {
 background: #1e293b;
 border-color: #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .preset-btn:hover {
 background: #273549;
 color: #f8fafc;
}

[data-theme="dark"] .preset-btn.active {
 background: #6366f1;
 border-color: #6366f1;
 color: #ffffff;
}

[data-theme="dark"] .showcase-card-preview {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card-preview-title {
 color: #f8fafc;
}

[data-theme="dark"] .spec-row {
 border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .spec-row .s-name {
 color: #94a3b8;
}

[data-theme="dark"] .spec-row .s-val {
 color: #f8fafc;
}

[data-theme="dark"] .seo-tag {
 background: #1e293b;
 color: #cbd5e1;
}

[data-theme="dark"] .showcase-p-btn {
 background: #1e293b;
 border-color: #334155;
 color: #94a3b8;
}

[data-theme="dark"] .showcase-p-btn.active {
 background: #6366f1;
 border-color: #6366f1;
 color: #ffffff;
}

[data-theme="dark"] .calculator-card {
 background: rgba(17, 24, 39, 0.92);
 border-color: rgba(255, 255, 255, 0.12);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .calc-slider-box {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .slider-label {
 color: #f8fafc;
}

[data-theme="dark"] .slider-val-badge {
 background: rgba(99, 102, 241, 0.2);
 color: #a5b4fc;
}

[data-theme="dark"] .calc-range-input {
 background: #334155;
}

[data-theme="dark"] .calc-metric-card {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .m-val {
 color: #f8fafc;
}

[data-theme="dark"] .m-label {
 color: #cbd5e1;
}

[data-theme="dark"] .metric-time {
 border-color: #4338ca;
 background: linear-gradient(180deg, rgba(67, 56, 202, 0.2) 0%, #0f172a 100%);
}

[data-theme="dark"] .metric-money {
 border-color: #065f46;
 background: linear-gradient(180deg, rgba(6, 95, 70, 0.2) 0%, #0f172a 100%);
}

[data-theme="dark"] .metric-speed {
 border-color: #9a3412;
 background: linear-gradient(180deg, rgba(154, 52, 18, 0.2) 0%, #0f172a 100%);
}

[data-theme="dark"] .pipeline-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pipeline-card:hover {
 border-color: #818cf8;
 box-shadow: 0 14px 30px rgba(99, 102, 241, 0.25);
}

[data-theme="dark"] .pipeline-card h3 {
 color: #f8fafc;
}

[data-theme="dark"] .pipeline-card p {
 color: #94a3b8;
}

[data-theme="dark"] .pipeline-step-badge {
 background: rgba(99, 102, 241, 0.2);
 color: #a5b4fc;
}

[data-theme="dark"] .pipeline-feature-tag {
 background: rgba(16, 185, 129, 0.18);
 color: #34d399;
}

[data-theme="dark"] .stat-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-card:hover {
 border-color: rgba(255, 255, 255, 0.2);
 box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .stat-icon-wrap.bg-violet {
 background: rgba(139, 92, 246, 0.18);
 color: #c4b5fd;
}

[data-theme="dark"] .stat-icon-wrap.bg-emerald {
 background: rgba(16, 185, 129, 0.18);
 color: #6ee7b7;
}

[data-theme="dark"] .stat-icon-wrap.bg-amber {
 background: rgba(245, 158, 11, 0.18);
 color: #fcd34d;
}

[data-theme="dark"] .stat-icon-wrap.bg-blue {
 background: rgba(59, 130, 246, 0.18);
 color: #93c5fd;
}

[data-theme="dark"] .live-pulse {
 background: rgba(139, 92, 246, 0.2);
 color: #c4b5fd;
}

[data-theme="dark"] .live-green {
 background: rgba(16, 185, 129, 0.2);
 color: #6ee7b7;
}

[data-theme="dark"] .live-amber {
 background: rgba(245, 158, 11, 0.2);
 color: #fcd34d;
}

[data-theme="dark"] .live-blue {
 background: rgba(59, 130, 246, 0.2);
 color: #93c5fd;
}

[data-theme="dark"] .stat-number {
 color: #f8fafc;
}

[data-theme="dark"] .stat-label {
 color: #e2e8f0;
}

[data-theme="dark"] .stat-desc {
 color: #94a3b8;
}

[data-theme="dark"] .stat-progress-bar {
 background: #1e293b;
}

[data-theme="dark"] .stats-breakdown-bar {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .b-val {
 color: #f8fafc;
}

[data-theme="dark"] .breakdown-divider {
 background: #1e293b;
}

[data-theme="dark"] .comp-card,
[data-theme="dark"] .comparison-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .comparison-card.manual {
 background: rgba(239, 68, 68, 0.07);
 border: 1.5px solid rgba(239, 68, 68, 0.28);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .comparison-card.manual .comp-badge.bad {
 background: rgba(239, 68, 68, 0.2);
 color: #fca5a5;
 border: 1px solid rgba(239, 68, 68, 0.35);
}

[data-theme="dark"] .comparison-card.manual .comp-icon.red {
 background: rgba(239, 68, 68, 0.22);
 color: #fca5a5;
}

[data-theme="dark"] .comparison-card.ai-smart,
[data-theme="dark"] .comparison-card.glow-smart {
 background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
 border: 2px solid rgba(16, 185, 129, 0.45);
 box-shadow: 0 14px 40px rgba(16, 185, 129, 0.15), 0 0 25px rgba(16, 185, 129, 0.08);
}

[data-theme="dark"] .comparison-card.ai-smart .comp-badge.good {
 background: rgba(16, 185, 129, 0.22);
 color: #6ee7b7;
 border: 1px solid rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .comparison-card.ai-smart .comp-icon.green {
 background: rgba(16, 185, 129, 0.22);
 color: #6ee7b7;
}

[data-theme="dark"] .comp-header h3,
[data-theme="dark"] .comp-head h3 {
 color: #f8fafc;
}

[data-theme="dark"] .comp-list li {
 color: #cbd5e1;
}

[data-theme="dark"] .rf-btn {
 background: #1e293b;
 border-color: #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .rf-btn:hover {
 background: #273549;
 color: #f8fafc;
}

[data-theme="dark"] .rf-btn.active {
 background: #6366f1;
 border-color: #6366f1;
 color: #ffffff;
}

[data-theme="dark"] .review-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .review-card:hover {
 border-color: rgba(255, 255, 255, 0.2);
 box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .review-author strong {
 color: #f8fafc;
}

[data-theme="dark"] .review-body {
 color: #cbd5e1;
}

[data-theme="dark"] .review-footer {
 border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .review-card.featured-review {
 border-color: #059669;
 background: linear-gradient(180deg, rgba(5, 150, 105, 0.15) 0%, #111827 100%);
}

/* Examples Page */
[data-theme="dark"] .examples-heading {
 color: #f8fafc;
}

[data-theme="dark"] .ex-filter-btn {
 background: #1e293b;
 border-color: #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .ex-filter-btn:hover {
 background: #273549;
 color: #f8fafc;
}

[data-theme="dark"] .example-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .example-card:hover {
 border-color: rgba(255, 255, 255, 0.2);
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .ex-card-title {
 color: #f8fafc;
}

[data-theme="dark"] .ex-pill {
 background: #1e293b;
 border-color: rgba(255, 255, 255, 0.1);
 color: #cbd5e1;
}

[data-theme="dark"] .ex-specs-box {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ex-spec-row {
 border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ex-spec-row .ex-s-name {
 color: #94a3b8;
}

[data-theme="dark"] .ex-spec-row .ex-s-val {
 color: #f8fafc;
}

[data-theme="dark"] .ex-desc-preview {
 color: #cbd5e1;
}

[data-theme="dark"] .ex-tech-table th {
 background: #0f172a;
 color: #94a3b8;
 border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ex-tech-table td {
 border-color: rgba(255, 255, 255, 0.08);
 color: #cbd5e1;
}

[data-theme="dark"] .ex-seller-meta {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ex-seller-name {
 color: #f8fafc;
}

[data-theme="dark"] .ex-desc-box {
 background: rgba(255, 255, 255, 0.04);
 border-color: rgba(255, 255, 255, 0.1);
 color: #cbd5e1;
}

[data-theme="dark"] .btn-copy-example {
 background: rgba(255, 255, 255, 0.06);
 border-color: rgba(255, 255, 255, 0.15);
 color: #f8fafc;
}

[data-theme="dark"] .btn-copy-example:hover {
 background: rgba(255, 255, 255, 0.12);
 border-color: rgba(255, 255, 255, 0.3);
 color: #ffffff;
}

/* Catalog Grid & Lock State */
[data-theme="dark"] .catalog-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .catalog-card:hover {
 border-color: rgba(255, 255, 255, 0.2);
 box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .catalog-card-image {
 background: #0f172a;
}

[data-theme="dark"] .catalog-card-title {
 color: #f8fafc;
}

[data-theme="dark"] .catalog-card-footer {
 border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .empty-state {
 background: #111827;
 border-color: #334155;
}

[data-theme="dark"] .empty-state h3 {
 color: #f8fafc;
}

[data-theme="dark"] .lock-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .lock-icon-wrap {
 background: #1e293b;
}

[data-theme="dark"] .lock-card h3 {
 color: #f8fafc;
}

[data-theme="dark"] .btn-lock-action-login {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-lock-action-login:hover {
 background: #273549;
}

/* Modals (Auth & Pricing) */
[data-theme="dark"] .modal-overlay {
 background: rgba(0, 0, 0, 0.75);
}

[data-theme="dark"] .modal-card {
 background: #111827;
 border-color: rgba(255, 255, 255, 0.12);
 color: #f8fafc;
 box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .modal-title {
 color: #f8fafc;
}

[data-theme="dark"] .modal-close-btn {
 background: #1e293b;
 color: #94a3b8;
}

[data-theme="dark"] .modal-close-btn:hover {
 background: #273549;
 color: #f8fafc;
}

[data-theme="dark"] .auth-tabs {
 background: #0f172a;
}

[data-theme="dark"] .auth-tab-btn {
 color: #94a3b8;
}

[data-theme="dark"] .auth-tab-btn.active {
 background: #1e293b;
 color: #f8fafc;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-google-auth {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-google-auth:hover {
 background: #273549;
 border-color: #475569;
}

[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after {
 background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .auth-gift-callout {
 background: rgba(245, 158, 11, 0.15);
 border-color: rgba(245, 158, 11, 0.3);
 color: #fbbf24;
}

[data-theme="dark"] .pricing-plan-card {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pricing-plan-card:hover {
 border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .pricing-plan-card.featured {
 background: linear-gradient(180deg, rgba(124, 58, 237, 0.2) 0%, #0f172a 100%);
 border-color: #818cf8;
}

[data-theme="dark"] .plan-badge {
 color: #94a3b8;
}

[data-theme="dark"] .featured-badge {
 background: rgba(124, 58, 237, 0.22);
 color: #c4b5fd;
 border: 1px solid rgba(139, 92, 246, 0.35);
}

[data-theme="dark"] .plan-name-feat {
 color: #f8fafc;
}

[data-theme="dark"] .plan-price {
 color: #f8fafc;
}

[data-theme="dark"] .plan-features li {
 color: #cbd5e1;
}

[data-theme="dark"] .btn-plan-action {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

[data-theme="dark"] .btn-plan-action:hover {
 background: #273549;
 border-color: #64748b;
}

[data-theme="dark"] .pricing-promo-box {
 background: #0f172a;
 border-color: #334155;
}

[data-theme="dark"] .promo-input-wrap input {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

/* ─────────────────────────────────────────────────────────────────────────────
 STUDIO AI PHOTO RETOUCHING (BEFORE / AFTER SPLIT SLIDER)
 ───────────────────────────────────────────────────────────────────────────── */

.retouch-section {
 position: relative;
 margin: 50px auto 40px;
}

.retouch-presets-bar {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 18px;
}

.retouch-preset-btn {
 background: #ffffff;
 border: 1.5px solid var(--line);
 color: var(--ink-secondary);
 font-size: 13px;
 font-weight: 700;
 padding: 8px 18px;
 border-radius: var(--radius-full);
 cursor: pointer;
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
 box-shadow: var(--shadow-sm);
}

.retouch-preset-btn:hover {
 background: #f8fafc;
 border-color: #cbd5e1;
 transform: translateY(-1px);
}

.retouch-preset-btn.active {
 background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
 border-color: #6366f1;
 color: #ffffff;
 box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.retouch-card {
 background: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border: 1px solid rgba(226, 232, 240, 0.95);
 border-radius: var(--radius-2xl);
 padding: 32px;
 box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
 margin-top: 24px;
}

.retouch-stage {
 display: grid;
 grid-template-columns: 1.35fr 1fr;
 gap: 32px;
 align-items: center;
}

/* Split Compare Frame */
.retouch-compare-box {
 position: relative;
 width: 100%;
 height: 440px;
 border-radius: var(--radius-xl);
 overflow: hidden;
 user-select: none;
 cursor: ew-resize;
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
 background: #0f172a;
 border: 1.5px solid var(--line-strong);
}

.retouch-img-layer {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

.retouch-img-layer img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}

.before-layer {
 width: 100%;
 height: 100%;
 clip-path: inset(0 calc(100% - var(--split-percent, 50%)) 0 0);
 -webkit-clip-path: inset(0 calc(100% - var(--split-percent, 50%)) 0 0);
 overflow: hidden;
 z-index: 2;
}

.before-layer img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
}

.retouch-floating-badge {
 position: absolute;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 6px 12px;
 border-radius: var(--radius-full);
 font-size: 11px;
 font-weight: 800;
 letter-spacing: 0.04em;
 background: rgba(15, 23, 42, 0.85);
 backdrop-filter: blur(8px);
 color: #f8fafc;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 z-index: 3;
}

.badge-after {
 top: 14px;
 right: 14px;
 border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-before {
 top: 14px;
 left: 14px;
 border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-dot {
 width: 7px;
 height: 7px;
 border-radius: 50%;
}

.badge-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.badge-dot.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }

/* Handle Divider */
.retouch-split-handle {
 position: absolute;
 top: 0;
 bottom: 0;
 left: 50%;
 width: 2px;
 z-index: 5;
 pointer-events: none;
 transform: translateX(-50%);
}

.handle-line {
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 width: 2px;
 background: #ffffff;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.handle-pill {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 background: #ffffff;
 color: #0f172a;
 border-radius: var(--radius-full);
 padding: 6px 12px;
 display: flex;
 align-items: center;
 gap: 6px;
 font-size: 11px;
 font-weight: 900;
 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
 border: 2px solid #6366f1;
}

.handle-icon {
 background: #6366f1;
 color: #ffffff;
 padding: 3px 8px;
 border-radius: 8px;
 font-size: 10px;
}

.handle-arrow {
 font-size: 8px;
 color: #6366f1;
}

/* Features Side Panel */
.retouch-features-panel {
 display: flex;
 flex-direction: column;
}

.rf-badge-top {
 display: inline-block;
 font-size: 11px;
 font-weight: 800;
 letter-spacing: 0.08em;
 color: #6366f1;
 background: #ede9fe;
 padding: 4px 12px;
 border-radius: var(--radius-full);
 margin-bottom: 10px;
 align-self: flex-start;
}

.retouch-features-panel h3 {
 font-size: 20px;
 font-weight: 800;
 color: var(--ink);
 line-height: 1.35;
 margin-bottom: 18px;
}

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

.rf-feature-list li {
 display: flex;
 align-items: flex-start;
 gap: 14px;
}

.rf-icon {
 width: 36px;
 height: 36px;
 border-radius: var(--radius-md);
 background: #f1f5f9;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 18px;
 flex-shrink: 0;
}

.rf-text strong {
 display: block;
 font-size: 14px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 2px;
}

.rf-text span {
 font-size: 12px;
 color: var(--muted);
 line-height: 1.45;
}

.btn-retouch-cta {
 background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
 color: #ffffff;
 border: 0;
 padding: 12px 22px;
 font-size: 14px;
 font-weight: 800;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
 box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
 display: inline-flex;
 align-items: center;
 gap: 6px;
}

.btn-retouch-cta:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}

/* ─────────────────────────────────────────────────────────────────────────────
 3D MARKETPLACE CARDS FAN & INFOGRAPHICS (REFERENCE PHOTO RECREATION)
 ───────────────────────────────────────────────────────────────────────────── */

.infocard-design-section {
 position: relative;
 margin: 60px auto 40px;
}

.infocard-hero-banner {
 background: linear-gradient(180deg, #0b1526 0%, #060b13 100%);
 border-radius: var(--radius-2xl);
 padding: 56px 28px 48px;
 position: relative;
 overflow: hidden;
 box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
 border: 1px solid rgba(255, 255, 255, 0.1);
 color: #ffffff;
}

/* Decorative Foliage & Money Particles */
.infocard-leaf {
 position: absolute;
 font-size: 54px;
 pointer-events: none;
 opacity: 0.22;
 filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
 z-index: 0;
}

.leaf-top-left { top: 12px; left: 16px; transform: rotate(35deg); }
.leaf-top-right { top: 12px; right: 16px; transform: rotate(-45deg); }
.leaf-bottom-left { bottom: 20px; left: 16px; font-size: 42px; opacity: 0.15; }

.infocard-money {
 position: absolute;
 font-size: 32px;
 pointer-events: none;
 opacity: 0.15;
 filter: blur(1.5px);
 z-index: 0;
}
.money-1 { top: 30px; right: 8%; transform: rotate(25deg); }
.money-2 { top: 30px; left: 8%; transform: rotate(-20deg); }

/* Banner Typography */
.banner-title-wrap {
 position: relative;
 z-index: 3;
 margin-bottom: 30px;
}

.infocard-main-title {
 font-size: 44px;
 font-weight: 900;
 letter-spacing: 0.01em;
 color: #ffffff;
 text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 255, 255, 0.15);
 margin-bottom: 12px;
 line-height: 1.2;
 text-transform: uppercase;
}

.infocard-sub-pill {
 display: inline-block;
 background: #00e676;
 color: #042411;
 font-size: 13px;
 font-weight: 900;
 letter-spacing: 0.08em;
 padding: 6px 22px;
 border-radius: var(--radius-full);
 box-shadow: 0 0 25px rgba(0, 230, 118, 0.65), 0 4px 12px rgba(0, 0, 0, 0.4);
 text-transform: uppercase;
 margin-bottom: 16px;
}

.infocard-banner-desc {
 max-width: 720px;
 margin: 0 auto;
 font-size: 15px;
 color: #94a3b8;
 line-height: 1.6;
}

.infocard-banner-desc strong {
 color: #38bdf8;
}

/* 3D Cards Fan Stage */
.fan-cards-stage {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 28px;
 perspective: 1200px;
 padding: 24px 10px 20px;
 margin: 10px auto 30px;
 position: relative;
 z-index: 4;
}

.fan-card {
 width: 325px;
 height: 485px;
 border-radius: 26px;
 position: relative;
 overflow: hidden;
 display: flex;
 flex-direction: column;
 padding: 12px;
 box-sizing: border-box;
 cursor: pointer;
 box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
 border: 1.5px solid rgba(255, 255, 255, 0.15);
 transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
 user-select: none;
 background: rgba(15, 23, 42, 0.72);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
}

/* Card 1: Apple iPhone 12 (Left) */
.fan-card-iphone,
.fan-card-adapter {
 transform: rotateY(7deg) rotateZ(-3deg);
 z-index: 1;
}

.fan-card-iphone:hover,
.fan-card-adapter:hover {
 transform: translateY(-12px) rotateY(2deg) scale(1.03);
 z-index: 6;
 box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
 border-color: rgba(255, 255, 255, 0.35);
}

/* Card 2: Headphones (Center Highlight) */
.fan-card-headphones {
 transform: translateY(-12px) scale(1.05);
 z-index: 3;
 box-shadow: 0 30px 75px rgba(14, 165, 233, 0.38);
 border-color: rgba(56, 189, 248, 0.45);
}

.fan-card-headphones:hover,
.fan-card-headphones.active-center {
 transform: translateY(-16px) scale(1.06);
 box-shadow: 0 34px 85px rgba(56, 189, 248, 0.5);
 border-color: #38bdf8;
 z-index: 5;
}

/* Card 3: Puma Backpack (Right) */
.fan-card-backpack {
 transform: rotateY(-7deg) rotateZ(3deg);
 z-index: 1;
}

.fan-card-backpack:hover {
 transform: translateY(-12px) rotateY(-2deg) scale(1.03);
 z-index: 6;
 box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
 border-color: rgba(255, 255, 255, 0.35);
}

/* Modern Card Top Bar */
.fan-card-top-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 8px;
 padding: 2px 4px;
 position: relative;
 z-index: 2;
}

.fan-card-badge-ai {
 font-size: 11px;
 font-weight: 800;
 color: #38bdf8;
 background: rgba(56, 189, 248, 0.14);
 padding: 4px 10px;
 border-radius: var(--radius-full);
 letter-spacing: 0.03em;
 border: 1px solid rgba(56, 189, 248, 0.25);
}

.fan-card-badge-ai.badge-accent {
 color: #fbbf24;
 background: rgba(245, 158, 11, 0.16);
 border-color: rgba(245, 158, 11, 0.35);
}

.fan-card-res {
 font-size: 10px;
 font-weight: 700;
 color: #94a3b8;
 letter-spacing: 0.05em;
}

/* Media Box */
.fan-card-media-box {
 width: 100%;
 aspect-ratio: 1 / 1;
 border-radius: 20px;
 overflow: hidden;
 background: #070b14;
 position: relative;
 border: 1px solid rgba(255, 255, 255, 0.08);
 display: flex;
 align-items: center;
 justify-content: center;
}

.fan-ai-poster-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 transition: transform 0.4s ease;
}

.fan-card:hover .fan-ai-poster-img {
 transform: scale(1.03);
}

/* Bottom Information Box */
.fan-card-bottom-info {
 margin-top: 10px;
 padding: 4px 4px 0;
 display: flex;
 flex-direction: column;
 gap: 4px;
 position: relative;
 z-index: 2;
}

.fan-info-text {
 display: flex;
 flex-direction: column;
 gap: 2px;
}

.fan-info-name {
 font-size: 15px;
 font-weight: 800;
 color: #ffffff;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.fan-info-sub {
 font-size: 11px;
 font-weight: 600;
 color: #94a3b8;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.fan-info-meta {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-top: 4px;
 padding-top: 6px;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fan-price-pill {
 font-size: 15px;
 font-weight: 900;
 color: #10b981;
}

.fan-price-pill.pill-cyan {
 color: #38bdf8;
}

.fan-price-pill.pill-yellow {
 color: #f59e0b;
}

.fan-market-tag {
 font-size: 10px;
 font-weight: 700;
 color: #94a3b8;
 background: rgba(255, 255, 255, 0.06);
 padding: 3px 8px;
 border-radius: var(--radius-full);
}

/* Fan Bottom Metrics & CTAs */
.fan-bottom-controls {
 position: relative;
 z-index: 5;
 margin-top: 24px;
}

.fan-metrics-row {
 display: inline-flex;
 align-items: center;
 gap: 24px;
 background: rgba(15, 23, 42, 0.8);
 border: 1px solid rgba(255, 255, 255, 0.15);
 padding: 12px 30px;
 border-radius: var(--radius-full);
 margin-bottom: 24px;
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.fan-metric-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 2px;
}

.fm-val {
 font-size: 20px;
 font-weight: 900;
 color: #38bdf8;
}

.fm-label {
 font-size: 11px;
 color: #94a3b8;
 font-weight: 600;
}

.fan-metric-divider {
 width: 1px;
 height: 28px;
 background: rgba(255, 255, 255, 0.12);
}

.fan-cta-btns {
 display: flex;
 justify-content: center;
 gap: 14px;
}

.btn-fan-launch {
 background: linear-gradient(135deg, #00e676 0%, #059669 100%);
 color: #042411;
 font-size: 15px;
 font-weight: 900;
 padding: 14px 30px;
 border-radius: var(--radius-lg);
 border: 0;
 cursor: pointer;
 box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
 transition: all 0.2s;
}

.btn-fan-launch:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 28px rgba(0, 230, 118, 0.55);
}

.btn-fan-pricing {
 background: rgba(255, 255, 255, 0.1);
 border: 1px solid rgba(255, 255, 255, 0.25);
 color: #ffffff;
 font-size: 14px;
 font-weight: 700;
 padding: 14px 24px;
 border-radius: var(--radius-lg);
 cursor: pointer;
 transition: all 0.2s;
}

.btn-fan-pricing:hover {
 background: rgba(255, 255, 255, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
 GENERATOR INFOGRAPHIC STUDIO & FORM STYLES
 ───────────────────────────────────────────────────────────────────────────── */

.highlight-card-retouch {
 border-color: #38bdf8;
 background: rgba(56, 189, 248, 0.05);
}

.highlight-card-infographic {
 border-color: #818cf8;
 background: rgba(99, 102, 241, 0.06);
}

.infographic-theme-picker {
 margin-top: 10px;
 padding: 10px 12px;
 background: rgba(0, 0, 0, 0.03);
 border-radius: var(--radius-md);
 border: 1px dashed var(--line);
}

.picker-label {
 font-size: 11px;
 font-weight: 700;
 color: var(--muted);
 margin-bottom: 8px;
 display: block;
}

.theme-options-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 8px;
}

.theme-chip-option {
 position: relative;
 cursor: pointer;
}

.theme-chip-option input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.chip-card {
 display: flex;
 align-items: center;
 gap: 6px;
 padding: 7px 10px;
 border-radius: var(--radius-sm);
 border: 1.5px solid var(--line);
 background: var(--card-bg);
 font-size: 12px;
 font-weight: 700;
 color: var(--ink);
 transition: all 0.15s;
}

.chip-blue { border-left: 4px solid #0284c7; }
.chip-purple { border-left: 4px solid #9333ea; }
.chip-warm { border-left: 4px solid #ea580c; }
.chip-clean { border-left: 4px solid #10b981; }

.theme-chip-option input:checked + .chip-card {
 border-color: var(--primary);
 background: var(--primary-subtle);
 box-shadow: 0 0 0 2px var(--primary-border);
}

/* AI Infographic Studio & Showcase */
.infographic-studio-wrap {
 display: flex;
 flex-direction: column;
 gap: 18px;
}

.info-toolbar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 12px;
 background: var(--card-bg);
 border: 1px solid var(--line);
 padding: 12px 18px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
}

.info-toolbar-title {
 display: flex;
 align-items: center;
 gap: 10px;
}

.info-toolbar-main {
 font-size: 14px;
 font-weight: 800;
 color: var(--ink);
}

.info-badge-ai {
 font-size: 11px;
 font-weight: 700;
 color: #4f46e5;
 background: rgba(99, 102, 241, 0.12);
 padding: 3px 9px;
 border-radius: var(--radius-full);
}

.info-toolbar-actions {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
}

.btn-download-infographic {
 background: linear-gradient(135deg, #10b981 0%, #059669 100%);
 color: #ffffff !important;
 border: 0;
 font-size: 13px;
 font-weight: 800;
 padding: 9px 18px;
 border-radius: var(--radius-md);
 cursor: pointer;
 box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
 display: inline-flex;
 align-items: center;
 gap: 6px;
 text-decoration: none;
}

.btn-download-infographic:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-action-outline {
 background: var(--card-bg);
 border: 1.5px solid var(--line);
 color: var(--ink);
 font-size: 12px;
 font-weight: 700;
 padding: 8px 14px;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: all 0.2s ease;
 display: inline-flex;
 align-items: center;
 gap: 5px;
 text-decoration: none;
}

.btn-action-outline:hover {
 border-color: var(--primary);
 color: var(--primary);
 background: var(--primary-subtle);
}

/* AI Infographic Card Frame */
.infographic-ai-card-frame {
 max-width: 580px;
 width: 100%;
 margin: 0 auto;
 border-radius: var(--radius-xl);
 overflow: hidden;
 background: var(--card-bg);
 border: 1px solid var(--line);
 box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
 transition: box-shadow 0.3s ease;
}

.infographic-ai-card-frame:hover {
 box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18);
}

.infographic-img-container {
 width: 100%;
 aspect-ratio: 1 / 1;
 background: transparent;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 position: relative;
}

.infographic-ai-img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 display: block;
 transition: transform 0.3s ease;
}

.infographic-card-meta-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 14px 18px;
 background: var(--surface);
 border-top: 1px solid var(--line);
 font-size: 12px;
 color: var(--ink-secondary);
 flex-wrap: wrap;
 gap: 8px;
}

.meta-item-left {
 display: flex;
 align-items: center;
 gap: 8px;
 font-weight: 600;
}

.meta-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: #10b981;
 box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
 flex-shrink: 0;
}

.meta-item-right {
 font-weight: 700;
 color: var(--muted);
 font-size: 11px;
}

/* Empty State / Not generated yet */
.infographic-empty-state {
 max-width: 540px;
 margin: 20px auto;
 padding: 40px 24px;
 background: var(--card-bg);
 border: 1.5px dashed var(--line);
 border-radius: var(--radius-xl);
 text-align: center;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 14px;
}

.infographic-empty-state .empty-state-icon {
 font-size: 48px;
 line-height: 1;
}

.infographic-empty-state h3 {
 font-size: 18px;
 font-weight: 800;
 color: var(--ink);
 margin: 0;
}

.infographic-empty-state p {
 font-size: 13px;
 color: var(--muted);
 max-width: 420px;
 margin: 0;
 line-height: 1.5;
}

.empty-state-preview {
 width: 140px;
 height: 140px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--line);
 box-shadow: var(--shadow-sm);
 margin: 6px 0;
}

.empty-state-preview img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

/* Catalog Card Badge */
.badge-infographic-card {
 position: absolute;
 top: 8px;
 left: 8px;
 background: rgba(99, 102, 241, 0.9);
 backdrop-filter: blur(6px);
 color: #ffffff;
 font-size: 10px;
 font-weight: 800;
 padding: 3px 8px;
 border-radius: var(--radius-full);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
 z-index: 3;
}

[data-theme="dark"] .infographic-card-meta-bar {
 background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .info-badge-ai {
 color: #a5b4fc;
 background: rgba(99, 102, 241, 0.25);
}

/* ─────────────────────────────────────────────────────────────────────────────
 DARK THEME OVERRIDES FOR NEW SECTIONS
 ───────────────────────────────────────────────────────────────────────────── */

[data-theme="dark"] .retouch-card {
 background: rgba(17, 24, 39, 0.92);
 border-color: rgba(255, 255, 255, 0.1);
 box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .retouch-preset-btn {
 background: #1e293b;
 border-color: #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .retouch-preset-btn:hover {
 background: #273549;
 color: #f8fafc;
}

[data-theme="dark"] .retouch-preset-btn.active {
 background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
 color: #ffffff;
}

[data-theme="dark"] .rf-icon {
 background: #1e293b;
}

[data-theme="dark"] .info-toolbar {
 background: #0f172a;
 border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .info-theme-btn {
 background: #1e293b;
 border-color: #334155;
 color: #cbd5e1;
}

[data-theme="dark"] .info-theme-btn.active {
 background: #6366f1;
 border-color: #6366f1;
 color: #ffffff;
}

[data-theme="dark"] .chip-card {
 background: #1e293b;
 border-color: #334155;
 color: #f8fafc;
}

/* Responsive adjustments */
@media (max-width: 980px) {
 .retouch-stage {
 grid-template-columns: 1fr;
 }
 .fan-cards-stage {
 flex-direction: column;
 perspective: none;
 gap: 20px;
 }
 .fan-card {
 transform: none !important;
 width: 100%;
 max-width: 340px;
 }
 .infocard-main-title {
 font-size: 34px;
 }
 .fan-metrics-row {
 flex-direction: column;
 gap: 12px;
 }
 .fan-metric-divider {
 display: none;
 }
 .fan-cta-btns {
 flex-direction: column;
 }
}

/* Site Footer */
.site-footer {
 margin-top: 60px;
 background: var(--card-bg);
 border-top: 1px solid var(--line);
 padding: 48px 0 24px;
}

.footer-container {
 max-width: 1400px;
 margin: 0 auto;
 padding: 0 24px;
}

.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
 gap: 36px;
 margin-bottom: 40px;
}

@media (max-width: 1024px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 gap: 28px;
 }
}

@media (max-width: 640px) {
 .footer-grid {
 grid-template-columns: 1fr;
 gap: 24px;
 }
}

.footer-brand {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 14px;
}

.footer-desc {
 font-size: 13.5px;
 line-height: 1.6;
 color: var(--muted);
 margin-bottom: 16px;
}

.footer-meta-pill {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: 12px;
 font-weight: 600;
 padding: 6px 12px;
 border-radius: var(--radius-full);
 background: var(--primary-subtle);
 color: var(--primary);
 border: 1px solid var(--primary-border);
}

.footer-heading {
 font-size: 15px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 16px;
 letter-spacing: -0.01em;
}

.footer-links {
 list-style: none;
 padding: 0;
 margin: 0;
 display: flex;
 flex-direction: column;
 gap: 10px;
}

.footer-link {
 font-size: 13.5px;
 color: var(--muted);
 text-decoration: none;
 transition: color 0.15s ease;
}

.footer-link:hover {
 color: var(--primary);
}

.footer-contact-item {
 font-size: 13.5px;
 color: var(--muted);
 display: flex;
 flex-direction: column;
 gap: 3px;
}

.footer-contact-item strong {
 color: var(--ink);
 font-size: 13px;
}

.footer-contact-link {
 color: var(--primary);
 text-decoration: none;
 font-weight: 600;
}

.footer-contact-link:hover {
 text-decoration: underline;
}

.footer-bottom {
 border-top: 1px solid var(--line);
 padding-top: 24px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
}

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

.footer-bottom-badges {
 display: flex;
 align-items: center;
 gap: 12px;
}

.badge-f-item {
 font-size: 12px;
 font-weight: 600;
 color: var(--muted);
 padding: 4px 10px;
 background: #f1f5f9;
 border-radius: var(--radius-full);
}

[data-theme="dark"] .badge-f-item {
 background: #1e293b;
 color: #94a3b8;
}


/* Modern Examples Cards Gallery (Matching 3D Fan Stage & Real Output) */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}

.example-card-modern {
  background: rgba(15, 23, 42, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.example-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.45);
}

[data-theme="light"] .example-card-modern {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .example-card-modern:hover {
  border-color: #6366f1;
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.18);
}

.example-card-modern .fan-card-media-box {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #070b14;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.example-card-modern .fan-ai-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.example-card-modern:hover .fan-ai-poster-img {
  transform: scale(1.03);
}

.example-card-modern .fan-card-bottom-info {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.example-card-modern .fan-info-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f8fafc;
  line-height: 1.25;
}

[data-theme="light"] .example-card-modern .fan-info-name {
  color: #0f172a;
}

.example-card-modern .fan-info-sub {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.35;
  font-weight: 500;
}

[data-theme="light"] .example-card-modern .fan-info-sub {
  color: #64748b;
}

.ex-benefits-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ex-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .ex-chip {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

.ex-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .ex-card-footer-row {
  border-top-color: #f1f5f9;
}

.ex-meta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ex-zoom {
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 8px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-ex-zoom:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-ex-zoom {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .btn-ex-zoom:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.btn-ex-try {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-ex-try:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

/* Card Format Selector */
.card-format-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 520px) {
  .card-format-selector {
    grid-template-columns: repeat(4, 1fr);
  }
}

.format-btn {
  background: var(--card-bg, #ffffff);
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink-secondary, #64748b);
  position: relative;
}

.format-btn:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: #a5b4fc;
  color: var(--ink, #0f172a);
  transform: translateY(-1px);
}

.format-btn.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: #6366f1;
  color: #4f46e5;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.format-btn .format-icon {
  font-size: 18px;
  color: #6366f1;
  margin-bottom: 2px;
}

.format-btn .fmt-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink, #0f172a);
}

.format-btn.active .fmt-title {
  color: #4f46e5;
}

.format-btn .fmt-sub {
  font-size: 10px;
  color: var(--muted, #94a3b8);
  line-height: 1.2;
}

[data-theme="dark"] .format-btn {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .format-btn:hover {
  background: #273549;
  border-color: #475569;
  color: #f1f5f9;
}

[data-theme="dark"] .format-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #a5b4fc;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

[data-theme="dark"] .format-btn .fmt-title {
  color: #f1f5f9;
}

[data-theme="dark"] .format-btn.active .fmt-title {
  color: #c7d2fe;
}

