/* Coffee Alchymists Styles */
:root {
    /* Color Palette - Neo Rustic Coffee & Code Theme */
    --primary-brown: #1C0F0A;
    --rich-brown: #3D2317;
    --golden-amber: #D4A574;
    --code-green: #00FF88;
    --matrix-green: #00CC70;
    --dark-roast: #0D0704;
    --light-cream: #F9F5F0;
    --pure-white: #FFFFFF;
    --accent-gold: #FFB84D;
    --neon-blue: #00D4FF;
    --electric-purple: #B047FF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --wood-grain: #8B4513;
    --copper: #B87333;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Source Code Pro', 'Monaco', 'Courier New', monospace;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --shadow: 0 8px 30px rgba(28, 15, 10, 0.15);
    --glow-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    --wood-shadow: inset 0 2px 4px rgba(139, 69, 19, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-cream) 0%, #FAF7F2 50%, var(--light-cream) 100%);
    background-attachment: fixed;
}

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

/* Navigation */
.navbar {
    position: static;
    width: 100%;
    background: linear-gradient(135deg, rgba(28, 15, 10, 0.98) 0%, rgba(61, 35, 23, 0.95) 100%);
    padding: 1.2rem 0;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 20px rgba(28, 15, 10, 0.3);
}

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

.nav-logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--golden-amber);
    text-decoration: none;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    color: var(--code-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

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

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--golden-amber);
}

.nav-link.coffee-link {
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: var(--pure-white) !important;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 12px rgba(212, 165, 116, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link.coffee-link:hover {
    background: linear-gradient(135deg, #B8956A 0%, #A0825C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--golden-amber);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse at top, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-roast) 0%, var(--primary-brown) 30%, var(--rich-brown) 70%, var(--dark-roast) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="coffee-beans" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12" cy="12" r="1.5" fill="rgba(212,165,116,0.15)"/><circle cx="6" cy="18" r="1" fill="rgba(0,255,136,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23coffee-beans)"/></svg>'),
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 136, 0.02) 50%, transparent 51%);
    opacity: 0.4;
    animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--code-green) 0%, var(--golden-amber) 50%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: var(--pure-white);
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1B5E20 0%, #0D3E10 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1D1D1F;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: #2E7D32;
    border: 1px solid #2E7D32;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline:hover {
    background: #2E7D32;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
}

.btn-full {
    width: 100%;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-coffee-blend {
    position: relative;
    background:
        linear-gradient(135deg, var(--dark-roast) 0%, rgba(28, 15, 10, 0.95) 50%, var(--primary-brown) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(0, 255, 136, 0.1),
        0 0 20px rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.code-coffee-blend::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.03) 50%, transparent 70%),
        radial-gradient(circle at 70% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.code-snippet {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--light-cream);
}

.code-comment { color: #6A9955; }
.code-keyword { color: #569CD6; }
.code-function { color: #DCDCAA; }
.code-variable { color: #9CDCFE; }
.code-string { color: #CE9178; }

.coffee-beans {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background:
        radial-gradient(circle at 30% 30%, var(--code-green) 0%, var(--golden-amber) 40%, var(--rich-brown) 80%);
    border-radius: 50%;
    animation: neonFloat 4s ease-in-out infinite;
    box-shadow:
        0 0 15px rgba(0, 255, 136, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.coffee-beans::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 25px;
    height: 25px;
    background:
        radial-gradient(circle at 70% 70%, var(--electric-purple) 0%, var(--accent-gold) 50%, var(--rich-brown) 90%);
    border-radius: 50%;
    animation: neonFloat 4s ease-in-out infinite reverse;
    box-shadow: 0 0 10px rgba(176, 71, 255, 0.3);
}

@keyframes neonFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: translateY(-8px) rotate(90deg);
        filter: brightness(1.2);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        filter: brightness(1.4);
    }
    75% {
        transform: translateY(-8px) rotate(270deg);
        filter: brightness(1.2);
    }
}

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

/* Section Styles */
section {
    padding: var(--section-padding);
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--pure-white);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tag {
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(46, 125, 50, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.tag:hover {
    background: rgba(46, 125, 50, 0.15);
    color: #1B5E20;
    transform: translateY(-1px);
    border-color: rgba(46, 125, 50, 0.3);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    background: var(--light-cream);
}

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

.service-card {
    background:
        linear-gradient(135deg, var(--pure-white) 0%, rgba(249, 245, 240, 0.8) 100%);
    padding: 2.8rem;
    border-radius: 20px;
    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 255, 136, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at top right, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(212, 165, 116, 0.03) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    background:
        radial-gradient(circle at top right, rgba(0, 255, 136, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, transparent 0%, rgba(212, 165, 116, 0.08) 100%);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(28, 15, 10, 0.2),
        0 0 30px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 255, 136, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features span {
    background: var(--light-cream);
    color: var(--primary-brown);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.cta-section {
    text-align: center;
    background: var(--primary-brown);
    color: var(--pure-white);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Coffee Section */
.coffee-section {
    background: var(--pure-white);
}

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

.coffee-partner h3,
.coffee-recommendations h3 {
    font-size: 1.75rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.coffee-partner p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.coffee-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.coffee-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coffee-card {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--code-green);
}

.coffee-card h4 {
    color: var(--primary-brown);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.coffee-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: var(--light-cream);
}

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

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-icon {
    font-size: 1.25rem;
}

/* Form Styles */
.contact-form {
    background:
        linear-gradient(135deg, var(--pure-white) 0%, rgba(249, 245, 240, 0.95) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow:
        var(--shadow),
        0 0 30px rgba(0, 255, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 255, 136, 0.15);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at bottom left, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(0, 255, 136, 0.02) 100%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(212, 165, 116, 0.2);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background:
        linear-gradient(135deg, var(--light-cream) 0%, rgba(249, 245, 240, 0.8) 100%);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--code-green);
    background: var(--pure-white);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(0, 255, 136, 0.1),
        0 4px 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-brown);
    color: var(--pure-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--golden-amber);
    font-family: var(--font-mono);
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--golden-amber);
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: var(--pure-white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--golden-amber);
}

.footer-bottom {
    border-top: 1px solid var(--rich-brown);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: static;
        flex-direction: column;
        background: var(--primary-brown);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        gap: 1rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .coffee-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .coffee-buttons {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .coffee-buttons {
        flex-direction: column;
    }

    .coffee-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
    }
}

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

@keyframes matrixRain {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

.service-card,
.coffee-card,
.stat {
    animation: slideInUp 0.6s ease-out;
}

/* Matrix-style background effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(0, 212, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(176, 71, 255, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 184, 77, 0.2), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: matrixRain 15s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Floating sparkles */
.floating-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--code-green);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
    box-shadow: 0 0 6px var(--code-green);
}

.floating-sparkle:nth-child(2n) {
    background: var(--neon-blue);
    box-shadow: 0 0 6px var(--neon-blue);
    animation-delay: 1s;
    animation-duration: 4s;
}

.floating-sparkle:nth-child(3n) {
    background: var(--electric-purple);
    box-shadow: 0 0 6px var(--electric-purple);
    animation-delay: 2s;
    animation-duration: 5s;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--code-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        page-break-after: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-brown: #000000;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}