:root {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: #e2e8f0;
    --border-glow: rgba(5, 150, 105, 0.15);
    
    --primary: #059669;
    --primary-hover: #047857;
    --primary-glow: rgba(5, 150, 105, 0.2);
    --accent: #10b981;
    --accent-cyan: #0284c7;
    --accent-purple: #7c3aed;
    --accent-indigo: #4f46e5;
    
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --info: #0284c7;
    --info-bg: #f0f9ff;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #64748b;
    --text-light: #94a3b8;

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

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 30px -4px rgba(0, 0, 0, 0.07), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, body.light-theme {
    background-color: #f8fafc;
    color: #0f172a;
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 12%, rgba(16, 185, 129, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 50% 30%, rgba(241, 245, 249, 0.6) 0%, transparent 100%);
}

/* Light Theme Foundations (Easy.tools Framework) */
.landing-nav,
.sidebar {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

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

.landing-nav-links a:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.auth-modal-card,
.modal-card,
.feature-box,
.pricing-card,
.faq-card,
.channel-card-modern,
.agency-pillar-card,
.testimonial-card,
.roi-card,
.feature-mockup-card,
.comparison-table-wrapper {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
}

.assurance-item {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hero-title,
.landing-brand .logo-text h2,
.feature-box h3,
.spotlight-text h2,
.agency-pillar-card h3,
.channel-card-modern h4,
.section-tag-center h2,
.faq-question,
.mockup-header-bar,
.testimonial-info h4 {
    color: #0f172a;
}

.spotlight-checklist .check-item,
.spotlight-checklist .check-item span {
    color: #334155;
}

.hero-subtitle,
.spotlight-text p,
.agency-pillar-card p,
.faq-answer,
.testimonial-quote {
    color: #475569;
}

.cal-day-slot,
.metric-meter-row,
.inbox-item-row,
.ai-prompt-box,
.mockup-stat-mini,
.roi-metric-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.cal-day-slot.active {
    background: #eff6ff;
    border-color: rgba(79, 70, 229, 0.3);
}

.cal-day-slot .slot-title,
.metric-info strong,
.inbox-name {
    color: #0f172a;
}

.mockup-inner-bar {
    background: #f8fafc;
    border-color: #e2e8f0;
}

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

.mockup-card-left,
.mockup-card-right {
    background: #ffffff;
    border-color: #e2e8f0;
}

.auth-input-field {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.auth-input-field:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

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

/* Sidebar */
.sidebar {
    width: 295px;
    min-width: 295px;
    background: #ffffff;
    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;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.02);
}

.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: 12px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1.5px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
    overflow: hidden;
    padding: 5px;
    flex-shrink: 0;
}

.logo-icon-glow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text h2 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.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: #eff6ff;
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 2px 7px;
    border-radius: 6px;
    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: #cbd5e1;
    border-radius: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 13.5px;
    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 6px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-item:hover {
    background: #f1f5f9;
    color: var(--text-main);
    transform: translateX(2px);
}

.nav-item.active {
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
    font-weight: 700;
}

.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: #f8fafc;
    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(5, 150, 105, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 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 (Easy.tools)
   ========================================== */
.top-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.top-navbar:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

/* 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: #cbd5e1;
    font-size: 11px;
}

.nav-current-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    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: var(--success);
    box-shadow: 0 0 6px var(--success);
    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: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 5px 10px;
    transition: var(--transition);
}

.workspace-capsule:hover {
    border-color: var(--primary);
    background: #ffffff;
}

.ws-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.12);
    color: var(--accent-cyan);
    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: var(--accent-cyan);
    letter-spacing: 0.5px;
}

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

.ws-select-input option {
    background: #ffffff;
    color: var(--text-main);
}

.ws-btn-add {
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--accent-cyan);
    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: var(--accent-cyan);
    color: #ffffff;
}

/* Tools Group */
.navbar-tools-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    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: #ffffff;
    color: var(--text-main);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-nav-tool.btn-nav-upgrade {
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}

.btn-nav-tool.btn-nav-upgrade:hover {
    background: #fef3c7;
    color: #b45309;
}

/* User Profile Capsule */
.user-profile-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 4px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-capsule:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.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;
    font-weight: 700;
}

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

.capsule-user-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    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: var(--text-main);
    transform: translateY(1px);
}

/* Primary Blast Button */
.btn-primary-blast {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    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 14px rgba(79, 70, 229, 0.35);
    transition: var(--transition);
    font-family: var(--font-sans);
}

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

/* 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); }
}

/* Onboarding Banner & Steps (Light SaaS Design) */
.saas-onboarding-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border: 1.5px solid #a7f3d0 !important;
    border-radius: var(--radius-md) !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08) !important;
}

.onboarding-step-pill {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.onboarding-step-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.onboarding-step-pill.completed {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
}

.onboarding-step-pill.active {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}

/* 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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
}

.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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

.platform-checkbox-card input:checked + .platform-card-content {
    background: #eff6ff;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 2px 8px rgba(79, 70, 229, 0.12);
}

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

.platform-info .name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
}

.status-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    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: #ffffff;
    border: 1px solid #cbd5e1;
    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);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.custom-input:focus, .custom-textarea:focus, .custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

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

.editor-wrapper {
    position: relative;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

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

.editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

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

.tool-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.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 #cbd5e1;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

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

.upload-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    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-muted);
    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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

.mode-inner strong {
    font-size: 14px;
    display: block;
    color: var(--text-main);
}

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

.mode-radio-card.active .mode-inner {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 0 0 1px var(--primary), 0 2px 8px rgba(79, 70, 229, 0.12);
}

.schedule-config-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    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: #ffffff;
    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;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

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

/* 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 4px 16px rgba(79, 70, 229, 0.35);
    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 8px 24px rgba(124, 58, 237, 0.45);
}

/* 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;
    color: var(--text-main);
}

.preview-platform-tabs {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    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: var(--text-main);
    background: #e2e8f0;
}

.prev-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px 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: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.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;
    color: var(--text-primary);
}

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

.fb-time {
    font-size: 12px;
    color: var(--text-muted);
}

.fb-more {
    margin-left: auto;
    color: var(--text-muted);
}

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

.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: var(--text-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    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: var(--text-muted);
    padding-top: 4px;
}

.fb-actions-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.fb-actions-bar span:hover {
    background: var(--bg-surface-2);
    color: var(--text-primary);
}

/* 2. Instagram Mockup Style */
.instagram-mockup {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.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: var(--bg-surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-primary);
}

.ig-username {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-primary);
}

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

.ig-media-box {
    width: 100%;
    min-height: 260px;
    max-height: 360px;
    background: var(--bg-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.ig-media-placeholder {
    color: var(--text-muted);
    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;
    color: var(--text-primary);
}

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

.ig-likes {
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

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

/* 3. LinkedIn Mockup Style */
.linkedin-mockup {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.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;
    color: var(--text-primary);
}

.li-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.li-time {
    font-size: 11.5px;
    color: var(--text-muted);
}

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

.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: var(--text-muted);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.li-action-bar {
    display: flex;
    justify-content: space-around;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

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

.li-action-bar span:hover {
    background: var(--bg-surface-2);
    color: var(--text-primary);
}

/* 4. Twitter / X Mockup */
.twitter-mockup {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.x-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

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

.x-name {
    font-weight: 700;
    color: var(--text-primary);
}

.x-handle, .x-time, .x-dot {
    color: var(--text-muted);
    margin-left: 4px;
}

.x-corner-logo {
    margin-left: auto;
    font-size: 18px;
    color: var(--text-primary);
}

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

.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: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

/* 5. Telegram Mockup */
.telegram-mockup {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    padding: 16px;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tg-bubble {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tg-channel-header {
    font-size: 13.5px;
    margin-bottom: 10px;
    color: #0284c7;
    font-weight: 700;
}

.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: var(--text-primary);
}

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

.tg-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-config-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.account-config-card.is-connected {
    border-color: #10b981;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.5) 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.account-config-card.is-connected:hover {
    border-color: #059669;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.16);
}

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

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

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

.acc-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.account-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}

.account-status-pill.connected {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.account-status-pill.disconnected {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.connected-profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.connected-profile-chip img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #10b981;
}

.connected-profile-info {
    flex: 1;
    min-width: 0;
}

.connected-profile-name {
    font-weight: 700;
    font-size: 13.5px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.connected-profile-handle {
    font-size: 11.5px;
    color: #059669;
    font-weight: 600;
}

.btn-oauth-connect-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-oauth-connect-brand:hover {
    opacity: 0.93;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.btn-account-disconnect {
    background: #fff;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-account-disconnect:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.acc-manual-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.acc-manual-toggle-btn:hover {
    color: var(--primary);
}

.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: #cbd5e1;
    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%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: #10b981;
}

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: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

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

.history-item-card, .queue-item-card {
    background: #ffffff;
    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);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.history-item-card:hover, .queue-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.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: #eff6ff; color: var(--primary); }

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

.item-text {
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 12px;
    color: var(--text-main);
}

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

.platform-mini-tag {
    font-size: 13px;
    padding: 4px 8px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.guide-item-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.guide-item-header h4 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.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: #f1f5f9;
    color: var(--primary);
    border: 1px solid #e2e8f0;
    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(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    color: var(--text-main);
}

.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;
}

.modal-close:hover {
    color: var(--text-main);
}

/* 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: #ffffff;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    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;
    color: var(--text-main);
}

.ai-brand-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: #fffbeb;
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.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: #f1f5f9;
    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: #eff6ff;
    border-color: var(--primary);
    color: var(--primary);
}

.ai-prompt-result-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    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(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: var(--accent-cyan);
    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: var(--accent-cyan);
    color: #ffffff;
}

.prompt-text {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.45;
    background: #ffffff;
    border: 1px solid var(--border-color);
    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 & 30-DAY PLANNER (PROFESSIONAL SAAS UI)
   ============================================================ */
.nexora-studio-pane {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nexora-cat-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 24px 0;
}

.cat-filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cat-filter-btn:hover {
    color: var(--text-main);
    border-color: var(--primary);
    background: #f8fafc;
}

.cat-filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.nexora-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.nexora-viral-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    gap: 18px;
    min-height: 420px;
}

.nexora-viral-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #7c3aed);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nexora-viral-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.nexora-viral-card:hover::before {
    opacity: 1;
}

.nexora-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nexora-badge-day {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.nexora-badge-cat {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--accent-cyan);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nexora-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.nexora-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
}

.nexora-card-hook {
    background: #f0fdf4;
    border-left: 3.5px solid #10b981;
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
    color: #166534;
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;
}

.nexora-prompt-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nexora-prompt-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.nexora-prompt-copy-btn {
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nexora-prompt-copy-btn:hover {
    background: var(--accent-cyan);
    color: #ffffff;
}

.nexora-prompt-text {
    font-size: 12px;
    color: #475569;
    font-family: var(--font-mono);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nexora-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.nexora-card-footer .btn-load {
    flex: 1;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.nexora-card-footer .btn-load:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.nexora-card-footer .btn-autogen {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.nexora-card-footer .btn-autogen:hover {
    background: linear-gradient(135deg, #0369a1, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.nexora-card-footer .btn-copy-cap {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nexora-card-footer .btn-copy-cap:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: #cbd5e1;
}

.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: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.user-profile-capsule:hover {
    background: #f8fafc;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.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.15); color: #0284c7; border: 1px solid rgba(56, 189, 248, 0.4); }
.plan-badge.pro { background: #eff6ff; color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.3); }
.plan-badge.agency { background: #fffbeb; color: #d97706; border: 1px solid rgba(245, 158, 11, 0.4); }

/* 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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
    box-shadow: 0 0 0 1px var(--primary), 0 10px 30px rgba(79, 70, 229, 0.1);
}
.pricing-card .popular-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    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: var(--text-main);
    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: #334155;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li i {
    color: var(--success);
    font-size: 12px;
}

/* Enhanced Auth Modal Styles */
.auth-modal-card {
    max-width: 460px;
    width: 92%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
}

.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: #eff6ff;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11.5px;
    color: var(--primary);
    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: #f1f5f9;
    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: #ffffff;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

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

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

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

.auth-input-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    color: var(--text-main);
    font-size: 13.5px;
    font-family: var(--font-sans);
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.auth-input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

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

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

.auth-password-toggle:hover {
    color: var(--text-main);
}

.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, #4f46e5, #7c3aed);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.5);
}

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

.btn-demo-quick:hover {
    background: #eff6ff;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-google-auth {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.btn-google-auth svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 14px 0 16px 0;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 10px;
    color: #94a3b8;
}

/* ============================================================
   SPLIT-SCREEN AUTH MODAL (Exact Style of app.someposter.ai)
   ============================================================ */

.auth-split-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    min-height: 580px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 50;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.split-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Left Form Column */
.auth-form-side {
    flex: 1.15;
    padding: 36px 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 85vh;
    overflow-y: auto;
}

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

.auth-main-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 4px 0;
}

.auth-main-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

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

.someposter-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: var(--transition);
}

.someposter-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

/* Terms Notice & Agreement Box */
.terms-container-box {
    margin: 12px 0 8px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.terms-headline {
    font-size: 11.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.terms-scroll-area {
    font-size: 10.5px;
    color: #64748b;
    max-height: 52px;
    overflow-y: auto;
    line-height: 1.4;
    padding-right: 4px;
}

.terms-scroll-hint {
    font-size: 9.5px;
    font-style: italic;
    color: #94a3b8;
    margin-top: 4px;
    text-align: right;
}

.terms-check-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    color: #475569;
    margin: 8px 0 10px 0;
    cursor: pointer;
    line-height: 1.4;
}

.terms-check-label input {
    margin-top: 2px;
    accent-color: #ec4899;
}

/* reCAPTCHA Card (Matching SomePoster screenshot) */
.recaptcha-badge-card {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    cursor: pointer;
    user-select: none;
}

.recaptcha-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recaptcha-check-input {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    cursor: pointer;
}

.recaptcha-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.recaptcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.recaptcha-logo-icon {
    font-size: 18px;
    color: #3b82f6;
}

.recaptcha-text {
    font-size: 9px;
    color: #6b7280;
    line-height: 1.1;
    margin-top: 2px;
}

.recaptcha-text span {
    font-size: 8px;
    color: #9ca3af;
}

/* Vibrant Action Button */
.btn-someposter-action {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #e11d48, #ec4899, #8b5cf6);
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
    transition: var(--transition);
}

.btn-someposter-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(236, 72, 153, 0.55);
}

.auth-footer-link {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 14px;
}

.auth-footer-link a, .forgot-link {
    color: #ec4899;
    font-weight: 700;
    text-decoration: none;
}

/* Right Hero Gradient Side */
.auth-hero-side {
    flex: 1;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 45%, #9333ea 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.auth-hero-side::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -50px;
}

.hero-poster-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 14px 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-poster-subtitle {
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}

.hero-floating-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pill-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* OTP 6-Digit Verification Inputs */
.otp-header-box {
    text-align: center;
    margin-bottom: 20px;
}
.otp-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 20px 0;
}
.otp-digit-box {
    width: 44px;
    height: 52px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    color: #0f172a;
    outline: none;
    transition: var(--transition);
}
.otp-digit-box:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

/* ============================================================
   1-CLICK OAUTH SOCIAL PAGE CONNECT MODAL (Facebook Dialog UI)
   ============================================================ */

.oauth-dialog-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.25s ease;
}

.oauth-dialog-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.oauth-dialog-brands {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oauth-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oauth-user-profile-badge {
    position: relative;
    display: flex;
    align-items: center;
}

.oauth-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #0668e1;
}

.oauth-avatar-subicon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #0668e1;
    color: #fff;
    font-size: 9px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}

.oauth-dialog-body {
    padding: 24px 24px 20px 24px;
}

.oauth-dialog-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.oauth-dialog-subtitle {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 16px 0;
}

.oauth-pages-selection-container {
    margin-bottom: 18px;
}

.oauth-pages-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.oauth-pages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.oauth-page-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.oauth-page-item:hover, .oauth-page-item.selected {
    background: #eff6ff;
    border-color: #3b82f6;
}

.oauth-page-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oauth-page-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.oauth-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    margin-top: 14px;
}

.btn-oauth-cancel {
    padding: 10px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.btn-oauth-cancel:hover {
    background: #e2e8f0;
}

.btn-oauth-continue {
    padding: 10px;
    border-radius: 8px;
    background: #1877f2;
    border: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-oauth-continue:hover {
    background: #0d6efd;
}

.oauth-dialog-footer {
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 16px;
}

.oauth-dialog-footer a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .auth-split-modal-card {
        flex-direction: column;
        max-width: 95%;
    }
    .auth-hero-side {
        display: none;
    }
    .auth-form-side {
        padding: 24px 20px;
    }
}

/* =========================================
   Commercial SaaS Landing Page Styles (Easy.tools)
   ========================================= */

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

/* Landing Sticky Nav */
.landing-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 32px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.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: 12px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1.5px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
    overflow: hidden;
    padding: 5px;
    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: var(--text-main);
    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: var(--text-main);
    background: #f1f5f9;
}

.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: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 9999px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(135deg, #059669 0%, #0284c7 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17.5px;
    color: var(--text-muted);
    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, #059669 0%, #047857 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 34px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.45);
}

.btn-hero-secondary {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary:hover {
    background: #f8fafc;
    border-color: #059669;
    color: #059669;
    transform: translateY(-2px);
}

/* Turrboo Assurance Bar */
.hero-assurance-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 8px;
}

.assurance-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 16px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.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: #f59e0b;
    letter-spacing: 2px;
}

/* Hero Showcase Mockup */
.hero-mockup-frame {
    margin: 40px auto 0 auto;
    max-width: 1100px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.06), 0 0 40px rgba(5, 150, 105, 0.04);
    position: relative;
}

.mockup-inner-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    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: #ffffff;
    border-radius: 0 0 10px 10px;
}

.mockup-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    text-align: left;
}

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

.mockup-card-left,
.mockup-card-right {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.mockup-stat-mini {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.mockup-stat-mini .stat-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-main);
}

.mockup-stat-mini .stat-lbl {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* 9 Channel Spotlight Grid */
.channel-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 14px;
}

.channel-card-modern {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.channel-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.1);
}

.channel-icon-lg {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px auto;
}

.channel-card-modern h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.channel-sub {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

/* Turrboo Spotlight Feature Rows */
.spotlight-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.spotlight-row.reversed {
    grid-template-columns: 1fr 1.1fr;
}

.spotlight-row.reversed .spotlight-text {
    order: 2;
}

.spotlight-row.reversed .spotlight-visual {
    order: 1;
}

@media (max-width: 960px) {
    .spotlight-row,
    .spotlight-row.reversed {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .spotlight-row.reversed .spotlight-text { order: 1; }
    .spotlight-row.reversed .spotlight-visual { order: 2; }
}

.spotlight-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
    margin: 14px 0;
    line-height: 1.25;
}

.spotlight-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.spotlight-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 22px 0;
}

.spotlight-checklist .check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.spotlight-checklist .check-item:hover {
    transform: translateX(4px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.check-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.check-item-content {
    flex: 1;
    text-align: left;
}

.check-item-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-item-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

.spotlight-stat-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
    margin-bottom: 18px;
}

.spotlight-stat-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Feature Mockup Card Containers */
.feature-mockup-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.mockup-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
}

/* Spotlight Mockup Sub-elements */
.calendar-preview-mockup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cal-day-slot {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    transition: var(--transition);
}

.cal-day-slot.active {
    border-color: rgba(79, 70, 229, 0.4);
    background: #eff6ff;
}

.slot-time {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.slot-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.slot-tags {
    display: flex;
    gap: 6px;
}

.slot-tags span {
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.tag-ig { background: rgba(225, 48, 108, 0.15); color: #e1306c; }
.tag-yt { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.tag-li { background: rgba(10, 102, 194, 0.15); color: #0a66c2; }
.tag-tt { background: rgba(6, 182, 212, 0.15); color: #0284c7; }

.analytics-preview-mockup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-meter-row {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.metric-info span { color: var(--text-muted); }
.metric-info strong { color: var(--text-main); font-size: 15px; }

.progress-bar-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
}

.inbox-preview-mockup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inbox-item-row {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 12px;
}

.inbox-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.inbox-details {
    flex: 1;
}

.inbox-name {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.inbox-time {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 6px;
}

.inbox-msg {
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 8px;
}

.inbox-ai-action {
    background: #fffbeb;
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11.5px;
    color: #b45309;
    line-height: 1.4;
}

.ai-preview-mockup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-prompt-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.ai-badge {
    font-weight: 800;
    color: var(--accent);
}

.ai-result-box {
    background: #faf5ff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    padding: 14px;
}

.ai-res-header {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.ai-res-body {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
}

/* Agency Pillars Section */
.agency-pillars-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 4px 25px rgba(5, 150, 105, 0.04);
    padding: 60px 32px;
    margin: 40px auto;
}

/* Agency Pillars Grid */
.agency-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.agency-pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.agency-pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.agency-pillar-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.agency-pillar-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 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;
    color: var(--text-main);
}

.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: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.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: var(--text-main);
}

.feature-box p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.faq-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

.faq-answer {
    padding: 0 22px 18px 22px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

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

/* CTA Footer Banner */
.cta-banner-wrapper {
    background: linear-gradient(135deg, #059669 0%, #0284c7 50%, #4f46e5 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 60px 36px;
    text-align: center;
    margin: 60px auto 40px auto;
    max-width: 1100px;
    box-shadow: 0 20px 50px rgba(5, 150, 105, 0.2), 0 10px 25px rgba(2, 132, 199, 0.15);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.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;
    background: #ffffff;
}

/* =========================================
   Live FOMO Social Proof Floating Toast
   ========================================= */
.live-fomo-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    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, #4f46e5, #0284c7);
    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: var(--text-main);
    line-height: 1.4;
}

.fomo-meta {
    font-size: 10.5px;
    color: var(--success);
    font-weight: 700;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================
   Interactive ROI Calculator
   ========================================= */
.roi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    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: var(--primary);
    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: #f8fafc;
    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: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.comparison-table th {
    padding: 18px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    font-weight: 800;
    color: var(--text-main);
}

.comparison-table th.highlight-col {
    background: #eff6ff;
    color: var(--primary);
}

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

.comparison-table tr:hover td {
    background: #f8fafc;
}

.comparison-table td.highlight-col {
    background: #f8fafc;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   Wall of Love Testimonials (Infinite Sliding Marquee & Carousel)
   ========================================= */
.testimonials-section-wrap {
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
    z-index: 5;
}

.btn-testimonial-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.btn-testimonial-nav:hover {
    background: #ecfdf5;
    border-color: #10b981;
    color: #059669;
    transform: scale(1.08);
}

.testimonial-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
}

.testimonials-marquee-container {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    padding: 10px 0;
    margin-bottom: 20px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    scroll-behavior: smooth;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 42s linear infinite;
    will-change: transform;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-track.track-reverse {
    animation: marqueeScrollReverse 42s linear infinite;
}

.testimonials-track.track-reverse:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testimonial-card-slide {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 10px 24px -6px rgba(16, 185, 129, 0.05);
    transition: var(--transition);
    user-select: none;
}

.testimonial-card-slide:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

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

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card-slide { width: 300px; min-width: 300px; padding: 20px; }
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

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

.testimonial-quote {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 18px;
    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: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

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

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

.btn-theme-toggle:hover {
    color: var(--text-main);
    background: #f1f5f9;
}

/* =========================================
   High-Converting Problem vs Solution Split
   ========================================= */
.pain-gain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 36px;
}

@media (max-width: 960px) {
    .pain-gain-grid {
        grid-template-columns: 1fr;
    }
}

.pain-card-box {
    background: linear-gradient(160deg, #fff5f5, #ffffff);
    border: 1.5px solid #fecaca;
    border-radius: 20px;
    padding: 28px;
    position: relative;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.06);
}

.gain-card-box {
    background: linear-gradient(160deg, #f0fdf4, #ffffff);
    border: 1.5px solid #bbf7d0;
    border-radius: 20px;
    padding: 28px;
    position: relative;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.08);
}

.pain-gain-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.pain-gain-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pain-list, .gain-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-item, .gain-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
}

.pain-item i {
    color: #dc2626;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.gain-item i {
    color: #059669;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.gain-item strong {
    color: #0f172a;
}

.pain-item strong {
    color: #dc2626;
}

.stat-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.stat-pill {
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   GLOBAL PROFESSIONAL POLISH & CUSTOM SCROLLBARS
   ============================================================ */

/* Global Smooth Light Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Base Card Pane Modern Glass Styling */
.card-pane {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
    transition: var(--transition);
}

.card-pane:hover {
    border-color: #cbd5e1;
}

/* Pane Header Group */
.pane-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pane-title-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pane-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.pane-icon-badge.cyan-badge {
    background: rgba(2, 132, 199, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.pane-title-group h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.25;
}

.pane-title-group .subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 6px 0 0 0;
    line-height: 1.5;
}

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

/* Glass & Glow Buttons */
.btn-outline-glass {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-outline-glass:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-gradient-glow {
    background: linear-gradient(135deg, #0284c7, #4f46e5);
    border: none;
    color: #fff;
    height: 42px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: var(--transition);
}

.btn-gradient-glow:hover {
    background: linear-gradient(135deg, #0369a1, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

/* ============================================================
   AUTOPILOT SETUP BOX & FORM CONTROLS
   ============================================================ */

.autopilot-setup-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 34px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.autopilot-setup-box:hover {
    border-color: #cbd5e1;
}

.setup-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

@media (max-width: 960px) {
    .setup-form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.field-label i {
    color: var(--accent-cyan);
    font-size: 13px;
}

.custom-input-pro {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    height: 48px;
    padding: 12px 18px;
    color: var(--text-main);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.custom-input-pro:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

/* Custom Switch Toggle for Visual Generation */
.custom-switch-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    height: 48px;
    padding: 0 16px;
    transition: var(--transition);
}

.custom-switch-label:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.custom-switch-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.custom-switch-label .switch-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.setup-action-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.btn-hero-action {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    border: none;
    color: #fff;
    height: 48px;
    padding: 0 30px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: var(--transition);
}

.btn-hero-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
}

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

/* ============================================================
   AUTOPILOT CARDS GRID & CARDS DESIGN
   ============================================================ */

.autopilot-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.autopilot-plan-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    min-height: 410px;
    gap: 16px;
}

.autopilot-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #4f46e5);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.autopilot-plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.autopilot-plan-card:hover::before {
    opacity: 1;
}

/* Card Header Badges */
.post-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
}

.badge-day-pill {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.badge-slot-pill {
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #d97706;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Card Content Typography */
.post-card-title-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
    margin-bottom: 10px;
}

.post-card-hook-callout {
    font-size: 12.5px;
    color: #0369a1;
    font-style: italic;
    background: #f0f9ff;
    border-left: 3.5px solid #0284c7;
    padding: 10px 14px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 14px;
    line-height: 1.55;
}

.post-card-preview-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.65;
    color: #334155;
    max-height: 125px;
    overflow-y: auto;
    margin-bottom: 16px;
    white-space: pre-wrap;
    font-family: var(--font-sans);
}

/* Card Action Button */
.btn-card-load {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    height: 44px;
    padding: 0 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transition: var(--transition);
}

.btn-card-load:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ============================================================
   ANALYTICS KPI METRICS & PERFORMANCE HUB
   ============================================================ */

.pane-icon-badge.green-badge {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #0284c7);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
}

.stat-info p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

/* Analytics Platform Breakdown List */
.platform-row-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}

.platform-row-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* Algorithmic Peak Hours */
.peak-slot-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: var(--transition);
}

.peak-slot-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* Payment Gateway Selector Cards */
.payment-method-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.payment-method-card:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.payment-method-card.active {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-method-card div {
    color: var(--text-main);
}

/* ============================================================
   SOMPOSTER-STYLE SPLIT-SCREEN AUTHENTICATION MODAL
   ============================================================ */

.auth-split-modal-card {
    display: flex;
    flex-direction: row;
    max-width: 980px;
    width: 95%;
    max-height: 90vh;
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Left Form Side */
.auth-form-side {
    flex: 1.25;
    padding: 36px 40px;
    overflow-y: auto;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    flex-direction: column;
}

.auth-form-side::-webkit-scrollbar {
    width: 6px;
}

.auth-form-side::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.auth-form-header {
    margin-bottom: 6px;
}

/* Right Vibrant Hero Side (Exact SomePoster Gradient & Typography) */
.auth-hero-side {
    flex: 0.95;
    background: linear-gradient(135deg, #FF4040 0%, #A04DDD 45%, #6B2DBD 70%);
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.auth-hero-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.auth-hero-side::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.auth-hero-content {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.hero-headline {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-subheadline {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
}

/* Terms Scroll Container (Exact 72px SomePoster Style) */
.terms-container-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    height: 72px;
    max-height: 72px;
    min-height: 72px;
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.5;
    color: #475569;
    margin: 4px 0;
}

.terms-container-box::-webkit-scrollbar {
    width: 4px;
}

.terms-container-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* SomePoster Action Button (Brand Pink #EA2386) */
.btn-someposter-action {
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    border: none;
    cursor: pointer;
    background: #EA2386;
    box-shadow: 0 4px 14px rgba(234, 35, 134, 0.3);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-someposter-action:hover {
    background: #d91f72;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(234, 35, 134, 0.45);
}

.btn-someposter-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 6-Digit OTP Boxes */
.otp-inputs-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
}

.otp-digit-box {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
    font-family: var(--font-mono);
}

.otp-digit-box:focus {
    border-color: #ec4899;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.2);
    outline: none;
    transform: translateY(-2px);
}

/* ============================================================
   1-CLICK OAUTH CONNECT PAGE MODAL (FACEBOOK / META STYLE)
   ============================================================ */

.oauth-dialog-card {
    max-width: 490px;
    width: 92%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
    animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.oauth-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    border-bottom: 2px solid #1877F2;
    background: #ffffff;
}

.oauth-brand-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oauth-icon-bubble {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.oauth-icon-bubble.meta-bubble {
    background: #1877F2;
}

.oauth-icon-bubble.app-bubble {
    background: linear-gradient(135deg, #ff2a70, #9333ea);
}

.oauth-sync-arrow {
    color: #94a3b8;
    font-size: 13px;
}

.oauth-user-profile-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 3px 8px 3px 4px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}

.oauth-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.oauth-dialog-body {
    padding: 26px 24px 22px 24px;
    text-align: center;
}

.oauth-dialog-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}

.oauth-dialog-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.oauth-pages-selection-box {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
}

.oauth-section-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oauth-actions-row {
    display: flex;
    gap: 12px;
}

.btn-oauth-cancel {
    flex: 1;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-oauth-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-oauth-continue {
    flex: 1.5;
    padding: 11px 16px;
    border-radius: 8px;
    border: none;
    background: #1877F2;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.btn-oauth-continue:hover {
    background: #166fe5;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
    transform: translateY(-1px);
}

.oauth-switch-account-row {
    margin-top: 18px;
    font-size: 12px;
    color: #64748b;
}

.oauth-switch-link {
    color: #1877F2;
    text-decoration: none;
    font-weight: 600;
}

.oauth-switch-link:hover {
    text-decoration: underline;
}

/* Top progress bar */
.oauth-progress-track {
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    overflow: hidden;
}

.oauth-progress-fill {
    height: 100%;
    background: #1877F2;
    transition: width 0.3s ease;
}

/* Radio Group Selection Cards */
.oauth-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.oauth-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.oauth-radio-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.oauth-radio-card.active {
    border-color: #1877F2;
    background: #eff6ff;
}

.oauth-radio-card input[type="radio"] {
    margin-top: 3px;
    accent-color: #1877F2;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.oauth-radio-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oauth-radio-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.oauth-radio-text span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
}

/* Assets Box & List */
.oauth-assets-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    text-align: left;
}

.oauth-assets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.oauth-select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

.oauth-select-all-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1877F2;
}

.oauth-selected-counter {
    font-size: 11.5px;
    font-weight: 700;
    color: #1877F2;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 6px;
}

.oauth-assets-list {
    max-height: 160px;
    overflow-y: auto;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oauth-asset-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.oauth-asset-item:hover {
    background: #f1f5f9;
}

.oauth-asset-item.active {
    background: #e7f3ff;
    border-color: #93c5fd;
}

.oauth-asset-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1877F2;
    cursor: pointer;
}

.oauth-asset-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.oauth-biz-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 14px;
}

.oauth-asset-info {
    flex: 1;
}

.oauth-asset-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.oauth-asset-id {
    font-size: 11px;
    font-family: var(--font-mono);
    color: #64748b;
}

/* Permissions Review List (Screenshot 5) */
.oauth-permissions-review-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    margin: 14px 0;
    border-top: 1px solid #e2e8f0;
}

.oauth-perm-row {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.oauth-perm-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.oauth-perm-sub {
    font-size: 11.5px;
    color: #64748b;
}

.oauth-info-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 11.5px;
    color: #334155;
    line-height: 1.5;
    text-align: left;
    margin-top: 12px;
}

.oauth-info-callout i {
    color: #475569;
    font-size: 15px;
    margin-top: 2px;
}

/* Mobile responsive handling */
@media (max-width: 768px) {
    .auth-split-modal-card {
        flex-direction: column;
        max-height: 94vh;
        border-radius: 16px;
    }
    .auth-hero-side {
        display: none;
    }
    .auth-form-side {
        padding: 24px 18px;
    }
}

