:root {
    --bg-dark: #07070a;
    --bg-light: #161622;
    --primary-blue: #00F0FF;
    --primary-purple: #B000FF;
    --primary-pink: #FF0055;
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Options */
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
.section-title { font-size: 2.8rem; margin-bottom: 2rem; background: linear-gradient(to right, var(--text-main), var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.max-w-p { max-width: 800px; margin: 0 auto 2rem; color: var(--text-muted); font-size: 1.1rem; }

/* Gradients and Effects */
.glow-text { font-size: 4.5rem; text-shadow: 0 0 20px rgba(0, 240, 255, 0.3); }
.gradient-text { 
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    position: relative;
    display: inline-block;
}
.text-gradient { color: var(--primary-blue); font-weight: bold; letter-spacing: 2px;}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px;}
.logo span { color: var(--primary-purple); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.95rem; font-weight: 400; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-blue); }

/* Layouts */
.content-wrapper { max-width: 1200px; margin: 0 auto; width: 90%; }
.section-padding { padding: 6rem 0; }
.dark-section { background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light), var(--bg-dark)); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; }

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}
.subtitle { font-size: 1.3rem; color: var(--text-muted); margin: 1.5rem 0 3rem; }
.hero-image-container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 10px;
    position: relative;
}
.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    filter: blur(40px);
}
.fluid-img { width: 100%; height: auto; border-radius: 12px; display: block; }
.round-img { border-radius: 20px; }

/* Scroll Indicator */
.scroll-indicator {
    display: block;
    margin: 4rem auto 0;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.scroll-indicator:hover { opacity: 1; }
.mouse {
    width: 4px; height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: 8px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}
@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Features */
.feature-card .icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); margin-top: 1rem; font-size: 0.95rem; }

/* Interactive Physics Lab */
.interactive-lab { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lab-controls {
    display: flex; gap: 2rem; padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.2);
}
.control-group { display: flex; flex-direction: column; width: 250px; }
.control-group label { margin-bottom: 0.5rem; font-weight: 600; color: var(--primary-blue); }
.control-group span { color: var(--text-main); }
.control-group small { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.4rem; }
input[type=range] {
    -webkit-appearance: none; width: 100%; background: transparent; 
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; height: 16px; width: 16px;
    border-radius: 50%; background: var(--primary-pink);
    cursor: pointer; margin-top: -6px;
    box-shadow: 0 0 10px var(--primary-pink);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px; cursor: pointer;
    background: var(--glass-border); border-radius: 2px;
}
.lab-visual {
    position: relative; width: 100%; height: 300px;
    background: linear-gradient(to right, transparent, rgba(0,240,255,0.05), transparent);
}
#wave-canvas { width: 100%; height: 100%; display: block; }
.wave-labels {
    position: absolute; top: 20px; left: 0; width: 100%;
    text-align: center; pointer-events: none;
}

/* Instruments Showcase */
.instrument-showcase { display: flex; flex-direction: column; gap: 5rem; margin-top: 4rem; }
.showcase-item { display: flex; align-items: center; gap: 4rem; }
.showcase-item.reverse { flex-direction: row-reverse; }
.showcase-item .image-box { flex: 1; position: relative; }
.showcase-item .image-box img {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s ease;
}
.showcase-item:hover .image-box img { transform: scale(1.02); border-color: rgba(176, 0, 255, 0.3); }
.showcase-item .text-box { flex: 1; }
.text-box h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--primary-blue); }
.text-box p { color: var(--text-muted); font-size: 1.1rem; }

/* Footer */
.glass-footer {
    padding: 3rem; text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted); margin-top: 4rem;
}
.icp-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}
.icp-link:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.5);
}

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

/* Responsive */
@media (max-width: 768px) {
    .glow-text { font-size: 3rem; }
    .hero-section { padding-top: 120px; }
    .showcase-item, .showcase-item.reverse { flex-direction: column; gap: 2rem; }
    .nav-links { display: none; }
}
