/* ========================================
   STARQ NET - FUTURISTIC PORTFOLIO
   Ultra Modern CSS with Advanced Effects
   ======================================== */

/* ========================================
   CSS VARIABLES & ROOT SETTINGS
   ======================================== */
:root {
    /* Colors */
    --color-bg: #050510;
    --color-bg-secondary: #0a0a1a;
    --color-neon-blue: #00F0FF;
    --color-neon-purple: #8A2EFF;
    --color-neon-green: #00FFAA;
    --color-white: #EAEAEA;
    --color-gray: #999999;
    
    /* Fonts */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --transition: all 0.3s ease-in-out;
    --glow-neon-blue: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.3);
    --glow-neon-purple: 0 0 20px rgba(138, 46, 255, 0.5), 0 0 40px rgba(138, 46, 255, 0.3);
    --glow-neon-green: 0 0 20px rgba(0, 255, 170, 0.5), 0 0 40px rgba(0, 255, 170, 0.3);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg);
    color: var(--color-white);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

body.no-animations * {
    animation: none !important;
    transition: none !important;
}

/* ========================================
   FONT DISPLAY — evita bloqueio de renderização
   ======================================== */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* ========================================
   SKIP LINK — ACESSIBILIDADE
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #00F0FF;
    color: #050510;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 1rem;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--color-neon-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
    /* transform sem transition — segue o mouse na hora, sem lag */
    transition: width 0.3s ease, height 0.3s ease;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: var(--color-neon-purple);
    box-shadow: var(--glow-neon-purple);
}

/* Mobile: Show default cursor */
@media (max-width: 768px) {
    body {
        cursor: default;
    }
    .custom-cursor,
    .custom-cursor-glow {
        display: none;
    }
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* ========================================
   LOADER
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid transparent;
    border-top-color: var(--color-neon-blue);
    border-radius: 50%;
    animation: loaderRotate 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 100px;
    height: 100px;
    border-top-color: var(--color-neon-purple);
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 80px;
    height: 80px;
    border-top-color: var(--color-neon-green);
    animation-duration: 1s;
}

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

.loader-text {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-neon-blue);
    text-shadow: var(--glow-neon-blue);
    margin-top: 80px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 16, 0.95);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

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

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 0.3rem;
}

.logo-text {
    color: var(--color-white);
}

.logo-accent {
    color: var(--color-neon-blue);
    text-shadow: var(--glow-neon-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-neon-blue);
    box-shadow: var(--glow-neon-blue);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-neon-blue);
    text-shadow: var(--glow-neon-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-neon-blue);
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        border-left: 1px solid rgba(0, 240, 255, 0.2);
        transition: right 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        right: 0;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 8rem 2rem 4rem;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.hero-highlight {
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-neon-blue), var(--color-neon-purple));
    box-shadow: 0 0 20px var(--color-neon-blue);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    color: var(--color-bg);
    box-shadow: var(--glow-neon-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6), 0 0 60px rgba(138, 46, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-neon-blue);
    border: 2px solid var(--color-neon-blue);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-neon-blue);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Hologram Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-neon-blue);
    border-radius: 50%;
    animation: hologramRotate 10s linear infinite;
}

.hologram-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-color: var(--color-neon-purple);
    animation-duration: 8s;
    animation-direction: reverse;
}

.hologram-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-color: var(--color-neon-green);
    animation-duration: 6s;
}

@keyframes hologramRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: hologramPulse 2s ease-in-out infinite;
}

.hologram-core i {
    font-size: 3rem;
    color: var(--color-neon-blue);
    text-shadow: var(--glow-neon-blue);
}

/* Logo raio no hero — branco com glow neon ciano */
.hologram-logo {
    width: 85px;
    height: auto;
    display: block;
    filter: invert(1)
            drop-shadow(0 0 8px #00F0FF)
            drop-shadow(0 0 18px rgba(0, 240, 255, 0.7))
            drop-shadow(0 0 35px rgba(0, 240, 255, 0.35));
    /* Sem animation própria — o .hologram-core já pulsa */
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.85rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-neon-blue), transparent);
}

/* Mobile Hero */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hologram-container {
        width: 200px;
        height: 200px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* ========================================
   SECTIONS COMMON STYLES
   ======================================== */
section {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.section-number {
    color: var(--color-neon-blue);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.02) 50%, transparent 100%);
}

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

.project-card {
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

.project-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: var(--color-neon-blue);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3),
                0 0 40px rgba(0, 240, 255, 0.2);
}

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

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--glow-neon-blue);
}

.project-category {
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-neon-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.project-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.project-description {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-neon-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    gap: 1rem;
    text-shadow: var(--glow-neon-blue);
}

.project-link i {
    transition: var(--transition);
}

.project-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: radial-gradient(circle at center, rgba(138, 46, 255, 0.05) 0%, transparent 70%);
}

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

.about-text {
    padding: 2rem;
}

.typing-container {
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-white);
    flex: 1;
}

.typing-cursor {
    color: var(--color-neon-blue);
    font-weight: bold;
    animation: cursorBlink 1s infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 10, 26, 0.4);
    border-radius: 8px;
    border-left: 3px solid var(--color-neon-green);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(10, 10, 26, 0.6);
    transform: translateX(10px);
    border-left-color: var(--color-neon-blue);
}

.feature-item i {
    color: var(--color-neon-green);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--color-white);
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-neon-blue), var(--color-neon-purple));
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--color-neon-blue);
    box-shadow: var(--glow-neon-blue);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TECHNOLOGIES SECTION
   ======================================== */
.tech {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 170, 0.02) 50%, transparent 100%);
}

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

.tech-card {
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(138, 46, 255, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--color-neon-green);
    box-shadow: 0 20px 60px rgba(0, 255, 170, 0.3);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-neon-green), var(--color-neon-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--glow-neon-green);
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    transform: rotateY(360deg);
}

.tech-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.tech-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

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

.contact-card {
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(138, 46, 255, 0.1));
    opacity: 0;
    transition: var(--transition);
}

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

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-neon-blue);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3),
                0 0 40px var(--color-neon-blue);
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--glow-neon-blue);
    animation: glowPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.contact-description {
    color: var(--color-gray);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter {
    background: radial-gradient(circle at center, rgba(138, 46, 255, 0.07) 0%, transparent 70%);
}

.newsletter-form-wrapper {
    max-width: 580px;
    margin: 0 auto;
    background: rgba(10, 10, 26, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(138, 46, 255, 0.35);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.newsletter-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--color-neon-blue),
        var(--color-neon-purple),
        var(--color-neon-green),
        var(--color-neon-blue));
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.newsletter-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.newsletter-heading {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--color-neon-purple);
    text-align: center;
    margin-bottom: 0.6rem;
    text-shadow: var(--glow-neon-purple);
}

.newsletter-sub {
    color: var(--color-gray);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-neon-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-input {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-white);
    transition: var(--transition);
    width: 100%;
}

.form-input::placeholder {
    color: rgba(153, 153, 153, 0.55);
}

.form-input:focus {
    border-color: var(--color-neon-blue);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    outline: none;
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--color-neon-purple), var(--color-neon-blue));
    color: #fff;
    border: none;
    padding: 1.1rem 2rem;
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: var(--glow-neon-purple);
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
}

.btn-newsletter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-newsletter:hover::before {
    width: 400px;
    height: 400px;
}

.btn-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(138, 46, 255, 0.7),
                0 0 60px rgba(0, 240, 255, 0.4);
}

.btn-newsletter:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.newsletter-feedback {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.2rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: none;
}

.newsletter-feedback.success {
    display: block;
    color: var(--color-neon-green);
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.1);
}

.newsletter-feedback.error {
    display: block;
    color: #ff4d6d;
    background: rgba(255, 77, 109, 0.08);
    border: 1px solid rgba(255, 77, 109, 0.3);
}

.newsletter-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 1.5rem;
    line-height: 1.6;
}

.newsletter-privacy i {
    color: var(--color-neon-green);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .newsletter-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg) 2rem var(--spacing-md);
    background: rgba(5, 5, 16, 0.8);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 240, 255, 0.1), 
        rgba(138, 46, 255, 0.1), 
        transparent
    );
    animation: waveMove 3s ease-in-out infinite;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
}

.footer-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-link {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-neon-blue);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-neon-blue);
}

.footer-link:hover::after {
    width: 100%;
}

/* ========================================
   SETTINGS PANEL
   ======================================== */
.settings-panel {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.settings-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-purple));
    border: none;
    border-radius: 50%;
    color: var(--color-bg);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--glow-neon-blue);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

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

.settings-toggle:hover {
    transform: rotate(180deg) scale(1.1);
}

.settings-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.settings-panel.active .settings-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-neon-blue);
}

.settings-option {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.settings-option:last-child {
    border-bottom: none;
}

.settings-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--color-white);
}

.settings-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-neon-blue);
    cursor: pointer;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal-fade,
.reveal-slide,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-fade.revealed {
    opacity: 1;
}

.reveal-slide {
    transform: translateY(50px);
}

.reveal-slide.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

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

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    section {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .settings-panel {
        bottom: 1rem;
        right: 1rem;
    }
    
    .settings-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

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

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--color-neon-blue);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .nav,
    .settings-panel,
    .custom-cursor,
    .custom-cursor-glow,
    #particles-canvas,
    .grid-background {
        display: none !important;
    }
}
