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

:root {
    --bg-dark: #0a0a0a;
    --neon-cyan: #00ffff;
    --neon-purple: #8a2be2;
    --electric-blue: #0080ff;
    --void-black: #000000;
    --gold-holo: #ffd700;
    --pure-white: #ffffff;
    --soft-blue: #4a9eff;
    --light-cyan: #7dd3fc;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-dark);
    color: var(--pure-white);
    overflow-x: hidden;
    position: relative;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--neon-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--electric-blue) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--neon-cyan) 0%, transparent 50%);
    opacity: 0.1;
    z-index: -2;
    animation: bgPulse 8s ease-in-out infinite;
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Glitch text effect */
.glitch {
    position: relative;
    display: inline-block;
}

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

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--neon-cyan);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--neon-purple);
    z-index: -2;
}

/* Header */
header {
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
    margin-bottom: 1rem;
    animation: neonFlicker 2s infinite alternate;
}

.tagline {
    font-size: 1.2rem;
    color: var(--gold-holo);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Hexagonal sections */
.hex-section {
    position: relative;
    margin: 8rem 0;
    transform-style: preserve-3d;
}

.hex-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding: 4rem 0;
}

.hex-card {
    background: linear-gradient(135deg, rgba(0,255,255,0.1) 0%, rgba(138,43,226,0.1) 100%);
    border: 2px solid var(--neon-cyan);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: inherit;
    z-index: -1;
}

.hex-card:hover::before {
    opacity: 0.2;
}

.hex-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0,255,255,0.3),
        0 0 50px rgba(0,255,255,0.2);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--gold-holo));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--pure-white);
    opacity: 0.9;
    line-height: 1.8;
}

/* Floating geometric shapes */
.floating-geo {
    position: absolute;
    pointer-events: none;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--neon-cyan);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.geo-square {
    width: 40px;
    height: 40px;
    background: var(--neon-purple);
    opacity: 0.3;
    animation: rotate 8s linear infinite;
}

.geo-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gold-holo);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

/* Content sections */
.section {
    margin: 8rem 0;
    position: relative;
}

.section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px var(--neon-cyan);
}

.neon-box {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--electric-blue);
    border-radius: 0;
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 
        inset 0 0 20px rgba(0,128,255,0.1),
        0 0 30px rgba(0,128,255,0.2);
}

.neon-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--electric-blue), var(--gold-holo));
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-box:hover::before {
    opacity: 0.3;
}

.neon-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

/* Cyber image containers */
.cyber-img {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.cyber-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,255,255,0.2), rgba(138,43,226,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-img:hover .cyber-overlay {
    opacity: 1;
}

/* Links styling - Couleurs plus douces */
a {
    color: var(--light-cyan);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(125, 211, 252, 0.3);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--soft-blue), var(--light-cyan));
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: var(--soft-blue);
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.4);
}

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

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    animation: particleFloat 20s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .hex-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .neon-box {
        padding: 2rem;
        margin: 1rem 0;
    }
}

/* Animations */
@keyframes neonFlicker {
    0%, 100% { 
        text-shadow: 
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }
    50% { 
        text-shadow: 
            0 0 2px var(--neon-cyan),
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
    }
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

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

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

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