:root {
    --primary: #9d50bb;
    --primary-glow: rgba(157, 80, 187, 0.5);
    --secondary: #6e48aa;
    --accent: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.4);
    --bg-dark: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.neon-text {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--bg-card);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Page Sections */
.page-section {
    display: none;
    padding: 140px 5% 150px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: calc(100vh - 240px);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.reveal-text {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    font-weight: 600;
    color: var(--text-dim);
}

.stat .num {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
}

.decorative-piano {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 2px;
    padding: 10px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.decorative-piano::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(157, 80, 187, 0.2));
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Instrument Cards */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.instrument-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.instrument-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--accent);
}

.instrument-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.instrument-card p {
    color: var(--text-dim);
    margin-bottom: 24px;
}

/* Studio Workspace */
.studio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 40px;
    max-width: 1200px;
    width: 100%;
}

.metronome-control {
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--glass-border);
}

.metronome-control input {
    width: 70px;
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}

.btn-studio-record.recording {
    animation: studio-pulse-red 1.5s infinite;
}

@keyframes studio-pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7);
    }

    70% {
        box-shadow: 0 0 0 25px rgba(255, 75, 43, 0.1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
    }
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    height: calc(100vh - 240px);
}

.instrument-canvas-container {
    background: #000;
    border-radius: 40px;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 1), 0 30px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    margin: 0 auto;
}

.instrument-view {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Piano Styles */
/* Realistic Piano Styles */
.piano-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    width: 98%;
    max-width: 1600px;
}

.piano-dashboard {
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #222, #111);
    border-radius: 5px 5px 0 0;
    margin-bottom: 20px;
    border: 1px solid #333;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: relative;
    overflow: hidden;
}

/* Speaker Grill Pattern */
.piano-dashboard::before,
.piano-dashboard::after {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    width: 150px;
    background-image: radial-gradient(#000 20%, transparent 20%);
    background-size: 4px 4px;
    opacity: 0.5;
}

.piano-dashboard::before {
    left: 20px;
}

.piano-dashboard::after {
    right: 20px;
}

.piano-screen {
    background: #000;
    border: 2px solid #555;
    border-radius: 4px;
    padding: 5px 15px;
    color: #ff4500;
    /* LED Orange */
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.2), inset 0 0 5px rgba(0, 0, 0, 0.8);
    min-width: 150px;
    text-align: center;
    z-index: 2;
}

.piano-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background: var(--accent);
    color: #000;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1px;
}

.premium-dash {
    height: 100px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #333;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
}

.dash-left,
.dash-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.dash-center {
    display: flex;
    align-items: center;
}

.preset-selector {
    display: flex;
    gap: 5px;
}

.btn-preset {
    background: #222;
    border: 1px solid #444;
    color: #888;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-preset:hover,
.btn-preset.active {
    background: #333;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.neon-screen {
    background: #000;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.8);
    text-shadow: 0 0 8px var(--accent);
    border: 1px solid #00d2ff40;
}

.btn-toggle-sustain {
    background: #333;
    border: 1px solid #555;
    color: #aaa;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-toggle-sustain.active {
    background: var(--primary);
    color: white;
    border-color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.visual-meter {
    display: flex;
    gap: 3px;
    height: 20px;
    align-items: flex-end;
}

.visual-meter span {
    width: 4px;
    height: 10%;
    background: var(--accent);
    transition: height 0.1s;
}

.piano-keys-container {
    display: flex;
    position: relative;
    height: 300px;
    background: #0a0a0a;
    padding: 20px 5px 5px;
    /* Minimal padding */
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 1);
    user-select: none;
    width: 100%;
}

.white-key {
    position: relative;
    flex: 1;
    /* Auto-scale width */
    height: 100%;
    background: linear-gradient(to bottom, #fff 0%, #eee 90%, #ddd 100%);
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.1), 3px 5px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    font-family: sans-serif;
    color: #999;
    font-size: 0.75rem;
    font-weight: bold;
    transform-origin: top;
    transition: transform 0.05s, background 0.1s;
    margin: 0 1px;
}

.white-key:active,
.white-key.active {
    background: linear-gradient(to bottom, #f0f0f0 0%, #ddd 100%);
    height: 99%;
    transform: rotateX(-5deg);
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2), 1px 2px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 4px solid #aaa;
}

.black-key {
    position: absolute;
    /* Width will be set inline relative to white keys */
    height: 180px;
    background: linear-gradient(45deg, #222, #000);
    z-index: 20;
    border-radius: 0 0 3px 3px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5), inset 2px -2px 5px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transform-origin: top;
    transition: transform 0.05s, background 0.1s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    color: #888;
    font-size: 0.6rem;
    border: 1px solid #000;
}

.black-key:active,
.black-key.active {
    background: #111;
    background: linear-gradient(to bottom, #111 0%, #000 100%);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    transform: rotateX(-5deg) scale(0.98);
}

.key-label {
    margin-top: 5px;
    pointer-events: none;
}

/* Recording Library Styles */
.recordings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.recording-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.recording-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.rec-info h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.rec-info span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.rec-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rec-actions audio {
    height: 35px;
    filter: invert(100%) hue-rotate(180deg) brightness(1.5);
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
}

/* Drum Studio Pro */
.drum-studio-wrapper {
    width: 100%;
    max-width: 900px;
    padding: 40px;
    background: #111;
    border-radius: 40px;
    border: 1px solid #222;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.drum-dashboard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: #000;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #555;
    border: 1px solid #222;
}

.drum-pads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.drum-pad-pro {
    aspect-ratio: 1/1;
    background: #222;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.1s;
    border-bottom: 6px solid rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.drum-pad-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--pad-color);
    border-radius: 12px;
    opacity: 0.15;
    transition: all 0.1s;
    pointer-events: none;
}

.drum-pad-pro.active {
    transform: translateY(4px);
    border-bottom-width: 2px;
}

.drum-pad-pro.active::before {
    opacity: 1;
    box-shadow: 0 0 30px var(--pad-color), inset 0 0 15px var(--pad-color);
    background: rgba(255, 255, 255, 0.1);
}

.pad-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.pad-icon {
    font-size: 2rem;
}

.pad-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.pad-key {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    color: #444;
}

.drum-info {
    text-align: center;
    margin-top: 30px;
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.global-studio-controls {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 1000;
}

.compact-recording-tray {
    background: rgba(10, 11, 16, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent);
    border-radius: 40px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slide-in-right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.compact-recording-tray .recording-timer {
    font-size: 1.4rem;
    margin: 0;
}

.btn-studio-stop {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-studio-stop:hover {
    background: #ff4b2b;
    color: #fff;
    transform: scale(1.1);
}

#recording-visualizer {
    width: 80px;
    height: 30px;
    border-radius: 5px;
}

@keyframes slide-in-right {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Guitar Studio Premium */
.guitar-studio-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.chord-ribbon {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.chord-btn {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    min-width: 50px;
}

.chord-btn.active {
    background: var(--accent);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.guitar-body-premium {
    width: 100%;
    max-width: 900px;
    height: 300px;
    background: radial-gradient(circle at 70% 50%, #A0522D, #3E2723);
    border-radius: 150px 100px 100px 150px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 50px rgba(0, 0, 0, 0.5);
    border: 8px solid #2d1b0f;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.guitar-neck {
    position: absolute;
    left: 0;
    width: 100%;
    height: 140px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0;
    z-index: 5;
    border-right: 2px solid #333;
}

.fretboard-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
}

.string-line {
    height: 2px;
    background: linear-gradient(90deg, #888, #fff, #888);
    width: 100%;
    z-index: 10;
    transition: transform 0.1s;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 1);
}

.string-line.vibrating {
    animation: vibrate 0.1s linear infinite;
    background: #ffd700;
}

@keyframes vibrate {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-1px);
    }

    75% {
        transform: translateY(1px);
    }

    100% {
        transform: translateY(0);
    }
}

.sound-hole-pro {
    position: absolute;
    right: 20%;
    width: 180px;
    height: 180px;
    background: #000;
    border-radius: 50%;
    border: 10px solid #5d4037;
    z-index: 2;
    box-shadow: inset 0 0 30px #000, 0 0 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.guitar-bridge {
    position: absolute;
    right: 5%;
    width: 20px;
    height: 150px;
    background: #3e2723;
    border-radius: 5px;
    z-index: 6;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

/* Virtuoso Violin Premium Styles */
.violin-studio-premium {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 20px;
    background: radial-gradient(circle, #2a1a0f 0%, #000 70%);
    border-radius: 30px;
    position: relative;
}

.violin-neck-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.violin-scroll {
    width: 60px;
    height: 40px;
    background: #3e2723;
    border-radius: 20px 20px 5px 5px;
    border: 2px solid #1a0f0a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.violin-fingerboard {
    width: 110px;
    height: 420px;
    background: #000;
    border-radius: 5px 5px 0 0;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 1), inset 0 0 15px rgba(255, 255, 255, 0.1);
    border-left: 2px solid #222;
    border-right: 2px solid #222;
    margin-top: -5px;
}

.fingerboard-wood {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1a0f0a, #0a0502);
    display: flex;
    justify-content: space-around;
    padding: 0 15px;
    position: relative;
    border-radius: inherit;
}

.v-string-pro {
    width: 2px;
    height: 100%;
    background: linear-gradient(to right, #e0e0e0, #ffffff, #b0b0b0);
    position: relative;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 5;
}

.v-string-pro:nth-child(1) {
    width: 5px;
}

/* G string */
.v-string-pro:nth-child(2) {
    width: 4px;
}

.v-string-pro:nth-child(3) {
    width: 3px;
}

.v-string-pro:nth-child(4) {
    width: 2px;
}

.v-string-pro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.1s;
}

.v-string-pro.bowed {
    background: #fff;
    box-shadow: 0 0 20px var(--accent);
}

.v-string-pro.bowed::after {
    opacity: 0.7;
    box-shadow: 0 0 25px var(--accent);
}

.violin-controls {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bowing-area {
    width: 350px;
    height: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: crosshair;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.bow-label {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 5px;
    font-weight: 800;
    pointer-events: none;
    text-transform: uppercase;
}

.bowing-area::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
}

.position-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.btn-pos {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-pos:hover {
    background: #222;
    border-color: #666;
}

.btn-pos.active {
    background: var(--primary);
    color: white;
    border-color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-pos small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.5;
    margin-top: 5px;
}

/* Woodwind Studio Pro */
.woodwind-studio-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.woodwind-instrument-view {
    position: relative;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.recorder-hole.active,
.flute-key-zone.active {
    background: var(--accent) !important;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.1);
}

/* Mallet/Percussion Studio Pro */
.mallet-studio-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mallet-bars-container {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 400px;
    padding: 40px;
    background: rgba(10, 11, 16, 0.5);
    border-radius: 30px;
    border: 1px solid #333;
    overflow-x: auto;
    width: 100%;
}

.mallet-bar {
    flex: 1;
    min-width: 40px;
    background: linear-gradient(180deg, #A0522D 0%, #3E2723 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    cursor: pointer;
    transition: all 0.1s;
    border: 1px solid #2d1b0f;
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}

.mallet-bar:hover {
    background: linear-gradient(180deg, #b0623d 0%, #4e3733 100%);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.mallet-bar.glock:hover {
    background: linear-gradient(180deg, #eee 0%, #aaa 100%);
}

.mallet-bar.glock {
    background: linear-gradient(180deg, #ccc 0%, #888 100%);
    border: 1px solid #999;
}

.mallet-bar:active,
.mallet-bar.active {
    transform: translateY(10px);
    box-shadow: 0 0 15px var(--accent);
    background: var(--accent);
}

.mallet-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
}

/* Bongo / Mini Drum Styles */
.bongo-studio-wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 40px;
}

.bongo-drum {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #eee 60%, #ccc 100%);
    border: 15px solid #5d4037;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #444;
}

.bongo-drum:active,
.bongo-drum.active {
    transform: scale(0.95);
    background: #fff;
    box-shadow: 0 0 30px var(--accent);
}

/* Neon Synth / Keyboard Mode */
.synth-mode .white-key {
    background: linear-gradient(to bottom, #111, #222);
    border-color: #333;
    color: var(--accent);
}

.synth-mode .white-key.active {
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.synth-mode .black-key {
    background: #000;
    border-color: #333;
}

.synth-mode .black-key.active {
    background: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.recording-timer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 2px;
}

/* Studio Footer */
.studio-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 90px;
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.btn-play-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .reveal-text {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-top: 40px;
    }

    .subtitle {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .recording-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .rec-actions {
        flex-direction: column;
        width: 100%;
    }

    .rec-actions audio {
        width: 100%;
    }
}

/* Environment Banner */
.dev-banner {
    position: fixed;
    top: 95px;
    left: 20px;
    background: #ffcc00;
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.65rem;
    z-index: 2000;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: slide-in-left 0.5s ease-out;
}

@keyframes slide-in-left {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* SEO Content Section Styling */
.seo-footer-content {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 40px;
    margin-top: 100px;
    border-radius: 40px 40px 0 0;
    text-align: left;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.seo-text-block h3 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.seo-text-block p,
.seo-text-block li {
    color: #999;
    line-height: 1.8;
    font-size: 1rem;
}

.seo-text-block ul {
    list-style: none;
    padding: 0;
}

.seo-text-block li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-text-block li::before {
    content: '✦';
    color: var(--accent);
    font-size: 0.8rem;
}

.seo-text-block strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .seo-footer-content {
        padding: 60px 20px;
        margin-top: 60px;
    }
}