/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    /* Auralis Brand Colors */
    --primary: #00E5CC;          /* Aurora - Accent primaire */
    --primary-dark: #00BFA6;     /* Aurora Deep - Accent secondaire */
    --secondary: #5A6372;        /* Nebula - Texte secondaire */
    --accent: #00E5CC;           /* Aurora */
    --bg-dark: #080B12;          /* Deep Space - Fond principal */
    --bg-card: #0D1117;          /* Dark Matter - Cards, surfaces */
    --bg-card-hover: #141923;    /* Dark Matter variant */
    --text-primary: #E8EAED;     /* Moonlight - Texte principal */
    --text-secondary: #5A6372;   /* Nebula - Texte secondaire */
    --gradient-1: linear-gradient(135deg, #00E5CC 0%, #00BFA6 100%);
    --gradient-2: linear-gradient(135deg, #00BFA6 0%, #008B7A 100%);
    --glow-primary: 0 0 20px rgba(0, 229, 204, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 191, 166, 0.5);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Hide default cursor on all elements */
* {
    cursor: none !important;
}

/* ============================================
   COSMOS 3D BACKGROUND
   ============================================ */
#cosmos {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #0f1520 0%, var(--bg-dark) 70%);
}

#starfield, #three-scene {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#starfield { z-index: 1; }
#three-scene { z-index: 2; }

/* ── NEBULAS ── */
.neb {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    will-change: transform, opacity;
}

.neb-1 {
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(0,229,204,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 85% 75%, rgba(0,191,166,0.035) 0%, transparent 60%);
    animation: nebula1 28s ease-in-out infinite alternate;
}

.neb-2 {
    background:
        radial-gradient(ellipse 50% 40% at 75% 20%, rgba(0,229,204,0.03) 0%, transparent 65%),
        radial-gradient(ellipse 60% 35% at 20% 85%, rgba(90,99,114,0.045) 0%, transparent 55%);
    animation: nebula2 34s ease-in-out infinite alternate;
}

.neb-3 {
    background:
        radial-gradient(ellipse 80% 25% at 50% 50%, rgba(0,229,204,0.018) 0%, transparent 70%);
    animation: nebula3 22s ease-in-out infinite alternate;
}

@keyframes nebula1 {
    0% { transform: translate(0,0) scale(1); opacity: .8; }
    100% { transform: translate(35px,-25px) scale(1.06); opacity: 1; }
}

@keyframes nebula2 {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(-30px,20px) scale(1.04); opacity: .65; }
}

@keyframes nebula3 {
    0% { transform: translate(0,0) scale(1); opacity: .4; }
    100% { transform: translate(18px,12px) scale(1.09); opacity: .85; }
}

.vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(ellipse at center, transparent 35%, var(--bg-dark) 100%);
    opacity: 0.55;
}

.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 245, 255, 0.1);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text-dev {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-bracket {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 1;
    max-width: 600px;
}

.glitch-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.glitch {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--primary);
    animation: glitch-1 0.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

.glitch::after {
    color: var(--accent);
    animation: glitch-2 0.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
}

@keyframes glitch {
    0%, 100% { text-shadow: 2px 0 var(--primary), -2px 0 var(--accent); }
    25% { text-shadow: -2px 0 var(--primary), 2px 0 var(--accent); }
    50% { text-shadow: 2px 2px var(--primary), -2px -2px var(--accent); }
    75% { text-shadow: -2px -2px var(--primary), 2px 2px var(--accent); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

/* Hero Logo Main - Neon Glow Statique */
.hero-logo-main {
    width: clamp(800px, 90vw, 1800px);
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 229, 204, 0.6))
            drop-shadow(0 0 30px rgba(0, 229, 204, 0.4))
            drop-shadow(0 0 45px rgba(0, 229, 204, 0.2))
            brightness(1.3)
            contrast(1.2);
    margin-left: -55px;
    transform: scale(1.44);
    transform-origin: left center;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.typing-text {
    min-height: 1.5em;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent);
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.7);
}

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

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

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

/* ============================================
   HERO VISUAL - ORBIT ANIMATION
   ============================================ */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-right: 5%;
}

.orbit-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin-right: 5px;
}

.planet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    border-radius: 50%;
    box-shadow:
        0 0 80px rgba(0, 229, 204, 0.4),
        inset -20px -20px 40px rgba(0, 0, 0, 0.3);
    animation: pulse 3s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 80px rgba(0, 229, 204, 0.4); }
    50% { box-shadow: 0 0 120px rgba(0, 229, 204, 0.6); }
}

/* Robot on Planet */
.robot {
    position: relative;
    z-index: 10;
    transform: scale(1);
    animation: robotFloat 3s ease-in-out infinite;
}

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

.robot-head {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    box-shadow:
        0 0 20px rgba(0, 229, 204, 0.5),
        inset 2px 2px 10px rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

.antenna {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: var(--primary);
    border-radius: 2px;
}

.antenna::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: antennaGlow 2s infinite;
}

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

.robot-eyes {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 10px 0;
    gap: 15px;
}

.eye {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pupil {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #000 40%, #333 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
}

.robot-mouth {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.robot-mouth::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    width: 6px;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.robot-mouth::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 0;
    width: 6px;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.robot-body {
    position: relative;
    width: 50px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    margin: 5px auto 0;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 1px 1px 8px rgba(255, 255, 255, 0.2);
}

.body-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: bodyLightPulse 2s infinite;
}

@keyframes bodyLightPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 229, 204, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 230px;
    height: 230px;
    animation: rotate 8s linear infinite;
}

.orbit-2 {
    width: 340px;
    height: 340px;
    animation: rotate 12s linear infinite reverse;
}

.orbit-3 {
    width: 450px;
    height: 450px;
    animation: rotate 16s linear infinite;
}

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

.satellite {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
}

.orbit-2 .satellite {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.5);
}

.orbit-3 .satellite {
    background: var(--secondary);
    box-shadow: var(--glow-secondary);
}

/* 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(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

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

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

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

.section-tag {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(to bottom, transparent, rgba(123, 44, 191, 0.05), transparent);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--gradient-1);
    box-shadow: var(--glow-primary);
}

.service-card:hover .service-icon svg {
    color: var(--bg-dark);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.service-tags span {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-tags span {
    background: rgba(0, 245, 255, 0.2);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.project-card.hidden {
    display: none;
}

.project-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    overflow: hidden;
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-primary);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    color: var(--bg-dark);
    margin-left: 3px;
}

.play-btn:hover {
    transform: scale(1.1);
}

.project-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, rgba(0, 245, 255, 0.1) 100%);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 204, 0.3));
    transition: all 0.3s ease;
}

.project-card:hover .placeholder-icon {
    filter: drop-shadow(0 0 30px rgba(0, 229, 204, 0.6));
    transform: scale(1.1);
}

.project-placeholder span:last-child {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    padding: 0.3rem 0.7rem;
    background: rgba(123, 44, 191, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent);
}

.project-links {
    display: flex;
    gap: 1rem;
}

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

.project-link svg {
    width: 18px;
    height: 18px;
}

.project-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(to bottom, transparent, rgba(0, 245, 255, 0.03), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 245, 255, 0.2);
    outline: none;
    transition: all 0.3s ease;
}

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

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    align-self: flex-start;
}

.btn-submit .btn-icon svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-visual {
        margin-top: 2rem;
        justify-content: center;
        padding-right: 0;
    }

    .orbit-container {
        width: 400px;
        height: 400px;
    }

    .planet {
        width: 160px;
        height: 160px;
    }

    .orbit-1 { width: 190px; height: 190px; }
    .orbit-2 { width: 280px; height: 280px; }
    .orbit-3 { width: 370px; height: 370px; }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 245, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 5%;
    }

    .glitch {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .planet {
        width: 120px;
        height: 120px;
    }

    .robot {
        transform: scale(0.7);
    }

    .robot-head {
        width: 50px;
        height: 50px;
    }

    .robot-body {
        width: 40px;
        height: 30px;
    }

    .orbit-1 { width: 140px; height: 140px; }
    .orbit-2 { width: 210px; height: 210px; }
    .orbit-3 { width: 280px; height: 280px; }
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
