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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 140, 0, 0.3);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff8c00;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c00;
    transition: width 0.3s;
}

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

.hero {
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff8c00, #ffa500, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

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

.hero .subtitle {
    font-size: 1.4rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 165, 0, 0.08));
    border: 2px solid #ff8c00;
    border-radius: 12px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 1rem 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

.secondary-button {
    background: transparent;
    border: 2px solid #ff8c00;
    color: #ff8c00;
}

.secondary-button:hover {
    background: rgba(255, 140, 0, 0.1);
}

.content-section {
    padding: 2rem 0;
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-section p {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.email-capture {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px solid rgba(255, 140, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
}

.email-capture::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    animation: rotate 6s linear infinite;
    z-index: -1;
}

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

.email-capture h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #ff8c00;
    position: relative;
    z-index: 1;
}

.email-capture p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.email-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
}

.email-input::placeholder {
    color: #808080;
}

.email-input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

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

.benefit-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(255, 165, 0, 0.03));
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: #ff8c00;
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.15);
}

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

.benefit-card h3 {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 140, 0, 0.03);
    border-radius: 12px;
}

.company-logos span {
    font-size: 1.2rem;
    color: #808080;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    margin: 2rem 0;
}

.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.highlight {
    color: #ff8c00;
    font-weight: 600;
}

.urgency-text {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pong-container {
    width: 100%;
    max-width: 850px;
    margin: 2rem auto;
    outline: none;
}

.pong-container:focus {
    outline: none;
}

.game-monitor {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 8px solid #333;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-screen {
    position: relative;
    background: linear-gradient(145deg, #0f0f23, #1a1a2e);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.2);
}


.pong-canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}


.game-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-label {
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a);
    padding: 8px 12px;
    border: 1px solid #666;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.bot-button {
    background: linear-gradient(145deg, #6a6aff, #4040cc);
    color: #ffffff;
    border: 1px solid #4040cc;
    border-radius: 6px;
    padding: 8px 16px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.3);
}

.bot-button:hover {
    background: linear-gradient(145deg, #7a7aff, #5050dd);
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.bot-button.active {
    background: linear-gradient(145deg, #ff6a6a, #cc4040);
    border-color: #cc4040;
    color: #ffffff;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

.bot-button:active {
    transform: translateY(2px);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Evolver Page Styles */
.evolver-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.control-panel {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.input-section {
    margin-bottom: 1.5rem;
}

.input-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff8c00;
    font-weight: 600;
}

.input-section input {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.input-section input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.input-section small {
    display: block;
    margin-top: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.button-section {
    display: flex;
    gap: 1rem;
}

.start-btn, .stop-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-btn {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000000;
}

.stop-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #ffffff;
}

.start-btn:hover, .stop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.metrics-dashboard {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(255, 165, 0, 0.03));
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: #ff8c00;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.15);
}

.metric-card h3 {
    color: #ff8c00;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace;
}

.best-function-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.best-function-section h3 {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.function-display {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 1.1rem;
    color: #00ff00;
    word-break: break-all;
    overflow-wrap: break-word;
    margin-bottom: 0.5rem;
}

.fitness-display {
    color: #b0b0b0;
    font-family: monospace;
    font-size: 0.9rem;
}

.runtime-info {
    text-align: center;
    margin-top: 1rem;
    color: #808080;
}