:root {
    --bg-dark: #090d16;
    --bg-surface: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #8b5cf6;
    --accent-cyan: #06b6d4;
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;

    --color-fb: #1877f2;
    --color-ig: #e1306c;
    --color-li: #0a66c2;
    --color-x: #ffffff;
    --color-tg: #229ed9;
    --color-pin: #e60023;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

body.light-theme {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #f1f5f9;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-glow: rgba(99, 102, 241, 0.25);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #94a3b8;
    background-color: #f8fafc;
    color: #0f172a;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
}

body.light-theme .landing-nav,
body.light-theme .sidebar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .auth-modal-card,
body.light-theme .modal-card,
body.light-theme .feature-box,
body.light-theme .pricing-card,
body.light-theme .faq-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .auth-input-field {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}

body.light-theme .auth-input-field:focus {
    background: #ffffff;
}

body.light-theme .hero-title,
body.light-theme .landing-brand .logo-text h2,
body.light-theme .feature-box h3,
body.light-theme .faq-question {
    color: #0f172a;
}

body.light-theme .mockup-content-preview {
    background: #f1f5f9;
}

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 295px;
    min-width: 295px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 16px 12px 14px 12px;
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    z-index: 100;
    overflow: hidden;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-left: 6px;
    flex-shrink: 0;
}

.logo-icon-glow {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-text h2 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text h2 span {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Nav items */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-bottom: 10px;
}

/* Slim scrollbar for sidebar nav */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.5);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-item span {
    white-space: nowrap;
}

.nav-item .badge-tag {
    font-size: 9px;
    padding: 1.5px 5px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: translateX(3px);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    color: #fff;
    border: 1px solid var(--border-glow);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.counter-badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

/* Sidebar Footer */
.sidebar-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.system-status-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.server-time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 4px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 30px;
    max-width: 1600px;
    margin: 0 auto;
    width: calc(100% - 295px);
}

/* ==========================================
   Ultra-Sleek Dashboard Top Navbar
   ========================================== */
.top-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.top-navbar:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

/* Left Zone: Breadcrumb Trail & Subtitle */
.navbar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
}

.nav-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}

.nav-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 12px;
}

.nav-brand-tag i {
    color: var(--primary);
}

.nav-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

.nav-current-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.nav-subtitle {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.live-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
}

/* Right Zone: Controls Cluster */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}

/* Workspace Capsule */
.workspace-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 5px 10px;
    transition: var(--transition);
}

.workspace-capsule:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(30, 41, 59, 0.9);
}

.ws-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ws-select-wrap {
    display: flex;
    flex-direction: column;
}

.ws-tiny-label {
    font-size: 8.5px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.ws-select-input {
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    padding: 0;
    font-family: var(--font-sans);
}

.ws-select-input option {
    background: #0f172a;
    color: #fff;
}

.ws-btn-add {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    border-radius: 6px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10.5px;
    transition: var(--transition);
}

.ws-btn-add:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* Tools Group */
.navbar-tools-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
}

.btn-nav-tool {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-nav-tool:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-nav-tool.btn-nav-upgrade {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.btn-nav-tool.btn-nav-upgrade:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.3));
    color: #fff;
}

/* User Profile Capsule */
.user-profile-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-capsule:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
}

.capsule-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.capsule-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.capsule-user-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.capsule-caret {
    font-size: 10px;
    color: var(--text-dark);
    transition: var(--transition);
}

.user-profile-capsule:hover .capsule-caret {
    color: #fff;
    transform: translateY(1px);
}

/* Primary Blast Button */
.btn-primary-blast {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-primary-blast:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.6);
}

/* Light Theme Top Navbar Overrides */
body.light-theme .top-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

body.light-theme .nav-current-title {
    color: #0f172a;
}

body.light-theme .nav-sep {
    color: rgba(0, 0, 0, 0.2);
}

body.light-theme .workspace-capsule {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .ws-select-input {
    color: #0f172a;
}

body.light-theme .ws-select-input option {
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .navbar-tools-group {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .btn-nav-tool {
    color: #475569;
}

body.light-theme .btn-nav-tool:hover {
    background: #e2e8f0;
    color: #0f172a;
}

body.light-theme .user-profile-capsule {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .capsule-user-name {
    color: #0f172a;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Tabs */
.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

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

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

/* Composer Grid */
.composer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.composer-card, .preview-card, .card-pane {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-block {
    margin-bottom: 24px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

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

/* Platform Selectors */
.platform-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.platform-checkbox-card {
    position: relative;
    cursor: pointer;
}

.platform-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.platform-card-content {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.platform-card-content i {
    font-size: 24px;
}

.platform-checkbox-card input:checked + .platform-card-content {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.platform-info {
    display: flex;
    flex-direction: column;
}

.platform-info .name {
    font-size: 13.5px;
    font-weight: 700;
}

.status-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dark);
    margin-top: 3px;
}

.status-dot-sm.connected {
    background: var(--success);
    box-shadow: 0 0 5px var(--success);
}

/* Custom inputs & editor */
.custom-input, .custom-textarea, .custom-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.custom-input:focus, .custom-textarea:focus, .custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.optional-title-box {
    margin-bottom: 12px;
}

.editor-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.editor-wrapper .custom-textarea {
    border: none;
    background: transparent;
    resize: vertical;
    min-height: 120px;
}

.editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(30, 41, 59, 0.5);
    border-top: 1px solid var(--border-color);
}

.quick-helpers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
}

.tool-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.char-counters {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    background: rgba(15, 23, 42, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.upload-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.upload-text {
    font-size: 14px;
    color: var(--text-main);
}

.upload-text .highlight {
    color: var(--primary);
    font-weight: 700;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 4px;
}

.media-preview-list {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.media-preview-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.media-preview-item img, .media-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Post Mode & Scheduling */
.action-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.mode-radio-card {
    cursor: pointer;
}

.mode-radio-card input {
    display: none;
}

.mode-inner {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.mode-inner i {
    font-size: 22px;
}

.mode-inner strong {
    font-size: 14px;
    display: block;
}

.mode-inner p {
    font-size: 11.5px;
    color: var(--text-muted);
}

.mode-radio-card.active .mode-inner {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

.schedule-config-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.schedule-inputs-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.schedule-inputs-row .input-group {
    flex: 1;
}

.schedule-inputs-row label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
}

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

.preset-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.preset-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Blast Submit Button */
.btn-blast-action {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: var(--transition);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-blast-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6);
}

/* Preview Card & Social Mockups */
.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.preview-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-title-box h3 {
    font-size: 16px;
    font-weight: 700;
}

.preview-platform-tabs {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.8);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.prev-tab {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}

.prev-tab:hover {
    color: #fff;
}

.prev-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Mockup Base */
.mockup-card {
    display: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    animation: fadeIn 0.25s ease;
}

.mockup-card.active {
    display: block;
}

/* 1. Facebook Mockup Style */
.facebook-mockup {
    background: #242526;
    border: 1px solid #3a3b3c;
    color: #e4e6eb;
    padding: 16px;
}

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

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.fb-author {
    font-weight: 700;
    font-size: 14px;
}

.verify-badge {
    color: #1877f2;
    font-size: 12px;
    margin-left: 3px;
}

.fb-time {
    font-size: 12px;
    color: #b0b3b8;
}

.fb-more {
    margin-left: auto;
    color: #b0b3b8;
}

.fb-body-text {
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.fb-media-container img, .fb-media-container video {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.fb-reactions-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #b0b3b8;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3b3c;
    margin-bottom: 8px;
}

.fb-blue { color: #1877f2; }
.fb-red { color: #f02849; }

.fb-actions-bar {
    display: flex;
    justify-content: space-around;
    font-size: 13.5px;
    font-weight: 600;
    color: #b0b3b8;
    padding-top: 4px;
}

.fb-actions-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
}

/* 2. Instagram Mockup Style */
.instagram-mockup {
    background: #000;
    border: 1px solid #262626;
    color: #fff;
}

.ig-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.ig-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ig-avatar-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 2px;
}

.ig-avatar {
    width: 100%;
    height: 100%;
    background: #121212;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ig-username {
    font-weight: 700;
    font-size: 13.5px;
}

.ig-verify {
    color: #0095f6;
    font-size: 12px;
}

.ig-media-box {
    width: 100%;
    min-height: 260px;
    max-height: 360px;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ig-media-box img, .ig-media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-media-placeholder {
    color: #737373;
    text-align: center;
    padding: 20px;
}

.ig-media-placeholder i {
    font-size: 36px;
    margin-bottom: 8px;
}

.ig-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 20px;
}

.ig-action-left {
    display: flex;
    gap: 16px;
}

.ig-likes {
    padding: 0 14px;
    font-size: 13px;
    margin-bottom: 6px;
}

.ig-caption {
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 3. LinkedIn Mockup Style */
.linkedin-mockup {
    background: #1b1f23;
    border: 1px solid #2d3339;
    padding: 16px;
    color: #e1e9ee;
}

.li-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.li-avatar {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #0a66c2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.li-name {
    font-weight: 700;
    font-size: 14.5px;
}

.li-sub {
    font-size: 12px;
    color: #9da8b1;
}

.li-time {
    font-size: 11.5px;
    color: #9da8b1;
}

.li-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.li-media-container img, .li-media-container video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.li-reactions {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9da8b1;
    padding-bottom: 8px;
    border-bottom: 1px solid #2d3339;
    margin-bottom: 8px;
}

.li-action-bar {
    display: flex;
    justify-content: space-around;
    font-size: 13px;
    font-weight: 600;
    color: #9da8b1;
}

.li-action-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
}

/* 4. Twitter / X Mockup */
.twitter-mockup {
    background: #000;
    border: 1px solid #2f3336;
    padding: 16px;
    color: #e7e9ea;
}

.x-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.x-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-user-row {
    font-size: 14px;
}

.x-name {
    font-weight: 700;
    color: #fff;
}

.x-handle, .x-time, .x-dot {
    color: #71767b;
    margin-left: 4px;
}

.x-corner-logo {
    margin-left: auto;
    font-size: 18px;
    color: #71767b;
}

.x-text {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.x-media img, .x-media video {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.x-actions {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #71767b;
    padding-top: 8px;
    border-top: 1px solid #2f3336;
}

/* 5. Telegram Mockup */
.telegram-mockup {
    background: #17212b;
    border: 1px solid #242f3d;
    padding: 16px;
    color: #fff;
}

.tg-bubble {
    background: #242f3d;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.tg-channel-header {
    font-size: 13.5px;
    margin-bottom: 10px;
    color: #6ab2f2;
}

.tg-media-box img, .tg-media-box video {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tg-title-box {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #fff;
}

.tg-text {
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.tg-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 11px;
    color: #708499;
    margin-top: 8px;
}

/* Accounts Grid */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.account-config-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: relative;
    transition: var(--transition);
}

.account-config-card:hover {
    border-color: var(--border-glow);
}

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

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

.acc-brand-info i {
    font-size: 28px;
}

.acc-title h3 {
    font-size: 16px;
    font-weight: 700;
}

.acc-status-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.acc-status-tag.connected {
    background: var(--success-bg);
    color: var(--success);
}

.acc-status-tag.untested, .acc-status-tag.failed {
    background: var(--warning-bg);
    color: var(--warning);
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.acc-form-group {
    margin-bottom: 14px;
}

.acc-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.acc-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* History & Queue Lists */
.queue-list, .history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.history-item-card, .queue-item-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    transition: var(--transition);
}

.history-item-card:hover, .queue-item-card:hover {
    border-color: var(--border-glow);
}

.item-left-content {
    flex: 1;
}

.item-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.status-badge.published { background: var(--success-bg); color: var(--success); }
.status-badge.scheduled { background: var(--warning-bg); color: var(--warning); }
.status-badge.failed, .status-badge.partially_failed { background: var(--danger-bg); color: var(--danger); }
.status-badge.publishing { background: rgba(99, 102, 241, 0.2); color: #818cf8; }

.item-date {
    font-size: 12px;
    color: var(--text-dark);
}

.item-text {
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.item-platforms-icons {
    display: flex;
    gap: 8px;
}

.platform-mini-tag {
    font-size: 13px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-right-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

/* Setup Guide Accordion */
.guide-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.guide-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.guide-item-header {
    padding: 16px 20px;
    background: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid var(--border-color);
}

.guide-item-header h4 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-item-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.guide-item-body ol {
    padding-left: 20px;
}

.guide-item-body strong {
    color: var(--text-main);
}

.guide-item-body code {
    background: rgba(0, 0, 0, 0.4);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.guide-item-body a {
    color: var(--primary);
    text-decoration: underline;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.3s ease;
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.info { border-color: var(--info); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Utility Colors */
.text-fb { color: var(--color-fb); }
.text-ig { color: var(--color-ig); }
.text-li { color: var(--color-li); }
.text-x { color: var(--color-x); }
.text-tg { color: var(--color-tg); }
.text-pin { color: var(--color-pin); }
.text-primary { color: var(--primary); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* AI Assistant & Caption Generator Panel */
.ai-assistant-panel {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    animation: fadeIn 0.3s ease;
}

.ai-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

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

.ai-brand-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.ai-inputs-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ai-input-col-main {
    flex: 2;
    min-width: 220px;
}

.ai-input-col-opt {
    flex: 1;
    min-width: 160px;
}

.ai-quick-topics {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.chip-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
}

.topic-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 11.5px;
    padding: 3px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.topic-chip:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: #fff;
}

.ai-prompt-result-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px dashed var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 10px;
}

.prompt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12.5px;
}

.btn-copy-prompt {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--accent-cyan);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-copy-prompt:hover {
    background: #06b6d4;
    color: #000;
}

.prompt-text {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.45;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 10px;
    border-radius: 6px;
    font-family: var(--font-mono);
}

.prompt-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Nexora Viral Studio Styles */
.nexora-studio-pane {
    background: var(--bg-card);
}

.nexora-cat-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.cat-filter-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-filter-btn:hover, .cat-filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.nexora-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.nexora-post-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.nexora-post-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-card-top {
    margin-bottom: 14px;
}

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

.badge-day {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.badge-category {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.post-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.post-card-hook {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 12px;
}

.chatgpt-box-mini {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(6, 182, 212, 0.4);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 12px;
}

.chatgpt-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 4px;
}

.chatgpt-box-text {
    font-size: 11.5px;
    color: #94a3b8;
    font-family: var(--font-mono);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive adjustments */
@media (max-width: 1200px) {
    .composer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        width: 100%;
        padding: 16px;
    }
    .top-navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .accounts-grid, .nexora-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SaaS Multi-User, Auth & Pricing Styles
   ========================================= */

.user-profile-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.35);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.user-profile-capsule:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
}

.plan-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 9999px;
}
.plan-badge.starter { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.plan-badge.pro { background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(99, 102, 241, 0.3)); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.5); }
.plan-badge.agency { background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(239, 68, 68, 0.3)); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.5); }

/* Pricing Modal */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.pricing-card.popular {
    border-color: #8b5cf6;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}
.pricing-card .popular-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.pricing-price {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 12px 0 6px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.pricing-price span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12.5px;
    color: #cbd5e1;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li i {
    color: #10b981;
    font-size: 12px;
}

/* Enhanced Auth Modal Styles */
.auth-modal-card {
    max-width: 460px;
    width: 92%;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.auth-hero-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}

.auth-badge-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11.5px;
    color: #c7d2fe;
    margin-bottom: 20px;
    font-weight: 600;
    flex-wrap: wrap;
}

.auth-badge-strip span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.auth-nav-tabs {
    display: flex;
    gap: 6px;
    background: rgba(9, 13, 22, 0.9);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.auth-tab-btn {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.auth-input-group {
    position: relative;
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
    transition: var(--transition);
}

.auth-input-field {
    width: 100%;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    color: #fff;
    font-size: 13.5px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.auth-input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
    background: #0f172a;
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--primary);
}

.auth-password-toggle {
    position: absolute;
    right: 14px;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: var(--transition);
}

.auth-password-toggle:hover {
    color: #fff;
}

.btn-auth-submit {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.6);
}

.btn-demo-quick {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.btn-demo-quick:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
}

/* =========================================
   Commercial SaaS Landing Page Styles
   ========================================= */

.landing-page-layout {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* Landing Sticky Nav */
.landing-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(9, 13, 22, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 32px;
    width: 100%;
}

.landing-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    flex-shrink: 0;
}

.landing-brand .logo-icon-glow {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
    flex-shrink: 0;
}

.landing-brand .logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-brand .logo-text h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.landing-brand .logo-text h2 span {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 8px;
}

.landing-nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.landing-nav-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 10px;
    white-space: nowrap;
}

/* Hero Section */
.landing-hero {
    padding: 80px 24px 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.hero-title span {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 780px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.5);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.7);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-social-proof .stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Hero Showcase Mockup */
.hero-mockup-frame {
    margin: 50px auto 0 auto;
    max-width: 1050px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.2);
    position: relative;
}

.mockup-inner-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

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

.mockup-content-preview {
    padding: 24px;
    background: #090d16;
    border-radius: 0 0 10px 10px;
}

/* Features Grid */
.landing-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag-center h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 8px 0 12px 0;
}

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

@media (max-width: 900px) {
    .feature-cards-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .landing-nav-links { display: none; }
}

.feature-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.feature-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.feature-box p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.faq-answer {
    padding: 0 22px 18px 22px;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    display: none;
}

.faq-card.open .faq-answer {
    display: block;
}

/* CTA Footer Banner */
.cta-banner-wrapper {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin: 60px auto;
    max-width: 1100px;
}

.landing-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================
   Live FOMO Social Proof Floating Toast
   ========================================= */
.live-fomo-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.live-fomo-toast.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.fomo-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.fomo-body {
    flex: 1;
}

.fomo-text {
    font-size: 12.5px;
    color: #fff;
    line-height: 1.4;
}

.fomo-meta {
    font-size: 10.5px;
    color: #10b981;
    font-weight: 700;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================
   Interactive ROI Calculator
   ========================================= */
.roi-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 860px) {
    .roi-card { grid-template-columns: 1fr; }
}

.roi-slider-group {
    margin-bottom: 24px;
}

.roi-slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.roi-slider-value {
    color: #38bdf8;
    font-size: 15px;
    font-weight: 800;
}

.roi-range-input {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
}

.roi-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.roi-metric-box {
    background: rgba(9, 13, 22, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
}

.roi-metric-num {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}

.roi-metric-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* =========================================
   Comparison Matrix Table
   ========================================= */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.comparison-table th {
    padding: 18px 20px;
    background: rgba(30, 41, 59, 0.6);
    border-bottom: 1px solid var(--border-color);
    font-weight: 800;
    color: #fff;
}

.comparison-table th.highlight-col {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: #cbd5e1;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td.highlight-col {
    background: rgba(99, 102, 241, 0.08);
    font-weight: 700;
    color: #fff;
}

/* =========================================
   Wall of Love Testimonials
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.testimonial-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 13px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 14px;
}

.testimonial-info h4 {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.btn-theme-toggle:hover {
    color: #fff;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.15);
}

