/* ========================================
   ADVANCED 2025 DESIGN TRENDS
   ======================================== */

/* Advanced Color System with AI-Inspired Gradients */
:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --secondary-color: #64748b;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0891b2;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --white: #ffffff;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(59, 130, 246, 0.2);
}

/* 2025 Neural Network Colors */
:root {
    --neural-primary: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    --neural-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --neural-accent: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    --quantum-blue: #00d4ff;
    --quantum-purple: #b100ff;
    --quantum-pink: #ff0080;
    --neon-green: #39ff14;
    --cyber-orange: #ff6b35;

    /* Dynamic Gradients */
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    --gradient-neural: radial-gradient(circle at 30% 40%, rgba(29, 78, 216, 0.15), transparent 50%), 
                       radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15), transparent 50%),
                       radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.1), transparent 50%);

    /* Advanced Shadows */
    --neo-shadow-light: 20px 20px 60px #d1d9e6, -20px -20px 60px #ffffff;
    --neo-shadow-dark: inset 20px 20px 60px #d1d9e6, inset -20px -20px 60px #ffffff;
    --quantum-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(177, 0, 255, 0.3);
    --neural-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Neomorphism 2.0 - Advanced Soft UI */
.neo-2-container {
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border-radius: 20px;
    box-shadow: var(--neo-shadow-light);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.neo-2-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.neo-2-button {
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.neo-2-button:hover {
    box-shadow: var(--neo-shadow-dark);
    transform: translateY(-2px);
}

.neo-2-button:active {
    box-shadow: inset 8px 8px 16px #d1d9e6, inset -8px -8px 16px #ffffff;
    transform: translateY(0);
}

/* Quantum UI Elements */
.quantum-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--quantum-blue);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: var(--quantum-shadow);
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: quantumPulse 3s ease-in-out infinite;
}

.quantum-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: quantumRotate 4s linear infinite;
}

@keyframes quantumPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(177, 0, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.6); }
}

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

/* Neural Network Visualization */
.neural-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: var(--gradient-neural);
    opacity: 0.1;
}

.neural-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.neural-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--quantum-blue);
    border-radius: 50%;
    animation: neuralFloat 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--quantum-blue);
}

.neural-node:nth-child(odd) {
    animation-delay: -2s;
    background: var(--quantum-purple);
    box-shadow: 0 0 10px var(--quantum-purple);
}

.neural-node:nth-child(3n) {
    animation-delay: -4s;
    background: var(--quantum-pink);
    box-shadow: 0 0 10px var(--quantum-pink);
}

@keyframes neuralFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    25% { transform: translate(30px, -20px) scale(1.2); opacity: 1; }
    50% { transform: translate(-20px, -40px) scale(0.8); opacity: 0.5; }
    75% { transform: translate(-40px, 20px) scale(1.1); opacity: 0.9; }
}

/* 3D Floating Cards */
.floating-3d-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: pointer;
}

.floating-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cosmic);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-3d-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(59, 130, 246, 0.3);
}

.floating-3d-card:hover::before {
    opacity: 0.1;
}

/* Advanced Micro-interactions */
.micro-bounce {
    animation: microBounce 2s ease-in-out infinite;
}

@keyframes microBounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0, 0, 0); }
    40%, 43% { transform: translate3d(0, -8px, 0); }
    70% { transform: translate3d(0, -4px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    to {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.4);
    }
}

/* Dynamic Morphing Buttons */
.morphing-btn {
    background: var(--neural-primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

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

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

.morphing-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

/* Advanced Loading Animations */
.neural-loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 2rem auto;
}

.neural-loader::before,
.neural-loader::after {
    content: '';
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: neuralSpin 2s linear infinite;
}

.neural-loader::before {
    width: 60px;
    height: 60px;
    border-top-color: var(--quantum-blue);
    border-right-color: var(--quantum-purple);
}

.neural-loader::after {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    border-bottom-color: var(--quantum-pink);
    border-left-color: var(--neon-green);
    animation-direction: reverse;
}

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

/* Holographic Text Effect */
.holographic-text {
    background: linear-gradient(45deg, #ff0080, #00d4ff, #b100ff, #ff6b35, #39ff14);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographicShift 3s ease-in-out infinite;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Advanced Glassmorphism Cards */
.ultra-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: 
        0 25px 45px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.ultra-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.ultra-glass-card:hover::before {
    left: 100%;
}

.ultra-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 35px 65px rgba(0, 0, 0, 0.15),
        0 0 50px rgba(59, 130, 246, 0.2);
}

/* Responsive Design for Advanced Elements */
@media (max-width: 768px) {
    .floating-3d-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .quantum-card {
        padding: 1.5rem;
    }
    
    .neo-2-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .holographic-text {
        font-size: 1.5rem;
    }
}

/* Dark Mode Support for Advanced Elements */
@media (prefers-color-scheme: dark) {
    .neo-2-container {
        background: linear-gradient(145deg, #1e293b, #334155);
        box-shadow: 20px 20px 60px #0f172a, -20px -20px 60px #334155;
    }
    
    .neo-2-button {
        background: linear-gradient(145deg, #1e293b, #334155);
        color: white;
        box-shadow: 8px 8px 16px #0f172a, -8px -8px 16px #334155;
    }
    
    .ultra-glass-card {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   EXISTING STYLES
   ======================================== */

:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --secondary-color: #64748b;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0891b2;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --white: #ffffff;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(59, 130, 246, 0.2);
}

/* Modern Background with Gradient Mesh */
.modern-gradient-bg {
    background: 
        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(59, 130, 246, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Glassmorphism Navigation */
.glassmorphism-nav {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.modern-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.modern-nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.modern-nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.glassmorphism-dropdown {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 0.5rem;
}

.glassmorphism-dropdown .dropdown-item {
    color: rgba(31, 41, 55, 0.9);
    border-radius: 8px;
    margin: 0.125rem 0;
    transition: all 0.2s ease;
}

.glassmorphism-dropdown .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: rgb(59, 130, 246);
}

/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gradient-mesh {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: mesh-movement 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes mesh-movement {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-icon:nth-child(2) { animation-delay: -2s; }
.floating-icon:nth-child(3) { animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.modern-display-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modern-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 400;
}

/* Modern Buttons */
.modern-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-btn-primary::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;
}

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

.modern-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
}

.modern-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.5);
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modern-btn-outline:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-3px);
}

/* Social Preview Cards */
.social-preview-cards {
    position: relative;
    z-index: 2;
}

.preview-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.5);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.preview-name {
    font-weight: 600;
    color: #1f2937;
}

.preview-content {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Modern Cards */
.modern-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.5);
}

.modern-card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px 20px 0 0;
    padding: 1rem 1.5rem;
    margin: 0;
}

.modern-card-header h6 {
    margin: 0;
    font-weight: 600;
    color: #1f2937;
}

/* Trending Items */
.trending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-tag {
    font-weight: 600;
    color: #3b82f6;
    font-size: 0.9rem;
}

.trending-count {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Live Activity Feed */
.live-activity-feed {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    animation: slide-in 0.5s ease-out;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.activity-text {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pulse-icon {
    animation: pulse 2s infinite;
}

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

/* Post Creation */
.post-creator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.creator-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.creator-input {
    flex: 1;
}

.modern-input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

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

.creator-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.creator-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Social Posts */
.social-post {
    margin-bottom: 2rem;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.post-user-info {
    flex: 1;
}

.post-username {
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.post-timestamp {
    color: #6b7280;
    font-size: 0.8rem;
}

.post-content {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #374151;
}

.post-image-container {
    margin: 1rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image:hover {
    transform: scale(1.02);
}

.post-engagement {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.engagement-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

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

.engagement-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #6b7280;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engagement-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.engagement-btn.liked {
    color: #ef4444;
}

.engagement-btn.liked:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Suggestions */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.suggestion-meta {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Stats */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
    color: #1f2937;
}

/* Modern Modal */
.modern-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modern-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px 20px 0 0;
}

.modern-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
}

.post-composer {
    padding: 1rem 0;
}

.composer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.composer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.composer-user {
    font-weight: 600;
    color: #1f2937;
}

.modern-textarea {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1rem;
    resize: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-textarea:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.composer-tools {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.composer-tool {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.composer-tool:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Floating Social Share */
.floating-social-share {
    position: fixed;
    top: 50%;
    right: -60px;
    transform: translateY(-50%) translateX(100px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.social-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-share-btn:nth-child(1) {
    background: linear-gradient(135deg, #fd1d1d, #fcb045);
}

.social-share-btn:nth-child(2) {
    background: linear-gradient(135deg, #1da1f2, #0e71c8);
}

.social-share-btn:nth-child(3) {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.social-share-btn:nth-child(4) {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.social-share-btn:hover {
    transform: translateX(-10px) scale(1.1);
}

/* Enhanced hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 100px 0 80px 0;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23ffffff" stroke-width="1" stroke-opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .display-3 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero-section .btn-lg {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-section .btn-light {
    background: rgba(255,255,255,0.95);
    border: none;
    color: var(--primary-color);
}

.hero-section .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Modern Professional Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

.feature-cards .card {
    transition: all 0.4s ease;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

.feature-cards .card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    border-color: var(--primary-light);
}

.feature-cards .card-title i {
    color: var(--primary-color);
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.2));
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 30px rgba(30, 64, 175, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.2));
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Fancy nav link accent */
.navbar-nav .nav-link {
    position: relative;
    padding: .65rem 1rem;
    border-radius: .75rem;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 3px;
    background: linear-gradient(90deg,var(--primary-color),var(--primary-light));
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    opacity: .85;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-nav .nav-link i { transition: color .3s ease, transform .3s ease; }
.navbar-nav .nav-link:hover i { transform: translateY(-2px); color: var(--primary-color); }

/* Subtle vertical dividers between primary groups */
.navbar-nav .nav-link + .nav-link { margin-left: .25rem; }
/* (reserved media query space removed to avoid empty ruleset) */

/* Badge tweak for messages */
.navbar-nav .nav-link .badge { font-size:.55rem; min-width:18px; }

/* News Section */
.news-banner {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.news-ticker {
    overflow: hidden;
    white-space: nowrap;
    height: 35px;
    line-height: 35px;
}

.news-scroll {
    display: inline-block;
    animation: scroll-left 90s linear infinite;
}

.news-item {
    margin-right: 60px;
    display: inline-block;
    font-weight: 500;
}

.news-separator {
    margin: 0 30px;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.news-card {
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
    border: 1px solid var(--blue-100);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
    background: var(--white);
    border-color: var(--primary-light);
}

.news-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #f0f4f8;
}

.news-image {
    /* Use aspect-ratio for consistent responsive sizing without distortion */
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto; /* let browser calculate height */
    object-fit: cover; /* fill area while keeping aspect ratio */
    transition: all 0.4s ease;
    display: block;
}

.news-image-small {
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid var(--blue-100);
}

.news-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-small img {
    transform: scale(1.1);
}

.news-title a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transition: all 0.3s ease;
}

.news-title a:hover {
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
}

.news-article-card {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-article-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.news-article-card:hover .news-image {
    transform: scale(1.1);
}

.news-article-card .card-title a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.news-article-card .card-title a:hover {
    color: var(--primary-color);
}

/* Product cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    border: 1px solid var(--blue-100);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    border-color: var(--primary-light);
}

.product-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
    transition: all 0.4s ease;
    filter: brightness(1.0) saturate(1.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.product-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Thumbnail images in tables */
.product-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--blue-100);
}

.product-thumbnail-placeholder {
    width: 40px;
    height: 40px;
    background: var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--blue-100);
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Enhanced Social Media Integration Styles */

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300ffff" stroke-width="0.5" stroke-opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tech-grid)"/></svg>');
    animation: tech-grid-move 20s linear infinite;
    z-index: 0;
}

.tech-hero .container {
    position: relative;
    z-index: 1;
}

@keyframes tech-grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.tech-stats-grid .tech-stat {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-stats-grid .tech-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-feature-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.tech-feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.tech-feature-card.active .card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.tech-feature-card.coming_soon .card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.tech-feature-card.development .card-header {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
}

.tech-feature-card .card-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.tech-icon {
    margin-bottom: 1rem;
    animation: tech-pulse 2s ease-in-out infinite;
}

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

.features-list ul li {
    animation: fade-in-up 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.features-list ul li:nth-child(1) { animation-delay: 0.1s; }
.features-list ul li:nth-child(2) { animation-delay: 0.2s; }
.features-list ul li:nth-child(3) { animation-delay: 0.3s; }
.features-list ul li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-demo-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.demo-console {
    font-family: 'Courier New', monospace;
    height: 200px;
    overflow-y: auto;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.console-line {
    margin-bottom: 0.5rem;
    animation: console-type 0.5s ease-in-out;
}

@keyframes console-type {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.typing-cursor {
    animation: cursor-blink 1s infinite;
    font-weight: bold;
    color: #00ff00;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tech-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

.flow-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.flow-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.flow-content {
    flex-grow: 1;
}

.flow-arrow {
    font-size: 1.5rem;
}

.floating-tech-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-tech-support .btn {
    width: 60px;
    height: 60px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    animation: float-bounce 2s ease-in-out infinite;
}

@keyframes float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.chat-interface {
    max-height: 300px;
    overflow-y: auto;
}

.chat-message {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: #f1f5f9;
    border-left: 4px solid #3b82f6;
}

.ai-message {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #2563eb;
}

/* Mobile optimizations for tech features */
@media (max-width: 768px) {
    .tech-stats-grid .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .tech-feature-card .card-header {
        padding: 1.5rem;
    }
    
    .tech-icon {
        font-size: 2rem;
    }
    
    .flow-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .floating-tech-support {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-tech-support .btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .tech-stats-grid .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .demo-console {
        height: 150px;
        font-size: 0.8rem;
    }
    
    .tech-flow-diagram {
        padding: 1rem;
        gap: 1rem;
    }
}

/* Enhanced mobile optimizations */
@media (max-width: 576px) {
    /* Body and container adjustments */
    body {
        padding-top: 56px; /* Reduced padding for smaller screens */
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    .navbar-text {
        font-size: 0.8rem !important;
        margin: 0 !important;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 80px 0 60px 0;
        min-height: 60vh;
    }
    
    .hero-section .display-3 {
        font-size: 2.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    /* Form improvements mobile */
    .form-container {
        margin: 1rem 0.5rem;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .btn {
        min-height: 48px; /* Better touch target */
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Filters mobile improvements */
    .filters-section {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 12px;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .filters-section .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }
    
    .filters-section .btn {
        margin-top: 0.5rem;
    }
    
    /* Product grid mobile */
    .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    /* News ticker mobile */
    .news-ticker {
        height: 40px;
        line-height: 40px;
        font-size: 0.9rem;
    }
    
    .news-ticker .marquee {
        animation: scroll-left 45s linear infinite;
    }
    
    /* Modal mobile */
    .modal-dialog {
        margin: 1rem 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    /* Table mobile */
    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Dashboard mobile */
    .dashboard-stats .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .dashboard-card {
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem !important;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* Tablet improvements */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .filters-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .form-container {
        padding: 2rem;
        max-width: 400px;
        margin: 2rem auto;
    }
}

/* Large mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem !important;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image,
    .news-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Very small devices */
@media (max-width: 320px) {
    .hero-section .display-4 {
        font-size: 1.8rem !important;
    }
    
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .product-image {
        height: 160px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .btn-group-sm > .btn,
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Alert styles */
.alert {
    border-radius: 12px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.alert-danger {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-warning {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.alert-info {
    background-color: rgba(8, 145, 178, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(8, 145, 178, 0.2);
}

/* Price badges */
.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.condition-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.condition-new {
    background: var(--success-color);
    color: white;
}

.condition-like_new {
    background: var(--info-color);
    color: white;
}

.condition-good {
    background: var(--primary-color);
    color: white;
}

.condition-fair {
    background: var(--warning-color);
    color: white;
}

.condition-poor {
    background: var(--secondary-color);
    color: white;
}

/* Dashboard styles */
.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Compact hero section for homepage */
.min-vh-50 {
    min-height: 50vh !important;
}

.hero-section.compact {
    min-height: 60vh;
}

/* Tech highlight card special styling */
.tech-highlight {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 2px solid #f59e0b;
    animation: tech-glow 3s ease-in-out infinite;
}

.tech-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: tech-shine 2s infinite;
}

@keyframes tech-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.5); }
}

@keyframes tech-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tech-highlight .card-body {
    position: relative;
    z-index: 2;
}

/* Enhanced Social Media Integration Styles */
.social-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-icon-lg:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.social-stats .d-flex {
    margin-bottom: 0.5rem;
}

.social-stats .d-flex:last-child {
    margin-bottom: 0;
}

.twitter-feed {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
}

.twitter-feed::-webkit-scrollbar {
    width: 3px;
}

.twitter-feed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.twitter-feed::-webkit-scrollbar-thumb {
    background: rgba(29, 161, 242, 0.6);
    border-radius: 5px;
}

.tweet-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tweet-item:hover {
    background: rgba(29, 161, 242, 0.2) !important;
    transform: translateX(5px);
}

.instagram-preview .bg-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instagram-preview .bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-preview .bg-gradient:hover::before {
    opacity: 1;
}

.instagram-preview .bg-gradient:hover {
    transform: scale(1.05);
}

.tiktok-stats,
.linkedin-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.8rem;
    backdrop-filter: blur(5px);
}

.telegram-features {
    background: rgba(0, 136, 204, 0.1);
    border-radius: 8px;
    padding: 0.8rem;
}

.telegram-features .d-flex {
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.telegram-features .d-flex:hover {
    background: rgba(0, 136, 204, 0.2);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    transform: translateX(5px);
}

.share-tool {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.share-tool:hover::before {
    left: 100%;
}

.share-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.share-tool h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.share-tool .form-control {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px 0 0 10px;
}

.share-tool .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 1);
}

.share-tool .btn {
    border-radius: 0 10px 10px 0;
    border: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.share-tool .btn:hover {
    transform: scale(1.05);
}

/* Analytics Dashboard Styles */
.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    opacity: 1;
    transform: scale(1.1);
}

.activity-feed {
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.activity-feed::-webkit-scrollbar {
    width: 4px;
}

.activity-feed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.activity-feed::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.6);
    border-radius: 10px;
}

.activity-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.activity-item:hover {
    transform: translateX(5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

/* AI Campaign Builder Styles */
.ai-input-section,
.ai-output-section {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.ai-input-section:hover,
.ai-output-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.ai-output {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.ai-output::-webkit-scrollbar {
    width: 4px;
}

.ai-output::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ai-output::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.6);
    border-radius: 10px;
}

.ai-campaign-result {
    animation: slideInUp 0.5s ease;
}

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

.platform-strategy .d-flex:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 0.5rem;
    transform: translateX(10px);
}

/* Enhanced Mobile Styles for Analytics */
@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .activity-feed {
        max-height: 180px;
        padding: 0.8rem;
    }
    
    .activity-item {
        padding: 0.8rem !important;
    }
    
    .activity-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .ai-input-section,
    .ai-output-section {
        margin-bottom: 1rem;
    }
    
    .platform-strategy .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .platform-strategy .d-flex i {
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 576px) {
    .stat-card h3 {
        font-size: 1.3rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    .activity-item .flex-grow-1 p {
        font-size: 0.75rem;
    }
    
    .ai-input-section,
    .ai-output-section {
        padding: 1rem !important;
    }
}
