:root {
    --primary-color: #00d2ff;
    --secondary-color: #9d50bb;
    --bg-dark: #0b0e11;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --accent-glow: 0 0 20px rgba(0, 210, 255, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }

    50% {
        filter: drop-shadow(0 0 15px var(--primary-color));
    }

    100% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(11, 14, 17, 0.7), rgba(11, 14, 17, 0.9)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-gray);
    max-width: 800px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out forwards;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--accent-glow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Sections */
section {
    margin-bottom: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.card .price span {
    font-size: 1rem;
    color: var(--text-gray);
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
}

.card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.card ul li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 15px;
    font-weight: bold;
}

/* Configurator */
.config-tool {
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
}

.config-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .config-grid {
        grid-template-columns: 1fr;
    }
}

.config-row {
    margin-bottom: 30px;
}

.config-row label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
}

.config-val {
    color: var(--primary-color);
    font-family: monospace;
    font-size: 1.2rem;
}

.range-slider {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.config-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.config-summary .total-price {
    font-size: 4rem;
    font-weight: 900;
    margin: 10px 0;
    background: linear-gradient(to bottom, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-switcher a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.lang-switcher a.active {
    color: var(--primary-color);
}

.lang-switcher a:hover {
    color: var(--text-white);
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(157, 80, 187, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    filter: blur(40px);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Network Stats Panel */
.stats-panel {
    background: rgba(255, 255, 255, 0.03);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #00ff88;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 14, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        padding-top: 50px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links li:not(.lang-switcher):not(:last-child) {
        display: block !important;
        /* Show hidden links in menu */
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .lang-switcher {
        justify-content: center;
        margin-top: 20px;
    }

    /* Hamburger Animation */
    #mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .stats-panel {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    /* Navbar Mobile */
    nav {
        padding: 15px 20px !important;
    }

    /* Hero Mobile */
    .hero {
        padding: 0 15px;
        height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Network Section Mobile Fix */
    #network .network-title {
        font-size: 2rem !important;
    }

    #network .network-desc {
        font-size: 0.95rem !important;
        margin-bottom: 30px !important;
    }

    #network .network-stats-row {
        flex-direction: column;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    #network div[style*="url"] {
        padding: 40px 15px !important;
        border-radius: 20px !important;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(11, 14, 17, 0.8);
    border-bottom: var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-white);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 80px 20px;
    background: #050608;
    border-top: var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.copyright {
    color: var(--text-gray);
}