:root {
    /* Cyberpunk Color Palette */
    --primary-cyan: #00f3ff;
    --primary-magenta: #ff00ff;
    --primary-orange: #ff6b00;
    --accent-purple: #a855f7;
    --dark-bg: #0a0a0f;
    --dark-card: #151520;
    --dark-elevated: #1a1a2e;

    /* Glassmorphism */
    --glass-bg: rgba(21, 21, 32, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
}

/* Three.js Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    transition: width 0.3s ease;
}

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

.nav-links .cta-button {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.nav-links .cta-button::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glitch {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px var(--primary-cyan));
    }

    50% {
        filter: drop-shadow(0 0 40px var(--primary-magenta));
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.primary-btn,
.secondary-btn {
    position: relative;
    padding: 18px 40px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 243, 255, 0.6);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-btn:hover .btn-glow {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

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

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

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

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

.primary-btn.large,
.secondary-btn.large {
    padding: 22px 50px;
    font-size: 18px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--primary-cyan);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    max-width: 200px;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.3);
}

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

.feature-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(20px);
}

.icon {
    position: relative;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-cyan);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Mechs Showcase */
.mechs-showcase {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent, var(--dark-elevated), transparent);
}

.mechs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.mech-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mech-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-magenta);
    box-shadow: 0 30px 80px rgba(255, 0, 255, 0.3);
}

.mech-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.mech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mech-card:hover .mech-image img {
    transform: scale(1.1);
}

.mech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mech-card:hover .mech-overlay {
    opacity: 1;
}

.view-details {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.5);
}

.mech-info {
    padding: 30px;
}

.mech-info h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-magenta);
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    width: 40px;
    color: var(--primary-cyan);
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--primary-cyan);
}

/* Vault Section */
.vault-section {
    padding: var(--section-padding) 0;
}

.vault-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vault-text h2 {
    text-align: left;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.vault-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.vault-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vault-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.check {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.vault-visual {
    position: relative;
}

.vault-visual img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.2);
}

.vault-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-cyan), transparent);
    opacity: 0.2;
    filter: blur(60px);
    z-index: -1;
}

/* Customize Section */
.customize-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent, var(--dark-elevated), transparent);
}

.customize-showcase {
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
}

.customize-showcase img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(255, 0, 255, 0.3);
}

.customize-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-elevated);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        gap: 20px;
    }

    .vault-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .vault-text h2 {
        text-align: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 0 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .section-title {
        margin-bottom: 50px;
    }

    .title-line {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .cta-content h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        padding: 18px 20px;
        /* Reduce padding to prevent overflow */
        font-size: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .primary-btn.large,
    .secondary-btn.large {
        padding: 20px 20px;
        font-size: 16px;
    }
}