/* ========================================
   FÁBIO'S GARAGE - NEOPUNK GLASSMORPHISM
   ======================================== */

/* CSS Variables */
:root {
    --neon-cyan: #00f5ff;
    --neon-pink: #ff00ff;
    --neon-purple: #b400ff;
    --neon-blue: #0066ff;
    --neon-green: #00ff88;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(0, 245, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan));
}

/* ========================================
   ANIMATED BACKGROUNDS
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    background: var(--dark-bg);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 245, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(180, 0, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 60%, rgba(0, 102, 255, 0.1) 0%, transparent 40%);
    animation: bgFloat 25s ease-in-out infinite;
}

.bg-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 90% 90%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 10%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    animation: bgFloat 30s ease-in-out infinite reverse;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(2%, 1%) rotate(0.5deg) scale(1.02); }
    50% { transform: translate(-1%, 2%) rotate(-0.5deg) scale(1); }
    75% { transform: translate(1%, -1%) rotate(0.3deg) scale(1.01); }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle linear infinite;
    opacity: 0;
}

.particle.cyan {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan);
}

.particle.pink {
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 30px var(--neon-pink);
}

.particle.purple {
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 15px 60px;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 100px rgba(0, 245, 255, 0.05);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, #fff 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 245, 255, 0.3);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.logo:hover::before {
    animation: logoGlow 1s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 245, 255, 0.3); }
    50% { box-shadow: 0 0 25px var(--neon-pink), 0 0 50px rgba(255, 0, 255, 0.5); }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 5px;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 245, 255, 0.5);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover::after {
    width: 80px;
    height: 80px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
    animation: heroFadeIn 1.5s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 35px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3), inset 0 0 20px rgba(0, 245, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 245, 255, 0.5), inset 0 0 30px rgba(0, 245, 255, 0.1);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 40%, var(--neon-pink) 80%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 5s ease-in-out infinite, titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 5px;
}

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

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 50px rgba(255, 0, 255, 0.6)); }
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 3D Rotating Rings */
.hero-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
    perspective: 1000px;
}

.rotating-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    transform-style: preserve-3d;
}

.ring-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-color: rgba(0, 245, 255, 0.15);
    animation: rotate3D-1 25s linear infinite;
}

.ring-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-color: rgba(255, 0, 255, 0.12);
    animation: rotate3D-2 20s linear infinite reverse;
}

.ring-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-color: rgba(180, 0, 255, 0.1);
    animation: rotate3D-3 15s linear infinite;
}

@keyframes rotate3D-1 {
    0% { transform: rotateX(70deg) rotateZ(0deg); }
    100% { transform: rotateX(70deg) rotateZ(360deg); }
}

@keyframes rotate3D-2 {
    0% { transform: rotateX(60deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateY(45deg) rotateZ(360deg); }
}

@keyframes rotate3D-3 {
    0% { transform: rotateX(80deg) rotateY(-30deg) rotateZ(0deg); }
    100% { transform: rotateX(80deg) rotateY(-30deg) rotateZ(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

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

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    opacity: 0.7;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 18px 45px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-block;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000;
    box-shadow:
        0 0 30px rgba(0, 245, 255, 0.4),
        0 10px 40px rgba(0, 245, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 50px rgba(0, 245, 255, 0.6),
        0 15px 60px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--neon-pink);
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.2),
        inset 0 0 20px rgba(255, 0, 255, 0.05);
}

.btn-secondary:hover {
    background: var(--neon-pink);
    color: #000;
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 50px rgba(255, 0, 255, 0.6),
        0 15px 60px rgba(255, 0, 255, 0.3);
}

/* ========================================
   GLASSMORPHISM CARDS
   ======================================== */

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    border-radius: 24px;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 25px 80px rgba(0, 245, 255, 0.15),
        0 0 100px rgba(0, 245, 255, 0.05),
        inset 0 0 50px rgba(0, 245, 255, 0.02);
}

.glass-card:hover::after {
    opacity: 1;
}

/* ========================================
   SECTION STYLING
   ======================================== */

section {
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(255, 0, 255, 0.15));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 150px 60px;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 0%, rgba(0, 245, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    transform: rotate(-10deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 15px 50px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(0deg) scale(1.1);
    box-shadow:
        0 20px 70px rgba(0, 245, 255, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: iconBorderRotate 3s linear infinite;
}

@keyframes iconBorderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: 150px 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.02), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item img {
