/* CSS Variables für minimalistisches Design */
:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4f46e5;
    --primary-alpha: rgba(99, 102, 241, 0.1);
    
    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;
    --accent-blue: #0ea5e9;
    
    /* Background Colors */
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    --text-inverse: #ffffff;
    --text-link: #6366f1;
    --text-link-hover: #4f46e5;
    
    /* Border Colors */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;
    --border-focus: #6366f1;
    
    /* Shadow Variables */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #0ea5e9;
    
    /* Font Variables */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Spacing Variables */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transition */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Custom Text Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--text-inverse);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--text-inverse);
}

/* Featured Projects Enhancements */
.projects-header .projects-metrics {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--primary-alpha);
    border-radius: var(--radius-xl);
    border: 1px solid var(--primary-alpha);
}

.projects-metrics .metric {
    text-align: center;
}

.projects-metrics .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.projects-metrics .metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    position: relative;
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: linear-gradient(135deg, var(--success-color), var(--accent-green));
    color: var(--text-inverse);
}

.status-badge.enterprise {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-inverse);
}

.status-badge.innovation {
    background: linear-gradient(135deg, var(--warning-color), var(--accent-orange));
    color: var(--text-inverse);
}

.project-roi {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-md) 0;
    flex-wrap: wrap;
}

.roi-item {
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-alpha);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    font-size: 0.85rem;
    flex: 1;
    min-width: 120px;
}

.roi-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.fintech-icon, .health-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.healthcare-preview {
    background: linear-gradient(135deg, var(--accent-blue), var(--info-color));
    height: 200px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.healthcare-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-flow {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.data-point {
    width: 12px;
    height: 12px;
    background: var(--bg-secondary);
    opacity: 0.8;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.data-point:nth-child(2) {
    animation-delay: 0.2s;
}

.data-point:nth-child(3) {
    animation-delay: 0.4s;
}

.projects-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}

.btn-outline-large {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

.btn-outline-large:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-large .arrow {
    transition: var(--transition-normal);
}

.btn-outline-large:hover .arrow {
    transform: translateX(5px);
}

/* Mobile Responsive Optimizations */
@media (max-width: 768px) {
    /* Container Adjustments */
    .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }
    
    /* Typography Scale */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    /* Projects Header */
    .projects-subtitle {
        font-size: 1rem !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
        text-align: center;
        padding: 0 var(--space-md);
    }
    
    /* Projects Metrics - 2 Column Layout */
    .projects-metrics {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-md) !important;
        padding: var(--space-md) !important;
    }
    
    .projects-metrics .metric:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    .projects-metrics .metric-value {
        font-size: 1.5rem;
    }
    
    /* Featured Projects - Single Column on Mobile */
    .featured-projects-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }
    
    /* Project Cards */
    .project-card {
        min-height: auto !important;
        max-height: none !important;
    }
    
    .project-roi {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-sm) !important;
    }
    
    .roi-item {
        min-width: auto;
        padding: var(--space-sm);
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Button Improvements */
    .project-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: var(--space-sm) !important;
        margin-top: var(--space-md) !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: var(--space-md) var(--space-lg) !important;
        font-size: 1rem !important;
        min-height: 44px !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .btn-outline-large {
        font-size: 1rem;
        padding: var(--space-md) var(--space-lg);
        gap: var(--space-sm);
        min-height: 48px;
    }
    
    /* Text Size Adjustments */
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    /* Stats Grid - 2x2 Layout */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-md) !important;
    }
    
    /* Testimonials - Single Column */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }
    
    /* Prevent Horizontal Overflow */
    .project-preview,
    .prism-preview,
    .healthcare-preview,
    .quantum-preview {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: var(--space-sm) 0;
    }
    
    .nav-container {
        padding: 0 var(--space-md);
    }
    
    /* Mobile Menu */
    .mobile-menu {
        padding: var(--space-md);
    }
    
    .mobile-nav-link {
        padding: var(--space-md);
        font-size: 1.1rem;
    }
}

/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Dot Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-alpha) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.3;
}

/* Interactive Grid Overlay */
.grid-interactive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, var(--primary-alpha) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    opacity: 0;
    transition: var(--transition-normal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-svg {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

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

.humor-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Hero Section - Komplett überarbeitet für mehr Visual Appeal */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8fafc 50%, #f1f5f9 100%);
}

/* Animierter Gradient Hintergrund - subtiler */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 60%);
    animation: heroGradient 15s ease-in-out infinite;
    z-index: 1;
}

/* Dot Pattern - subtiler */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    opacity: 0.4;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
    /* Entferne übertriebene Gradient-Farben */
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    font-weight: 500;
}

/* Elegante Code-Bracket Effekte */
.code-bracket {
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1em;
    opacity: 0;
    animation: bracket-fade-in 0.8s ease-out forwards;
    margin: 0 0.2em;
}

.code-bracket:first-child {
    animation-delay: 0.5s;
}

.code-bracket:last-child {
    animation-delay: 1.2s;
}

.years-highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding: 0.1em 0.3em;
    background: var(--primary-alpha);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
    transition: var(--transition-normal);
}

.years-highlight:hover {
    background: var(--primary-light);
    transform: translateX(2px);
}

.ironic {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95em;
    opacity: 0.8;
}

.ironic {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95em;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-link::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-link:hover::before {
    left: 100%;
}

.btn-link.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-link.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.btn-link:not(.primary) {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.btn-link:not(.primary):hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tech Stack Carousel */
.tech-carousel-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
    -webkit-mask: linear-gradient(90deg, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 3rem;
    animation: scroll-left 40s linear infinite;
    transition: animation-play-state 0.5s ease;
    will-change: transform;
    width: 200%; /* Double width for seamless loop */
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.5s;
}

.carousel-track.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.carousel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    min-width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.carousel-item-icon {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.carousel-item-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.carousel-item-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

/* Carousel Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.projects-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Featured Projects Grid */
.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

/* Project Cards */
.project-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 500px;
}

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

/* Project Preview */
.project-preview {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

/* PRISM Preview */
.prism-preview {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-xl);
    color: var(--text-inverse);
    position: relative;
}

.prism-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.prism-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    position: relative;
}

.prism-logo {
    width: 40px;
    height: 40px;
    filter: brightness(1.2);
}

.prism-title h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.prism-title span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.prism-dashboard {
    display: flex;
    gap: 0.75rem;
    z-index: 2;
    position: relative;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    flex: 1;
    text-align: center;
    backdrop-filter: blur(10px);
}

.metric-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #4ade80;
}

.metric-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Crypto Preview */
.crypto-preview {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.crypto-animation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.key-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.encryption-flow {
    display: flex;
    gap: 0.5rem;
}

.data-block {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: encrypt 1.5s infinite ease-in-out;
}

.data-block:nth-child(2) {
    animation-delay: 0.2s;
}

.data-block:nth-child(3) {
    animation-delay: 0.4s;
}

/* Quantum Preview */
.quantum-preview {
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quantum-animation {
    position: relative;
    width: 100px;
    height: 100px;
}

.quantum-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: quantum-float 3s infinite ease-in-out;
}

.quantum-particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.quantum-particle:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

.quantum-particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.quantum-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: quantum-pulse 2s infinite;
}

/* Dashboard Preview */
.dashboard-preview {
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.dashboard-metrics {
    flex: 1;
    display: flex;
    align-items: end;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
    width: 100%;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #4ade80, #22d3ee);
    border-radius: 2px;
    min-height: 20%;
    animation: chart-grow 2s infinite ease-in-out;
}

.chart-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.chart-bar:nth-child(4) {
    animation-delay: 0.6s;
}

/* Project Content */
.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-inverse);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

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

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

/* Projects Footer */
.projects-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.view-all-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.view-all-projects:hover {
    transform: translateX(5px);
}

/* Featured Projects Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

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

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

@keyframes chart-grow {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.2);
    }
}

/* Featured Projects Responsive Design */
@media (max-width: 768px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .prism-dashboard {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .all-projects .project-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .all-projects .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Enhanced Button Interactions */
.btn-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-link::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-link:hover::before {
    left: 100%;
}

/* Improved Focus States */
.nav-link:focus,
.btn-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.blog-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 450px;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.post-thumbnail {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.discord-jar {
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.discord-jar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.discord-jar-logo i {
    font-size: 3rem;
    color: white;
}

.discord-jar-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.connect4 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.connect4-visual {
    color: white;
    text-align: center;
}

.connect4-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.storied-post {
    background: #2d5a3d;
}

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.post-content time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Code Preview Section */
.code-preview {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.profile-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.profile-location {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.profile-sections {
    margin-bottom: 3rem;
}

.section {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

.profile-social {
    display: flex;
    gap: 2rem;
}

.profile-social span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-card {
    background: var(--bg-dark);
    border-radius: 16px;
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-header {
    background: #2a2a2a;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #404040;
}

.terminal-title {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.terminal-content {
    padding: 2rem 1.5rem;
}

.command-block {
    margin-bottom: 2rem;
}

.prompt {
    color: #6366f1;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.command-block h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.command-block p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(108, 114, 147, 0.7);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 8px 25px rgba(99, 102, 241, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(108, 114, 147, 0.5);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.3),
        0 4px 12px rgba(99, 102, 241, 0.2);
}

.submit-btn::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.6s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.4),
        0 8px 20px rgba(99, 102, 241, 0.3);
}

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

.submit-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.submit-btn .btn-text {
    transition: all 0.3s ease;
}

.submit-btn:hover .btn-text {
    transform: translateX(-2px);
}

.submit-btn i {
    transition: all 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px) rotate(10deg);
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px) saturate(180%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(99, 102, 241, 0.3),
        0 4px 10px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 30px rgba(99, 102, 241, 0.4),
        0 6px 15px rgba(99, 102, 241, 0.3);
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-details h3 {
    color: var(--primary-color);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-details a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-details a:hover::after {
    width: 100%;
}

.contact-details a:hover {
    color: #4f46e5;
    transform: translateX(3px);
}

.contact-details span {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: rgba(99, 102, 241, 0.02);
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.testimonials-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Certifications Showcase */
.certifications-showcase {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cert-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cert-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cert-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.pwa-install-banner.show {
    display: flex;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pwa-banner-text h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.pwa-banner-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.pwa-install-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pwa-install-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pwa-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pwa-close-btn:hover {
    opacity: 1;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.fab-main:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-container.active .fab-menu {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.fab-container.active .fab-main {
    transform: rotate(45deg);
}

.fab-option {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fab-option:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.fab-option::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-option:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Live Statistics */
.live-stat {
    position: relative;
}

.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Typing Animation */
.typing-text {
    display: inline;
}

.cursor {
    display: inline-block;
    background: var(--primary-color);
    margin-left: 2px;
    width: 2px;
    animation: blink 1s infinite;
}

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

/* Skill Bars */
.skill-bars {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    min-width: 140px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b5cf6 100%);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Simplified CTA Styles */
.cta-main {
    position: relative;
    font-size: 1.1rem;
    padding: 1rem 2.5rem !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cta-main .cta-subtitle {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    opacity: 0.9;
    font-weight: 400;
}

.secondary-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.link-secondary {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.link-secondary:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 0;
    background: #f8fafc;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.case-study-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.client-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.industry {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
}

.project-type {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-card.featured .project-type {
    background: rgba(255, 255, 255, 0.2);
}

.case-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.case-study-card.featured .case-content h4 {
    color: rgba(255, 255, 255, 0.9);
}

.case-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.solution-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.case-study-card.featured .solution-list li::before {
    color: #34d399;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.case-study-card.featured .results-grid {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.result-metric {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.case-study-card.featured .result-metric {
    background: rgba(255, 255, 255, 0.1);
}

.result-metric:hover {
    transform: scale(1.05);
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.case-study-card.featured .metric-value {
    color: white;
}

.metric-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.case-study-card.featured .metric-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Case Studies */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-card.featured {
        grid-column: span 1;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Enterprise Projects Page Styles */
.projects-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.page-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.filter-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-badge:hover,
.filter-badge.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.all-projects {
    padding: 4rem 0;
    background: var(--bg-hover);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #1a202c;
    line-height: 1.3;
}

.project-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: #dcfdf7;
    color: #047857;
}

.status-badge.development {
    background: #fef3c7;
    color: #92400e;
}

.impact-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.impact-badge.enterprise {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: var(--space-md) 0 var(--space-lg);
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background: var(--bg-hover);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

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

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.tech-more {
    background: #e2e8f0;
    color: #64748b;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-style: italic;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.meta-item i {
    color: var(--primary-color);
    width: 14px;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-link {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
}

.project-link.primary {
    background: var(--primary-color);
    color: white;
}

.project-link.primary:hover {
    background: #5046e4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.project-link.secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.project-link.secondary:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.detail-metric {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.detail-metric .metric-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-metric .metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 180px;
}

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

.btn.primary:hover {
    background: #5046e4;
    transform: translateY(-2px);
}

.btn.secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn.secondary:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

/* Loading state */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    font-size: 1.2rem;
    color: #64748b;
}

.loading i {
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .filter-container {
        gap: 0.5rem;
    }
    
    .filter-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .enterprise-card {
        padding: 1.5rem;
    }
    
    .project-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy Contact Styles */
.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Medium tablets and small desktops */
@media (max-width: 999px) and (min-width: 769px) {
    .hero-content {
        padding: 2.5rem 2rem !important;
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .stat {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding-top: 70px !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
        max-width: 95%;
        margin: 1rem auto 0 auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin: 2rem 0 1.5rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat {
        min-width: auto;
        width: auto;
        flex: 1;
        min-width: 90px;
        padding: 1rem 0.5rem;
        margin: 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .btn-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-link.quick-contact {
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
    }
    
    .btn-link.quick-contact:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .carousel-item {
        padding: 0.75rem 1.25rem;
        min-width: 200px;
    }

/* Extra improvements for mobile experience */
@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem !important;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        padding: 0;
    }
    
    .hero-stats {
        gap: 0.5rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .stat {
        padding: 0.75rem 0.25rem;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .btn-link {
        max-width: 250px;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Mobile Contact Improvements */
    .contact-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .contact-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Mobile Certifications */
    .certifications-showcase {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .cert-badge {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        min-width: 80px;
    }
    
    .cert-info {
        align-items: center;
    }
    
    .cert-name {
        font-size: 0.8rem;
    }
    
    .cert-desc {
        font-size: 0.7rem;
    }
    
    /* Mobile PWA Banner */
    .pwa-install-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 0.75rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .pwa-banner-content {
        justify-content: center;
    }
    
    /* Mobile Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Mobile FAQ */
    .faq-question {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}
    
    .carousel-item-text {
        font-size: 0.9rem;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-preview {
        height: 160px;
    }
    
    .project-content {
        padding: 1.25rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .prism-dashboard {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .code-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        border-radius: 12px;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        border-radius: 16px;
        gap: 1.25rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .terminal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .all-projects .project-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .all-projects .project-link {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .all-projects .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure 2-column layout on most mobile devices */
    @media (min-width: 600px) and (max-width: 768px) {
        .all-projects .projects-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
    }
    
    /* Single column only on very small screens */
    @media (max-width: 599px) {
        .all-projects .projects-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 98%;
        height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-content {
        padding: 3rem 0.75rem 2rem 0.75rem !important;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .blog-post {
        margin-bottom: 1rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .post-content p {
        font-size: 0.9rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .code-window {
        margin: 1rem 0;
    }
    
    .window-header {
        padding: 0.5rem 1rem;
    }
    
    .window-title {
        font-size: 0.8rem;
    }
    
    .code-content {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .terminal-content {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .filter-container {
        gap: 0.5rem;
    }
    
    .filter-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .all-projects .project-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        min-width: 100px;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none; }

/* Enhanced styles for the improved content */

/* Code Showcase Section */
.code-showcase {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: 'JetBrains Mono', monospace;
}

.window-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #404040;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.code-content code {
    color: #d4d4d4;
}

/* Syntax highlighting */
.keyword { color: #569cd6; }
.class-name { color: #4ec9b0; }
.function { color: #dcdcaa; }
.param { color: #9cdcfe; }
.property { color: #9cdcfe; }
.string { color: #ce9178; }
.number { color: #b5cea8; }
.comment { color: #6a9955; font-style: italic; }
.type { color: #4ec9b0; }

/* Hero Section Updates */
.hero-title {
    font-size: 3.5rem;
}

.highlight { 
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.secure { color: #dc2626; font-weight: 600; }
.scalable { color: #059669; font-weight: 600; }
.intelligent { color: #7c3aed; font-weight: 600; }

.hero-stats {
    display: flex;
    gap: 4rem;
    margin: 4rem 0;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.stat {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 140px;
}

.stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.btn-link.primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-link.primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cyber-security .card-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.ai-development .card-icon {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.full-stack .card-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.expertise-list {
    list-style: none;
    margin-bottom: 2rem;
}

.expertise-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Project Updates */
.project-showcase.prism {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
}

.prism-logo {
    text-align: center;
    color: white;
}

.prism-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.prism-icon i {
    font-size: 2rem;
    color: #60a5fa;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.logo-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
}

.project-item.featured {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    margin-bottom: 1rem;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
}

/* Blog Updates */
.blog-post.featured {
    grid-column: span 2;
}

.prism-ai {
    background: linear-gradient(135deg, #7c3aed, #1e1b4b);
}

.prism-visual {
    text-align: center;
    color: white;
}

.ai-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.security {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.security-visual {
    text-align: center;
    color: white;
}

.security-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.performance {
    background: linear-gradient(135deg, #059669, #047857);
}

.performance-visual {
    text-align: center;
    color: white;
}

.perf-title {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.read-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Terminal Section */
.terminal-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.terminal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.certifications {
    margin-top: 2rem;
}

.certifications h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cert {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.25rem;
}

.command-line {
    margin: 1rem 0;
    font-family: 'JetBrains Mono', monospace;
}

.prompt {
    color: #4ade80;
    margin-right: 0.5rem;
}

.command {
    color: #e5e7eb;
}

.terminal-output {
    margin: 0.5rem 0 1rem 2rem;
    font-family: 'JetBrains Mono', monospace;
}

.output-line {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.output-line.success { color: #4ade80; }
.output-line.warning { color: #fbbf24; }
.output-line.error { color: #ef4444; }

/* Responsive Updates */
@media (max-width: 768px) {
    .code-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .blog-post.featured {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Humor and ironic elements */
.humor-badge {
    font-size: 0.8rem;
    color: #64748b;
    opacity: 0.8;
    margin-left: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.ironic {
    color: #f59e0b;
    font-weight: 500;
    font-style: italic;
}

.disclaimer {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    font-style: italic;
}

.card-humor {
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 6px;
}

/* PRISM Logo Styling */
.prism-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.prism-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.prism-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.logo-humor {
    font-size: 0.8rem;
    color: #f59e0b;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Blog post thumbnails for specific topics */
.post-thumbnail.prism-ai {
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prism-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.prism-blog-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.ai-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-thumbnail.quantum {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantum-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.quantum-visual i {
    font-size: 2rem;
    color: #ffffff;
}

.quantum-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-thumbnail.zero-knowledge {
    background: linear-gradient(135deg, #059669, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zk-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.zk-visual i {
    font-size: 2rem;
    color: #ffffff;
}

.zk-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.humor-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Enhanced terminal styling */
.terminal-content {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.command-line {
    margin: 1rem 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: #10b981;
    font-weight: 600;
}

.command {
    color: #fbbf24;
}

.terminal-output {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.output-line {
    margin: 0.25rem 0;
    color: #cbd5e1;
}

.output-line.success {
    color: #10b981;
}

.output-line.warning {
    color: #f59e0b;
}

.output-line.error {
    color: #ef4444;
}

/* Certifications styling */
.certifications {
    margin-top: 2rem;
}

.certifications h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cert {
    display: inline-block;
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 0.25rem 0.5rem 0.25rem 0;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.cert.humor {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

/* Contact disclaimer */
.contact-disclaimer {
    margin: 1rem 0;
    opacity: 0.7;
}

.contact-disclaimer small {
    font-style: italic;
    color: #64748b;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .prism-logo-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .terminal-content {
        font-size: 0.8rem;
    }
    
    .command-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .terminal-output {
        margin-left: 0;
    }
}

/* Animation for quantum elements */
@keyframes quantum-pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

.quantum-visual i {
    animation: quantum-pulse 3s ease-in-out infinite;
}

/* Hover effects for humor elements */
.card-humor:hover {
    background: rgba(245, 158, 11, 0.2);
    transition: background 0.3s ease;
}

.humor-tag:hover {
    background: rgba(245, 158, 11, 0.3);
    transition: background 0.3s ease;
}

/* Blog Post Styling */
.blog-post-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 8rem 0 4rem 0;
    min-height: 50vh;
    position: relative;
}

.blog-breadcrumb {
    margin-bottom: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: #e2e8f0;
}

.blog-post-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.blog-post-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.blog-hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.quantum-hero, .zk-hero {
    background: rgba(15, 23, 42, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.quantum-animation, .zk-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.quantum-animation i, .zk-animation i {
    font-size: 3rem;
    color: #ffffff;
    z-index: 2;
}

.quantum-particles, .secret-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle, .wave {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
    animation: quantum-orbit 4s linear infinite;
}

.particle:nth-child(1) { animation-delay: 0s; }
.particle:nth-child(2) { animation-delay: 1.3s; }
.particle:nth-child(3) { animation-delay: 2.6s; }

.wave {
    background: #10b981;
    animation: secret-wave 3s ease-in-out infinite;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 1s; }
.wave:nth-child(3) { animation-delay: 2s; }

@keyframes quantum-orbit {
    0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes secret-wave {
    0%, 100% { 
        transform: scale(0.5) translateX(-30px);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2) translateX(30px);
        opacity: 0.8;
    }
}

.blog-post-title-section {
    color: #ffffff;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-post-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-name {
    font-weight: 600;
    color: #e2e8f0;
}

.author-title {
    font-size: 0.9rem;
    color: #64748b;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.post-date, .read-time {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Blog Content */
.blog-post-content {
    padding: 4rem 0;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article {
    color: #334155;
    line-height: 1.7;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.article-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

/* Special callouts */
.humor-callout, .quantum-callout, .zk-callout {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.quantum-callout {
    background: rgba(124, 58, 237, 0.1);
    border-left-color: #7c3aed;
}

.zk-callout {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.humor-callout i, .quantum-callout i, .zk-callout i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    color: #f59e0b;
}

.quantum-callout i {
    color: #7c3aed;
}

.zk-callout i {
    color: #10b981;
}

/* Code showcase in blog */
.code-showcase-blog {
    margin: 2rem 0;
}

.code-showcase-blog .code-window {
    max-width: 100%;
}

/* Stats and achievements */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.achievement i {
    font-size: 1.5rem;
    color: #10b981;
    margin-top: 0.25rem;
}

.achievement-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Applications and features */
.applications-grid, .applications-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.application-card, .app-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover, .app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.application-card i, .app-card i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.app-card.blockchain i { color: #f59e0b; }
.app-card.identity i { color: #10b981; }
.app-card.voting i { color: #3b82f6; }
.app-card.compliance i { color: #8b5cf6; }

.application-card h4, .app-card h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.app-example {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
}

/* Lesson cards */
.lesson-card, .zk-lesson, .quantum-lesson {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.lesson-card h4, .zk-lesson h4, .quantum-lesson h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Related posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.related-posts h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.related-thumbnail {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-content {
    padding: 1rem;
    flex: 1;
}

.related-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.related-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Blog posts as links */
.blog-post {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
}

.blog-post .post-content h3 {
    color: inherit;
}

/* Responsive design for blog */
@media (max-width: 768px) {
    .blog-post-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid, .applications-grid, .applications-showcase {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Blog Post Headers */
.blog-header-quantum {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 8rem 0 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.blog-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.quantum-field {
    position: relative;
    width: 100%;
    height: 100%;
}

.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: quantumFloat 8s infinite ease-in-out;
}

.quantum-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.quantum-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -3s;
    animation-duration: 10s;
}

.quantum-particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: -6s;
    animation-duration: 14s;
}

.quantum-particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: -9s;
    animation-duration: 11s;
}

.quantum-particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: -12s;
    animation-duration: 13s;
}

@keyframes quantumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(20px, 20px) scale(1.1);
        opacity: 0.8;
    }
}

.blog-breadcrumb-enhanced {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 10;
}

.blog-breadcrumb-enhanced a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-breadcrumb-enhanced a:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.6;
}

.current-page {
    color: var(--text-primary);
    font-weight: 500;
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.humor-stat {
    color: var(--accent-color);
    font-weight: 500;
}

.quantum-states {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.quantum-states li {
    margin: 0.8rem 0;
    font-family: 'JetBrains Mono', monospace;
}

.quantum-callout {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 87, 34, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.quantum-lesson {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
}

.quantum-conclusion {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(63, 81, 181, 0.1));
    border: 1px solid rgba(156, 39, 176, 0.3);
}

/* PRISM-specific blog header styles */
.blog-header-prism {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 8rem 0 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
    animation: neuralPulse 3s ease-in-out infinite;
}

.neural-node:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.neural-node:nth-child(2) {
    top: 60%;
    left: 25%;
    animation-delay: 0.5s;
}

.neural-node:nth-child(3) {
    top: 40%;
    left: 75%;
    animation-delay: 1s;
}

.neural-node:nth-child(4) {
    top: 80%;
    left: 65%;
    animation-delay: 1.5s;
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.6;
    animation: dataFlow 4s ease-in-out infinite;
}

.neural-connection:nth-child(5) {
    top: 22%;
    left: 17%;
    width: 200px;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.neural-connection:nth-child(6) {
    top: 62%;
    left: 27%;
    width: 150px;
    transform: rotate(-35deg);
    animation-delay: 1s;
}

.neural-connection:nth-child(7) {
    top: 42%;
    left: 45%;
    width: 180px;
    transform: rotate(15deg);
    animation-delay: 2s;
}

@keyframes neuralPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

.prism-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.prism-logo-hero {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    animation: prismGlow 4s ease-in-out infinite;
}

.prism-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2), transparent);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes prismGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8));
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-humor {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.prism-callout {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 150, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.prism-lesson {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid #00ffff;
}

.prism-conclusion {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 100, 200, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Zero Knowledge specific blog header styles */
.blog-header-zk {
    background: linear-gradient(135deg, #2d1b69 0%, #11101d 50%, #0c0c0c 100%);
    padding: 8rem 0 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.cryptographic-field {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.crypto-symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: cryptoFloat 15s ease-in-out infinite;
}

.crypto-symbol:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.crypto-symbol:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 3s;
}

.crypto-symbol:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

.crypto-symbol:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 9s;
}

.encryption-wave {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.4;
    animation: encryptionFlow 8s ease-in-out infinite;
}

.encryption-wave:nth-child(5) {
    top: 25%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.encryption-wave:nth-child(6) {
    top: 50%;
    left: 0;
    width: 100%;
    animation-delay: 2s;
}

.encryption-wave:nth-child(7) {
    top: 75%;
    left: 0;
    width: 100%;
    animation-delay: 4s;
}

@keyframes cryptoFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-10px, 20px) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translate(15px, -10px) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes encryptionFlow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 0.6;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.zk-hero-visual {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.secret-cave {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cave-entrance {
    font-size: 3rem;
    animation: caveGlow 3s ease-in-out infinite;
}

.secret-path {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent, var(--accent-color));
    animation: pathReveal 4s ease-in-out infinite;
}

.knowledge-symbol {
    font-size: 2.5rem;
    animation: knowledgePulse 2s ease-in-out infinite;
}

@keyframes caveGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8));
    }
}

@keyframes pathReveal {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes knowledgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.zk-applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.application-card {
    background: rgba(138, 43, 226, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    background: rgba(138, 43, 226, 0.15);
}

.application-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.zk-callout {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.zk-lesson {
    background: rgba(138, 43, 226, 0.1);
    border-left: 4px solid #8a2be2;
}

.zk-conclusion {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
}

/* Completely redesigned blog headers - Modern & Beautiful */
.blog-header-quantum,
.blog-header-prism,
.blog-header-zk {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(13, 13, 23, 0.95) 0%, 
        rgba(25, 25, 40, 0.90) 50%, 
        rgba(40, 40, 60, 0.85) 100%
    );
}

.blog-header-quantum::before,
.blog-header-prism::before,
.blog-header-zk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 100, 0.08) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -10px) scale(1.05); }
    66% { transform: translate(20px, 10px) scale(0.95); }
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.blog-breadcrumb-enhanced {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-breadcrumb-enhanced:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.2), 
        rgba(255, 0, 255, 0.2)
    );
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
        transform: scale(1.02);
    }
}

.blog-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        var(--accent-color) 50%, 
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

.blog-hero-description {
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 400;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    animation: avatarFloat 6s ease-in-out infinite;
}

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

.author-details {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.author-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-weight: 400;
}

.post-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.humor-stat {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15), 
        rgba(255, 87, 34, 0.15)
    );
    border-color: rgba(255, 193, 7, 0.3);
    color: var(--accent-color);
    font-weight: 500;
}

/* Specific theme variations */
.blog-header-quantum {
    background: linear-gradient(135deg, 
        rgba(13, 13, 35, 0.95) 0%, 
        rgba(25, 25, 50, 0.90) 50%, 
        rgba(40, 40, 70, 0.85) 100%
    );
}

.blog-header-prism {
    background: linear-gradient(135deg, 
        rgba(23, 13, 35, 0.95) 0%, 
        rgba(35, 25, 50, 0.90) 50%, 
        rgba(50, 40, 70, 0.85) 100%
    );
}

.blog-header-zk {
    background: linear-gradient(135deg, 
        rgba(35, 13, 35, 0.95) 0%, 
        rgba(50, 25, 50, 0.90) 50%, 
        rgba(70, 40, 70, 0.85) 100%
    );
}

/* Remove old ugly styles */
.quantum-field,
.neural-network,
.cryptographic-field,
.quantum-particle,
.neural-node,
.crypto-symbol {
    display: none !important;
}

/* Beautiful visual elements for each theme */
.prism-hero-visual,
.zk-hero-visual {
    margin: 2rem 0;
    position: relative;
}

.prism-logo-hero {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    }
    50% { 
        transform: translateY(-15px) rotate(5deg);
        filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8));
    }
}

.secret-cave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 3rem;
    animation: secretReveal 5s ease-in-out infinite;
}

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


/* Responsive improvements for beautiful blog headers */
@media (max-width: 768px) {
    .blog-header-quantum,
    .blog-header-prism,
    .blog-header-zk {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .blog-hero-content {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .blog-breadcrumb-enhanced {
        top: 1rem;
        left: 1rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .blog-hero-meta {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .post-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
        gap: 0.5rem;
    }
    
    .blog-hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-role {
        font-size: 0.9rem;
    }
}

/* Beautiful hover effects */
.blog-hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.blog-hero-title:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Enhanced glass morphism effect */
.blog-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-hero-content:hover::before {
    opacity: 1;
}


/* BLOG HEADER FIX - Match Homepage Design */
/* Blog Headers that match the homepage design */
.blog-header-quantum,
.blog-header-prism,
.blog-header-zk {
    background: var(--bg-primary);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header-quantum::before,
.blog-header-prism::before,
.blog-header-zk::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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}

.blog-breadcrumb-enhanced {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.blog-breadcrumb-enhanced:hover {
    background: none;
    transform: none;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    animation: none;
    box-shadow: none;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-shadow: none;
    animation: none;
}

.blog-hero-title:hover {
    transform: none;
}

.blog-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0;
    justify-content: flex-start;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    box-shadow: none;
    animation: none;
}

.author-details {
    text-align: left;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 400;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    transition: none;
}

.stat:hover {
    background: none;
    transform: none;
}

.humor-stat {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 500;
}

/* Remove all the fancy animations and effects */
.blog-hero-content:hover {
    transform: none;
    box-shadow: none;
    transition: none;
}

.blog-hero-content::before {
    display: none;
}

.blog-hero-content:hover::before {
    opacity: 0;
}

/* Make visual elements simpler */
.prism-hero-visual,
.zk-hero-visual {
    margin: 1.5rem 0;
    position: relative;
    text-align: center;
}

.prism-logo-hero {
    width: 60px;
    height: 60px;
    filter: none;
    animation: none;
}

.secret-cave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    animation: none;
    opacity: 0.8;
}

/* Remove theme-specific backgrounds */
.blog-header-quantum,
.blog-header-prism,
.blog-header-zk {
    background: var(--bg-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-header-quantum,
    .blog-header-prism,
    .blog-header-zk {
        padding: 4rem 0 3rem 0;
    }
    
    .blog-hero-content {
        padding: 0 1rem;
    }
    
    .blog-hero-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .author-details {
        text-align: left;
    }
    
    .post-stats {
        gap: 1rem;
    }
}

/* HOMEPAGE REDESIGN - Inspired by Hanzo/Maeve clean design */

/* Fixed Navbar with scroll opacity */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(13, 13, 23, 0.85);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-svg {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

.logo-text {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.humor-badge {
    font-size: 0.8rem;
    color: #64748b;
    opacity: 0.8;
    margin-left: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Modern Burger Menu */
.mobile-menu-btn {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
}

/* Show burger menu on devices under 1000px */
@media (max-width: 999px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-links {
        display: none !important;
    }
}

.burger-line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.burger-line:nth-child(1) {
    margin-bottom: 5px;
}

.burger-line:nth-child(2) {
    margin-bottom: 5px;
}

/* Burger Animation */
.mobile-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Modern Overlay Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(13, 13, 23, 0.98) 0%, rgba(25, 25, 40, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Menu Items with Stagger Animation */
.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 300;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-nav-link:nth-child(5) { animation-delay: 0.5s; }
.mobile-menu.active .mobile-nav-link:nth-child(6) { animation-delay: 0.6s; }
.mobile-menu.active .mobile-nav-link:nth-child(7) { animation-delay: 0.7s; }

.mobile-nav-link::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.5s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

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

/* Add top padding to body to account for fixed navbar */
body {
    padding-top: 80px !important;
}

/* Grid/Dot Pattern Background with Mouse Interaction */
.hero {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    mask: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask: radial-gradient(circle at center, black 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero:hover::before {
    opacity: 0.6;
}

/* Clean Hero Section like Hanzo design */
.hero-content {
    max-width: 600px !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 4rem 2rem !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Hero Animations */
@keyframes heroGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 25%;
    animation-delay: 1s;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Clean Hero Content */
.hero-content {
    margin: 0 auto !important;
    text-align: center !important;
    padding: 8rem 2rem 6rem 2rem !important;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    margin-bottom: 2rem !important;
    color: var(--text-primary) !important;
}

.hero-content h1 .highlight {
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    background: none !important;
    text-decoration: none !important;
}

.hero-content h1 .highlight-accent {
    color: var(--accent-color) !important;
    font-weight: 400 !important;
}

.hero-subtitle {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 3rem !important;
    font-weight: 300 !important;
    text-shadow: 
        0 0 12px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(255, 255, 255, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1) !important;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)) !important;
}

/* Clean CTA Button like in the designs */
.cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.cta-button i {
    font-size: 0.9rem !important;
}

/* Remove excessive highlighting */
.highlight-text {
    color: var(--text-primary) !important;
    background: none !important;
    font-weight: 400 !important;
}

.accent-text {
    color: var(--accent-color) !important;
    font-weight: 400 !important;
}

/* Hero Animations für bessere Visual Appeal */
@keyframes bracket-fade-in {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-2px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Floating Code Elements für Hero - subtiler */
.floating-code {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.4;
    pointer-events: none;
    z-index: 3;
    animation: float 8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.floating-code:hover {
    opacity: 0.8;
    transform: scale(1.02);
    color: var(--primary-color);
}

.floating-code:nth-child(1) {
    animation-delay: 0s;
}

.floating-code:nth-child(2) {
    animation-delay: 1.2s;
}

.floating-code:nth-child(3) {
    animation-delay: 2.4s;
}

.floating-code:nth-child(4) {
    animation-delay: 3.6s;
}

.floating-code:nth-child(5) {
    animation-delay: 4.8s;
}

.floating-code:nth-child(6) {
    animation-delay: 6s;
}

.floating-code:nth-child(7) {
    animation-delay: 7.2s;
}

.floating-code:nth-child(8) {
    animation-delay: 8.4s;
}

/* Alle Projekte Seite Styles */
.projects-header {
    padding: 120px 0 60px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8fafc 100%);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Filter Badges */
.filter-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-badge {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.filter-badge.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* All Projects Grid */
.all-projects {
    padding: 60px 0 120px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem;
    }
}

/* Tablet: 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* Enhanced Enterprise Card Design */
.enterprise-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

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

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

/* Original project-card design for all-projects page */
.all-projects .project-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: none;
}

.all-projects .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-alpha), transparent);
    transition: left 0.5s;
}

.all-projects .project-card:hover::before {
    left: 100%;
}

.all-projects .project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.all-projects .project-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

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

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

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.project-status.development {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
}

.project-status.archived {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-muted);
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-tag.react { background: rgba(14, 165, 233, 0.1); color: var(--accent-blue); }
.tech-tag.vue { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.tech-tag.node { background: rgba(34, 197, 94, 0.1); color: var(--accent-green); }
.tech-tag.python { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); }
.tech-tag.typescript { background: rgba(59, 130, 246, 0.1); color: var(--info-color); }

/* All Projects Actions */
.all-projects .project-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.all-projects .project-link {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: fit-content;
}

.all-projects .project-link.primary {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.all-projects .project-link.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.all-projects .project-link.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.all-projects .project-link.secondary:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* File Browser Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: 2% auto;
    border-radius: 16px;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.close {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

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

.file-browser {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.file-tree {
    width: 300px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 1rem;
}

.file-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-container {
    flex: 1;
    overflow: auto;
    background: #1e1e1e;
}

.code-container pre {
    margin: 0;
    padding: 2rem;
    color: #d4d4d4;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* File Tree Styles */
.file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.file-item.active {
    background: var(--primary-color);
    color: white;
}

.file-item.folder {
    font-weight: 500;
}

.file-item i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.file-item.folder > i {
    color: #f59e0b;
}

.file-item.file > i {
    color: var(--text-muted);
}

.file-children {
    margin-left: 1rem;
    border-left: 1px solid var(--border-light);
    padding-left: 0.5rem;
}

/* Additional Contact Section Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-header h2 {
        font-size: 2rem !important;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Final Mobile Fixes & Overflow Prevention */
@media (max-width: 768px) {
    /* Prevent all horizontal overflow */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Ensure all text is readable */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Fix any remaining contrast issues */
    .text-muted {
        color: var(--text-secondary) !important;
    }
    
    .text-light {
        color: var(--text-primary) !important;
    }
    
    /* Ensure buttons are always touchable */
    .btn, .nav-link, .mobile-nav-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent content from going under navigation */
    .hero {
        padding-top: 100px;
    }
}

