:root {
    --bg-color: #030508;
    --text-main: #f8f9fa;
    --text-muted: #a0a8b0;
    --brand-primary: #00ffcc;
    --brand-secondary: #0077ff;
    --accent: #ff0055;
    --nav-height: 80px;
}

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

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

h1, h2, h3, .logo {
    font-family: 'Clash Display', sans-serif;
}

/* 3D Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    background: rgba(3, 5, 8, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,255,204,0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--brand-primary);
    text-shadow: 0 0 8px rgba(0,255,204,0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #030508 !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.5);
    filter: brightness(1.1);
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mt-4 { margin-top: 2rem; }

/* Sections */
.scroll-container {
    position: relative;
    z-index: 10;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.title-section {
    min-height: 50vh;
    justify-content: center;
}

.hero {
    min-height: 120vh;
    justify-content: center;
    text-align: center;
    padding-top: 10vh;
}

.hero .title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Glass Panels */
.glass-panel {
    background: rgba(10, 15, 25, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 255, 204, 0.15);
    padding: 3.5rem;
    border-radius: 32px;
    max-width: 550px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.5), transparent);
}

.title-panel {
    max-width: 800px;
    padding: 2rem 4rem;
}

.title-panel h2 {
    font-size: 3rem;
    margin: 0;
}

.icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: rgba(0, 255, 204, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.glass-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.glass-panel h3 {
    font-size: 4rem;
    opacity: 0.1;
    position: absolute;
    top: -10px;
    right: 20px;
    color: var(--brand-primary);
}

.glass-panel p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.mode-panel ul {
    margin-top: 1.5rem;
    list-style: none;
}

.mode-panel ul li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-panel ul li::before {
    content: '→';
    color: var(--brand-primary);
    font-weight: bold;
}

.left-align { margin-right: auto; }
.right-align { margin-left: auto; }
.center-align { margin: 0 auto; text-align: center; }

/* Footer */
.footer {
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 5, 8, 0.8);
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--brand-primary);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-panel {
        max-width: 100%;
        padding: 2rem;
    }
    .left-align, .right-align {
        margin: 0 auto;
    }
    .hero .title {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
}
