:root {
    --bg-color: #050510;
    --primary-color: #00d4ff;
    --secondary-color: #7000ff;
    --accent-color: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Canvas Styling */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #050510 100%);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container.narrow {
    max-width: 800px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 5, 16, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    background: #fff;
    color: #000;
}

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-text {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border 0.3s ease;
}

.btn-text:hover {
    border-bottom: 1px solid var(--primary-color);
}

/* Feature Cards */
.features {
    padding: 100px 0;
}

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Copy Section */
.copy-section {
    padding: 100px 0;
    position: relative;
}

.content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 4rem 0;
    font-weight: 300;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Game Section */
.game-container {
    padding: 100px 0;
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: crosshair;
}

#gameCanvas {
    width: 100%;
    height: 100%;
}

.game-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

#gameMessage {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Feedback Section */
.feedback-section {
    padding: 100px 0;
}

.feedback-card {
    text-align: center;
}

.feedback-card h2 {
    margin-bottom: 1rem;
}

.feedback-card p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
    text-align: left;
}

textarea {
    width: 100%;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.input-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--bg-color);
    padding: 0 5px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.hidden {
    display: none !important;
}

#feedbackSuccess {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* CTA Card */
.final-cta {
    padding: 100px 0 150px;
    text-align: center;
}

.cta-card {
    padding: 4rem;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1), rgba(0, 212, 255, 0.1));
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.btn-primary.large {
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
}

.footer-note {
    margin-top: 1.5rem;
    font-size: 0.9rem !important;
    opacity: 0.5;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .glass-nav .nav-links {
        display: none;
    }
    
    .cta-card {
        padding: 2.5rem;
    }
}
