/* Reset default content-panel padding */
.content-panel {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Welcome Modal Styles */
.welcome-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    transform: none !important;
    margin: 0 !important;
}

.welcome-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.welcome-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.welcome-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon-area {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 20px;
    animation: pulse-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring-delay {
    animation-delay: 1s;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.modal-content {
    /* Container for text and button */
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.welcome-modal .info-section {
    margin-bottom: 1.75rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-primary);
}

.welcome-modal .info-text {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.875rem !important;
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.welcome-modal .info-text:last-child {
    margin-bottom: 0 !important;
}

.welcome-modal .info-text i {
    font-size: 1.375rem !important;
    color: #3B82F6 !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    line-height: 1.65 !important;
}

.welcome-modal .info-text .email-text {
    color: #3B82F6 !important;
    font-weight: 600 !important;
}

.dismiss-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dismiss-button:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.dismiss-button i {
    font-size: 1.125rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Dashboard wrapper */
.dashboard-wrapper {
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-primary);
    overflow: hidden;
    width: 100%;
    min-height: calc(100vh - 60px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

html.dark .dashboard-wrapper {
    border-color: transparent;
}

/* Dashboard container */
.dashboard-container {
    padding: 2rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header section with welcome - Enhanced */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(243, 244, 246, 0.5);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: none;
    border-radius: 50%;
    pointer-events: none;
}

html.dark .dashboard-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 1px 2px -1px rgba(0, 0, 0, 0.15);
}

.welcome-content {
    flex: 1;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.welcome-title span {
    color: #3B82F6;
}

.welcome-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.header-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.header-stat {
    text-align: center;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    min-width: 120px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

html.dark .header-stat {
    background: transparent;
    border-color: rgba(63, 63, 70, 0.8);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    white-space: nowrap;
}

/* Configure Accounts Button - Match View Calendar Button Style */
.configure-accounts-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

html.dark .configure-accounts-btn {
    color: var(--text-tertiary);
    border-color: rgba(63, 63, 70, 0.8);
}

.configure-accounts-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3B82F6;
}

html.dark .configure-accounts-btn:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
    color: #60A5FA;
}

/* Analytics Empty State */
.analytics-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: 16px;
    border: 2px dashed var(--border-primary);
}

html.dark .analytics-empty {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(63, 63, 70, 0.6);
}

.analytics-empty i {
    font-size: 4rem;
    color: #3B82F6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

html.dark .analytics-empty i {
    color: #60A5FA;
}

.analytics-empty h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.analytics-empty p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.connect-accounts-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
}

.connect-accounts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.875rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

@supports (grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr))) {
    .channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    }
}

/* Channel Card */
.channel-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.channel-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .channel-card {
    background: rgba(39, 39, 42, 0.9);
    border-color: rgba(63, 63, 70, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

html.dark .channel-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(96, 165, 250, 0.3);
}

.channel-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(37, 99, 235, 0.01) 100%);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

html.dark .channel-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom-color: rgba(63, 63, 70, 0.4);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Platform Logo - No Container */
.platform-logo {
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
}

.channel-card:hover .platform-logo {
    transform: scale(1.05);
}

.channel-name h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.channel-username {
    font-size: 0.688rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-top: 0.25rem;
    opacity: 0.6;
}

html.dark .channel-username {
    color: var(--text-tertiary);
    opacity: 1;
}

.view-analytics-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

html.dark .view-analytics-btn {
    color: var(--text-tertiary);
    border-color: rgba(63, 63, 70, 0.8);
}

.view-analytics-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3B82F6;
}

html.dark .view-analytics-btn:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
    color: #60A5FA;
}

/* Channel Metrics - 2x2 Grid */
.channel-metrics {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    flex: 1;
}

.metric-item {
    text-align: center;
    padding: 0.875rem 0.625rem;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    min-width: 0;
    min-height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-item:hover::before {
    opacity: 1;
}

.metric-item:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

html.dark .metric-item {
    background: rgba(63, 63, 70, 0.5);
    border-color: rgba(82, 82, 91, 0.5);
}

html.dark .metric-item:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

html.dark .metric-value {
    background: linear-gradient(135deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.625rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.5;
}

html.dark .metric-label {
    color: var(--text-tertiary);
    opacity: 1;
}

/* Instagram Placeholder - No special styling, treat as normal */

.coming-soon-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    color: #F59E0B;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

html.dark .coming-soon-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 146, 60, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    color: #FCD34D;
}

.placeholder-metrics .metric-item {
    cursor: default;
}

.placeholder-metrics .metric-item:hover {
    transform: none;
    box-shadow: none;
}

.placeholder-metrics .metric-item::before {
    display: none;
}

.placeholder-metrics .metric-value {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: var(--text-tertiary);
    font-size: 2rem;
}

/* NEW: Quick Actions Section - Standalone with auto-scroll */
.quick-actions-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

html.dark .quick-actions-section {
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(63, 63, 70, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.quick-actions-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.quick-actions-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quick-actions-subtitle {
    font-size: 0.938rem;
    color: var(--text-secondary);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    padding: 0 2rem;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
}

.carousel-track.auto-scrolling {
    animation: autoScroll 120s linear infinite;
}

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

@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 1rem)); }
}

/* Action Cards - New Design */
.action-card {
    flex-shrink: 0;
    width: 260px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 1.75rem;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.action-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    background: var(--bg-secondary);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .action-card {
    background: rgba(63, 63, 70, 0.6);
    border-color: rgba(82, 82, 91, 0.6);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.action-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.06));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.action-icon-wrapper i {
    font-size: 1.75rem;
    color: #2563EB;
}

html.dark .action-icon-wrapper {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    border: none;
}

html.dark .action-icon-wrapper i {
    color: #60A5FA;
}

.action-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.action-card-desc {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}


/* Platform Indicator */
.platform-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.platform-badge.youtube { color: #FF0033; }
.platform-badge.x { color: #000000; }
html.dark .platform-badge.x { color: #FFFFFF; }
.platform-badge.tiktok { color: #000000; }
html.dark .platform-badge.tiktok { color: #FFFFFF; }

/* Connect Channel Card */
.connect-channel-card {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-primary);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.2s ease;
}

.connect-channel-card:hover {
    background: var(--bg-secondary);
    border-color: rgba(59, 130, 246, 0.3);
}

html.dark .connect-channel-card {
    background: rgba(39, 39, 42, 0.6);
    border-color: rgba(63, 63, 70, 0.6);
}

.connect-content {
    display: grid;
    grid-template-rows: 80px auto auto 5rem auto;
    align-items: center;
    justify-items: center;
    flex: 1;
    gap: 0;
}

.connect-content img {
    align-self: center;
    margin-bottom: 0.5rem !important;
}

.connect-content h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.connect-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
    margin-top: 0;
    min-height: 2.5rem;
}

.connect-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: auto;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Calendar Section */
.calendar-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

html.dark .calendar-section {
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(63, 63, 70, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.calendar-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-header i {
    color: var(--text-primary);
    font-size: 1.375rem;
    opacity: 0.7;
}

html.dark .calendar-header i {
    color: #60A5FA;
    opacity: 1;
}

.view-calendar-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

html.dark .view-calendar-btn {
    color: var(--text-tertiary);
    border-color: rgba(63, 63, 70, 0.8);
}

.view-calendar-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3B82F6;
}

html.dark .view-calendar-btn:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
    color: #60A5FA;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border-left: 3px solid #3B82F6;
    border: 1px solid var(--border-primary);
    border-left-width: 3px;
    border-left-color: #2563EB;
    transition: all 0.2s ease;
}

.calendar-event:hover {
    background: var(--bg-secondary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateX(2px);
}

html.dark .calendar-event {
    background: rgba(63, 63, 70, 0.5);
    border-left-color: #60A5FA;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    min-width: 50px;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

html.dark .event-date {
    background: rgba(63, 63, 70, 0.5);
    border: none;
}

.event-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.event-platform {
    font-size: 0.813rem;
    color: var(--text-tertiary);
}

.event-status {
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Status badges - Single color like Daily Post Suggestions */
.status-draft,
.status-in-progress,
.status-review,
.status-ready {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

/* Dark mode status badges */
html.dark .status-draft,
html.dark .status-in-progress,
html.dark .status-review,
html.dark .status-ready {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60A5FA;
}

.empty-calendar {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px dashed var(--border-primary);
}

.empty-calendar > i {
    font-size: 3.5rem;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.empty-calendar h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-calendar p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.empty-calendar .plan-content-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.empty-calendar .plan-content-btn i {
    font-size: 1.125rem;
}

html.dark .empty-calendar {
    background: rgba(63, 63, 70, 0.3);
}

/* X Suggestions List - Compact */
.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.suggestion-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.dark .suggestion-card {
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(63, 63, 70, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.suggestion-collapsed {
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.suggestion-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.suggestion-number {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.813rem;
    font-weight: 600;
    flex-shrink: 0;
}

html.dark .suggestion-number {
    background: rgba(96, 165, 250, 0.15);
    color: #60A5FA;
}

.suggestion-title {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hook-badge {
    padding: 0.25rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    font-size: 0.688rem;
    font-weight: 500;
    color: #3B82F6;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

html.dark .hook-badge {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60A5FA;
}

.expand-icon {
    color: var(--text-tertiary);
    font-size: 1.125rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.suggestion-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.suggestion-expanded {
    padding: 0 1rem 1rem 1rem;
    display: none;
    border-top: 1px solid var(--border-primary);
    margin-top: 0.875rem;
    padding-top: 1rem;
}

.suggestion-card.expanded .suggestion-expanded {
    display: block;
}

.suggestion-content {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    white-space: pre-wrap;
    border-left: 3px solid rgba(59, 130, 246, 0.3);
}

html.dark .suggestion-content {
    background: rgba(63, 63, 70, 0.3);
}

.suggestion-actions {
    display: flex;
    gap: 0.5rem;
}

.suggestion-btn {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-decoration: none;
}

.btn-use {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

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

.suggestions-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-tertiary);
}

.suggestions-loading i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.suggestions-error {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #EF4444;
}

html.dark .suggestions-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.suggestions-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px dashed var(--border-primary);
    opacity: 0.8;
}

.suggestions-empty i {
    font-size: 3rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.suggestions-empty h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.suggestions-empty p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Guest Hero */
.guest-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(37, 99, 235, 0.04) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.dark .guest-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.25);
}

.guest-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guest-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.hero-btn-secondary:hover {
    background: var(--bg-tertiary);
}

/* Features Preview */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.preview-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .preview-card {
    background: rgba(39, 39, 42, 0.6);
    border-color: rgba(63, 63, 70, 0.6);
}

.preview-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #2563EB;
    border: none;
}

html.dark .preview-icon {
    background: transparent;
    border: none;
    color: #3B82F6;
}

.preview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.preview-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-top: 1rem;
    min-height: 180px;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--text-secondary);
    min-height: 24px;
}

.preview-feature i {
    color: #10B981;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.preview-feature span {
    line-height: 1.3;
}

/* Loading states */
.skeleton-loader {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 6px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

/* Loading Spinner - Consistent with other pages */
.loading-icon {
    font-size: 1.5rem;
    color: #3B82F6;
}

html.dark .loading-icon {
    color: #60A5FA;
}

.loading-icon i {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.loading-spinner {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

html.dark .loading-spinner {
    color: #60A5FA;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Small spinner for inline use */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(229, 231, 235, 0.3);
    border-radius: 50%;
    border-top-color: #3B82F6;
    animation: spin 1s linear infinite;
}

html.dark .spinner {
    border-color: rgba(96, 165, 250, 0.2);
    border-top-color: #60A5FA;
}

/* Optimize Videos Container */
#optimize-videos-container {
    background: transparent;
}

/* Optimize Videos Grid */
.optimize-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.optimize-video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

html.dark .optimize-video-card {
    background: rgba(63, 63, 70, 0.5);
    border-color: rgba(82, 82, 91, 0.5);
}

.optimize-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

html.dark .optimize-video-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.optimize-video-thumbnail {
    width: 100%;
    height: 112px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.optimize-video-info {
    padding: 1rem;
}

.optimize-video-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.optimize-video-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.optimize-video-meta .stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.optimize-video-meta .stat i {
    font-size: 0.875rem;
}

.optimize-videos-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px dashed var(--border-primary);
    opacity: 0.7;
}

html.dark .optimize-videos-empty {
    background: rgba(63, 63, 70, 0.3);
}

.optimize-videos-empty i {
    font-size: 3rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.optimize-videos-empty h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.optimize-videos-empty p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Mobile Menu Button Fix for Dark Mode */
#mobile-menu-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 50;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

#mobile-menu-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

#mobile-menu-toggle i {
    font-size: 1.25rem;
    color: var(--text-primary);
    display: block;
}

html.dark #mobile-menu-toggle {
    background: var(--bg-secondary);
    border-color: var(--border-secondary);
}

html.dark #mobile-menu-toggle:hover {
    background: var(--bg-tertiary);
}

/* Responsive */
@media (max-width: 1200px) {
    .dashboard-header {
        padding: 1.5rem;
    }
}

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

    .carousel-container {
        padding: 0 2rem;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        border-radius: 0;
        min-height: 100vh;
    }

    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
        padding: 1.5rem 1rem;
    }

    .welcome-content {
        width: 100%;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-subtitle {
        font-size: 0.875rem;
    }

    .header-stats {
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
    }

    .header-stat {
        flex: 1;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    .channels-grid {
        gap: 1rem;
    }

    .channel-card {
        padding: 1rem;
    }

    .channel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .channel-avatar {
        width: 48px;
        height: 48px;
    }

    .channel-info h3 {
        font-size: 1rem;
    }

    .channel-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .metric-value {
        font-size: 1.125rem;
    }

    .metric-label {
        font-size: 0.625rem;
    }

    .guest-hero {
        padding: 3rem 1.5rem;
    }

    .guest-hero h1 {
        font-size: 2rem;
    }

    .guest-hero p {
        font-size: 1rem;
    }

    .features-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .carousel-container {
        padding: 0 1rem;
    }

    .carousel-nav {
        width: 32px;
        height: 32px;
    }

    .action-card {
        width: 180px;
        padding: 1rem;
    }

    .action-card h4 {
        font-size: 0.875rem;
    }

    .action-card p {
        font-size: 0.75rem;
    }

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

    .suggestion-card {
        padding: 1rem;
    }

    .optimize-videos-grid {
        grid-template-columns: 1fr;
    }

    .optimize-video-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: 0.75rem;
    }

    .dashboard-header {
        padding: 1rem;
        gap: 1rem;
    }

    .welcome-title {
        font-size: 1.25rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .header-stat {
        width: 100%;
        padding: 0.75rem;
        background: var(--bg-tertiary);
        border-radius: 8px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .channel-metrics {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        padding: 0 0.5rem;
    }

    .action-card {
        width: 160px;
    }

    .guest-hero h1 {
        font-size: 1.5rem;
    }

    .guest-hero .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .guest-hero .cta-buttons .btn {
        width: 100%;
    }
}

/* Mission & Vision Section */
.mission-vision-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(37, 99, 235, 0.04) 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.dark .mission-vision-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.mission-vision-content {
    text-align: center;
}

.mission-vision-icon {
    font-size: 4rem;
    color: #3B82F6;
    margin-bottom: 1.5rem;
}

html.dark .mission-vision-icon {
    color: #60A5FA;
}

.mission-vision-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.mission-vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .mission-card {
    background: rgba(39, 39, 42, 0.7);
    border-color: rgba(63, 63, 70, 0.6);
}

.mission-card .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

html.dark .mission-card .card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: none;
    color: #60A5FA;
}

.mission-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .mission-vision-section {
        padding: 2rem 1.5rem;
    }

    .mission-vision-content h2 {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    .mission-vision-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mission-vision-section {
        padding: 1.5rem 1rem;
    }

    .mission-vision-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .mission-vision-content h2 {
        font-size: 1.5rem;
    }

    .mission-card h3 {
        font-size: 1.125rem;
    }

    .mission-card p {
        font-size: 0.875rem;
    }
}

/* Social Section - Minimal & Clean */
.social-section {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.social-heading {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

html.dark .social-link {
    background: rgba(63, 63, 70, 0.5);
    border-color: rgba(82, 82, 91, 0.5);
}

.social-link i {
    font-size: 1.5rem;
}

.social-link:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
    transform: translateY(-2px);
}

/* Pricing Section - Minimal & Clean */
.pricing-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

html.dark .pricing-section {
    background: rgba(39, 39, 42, 0.6);
    border-color: rgba(63, 63, 70, 0.6);
}

.pricing-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.pricing-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.pricing-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.pricing-divider {
    width: 1px;
    height: 50px;
    background: var(--border-primary);
}

html.dark .pricing-divider {
    background: rgba(63, 63, 70, 0.6);
}

/* Footer - Minimal & Clean */
.home-footer {
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border-primary);
}

html.dark .home-footer {
    border-color: rgba(63, 63, 70, 0.4);
}

.home-footer p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

.home-footer .footer-contact {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.home-footer .footer-email-text {
    color: #3B82F6;
    font-weight: 500;
}

.home-footer .footer-links {
    margin: 0 0 1.25rem 0;
    font-size: 0.9rem;
}

.home-footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 0.5rem;
}

.home-footer .footer-links .separator {
    color: var(--text-tertiary);
    opacity: 0.5;
}

.home-footer .footer-links a:hover {
    color: #3B82F6;
    text-decoration: underline;
}

.home-footer .footer-copyright {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    opacity: 0.7;
}

.footer-email {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: #3B82F6;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .social-section {
        padding: 2.5rem 1.5rem;
    }

    .pricing-section {
        padding: 2rem 1.5rem;
    }

    .pricing-section h2 {
        font-size: 1.375rem;
    }

    .pricing-options {
        gap: 2rem;
    }

    .home-footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-section {
        padding: 2rem 1rem;
    }

    .pricing-section {
        padding: 1.5rem 1rem;
    }

    .pricing-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .pricing-options {
        flex-direction: column;
        gap: 2rem;
    }

    .pricing-divider {
        width: 50px;
        height: 1px;
    }

    .home-footer {
        padding: 1.5rem 1rem;
    }
}

/* X Logo dark mode switching */
.x-logo-light {
    display: block;
}

.x-logo-dark {
    display: none;
}

html.dark .x-logo-light {
    display: none;
}

html.dark .x-logo-dark {
    display: block;
}
