/* ========================================
   Main Styles - ivoschi Portfolio
   ======================================== */

/* Import animations */
@import url('animations.css');

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --gold: #f59e0b;
    --emerald: #10b981;
    --cyan: #06b6d4;
    --rose: #f43f5e;
    --violet: #7c3aed;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: radial-gradient(ellipse at top, #1e1b4b 0%, #0f0f23 50%, #000000 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   Site Navigation
   ======================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeIn 0.6s ease-out;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.site-nav a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================================
   Background Effects
   ======================================== */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.aurora {
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
        rgba(99, 102, 241, 0.3) 0deg,
        rgba(139, 92, 246, 0.2) 60deg,
        rgba(236, 72, 153, 0.3) 120deg,
        rgba(16, 185, 129, 0.2) 180deg,
        rgba(6, 182, 212, 0.3) 240deg,
        rgba(124, 58, 237, 0.2) 300deg,
        rgba(99, 102, 241, 0.3) 360deg);
    filter: blur(60px);
    animation: aurora 30s linear infinite;
    transform-origin: center center;
}

.aurora:nth-child(2) {
    animation-duration: 40s;
    animation-direction: reverse;
    opacity: 0.6;
    filter: blur(80px);
}

.aurora:nth-child(3) {
    animation-duration: 50s;
    opacity: 0.4;
    filter: blur(100px);
}

/* Holographic Stars */
.holographic-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.holo-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, var(--cyan), var(--violet));
    box-shadow: 
        0 0 6px currentColor,
        0 0 12px currentColor,
        0 0 20px currentColor;
    border-radius: 50%;
    animation: holoTwinkle 4s ease-in-out infinite;
}

/* 3D Geometric Shapes */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.1), 
        rgba(139, 92, 246, 0.1), 
        rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape.triangle {
    width: 0;
    height: 0;
    background: none;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid rgba(99, 102, 241, 0.2);
}

.shape.circle {
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.shape.diamond {
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-symbol {
    position: absolute;
    font-size: 24px;
    color: rgba(99, 102, 241, 0.2);
    animation: symbolFloat 25s infinite linear;
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    margin-top: 80px; /* Account for fixed nav */
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    text-align: center;
    margin-bottom: 150px;
    padding: 120px 40px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%),
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.2), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.2), transparent 50%);
    backdrop-filter: blur(30px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 100px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    animation: heroBreathing 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(99, 102, 241, 0.1), 
        transparent, 
        rgba(139, 92, 246, 0.1), 
        transparent, 
        rgba(236, 72, 153, 0.1), 
        transparent);
    animation: heroRotate 15s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.hero h1 {
    font-size: 6em;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(45deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent), 
        var(--cyan), 
        var(--emerald));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTextFlow 8s ease-in-out infinite;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
    letter-spacing: 8px;
    position: relative;
    z-index: 2;
    transform: perspective(500px) rotateX(5deg);
}

.hero h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.3), 
        rgba(139, 92, 246, 0.3), 
        rgba(236, 72, 153, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    transform: translateY(4px) translateX(4px);
    filter: blur(2px);
}

.hero .subtitle {
    font-size: 2.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: subtitleGlow 4s ease-in-out infinite;
}

.hero .tagline {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* ========================================
   Section Cards
   ======================================== */
.sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 150px;
}

.section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%),
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.2), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.2), transparent 50%);
    backdrop-filter: blur(25px);
    padding: 60px;
    border-radius: 30px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.1), 
        rgba(139, 92, 246, 0.1), 
        rgba(236, 72, 153, 0.1), 
        rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 30px;
}

.section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(99, 102, 241, 0.2), 
        transparent, 
        rgba(236, 72, 153, 0.2), 
        transparent);
    animation: sectionRotate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section:hover::before,
.section:hover::after {
    opacity: 1;
}

.section-icon {
    font-size: 5em;
    margin-bottom: 30px;
    display: block;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    animation: iconLevitate 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.section h2 {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    animation: titleShimmer 8s ease-in-out infinite;
}

.section p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.9;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* ========================================
   Buttons
   ======================================== */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent), 
        var(--cyan));
    background-size: 300% 300%;
    color: white;
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1em;
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: buttonPulse 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

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

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05) rotateX(5deg);
    background-position: 100% 50%;
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(139, 92, 246, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 200px;
    height: 200px;
}

.cta-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.3), transparent 70%);
    backdrop-filter: blur(30px);
    padding: 100px 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 150px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 25%,
        rgba(236, 72, 153, 0.05) 50%,
        rgba(6, 182, 212, 0.05) 75%,
        rgba(99, 102, 241, 0.05) 100%);
    animation: contactFlow 12s ease-in-out infinite;
    border-radius: 40px;
}

.contact h2 {
    font-size: 3.5em;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact p {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
    padding: 20px 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

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

.contact-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-8px) scale(1.05) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3),
        0 0 60px rgba(139, 92, 246, 0.4);
}

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

.contact-link:hover::after {
    width: 150px;
    height: 150px;
}

.contact-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* ========================================
   Loading Overlay
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1e1b4b 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 2s ease-in-out 1s forwards;
}

.loading-spinner {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary), var(--accent), var(--cyan));
}

/* ========================================
   Accessibility & Performance
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 480px) {
    .site-nav {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .site-nav a {
        font-size: 0.95em;
        padding: 8px 15px;
    }
    
    .container {
        margin-top: 70px;
    }
    
    .hero {
        padding: 60px 20px;
        margin-bottom: 80px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }
    
    .hero::before {
        opacity: 0.3;
    }
    
    .hero h1 {
        font-size: 2.8em;
        letter-spacing: 3px;
        line-height: 1.1;
    }

    .hero .subtitle {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .hero .tagline {
        font-size: 1.1em;
        line-height: 1.6;
        padding: 0 10px;
    }

    .sections {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 100px;
    }

    .section {
        padding: 40px 25px;
        border-radius: 20px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }
    
    .section::before {
        opacity: 0.5;
    }

    .section-icon {
        font-size: 3.5em;
        margin-bottom: 20px;
    }

    .section h2 {
        font-size: 2.2em;
        margin-bottom: 20px;
    }

    .section p {
        font-size: 1.1em;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 0.95em;
        letter-spacing: 2px;
        border-radius: 40px;
    }

    .contact {
        padding: 60px 30px;
        margin-top: 60px;
        border-radius: 25px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }

    .contact h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .contact p {
        font-size: 1.2em;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-link {
        font-size: 1.1em;
        padding: 15px 35px;
        width: 80%;
        max-width: 250px;
        text-align: center;
        border-radius: 40px;
    }

    .container {
        padding: 30px 15px;
    }

    /* Reduce intensive effects on mobile for performance and readability */
    .aurora-container {
        opacity: 0.3;
    }
    
    .aurora {
        filter: blur(80px);
        animation-duration: 60s;
    }

    .floating-symbol, .shape, .holo-star {
        animation-duration: 30s;
        opacity: 0.3;
    }
    
    .holographic-stars,
    .geometric-shapes,
    .floating-elements {
        opacity: 0.4;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .hero {
        padding: 80px 30px;
        margin-bottom: 100px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }
    
    .hero::before {
        opacity: 0.4;
    }
    
    .hero h1 {
        font-size: 3.5em;
        letter-spacing: 4px;
    }

    .hero .subtitle {
        font-size: 1.6em;
    }

    .hero .tagline {
        font-size: 1.2em;
    }

    .sections {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 120px;
    }

    .section {
        padding: 50px 35px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }
    
    .section::before {
        opacity: 0.5;
    }

    .contact {
        padding: 80px 40px;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        backdrop-filter: blur(15px);
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .contact-link {
        width: 70%;
        max-width: 300px;
        text-align: center;
    }

    .container {
        padding: 40px 20px;
    }
    
    /* Reduce effects on tablets too */
    .aurora-container {
        opacity: 0.5;
    }
    
    .holographic-stars,
    .geometric-shapes,
    .floating-elements {
        opacity: 0.5;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 900px;
    }

    .sections {
        gap: 50px;
    }

    .hero h1 {
        font-size: 4.5em;
    }
}

/* Touch-specific optimizations */
@media (hover: none) and (pointer: coarse) {
    .section:hover,
    .cta-button:hover,
    .contact-link:hover {
        transform: none;
    }

    .section:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .cta-button:active,
    .contact-link:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    /* Disable mouse trail on touch devices */
    .mouse-trail {
        display: none;
    }
}