:root {
    --bg-color: #050510;
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-green: #0aff0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ba;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 51%);
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.15;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* Typography & Glitch */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glitch {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-purple);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--neon-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 81px, 0);
    }

    20% {
        clip: rect(4px, 9999px, 15px, 0);
    }

    40% {
        clip: rect(84px, 9999px, 3px, 0);
    }

    60% {
        clip: rect(12px, 9999px, 98px, 0);
    }

    80% {
        clip: rect(62px, 9999px, 22px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 57px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    20% {
        clip: rect(90px, 9999px, 9px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 55px, 0);
    }

    60% {
        clip: rect(33px, 9999px, 2px, 0);
    }

    80% {
        clip: rect(5px, 9999px, 75px, 0);
    }

    100% {
        clip: rect(95px, 9999px, 30px, 0);
    }
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan);
}

.highlight {
    color: var(--neon-purple);
    font-weight: bold;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

#hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
    transform: rotate(45deg);
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
}

/* Sections General */
section {
    padding: 100px 50px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Glass Panel & Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-cyan);
}

.card h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Philosophy Section */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 100px;
    gap: 50px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-purple);
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.symbol {
    font-size: 8rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--neon-green);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Future Section */
.future-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.highlight-box {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 60px;
    background: linear-gradient(90deg, transparent, rgba(188, 19, 254, 0.1), transparent);
    padding: 30px;
    border-left: 2px solid var(--neon-purple);
    border-right: 2px solid var(--neon-purple);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: var(--font-heading);
}

.label {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 50px 20px;
    text-align: center;
    background: #020205;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-small {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 3px;
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animation Classes (Controlled by JS) */
.slide-up,
.slide-left,
.slide-right,
.fade-in {
    opacity: 0;
    transition: all 1s ease-out;
}

.slide-up {
    transform: translateY(50px);
}

.slide-left {
    transform: translateX(50px);
}

.slide-right {
    transform: translateX(-50px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    nav ul {
        display: flex;
        gap: 15px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-toggle {
        margin-left: 0;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .symbol {
        font-size: 5rem;
        margin-bottom: 30px;
    }
}

.lang-toggle {
    margin-left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
}

.lang-toggle span {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lang-toggle span.active,
.lang-toggle span:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.lang-toggle .divider {
    color: var(--glass-border);
    cursor: default;
}

.lang-toggle .divider:hover {
    color: var(--glass-border);
    text-shadow: none;
}