/* ============================================================================
   HERO & ABOUT SECTION - UTILITY CLASSES
   Professional Dark Theme - Azure & AI Branding
   ============================================================================ */

/* GRADIENTS */
.gradient-text-azure {
    background: linear-gradient(135deg, var(--text-primary) 0%, #60a5fa 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gradient-bg-glow {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
}

/* SHADOWS */
.shadow-hero {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
}

html.light-mode .shadow-hero,
html.light-theme .shadow-hero {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 80px rgba(59, 130, 246, 0.15);
}

.shadow-card-modern {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

html.light-mode .shadow-card-modern,
html.light-theme .shadow-card-modern {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.shadow-glow-blue {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), 0 0 24px rgba(59, 130, 246, 0.2);
}

html.light-mode .shadow-glow-blue,
html.light-theme .shadow-glow-blue {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2), 0 0 24px rgba(59, 130, 246, 0.1);
}

.shadow-glow-purple {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

html.light-mode .shadow-glow-purple,
html.light-theme .shadow-glow-purple {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

/* BORDERS */
.border-glass {
    border: 1px solid rgba(156, 163, 175, 0.3);
}

html.light-mode .border-glass,
html.light-theme .border-glass {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.border-glow-blue {
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.border-light-subtle {
    border: 3px solid rgba(255, 255, 255, 0.1);
}

html.light-mode .border-light-subtle,
html.light-theme .border-light-subtle {
    border: 3px solid rgba(0, 0, 0, 0.05);
}

/* BACKGROUNDS */
.bg-dark-primary {
    background: var(--bg-body);
}

.bg-glass-dark {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
}

html.light-mode .bg-glass-dark,
html.light-theme .bg-glass-dark {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.bg-glass-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

html.light-mode .bg-glass-light,
html.light-theme .bg-glass-light {
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
}

/* GRID PATTERN */
.grid-pattern-subtle {
    background-image: 
        linear-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

/* RADIAL SPOTLIGHT */
.radial-spotlight {
    background: 
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* IMAGE MASKS */
.mask-fade-bottom {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* BUTTONS */
.btn-primary-azure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), 0 0 24px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-azure:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.btn-secondary-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(156, 163, 175, 0.3);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* BADGES */
.badge-azure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ANIMATIONS */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes float-glow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.animate-pulse-dot {
    animation: pulse-dot 2s infinite;
}

.animate-float {
    animation: float-glow 6s ease-in-out infinite;
}

/* RESPONSIVE UTILITIES */
@media (max-width: 991px) {
    .hero-text-responsive {
        text-align: center;
    }
    
    .hero-image-responsive {
        margin-top: 40px;
        max-width: 400px;
    }
    
    .about-stack-mobile {
        flex-direction: column;
        gap: 40px;
    }
}

/* SKELETON LOADERS */
.skeleton-hero {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

html.light-mode .skeleton-hero,
html.light-theme .skeleton-hero {
    background: linear-gradient(90deg, #e5e5e5 25%, #f5f5f5 50%, #e5e5e5 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* GLASS CARDS */
.card-glass-modern {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 16px;
    padding: 20px;
}

html.light-mode .card-glass-modern,
html.light-theme .card-glass-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px;
}

/* TEXT UTILITIES */
.text-gradient-azure {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-white {
    color: var(--text-primary);
}

.text-secondary-grey {
    color: var(--text-secondary);
}

.text-muted-dark {
    color: var(--text-muted);
}

/* ============================================================================
   LIGHT MODE HERO SECTION OVERRIDES
   ============================================================================ */

/* Hero Section Background */
html.light-mode .hero-section-modern,
html.light-theme .hero-section-modern {
    background: #ffffff !important;
}

/* Hero Text Colors */
html.light-mode .hero-section-modern h1,
html.light-mode .hero-section-modern h2,
html.light-mode .hero-section-modern h3,
html.light-theme .hero-section-modern h1,
html.light-theme .hero-section-modern h2,
html.light-theme .hero-section-modern h3 {
    color: #111827;
}

/* Override H1 Gradient for Light Mode - Make it dark gradient */
html.light-mode .hero-section-modern h1,
html.light-theme .hero-section-modern h1 {
    background: linear-gradient(135deg, #111827 0%, #3b82f6 50%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html.light-mode .hero-section-modern p,
html.light-theme .hero-section-modern p {
    color: #374151 !important;
}

html.light-mode .hero-section-modern strong,
html.light-theme .hero-section-modern strong {
    color: #111827 !important;
}

/* Trust Indicators - Light Mode */
html.light-mode .hero-section-modern [style*="color: #a3a3a3"],
html.light-theme .hero-section-modern [style*="color: #a3a3a3"] {
    color: #6b7280 !important;
}

html.light-mode .hero-section-modern [style*="color: #e5e5e5"],
html.light-theme .hero-section-modern [style*="color: #e5e5e5"] {
    color: #374151 !important;
}

/* Badge Text Color Light Mode */
html.light-mode .hero-section-modern [style*="color: #60a5fa"],
html.light-theme .hero-section-modern [style*="color: #60a5fa"] {
    color: #2563eb !important;
}

/* Accent Text in Paragraphs - Keep visible but darker */
html.light-mode .hero-section-modern span[style*="color: #60a5fa"],
html.light-theme .hero-section-modern span[style*="color: #60a5fa"] {
    color: #2563eb !important;
}

html.light-mode .hero-section-modern span[style*="color: #a855f7"],
html.light-theme .hero-section-modern span[style*="color: #a855f7"] {
    color: #7c3aed !important;
}

/* Floating Badge Light Mode */
html.light-mode .hero-section-modern [style*="background: rgba(10, 10, 10, 0.9)"],
html.light-theme .hero-section-modern [style*="background: rgba(10, 10, 10, 0.9)"] {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

html.light-mode .hero-section-modern [style*="color: #ffffff"],
html.light-theme .hero-section-modern [style*="color: #ffffff"] {
    color: #111827 !important;
}

/* Buttons Light Mode - Keep  original colors but adjust shadows */
html.light-mode .hero-section-modern a[style*="background: rgba(255, 255, 255, 0.05)"],
html.light-theme .hero-section-modern a[style*="background: rgba(255, 255, 255, 0.05)"] {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #111827 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* Border Colors Light Mode */
html.light-mode .hero-section-modern [style*="border-top: 1px solid rgba(156, 163, 175, 0.2)"],
html.light-theme .hero-section-modern [style*="border-top: 1px solid rgba(156, 163, 175, 0.2)"] {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

/* Grid Pattern Light Mode */
html.light-mode .hero-section-modern > div:first-child,
html.light-theme .hero-section-modern > div:first-child {
    opacity: 0.3 !important;
}

/* ============================================================================
   LIGHT MODE ABOUT SECTION OVERRIDES
   ============================================================================ */

/* About Section Background */
html.light-mode .about-section-modern,
html.light-theme .about-section-modern {
    background: #ffffff !important;
}

/* About Section Main Heading */
html.light-mode .about-section-modern h2,
html.light-theme .about-section-modern h2 {
    color: #111827 !important;
}

/* About Section - Gradient Text in Heading */
html.light-mode .about-section-modern h2 span[style*="background: linear-gradient"],
html.light-theme .about-section-modern h2 span[style*="background: linear-gradient"] {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* About Section Body Text */
html.light-mode .about-section-modern p,
html.light-theme .about-section-modern p {
    color: #374151 !important;
}

/* About Section Strong Text */
html.light-mode .about-section-modern strong,
html.light-theme .about-section-modern strong {
    color: #111827 !important;
}

/* About Section - Azure & AI Text Colors */
html.light-mode .about-section-modern strong[style*="color: #60a5fa"],
html.light-theme .about-section-modern strong[style*="color: #60a5fa"] {
    color: #2563eb !important;
}

html.light-mode .about-section-modern strong[style*="color: #a855f7"],
html.light-theme .about-section-modern strong[style*="color: #a855f7"] {
    color: #7c3aed !important;
}

/* About Section - Badge Text */
html.light-mode .about-section-modern [style*="color: #60a5fa"],
html.light-theme .about-section-modern [style*="color: #60a5fa"] {
    color: #2563eb !important;
}

/* About Section - Muted Text */
html.light-mode .about-section-modern [style*="color: #a3a3a3"],
html.light-theme .about-section-modern [style*="color: #a3a3a3"] {
    color: #6b7280 !important;
}

/* About Section - White Text Elements */
html.light-mode .about-section-modern [style*="color: #ffffff"],
html.light-theme .about-section-modern [style*="color: #ffffff"] {
    color: #111827 !important;
}

/* About Section - Decorative Badges */
html.light-mode .about-section-modern [style*="background: rgba(10, 10, 10, 0.95)"],
html.light-theme .about-section-modern [style*="background: rgba(10, 10, 10, 0.95)"] {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* About Section - Image Border */
html.light-mode .about-section-modern img,
html.light-theme .about-section-modern img {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* About Section - Button Text (Keep White!) */
html.light-mode .about-section-modern a[style*="background: linear-gradient"],
html.light-theme .about-section-modern a[style*="background: linear-gradient"] {
    color: #ffffff !important;
}

html.light-mode .about-section-modern a[style*="background: linear-gradient"] *,
html.light-theme .about-section-modern a[style*="background: linear-gradient"] * {
    color: #ffffff !important;
}

/* Stat Cards Light Mode */
html.light-mode .stat-card,
html.light-theme .stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

html.light-mode .stat-card-value,
html.light-theme .stat-card-value {
    color: #111827 !important;
}

html.light-mode .stat-card-label,
html.light-theme .stat-card-label {
    color: #6b7280 !important;
}

html.light-mode .stat-card:hover,
html.light-theme .stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

