:root {
    --bg-color: #1e1e1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.4);
    --secondary-accent: #bf00ff;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --grid-gap: 2rem;
}

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

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

/* Background Effects */
canvas#visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 0.8) 0%, var(--bg-color) 100%);
    z-index: -2;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo .icon {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.logo .highlight {
    color: var(--accent-color);
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Main Layout */
main {
    margin-top: 80px;
    padding: 0 5%;
}

/* Section Common */
section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

#hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.version-tag {
    font-size: 1rem;
    background: var(--accent-color);
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    vertical-align: middle;
}

#hero .subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

#hero .description {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn.primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn.primary:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

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

.btn.secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn.outline {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn.outline:hover {
    background: rgba(0, 255, 204, 0.1);
}

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

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Versions Section */
.version-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.version-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.version-card.featured {
    border-color: var(--accent-color);
    background: rgba(0, 255, 204, 0.03);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.version-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Notice Section */
.alert-box {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.alert-icon {
    font-size: 2rem;
}

.alert-content h4 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(20, 20, 20, 0.95);
}

.footer-links {
    margin-bottom: 1rem;
}

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

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

.divider {
    margin: 0 0.5rem;
    color: #444;
}

/* Additional Styles */

.logo-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 8px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

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

/* Screenshots Section */
#screenshots {
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    justify-items: center;
}

.screenshot-grid img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Contact Section */
#contact {
    text-align: center;
    padding-bottom: 5rem;
}

.contact-info {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-email {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-group {
        flex-direction: column;
    }

    .version-card.featured {
        transform: scale(1);
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 101;
    }

    nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .version-list {
        flex-direction: column;
        align-items: center;
    }

    .alert-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
}
