/* ===== MODERN CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    /* Neutral Colors */
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-surface-2: #2a2a2a;
    --light-bg: #ffffff;
    --light-surface: #f8fafc;
    --light-surface-2: #e2e8f0;
    
    /* Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    --border-dark: #2d3748;
    
    /* Shadow Colors */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.modern-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ===== PRELOADER STYLES ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--text-white);
}

.preloader-logo {
    margin-bottom: var(--space-xl);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: var(--space-sm);
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-gradient);
    animation: pulse 1.5s ease-in-out infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* ===== NAVIGATION STYLES ===== */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
    min-height: 80px;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.modern-brand {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    padding: var(--space-sm) 0;
}

.modern-brand:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.brand-logo i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text {
    font-family: var(--font-secondary);
    font-weight: 800;
}

.modern-nav {
    gap: var(--space-lg);
}

.modern-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.modern-link:hover {
    color: var(--text-primary);
    background: var(--light-surface);
    transform: translateY(-2px);
}

.modern-link i {
    font-size: 1.1rem;
}

.cta-link {
    background: var(--primary-gradient);
    color: var(--text-white) !important;
    box-shadow: var(--shadow-md);
}

.cta-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.logout-link {
    color: #e53e3e !important;
}

.logout-link:hover {
    background: rgba(229, 62, 62, 0.1);
}

.modern-dropdown {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin-top: var(--space-sm);
}

.modern-dropdown .dropdown-item {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modern-dropdown .dropdown-item:hover {
    background: var(--light-surface);
    transform: translateX(4px);
}

.modern-toggler {
    border: none;
    padding: var(--space-sm);
}

.modern-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION STYLES ===== */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-bg);
    padding-top: 100px; /* Add padding to account for fixed header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary.btn-modern {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light.btn-modern {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light.btn-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-xl);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.preview-dots {
    display: flex;
    gap: var(--space-sm);
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-dots span:first-child {
    background: #ff5f56;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
    background: #27ca3f;
}

.preview-title {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.preview-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.card-content h6 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.metric {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.scroll-indicator:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--light-surface);
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.section-badge i {
    color: #f59e0b;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features-modern {
    padding: var(--space-4xl) 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--light-bg);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.feature-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.feature-highlight {
    background: var(--success-gradient);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-modern {
    padding: var(--space-4xl) 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.how-it-works-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.step-item {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: var(--space-xl);
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(20px);
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.step-content h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.step-features {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
}

.step-visual {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-modern {
    padding: var(--space-4xl) 0;
    background: var(--light-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.quote-icon {
    color: var(--primary-gradient);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: var(--space-xs);
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-modern {
    padding: var(--space-4xl) 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FLOATING ACTION BUTTON ===== */
.floating-action {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===== FOOTER STYLES ===== */
.footer-modern {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
}

.footer-brand {
    margin-bottom: var(--space-xl);
}

.footer-brand .brand-logo {
    margin-bottom: var(--space-lg);
}

.footer-brand .brand-logo i {
    font-size: 1.5rem;
}

.footer-brand .brand-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand .brand-text {
    font-size: 1.25rem;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    color: var(--text-white);
}

.footer-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
}

.copyright {
    color: var(--text-light);
    margin: 0;
}

.footer-note {
    color: var(--text-light);
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .step-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .step-visual {
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: 80vh;
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-xl);
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .floating-action {
        bottom: var(--space-md);
        right: var(--space-md);
    }
    
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-modern {
        padding: var(--space-xl) 0;
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    .testimonial-card {
        padding: var(--space-lg);
    }
    
    .step-item {
        padding: var(--space-lg);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-modern {
    box-shadow: var(--shadow-lg);
}

.border-modern {
    border: 1px solid var(--border-light);
}

.rounded-modern {
    border-radius: var(--radius-lg);
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

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

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

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid;
    margin-bottom: var(--space-md);
    animation: slideInRight 0.3s ease-out;
    overflow: hidden;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: var(--space-lg);
    gap: var(--space-md);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.notification-warning .notification-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.notification-error .notification-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.notification-info .notification-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.notification-body {
    flex: 1;
    min-width: 0;
}

.notification-body h6 {
    margin: 0 0 var(--space-xs) 0;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-body p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.notification-actions .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

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

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

.notification.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Responsive notifications */
@media (max-width: 576px) {
    .notification-container {
        right: var(--space-sm);
        left: var(--space-sm);
        max-width: none;
    }
    
    .notification-content {
        padding: var(--space-md);
    }
    
    .notification-actions {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* ===== AUTH PAGES STYLES ===== */
.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.auth-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.auth-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(34, 197, 94, 0.05) 50%, 
        rgba(168, 85, 247, 0.05) 100%);
}

.auth-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    top: 50%;
    right: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary-gradient);
    bottom: -125px;
    left: 50%;
    animation-delay: 10s;
}

.auth-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 120px; /* Add top padding to account for fixed header */
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: var(--space-3xl);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-xl); /* Additional margin from header */
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.auth-logo {
    margin-bottom: var(--space-xl);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.logo-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
}

.auth-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-welcome {
    margin-top: var(--space-lg);
}

.welcome-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

/* Auth Form */
.auth-form {
    margin-bottom: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.form-label i {
    color: var(--text-muted);
    font-size: 1rem;
}

.input-container {
    position: relative;
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--light-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
    outline: none;
}

.form-control:focus {
    border-color: transparent;
    background: var(--light-bg);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-normal);
}

.input-container.focused .input-focus-line {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.password-toggle:hover {
    color: var(--text-primary);
    background: var(--light-surface);
}

.error-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    font-weight: 500;
}

.error-message i {
    font-size: 1rem;
}

/* Remember Me */
.remember-group {
    margin-bottom: var(--space-xl);
}

.remember-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.remember-checkbox {
    display: none;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-normal);
    background: var(--light-bg);
}

.remember-checkbox:checked + .remember-label .checkmark {
    background: var(--primary-gradient);
    border-color: transparent;
}

.remember-checkbox:checked + .remember-label .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-checkbox:checked + .remember-label {
    color: var(--text-primary);
}

/* Auth Button */
.auth-btn {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.auth-btn.loading {
    pointer-events: none;
}

.btn-text {
    transition: opacity var(--transition-normal);
}

.btn-icon {
    transition: transform var(--transition-normal);
}

.btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.auth-btn.loading .btn-text,
.auth-btn.loading .btn-icon {
    opacity: 0;
}

.auth-btn.loading .btn-loading {
    opacity: 1;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Auth Footer */
.auth-footer {
    text-align: center;
}

.divider {
    position: relative;
    margin: var(--space-xl) 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.register-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-normal);
}

.link-primary:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}

.link-primary i {
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
}

.link-primary:hover i {
    transform: translateX(2px);
}

/* Terms and Conditions */
.terms-group {
    margin-bottom: var(--space-xl);
}

.terms-container {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.terms-checkbox {
    display: none;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    line-height: 1.4;
}

.terms-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-normal);
    background: var(--light-bg);
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox:checked + .terms-label .checkmark {
    background: var(--primary-gradient);
    border-color: transparent;
}

.terms-checkbox:checked + .terms-label .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-checkbox:checked + .terms-label {
    color: var(--text-primary);
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.terms-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .auth-content {
        padding-top: 100px; /* Reduced padding for mobile */
    }
    
    .auth-card {
        padding: var(--space-2xl);
        margin: var(--space-md);
        margin-top: var(--space-lg); /* Additional margin for mobile */
    }
    
    .logo-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .logo-text {
        align-items: center;
    }
    
    .brand-name {
        font-size: 1.75rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .form-control {
        padding: var(--space-md);
    }
    
    .auth-btn {
        padding: var(--space-md);
    }
    
    .terms-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .auth-content {
        padding-top: 90px; /* Further reduced padding for small mobile */
    }
    
    .auth-card {
        padding: var(--space-xl);
        margin: var(--space-sm);
        margin-top: var(--space-md); /* Additional margin for small mobile */
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.25rem;
    }
    
    .form-group {
        margin-bottom: var(--space-lg);
    }
    
    .terms-label {
        font-size: 0.8rem;
    }
}

/* ===== ADVANCED DASHBOARD STYLES ===== */
.dashboard-modern {
    padding: var(--space-lg);
    padding-top: 120px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: var(--space-2xl);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.welcome-section {
    flex: 1;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.user-name {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.quick-actions {
    display: flex;
    gap: var(--space-md);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
}

.quick-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action-btn.primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.quick-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.stat-change {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--error-color);
}

.stat-change.neutral {
    color: var(--text-secondary);
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.dashboard-left,
.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Panel Styles */
.panel {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.panel-header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.panel-title i {
    color: var(--primary-color);
}

.panel-actions {
    display: flex;
    gap: var(--space-sm);
}

.panel-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.panel-action-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.panel-content {
    padding: var(--space-xl);
}

/* Quick Start Panel */
.quick-start-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quick-start-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.quick-start-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateX(4px);
}

.item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.item-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.item-arrow {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.quick-start-item:hover .item-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Activity Panel */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.activity-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: var(--success-light);
    color: var(--success-color);
}

.activity-icon.warning {
    background: var(--warning-light);
    color: var(--warning-color);
}

.activity-icon.info {
    background: var(--info-light);
    color: var(--info-color);
}

.activity-content {
    flex: 1;
}

.activity-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.activity-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 var(--space-xs) 0;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Chart Panel */
.chart-container {
    height: 300px;
    position: relative;
}

.chart-period-select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Tools Panel */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tool-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.tool-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.tool-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Insights Panel */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    transition: all var(--transition-normal);
}

.insight-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.insight-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.insight-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Dashboard Bottom */
.dashboard-bottom {
    margin-top: var(--space-xl);
}

/* Responsive Design for Dashboard */
@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-modern {
        padding: var(--space-md);
        padding-top: 100px; /* Reduced padding for mobile */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .quick-action-btn {
        justify-content: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .panel-content {
        padding: var(--space-lg);
    }
    
    .chart-container {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .dashboard-modern {
        padding: var(--space-sm);
        padding-top: 90px; /* Further reduced padding for small mobile */
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .panel-header {
        padding: var(--space-md) var(--space-lg);
    }
    
    .panel-content {
        padding: var(--space-md);
    }
}

/* ===== START PROCESS PAGE STYLES ===== */
.start-process-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: var(--space-sm);
}

.step-item {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.step-item.active {
    background: var(--primary-gradient);
    color: var(--text-white);
}

.step-item:not(.active) {
    background: var(--bg-light);
    color: var(--text-secondary);
}

/* Form Container */
.form-container {
    margin-bottom: var(--space-lg);
}

.start-process-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.form-section {
    padding: var(--space-lg);
}

.form-section:first-child {
    border-right: 1px solid var(--border-light);
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-header i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Form Fields */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all var(--transition-normal);
}

.input-container.focused {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.form-control {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.form-control:focus {
    box-shadow: none;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    margin-right: var(--space-xs);
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

/* AI Preview */
.ai-preview {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    margin-top: var(--space-md);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: 0.85rem;
}

.preview-header i {
    color: var(--primary-color);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.preview-item span:first-child {
    color: var(--text-secondary);
}

.preview-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-icon {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Process Info */
.process-info {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: var(--space-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.info-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.info-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive Design for Start Process */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .process-steps {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-section:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .start-process-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }
    
    .step-item {
        font-size: 0.75rem;
        padding: var(--space-xs);
    }
    
    .form-section {
        padding: var(--space-md);
    }
    
    .form-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .start-process-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    .form-section {
        padding: var(--space-sm);
    }
    
    .form-group {
        margin-bottom: var(--space-md);
    }
    
    .btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
}

/* ===== CONTENT GENERATION PAGE STYLES ===== */
.content-generation-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
}

/* Form Panel */
.form-panel {
    display: flex;
    flex-direction: column;
}

.panel-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.panel-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.panel-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.panel-header i {
    color: var(--primary-color);
}

.panel-content {
    padding: var(--space-lg);
}

/* Form Fields */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all var(--transition-normal);
}

.input-container.focused {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.form-control {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    resize: vertical;
}

.form-control:focus {
    box-shadow: none;
}

.error-message {
    font-size: 0.8rem;
    color: var(--error-color);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

/* Advanced Section */
.advanced-section {
    margin-bottom: var(--space-lg);
}

.section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    color: var(--text-primary);
}

.section-toggle:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
}

.section-toggle i:first-child {
    color: var(--primary-color);
}

.toggle-icon {
    transition: transform var(--transition-normal);
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.advanced-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.advanced-content.active {
    max-height: 300px;
    padding: var(--space-md);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.option-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkbox-group {
    display: flex;
    gap: var(--space-lg);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.checkbox-item label {
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    margin-top: var(--space-lg);
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
    width: 100%;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-icon {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Info Panel */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.card-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-header i {
    color: var(--primary-color);
}

.card-content {
    padding: var(--space-lg);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.step-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Tips List */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.tip-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.tip-item i {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item span {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.activity-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: var(--success-light);
    color: var(--success-color);
}

.activity-icon.info {
    background: var(--info-light);
    color: var(--info-color);
}

.activity-icon.warning {
    background: var(--warning-light);
    color: var(--warning-color);
}

.activity-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.activity-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Progress Modal */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.progress-section {
    padding: var(--space-lg);
}

.progress-container {
    margin-bottom: var(--space-lg);
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    transition: width var(--transition-normal);
    width: 0%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.status-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.status-messages {
    max-height: 200px;
    overflow-y: auto;
}

.status-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.status-message:last-child {
    border-bottom: none;
}

.status-message i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.status-message i.bi-check-circle {
    color: var(--success-color);
}

/* Responsive Design for Content Generation */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-generation-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .panel-content {
        padding: var(--space-md);
    }
    
    .card-content {
        padding: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        padding: var(--space-sm);
    }
    
    .activity-item {
        padding: var(--space-sm);
    }
}

@media (max-width: 576px) {
    .content-generation-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .panel-content {
        padding: var(--space-sm);
    }
    
    .card-content {
        padding: var(--space-sm);
    }
    
    .btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
}

/* ===== CONTENT MANAGEMENT PAGE STYLES ===== */
.content-management-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Controls Section */
.controls-section {
    margin-bottom: var(--space-lg);
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.search-input-group i {
    position: absolute;
    left: var(--space-md);
    color: var(--text-secondary);
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md) var(--space-sm) 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    background: var(--bg-white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.clear-btn {
    position: absolute;
    right: var(--space-sm);
    padding: var(--space-xs);
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.clear-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.filters-container {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 120px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    background: var(--bg-white);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.actions-container {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-outline-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-info {
    background: var(--info-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

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

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

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

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

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Bulk Actions Section */
.bulk-actions-section {
    margin-bottom: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.bulk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-light);
}

.bulk-selection {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.bulk-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
}

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

.selected-count {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.bulk-actions {
    display: flex;
    gap: var(--space-sm);
}

.bulk-actions .btn {
    opacity: 0.5;
    pointer-events: none;
    transition: all var(--transition-normal);
}

/* Posts Section */
.posts-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.table-container {
    overflow-x: auto;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.posts-table thead {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.posts-table th {
    padding: var(--space-lg) var(--space-md);
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.posts-table td {
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.post-row {
    transition: all var(--transition-normal);
}

.post-row:hover {
    background: rgba(99, 102, 241, 0.02);
}

.post-row:last-child td {
    border-bottom: none;
}

/* Table Columns */
.col-checkbox {
    width: 50px;
    text-align: center;
}

.col-title {
    min-width: 300px;
    max-width: 400px;
}

.col-status {
    width: 120px;
}

.col-seo {
    width: 80px;
    text-align: center;
}

.col-stats {
    width: 120px;
}

.col-images {
    width: 100px;
    text-align: center;
}

.col-date {
    width: 120px;
}

.col-actions {
    width: 200px;
}

/* Table Content Styles */
.table-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.post-title-cell {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.post-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.status-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-draft {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-published {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.published-date {
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
}

.seo-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.score-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--success-color);
    line-height: 1;
}

.score-label {
    font-size: 0.7rem;
    color: var(--success-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-cell {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--primary-color);
    width: 12px;
    font-size: 0.8rem;
}

.images-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.images-badge.added {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.images-badge.missing {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.date-cell {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.date-main {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.date-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.action-buttons {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto var(--space-lg) auto;
}

.empty-content h3 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-content p {
    margin: 0 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Responsive Design for Content Management */
@media (max-width: 1200px) {
    .controls-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .filters-container {
        justify-content: center;
    }
    
    .actions-container {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .bulk-header {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .bulk-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .content-management-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .filters-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .posts-table {
        font-size: 0.8rem;
    }
    
    .posts-table th,
    .posts-table td {
        padding: var(--space-md) var(--space-sm);
    }
    
    .col-title {
        min-width: 250px;
        max-width: 300px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .action-buttons .btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .content-management-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .posts-table {
        font-size: 0.7rem;
    }
    
    .posts-table th,
    .posts-table td {
        padding: var(--space-sm) var(--space-xs);
    }
    
    .col-title {
        min-width: 200px;
        max-width: 250px;
    }
    
    .action-buttons {
        flex-direction: row;
        gap: var(--space-xs);
    }
    
    .action-buttons .btn {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .post-title {
        font-size: 0.9rem;
    }
    
    .post-meta {
        font-size: 0.7rem;
    }
}

/* ===== TASK MANAGER PAGE STYLES ===== */
.task-manager-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Controls Section */
.controls-section {
    margin-bottom: var(--space-lg);
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.refresh-container {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.batch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    animation: slideDown 0.3s ease;
}

.batch-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--warning-color);
    font-weight: 600;
}

.batch-actions {
    display: flex;
    gap: var(--space-sm);
}

.actions-container {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-outline-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-warning {
    background: var(--warning-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-info {
    background: var(--info-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-danger {
    background: var(--error-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

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

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

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

/* Tasks Section */
.tasks-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.task-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.task-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.task-card[data-status="running"]::before {
    opacity: 1;
    background: var(--info-gradient);
}

.task-card[data-status="completed"]::before {
    opacity: 1;
    background: var(--success-gradient);
}

.task-card[data-status="failed"]::before {
    opacity: 1;
    background: var(--error-gradient);
}

.task-card[data-status="pending"]::before {
    opacity: 1;
    background: var(--warning-gradient);
}

.task-card[data-status="stopped"]::before {
    opacity: 1;
    background: linear-gradient(90deg, #6b7280, #9ca3af);
}

/* Task Header */
.task-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.task-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.task-info {
    flex: 1;
}

.task-name {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.task-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.task-type {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.task-status {
    flex-shrink: 0;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.running {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-badge.stopped {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

/* Task Progress */
.task-progress {
    margin: var(--space-lg) 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-percentage {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    transition: width 0.5s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

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

.status-message {
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--info-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Task Completion */
.task-completion {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--success-color);
    margin-bottom: var(--space-md);
}

.completion-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.completion-content {
    flex: 1;
}

.completion-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: var(--space-xs);
}

.completion-time {
    font-size: 0.8rem;
    color: #15803d;
    line-height: 1.4;
}

/* Task Error */
.task-error {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.error-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    color: var(--error-color);
    flex-shrink: 0;
}

.error-title {
    font-weight: 600;
    color: var(--error-color);
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
}

.error-message {
    font-size: 0.8rem;
    color: #dc2626;
    line-height: 1.4;
}

/* Task Actions */
.task-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.task-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.task-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.task-duration {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

/* Loading State */
.loading-state {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto var(--space-lg) auto;
}

.empty-content h3 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-content p {
    margin: 0 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.empty-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.empty-help {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.empty-help h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-align: center;
}

.help-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.help-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.help-link:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.help-link i {
    font-size: 1rem;
}

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design for Task Manager */
@media (max-width: 1200px) {
    .controls-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .refresh-container {
        justify-content: center;
    }
    
    .actions-container {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .batch-container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .batch-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .task-manager-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .task-card {
        padding: var(--space-md);
    }
    
    .task-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-md);
    }
    
    .task-actions {
        flex-direction: column;
    }
    
    .task-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .task-manager-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .tasks-grid {
        padding: var(--space-sm);
    }
    
    .task-card {
        padding: var(--space-sm);
    }
    
    .task-name {
        font-size: 1rem;
    }
    
    .task-actions {
        flex-direction: row;
        gap: var(--space-xs);
    }
    
    .task-actions .btn {
        flex: 1;
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* ===== MANAGE WORDPRESS PAGE STYLES ===== */
.manage-wordpress-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Add Site Section */
.add-site-section {
    margin-bottom: var(--space-lg);
}

.section-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-header h3 i {
    color: var(--primary-color);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-content {
    padding: var(--space-lg);
}

.add-site-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all var(--transition-normal);
}

.input-container.focused {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.form-control {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.form-control:focus {
    box-shadow: none;
}

.action-btn {
    padding: var(--space-sm);
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-right: var(--space-xs);
}

.action-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.error-message {
    font-size: 0.8rem;
    color: var(--error-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.form-help a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-help a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-outline-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-info {
    background: var(--info-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

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

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

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-icon {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sites Section */
.sites-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.header-left h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-left h3 i {
    color: var(--primary-color);
}

.header-left p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.search-input-group i {
    position: absolute;
    left: var(--space-md);
    color: var(--text-secondary);
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md) var(--space-sm) 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    background: var(--bg-white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.clear-btn {
    position: absolute;
    right: var(--space-sm);
    padding: var(--space-xs);
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.clear-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

/* Sites Grid */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.site-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.site-card[data-site-id]::before {
    opacity: 1;
}

/* Site Header */
.site-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.site-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.site-info {
    flex: 1;
}

.site-url {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.site-url a {
    color: var(--text-primary);
    text-decoration: none;
}

.site-url a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.site-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.site-username {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.site-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    width: fit-content;
}

.site-status.verified {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.site-status.unverified {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Site Actions */
.site-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.site-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.site-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto var(--space-lg) auto;
}

.empty-content h3 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-content p {
    margin: 0 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Responsive Design for Manage WordPress */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-input-group {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .manage-wordpress-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .sites-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .site-card {
        padding: var(--space-md);
    }
    
    .site-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-md);
    }
    
    .site-actions {
        flex-direction: column;
    }
    
    .site-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .manage-wordpress-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .sites-grid {
        padding: var(--space-sm);
    }
    
    .site-card {
        padding: var(--space-sm);
    }
    
    .site-url {
        font-size: 1rem;
    }
    
    .site-actions {
        flex-direction: row;
        gap: var(--space-xs);
    }
    
    .site-actions .btn {
        flex: 1;
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* ===== COMPETITOR ANALYSIS PAGE STYLES ===== */
.competitor-analysis-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Analysis Form Section */
.analysis-form-section {
    margin-bottom: var(--space-lg);
}

.section-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-header h3 i {
    color: var(--primary-color);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-content {
    padding: var(--space-lg);
}

.analysis-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all var(--transition-normal);
}

.input-container.focused {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.input-container.valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.input-container.invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-control {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.form-control:focus {
    box-shadow: none;
}

.action-btn {
    padding: var(--space-sm);
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-right: var(--space-xs);
}

.action-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.error-message {
    font-size: 0.8rem;
    color: var(--error-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-icon {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Info Cards Section */
.info-cards-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.info-card {
    background: var(--bg-white);
    border-right: 1px solid var(--border-light);
}

.info-card:last-child {
    border-right: none;
}

.info-card .card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.info-card .card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.info-card .card-header h4 i {
    color: var(--primary-color);
}

.info-card .card-content {
    padding: var(--space-lg);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.step-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(6, 182, 212, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--info-color);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(4px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--info-gradient);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.feature-content h5 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Responsive Design for Competitor Analysis */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    
    .info-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .competitor-analysis-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .step-item:hover {
        transform: translateY(-2px);
    }
    
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .feature-item:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 576px) {
    .competitor-analysis-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .form-actions {
        gap: var(--space-sm);
    }
    
    .form-actions .btn {
        font-size: 0.85rem;
        padding: var(--space-sm) var(--space-md);
    }
}

/* ===== TITLE HISTORY PAGE STYLES ===== */
.title-history-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Selection Section */
.selection-section {
    margin-bottom: var(--space-lg);
    animation: slideDown 0.3s ease;
}

.section-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-header h3 i {
    color: var(--primary-color);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-content {
    padding: var(--space-lg);
}

.selection-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.control-group {
    display: flex;
    gap: var(--space-sm);
}

.selection-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.selection-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.action-group {
    display: flex;
    gap: var(--space-sm);
}

.btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-info {
    background: var(--info-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

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

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Title Sets Section */
.title-sets-section {
    margin-bottom: var(--space-lg);
}

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.title-sets-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
}

.title-sets-table thead {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 2px solid var(--border-light);
}

.title-sets-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.title-sets-table th i {
    color: var(--primary-color);
    margin-right: var(--space-xs);
}

.title-sets-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.title-set-row {
    transition: all var(--transition-normal);
    cursor: pointer;
}

.title-set-row:hover {
    background: rgba(99, 102, 241, 0.05);
}

.title-set-row.selected {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary-color);
}

.title-set-row.selected td:first-child {
    padding-left: calc(var(--space-lg) - 4px);
}

/* Table Column Styles */
.checkbox-column {
    width: 50px;
    text-align: center;
}

.date-column {
    width: 120px;
}

.keyword-column {
    min-width: 200px;
}

.count-column {
    width: 80px;
    text-align: center;
}

.actions-column {
    width: 150px;
    text-align: center;
}

/* Table Cell Styles */
.checkbox-cell {
    text-align: center;
}

.keyword-checkbox {
    transform: scale(1.1);
    cursor: pointer;
}

.date-cell {
    white-space: nowrap;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.date-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.keyword-cell {
    max-width: 300px;
}

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

.keyword-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.3;
}

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

.count-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

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

.action-buttons {
    display: flex;
    gap: var(--space-xs);
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.action-buttons .btn i {
    margin: 0;
}

/* Pagination */
.pagination-section {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

.pagination {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    background: var(--bg-white);
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    background: var(--bg-light);
    color: var(--text-tertiary);
    border-color: var(--border-light);
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    background: var(--bg-light);
    color: var(--text-tertiary);
    border-color: var(--border-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto var(--space-lg) auto;
}

.empty-content h3 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-content p {
    margin: 0 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Modal Styles */
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-title {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.modal-title i {
    color: var(--primary-color);
}

.titles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.title-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.title-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.title-content {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.loading-state {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    justify-content: center;
    color: var(--text-secondary);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.empty-titles, .error-titles {
    text-align: center;
    padding: var(--space-lg);
    color: var(--text-secondary);
    font-style: italic;
}

.error-titles {
    color: var(--error-color);
}

/* Preview Styles */
.selected-keywords-preview h5 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.preview-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.preview-content strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.preview-content small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.preview-badge {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
}

.preview-summary {
    padding: var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

/* Animations */
@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Title History */
@media (max-width: 1200px) {
    .selection-controls {
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
    }
    
    .control-group, .action-group {
        justify-content: center;
    }
    
    .title-sets-table th,
    .title-sets-table td {
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .table-container {
        font-size: 0.85rem;
    }
    
    .title-sets-table th,
    .title-sets-table td {
        padding: var(--space-sm);
    }
    
    .action-buttons {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .action-buttons .btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .title-history-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .table-container {
        border-radius: var(--radius-md);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .title-sets-table {
        min-width: 600px;
    }
    
    .title-sets-table th,
    .title-sets-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
    
    .date-column {
        width: 100px;
    }
    
    .keyword-column {
        min-width: 150px;
    }
    
    .count-column {
        width: 60px;
    }
    
    .actions-column {
        width: 120px;
    }
    
    .action-buttons .btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .title-history-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .title-sets-table {
        min-width: 500px;
    }
    
    .title-sets-table th,
    .title-sets-table td {
        padding: var(--space-xs);
        font-size: 0.75rem;
    }
    
    .date-column {
        width: 80px;
    }
    
    .keyword-column {
        min-width: 120px;
    }
    
    .count-column {
        width: 50px;
    }
    
    .actions-column {
        width: 100px;
    }
    
    .action-buttons {
        gap: 2px;
    }
    
    .action-buttons .btn {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
    
    .control-group, .action-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn, .action-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== KEYWORD HISTORY PAGE STYLES ===== */
.keyword-history-page {
    padding: var(--space-md);
    padding-top: 100px; /* Add top padding to account for fixed header */
    background: var(--bg-light);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--space-xs) 0 0 0;
}

.header-stats {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Keyword Research Section */
.keyword-research-section {
    margin-bottom: var(--space-lg);
}

.section-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-header h3 i {
    color: var(--primary-color);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-content {
    padding: var(--space-lg);
}

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.keyword-research-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
}

.keyword-research-table thead {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 2px solid var(--border-light);
}

.keyword-research-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.keyword-research-table th i {
    color: var(--primary-color);
    margin-right: var(--space-xs);
}

.keyword-research-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.keyword-research-row {
    transition: all var(--transition-normal);
    cursor: pointer;
}

.keyword-research-row:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* Table Column Styles */
.date-column {
    width: 120px;
}

.provider-column {
    width: 100px;
}

.niche-column {
    min-width: 200px;
}

.geo-column {
    width: 100px;
}

.timeframe-column {
    width: 120px;
}

.count-column {
    width: 80px;
    text-align: center;
}

.actions-column {
    width: 120px;
    text-align: center;
}

/* Table Cell Styles */
.date-cell {
    white-space: nowrap;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.date-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

.provider-badge {
    display: inline-block;
    background: var(--secondary-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.niche-cell {
    max-width: 300px;
}

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

.niche-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.3;
}

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

.geo-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

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

.timeframe-badge {
    display: inline-block;
    background: var(--info-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

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

.count-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

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

.action-buttons {
    display: flex;
    gap: var(--space-xs);
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.action-buttons .btn i {
    margin: 0;
}

/* Pagination */
.pagination-section {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

.pagination {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    background: var(--bg-white);
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    background: var(--bg-light);
    color: var(--text-tertiary);
    border-color: var(--border-light);
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    background: var(--bg-light);
    color: var(--text-tertiary);
    border-color: var(--border-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto var(--space-lg) auto;
}

.empty-content h3 {
    margin: 0 0 var(--space-md) 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-content p {
    margin: 0 0 var(--space-lg) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Modal Styles */
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-title {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.modal-title i {
    color: var(--primary-color);
}

.keywords-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.keyword-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.keyword-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.keyword-content {
    flex: 1;
}

.keyword-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.keyword-volume {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.loading-state {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    justify-content: center;
    color: var(--text-secondary);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.empty-keywords, .error-keywords {
    text-align: center;
    padding: var(--space-lg);
    color: var(--text-secondary);
    font-style: italic;
}

.error-keywords {
    color: var(--error-color);
}

/* Responsive Design for Keyword History */
@media (max-width: 1200px) {
    .keyword-research-table th,
    .keyword-research-table td {
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .table-container {
        font-size: 0.85rem;
    }
    
    .keyword-research-table th,
    .keyword-research-table td {
        padding: var(--space-sm);
    }
    
    .action-buttons {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .action-buttons .btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .keyword-history-page {
        padding: var(--space-sm);
        padding-top: 80px; /* Reduced padding for mobile */
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .header-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .table-container {
        border-radius: var(--radius-md);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .keyword-research-table {
        min-width: 700px;
    }
    
    .keyword-research-table th,
    .keyword-research-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
    
    .date-column {
        width: 100px;
    }
    
    .provider-column {
        width: 80px;
    }
    
    .niche-column {
        min-width: 150px;
    }
    
    .geo-column {
        width: 80px;
    }
    
    .timeframe-column {
        width: 100px;
    }
    
    .count-column {
        width: 60px;
    }
    
    .actions-column {
        width: 100px;
    }
    
    .action-buttons .btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .keyword-history-page {
        padding: var(--space-xs);
        padding-top: 70px; /* Further reduced padding for small mobile */
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .keyword-research-table {
        min-width: 600px;
    }
    
    .keyword-research-table th,
    .keyword-research-table td {
        padding: var(--space-xs);
        font-size: 0.75rem;
    }
    
    .date-column {
        width: 80px;
    }
    
    .provider-column {
        width: 70px;
    }
    
    .niche-column {
        min-width: 120px;
    }
    
    .geo-column {
        width: 70px;
    }
    
    .timeframe-column {
        width: 80px;
    }
    
    .count-column {
        width: 50px;
    }
    
    .actions-column {
        width: 80px;
    }
    
    .action-buttons {
        gap: 2px;
    }
    
    .action-buttons .btn {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
}

/* Delete Button Specific Styling */
.action-buttons .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.action-buttons .btn-outline-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== PROFESSIONAL HOME PAGE STYLES ===== */

/* Professional Hero Section */
.hero-professional {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 50%, #f1f3f4 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Add padding to prevent header overlap */
}

.hero-professional .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-professional .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(108, 117, 125, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-professional .hero-gradient-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.hero-professional .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-professional .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #856404;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hero-professional .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-professional .text-gradient {
    background: linear-gradient(135deg, #28a745 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-professional .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-professional .hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-professional .btn-professional {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-professional .btn-primary.btn-professional {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.hero-professional .btn-primary.btn-professional:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: white;
}

.hero-professional .btn-outline-primary.btn-professional {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #28a745;
    color: #28a745;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-professional .btn-outline-primary.btn-professional:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.hero-professional .hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-professional .stat-item {
    text-align: center;
}

.hero-professional .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-professional .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.hero-professional .hero-visual {
    position: relative;
    height: 500px;
}

.hero-professional .dashboard-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-professional .preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hero-professional .preview-dots {
    display: flex;
    gap: 8px;
}

.hero-professional .preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
}

.hero-professional .preview-dots span:nth-child(1) {
    background: #ef4444;
}

.hero-professional .preview-dots span:nth-child(2) {
    background: #f59e0b;
}

.hero-professional .preview-dots span:nth-child(3) {
    background: #10b981;
}

.hero-professional .preview-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.hero-professional .preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-professional .preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.hero-professional .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.hero-professional .card-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.hero-professional .metric {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.hero-professional .hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-professional .scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-professional .scroll-arrow {
    animation: bounce 2s infinite;
}

/* Enterprise Features Section */
.features-enterprise {
    padding: 120px 0;
    background: #ffffff;
}

.features-enterprise .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-enterprise .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.features-enterprise .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.features-enterprise .section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-enterprise .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.features-enterprise .feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-enterprise .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.features-enterprise .feature-card:hover::before {
    transform: scaleX(1);
}

.features-enterprise .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.features-enterprise .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.features-enterprise .feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.features-enterprise .feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.features-enterprise .feature-highlight {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Technology Stack Section */
.tech-stack {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.tech-stack .section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.tech-stack .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-stack .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.tech-stack .section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tech-stack .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.tech-stack .tech-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.tech-stack .tech-category h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.tech-stack .tech-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-stack .tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-stack .tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.tech-stack .tech-item i {
    font-size: 1.25rem;
    color: #4f46e5;
}

.tech-stack .tech-item span {
    color: #ffffff;
    font-weight: 500;
}

/* Workflow Section */
.workflow-section {
    padding: 120px 0;
    background: #f8fafc;
}

.workflow-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.workflow-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.workflow-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.workflow-section .section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.workflow-section .workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.workflow-section .workflow-step {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-section .workflow-step:hover {
    transform: translateX(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.workflow-section .workflow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.workflow-section .workflow-step:nth-child(even):hover {
    transform: translateX(-16px);
}

.workflow-section .step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #4f46e5;
    line-height: 1;
    min-width: 80px;
}

.workflow-section .step-content {
    flex: 1;
}

.workflow-section .step-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.workflow-section .step-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.workflow-section .step-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.workflow-section .feature-tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.workflow-section .step-visual {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    flex-shrink: 0;
}

/* Enterprise Testimonials Section */
.testimonials-enterprise {
    padding: 120px 0;
    background: #ffffff;
}

.testimonials-enterprise .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-enterprise .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.testimonials-enterprise .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.testimonials-enterprise .section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-enterprise .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonials-enterprise .testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonials-enterprise .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonials-enterprise .testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonials-enterprise .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.testimonials-enterprise .testimonial-content {
    margin-bottom: 24px;
}

.testimonials-enterprise .quote-icon {
    font-size: 2rem;
    color: #4f46e5;
    margin-bottom: 16px;
}

.testimonials-enterprise .testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
}

.testimonials-enterprise .testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonials-enterprise .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonials-enterprise .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-enterprise .author-info h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.testimonials-enterprise .author-info span {
    font-size: 0.875rem;
    color: #64748b;
}

.testimonials-enterprise .testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonials-enterprise .testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: #f8fafc;
}

.pricing-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.pricing-section .section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-section .pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-section .pricing-card.featured {
    border-color: #4f46e5;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.pricing-section .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-section .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-section .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-section .pricing-header {
    margin-bottom: 32px;
}

.pricing-section .pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.pricing-section .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-section .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748b;
}

.pricing-section .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
}

.pricing-section .period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-section .pricing-features {
    margin-bottom: 32px;
}

.pricing-section .pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-section .pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #374151;
    font-weight: 500;
}

.pricing-section .pricing-features i {
    color: #10b981;
    font-size: 1.125rem;
}

.pricing-section .pricing-action {
    margin-top: auto;
}

.pricing-section .pricing-action .btn {
    width: 100%;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Enterprise CTA Section */
.cta-enterprise {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.cta-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.cta-enterprise .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-enterprise .cta-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-enterprise .cta-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-enterprise .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-enterprise .btn-professional {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-enterprise .btn-primary.btn-professional {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cta-enterprise .btn-primary.btn-professional:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: white;
}

.cta-enterprise .btn-outline-light.btn-professional {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.cta-enterprise .btn-outline-light.btn-professional:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-professional .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-professional .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-professional .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-professional .hero-stats {
        justify-content: center;
    }
    
    .hero-professional .hero-visual {
        height: 400px;
        margin-top: 40px;
    }
    
    .features-enterprise .section-title,
    .tech-stack .section-title,
    .workflow-section .section-title,
    .testimonials-enterprise .section-title,
    .pricing-section .section-title,
    .cta-enterprise .cta-text h2 {
        font-size: 2rem;
    }
    
    .workflow-section .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .workflow-section .workflow-step:nth-child(even) {
        flex-direction: column;
    }
    
    .workflow-section .workflow-step:hover,
    .workflow-section .workflow-step:nth-child(even):hover {
        transform: translateY(-8px);
    }
    
    .pricing-section .pricing-card.featured {
        transform: none;
    }
    
    .pricing-section .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}