/*
====================================================================================================
WEBSYNTH MAIN STYLESHEET
====================================================================================================
Main CSS file for WebSynth modular synthesizer interface
Contains all base styles, layout, components, and UI elements
====================================================================================================
*/

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== BASE LAYOUT ==================== */
html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* ==================== AUTHENTICATION OVERLAY ==================== */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at bottom, #020b29 0%, #000 100%);
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* Sticky Top Menu Strip */
.auth-menu-strip {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background: #111;
    backdrop-filter: blur(20px);    
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.auth-menu-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.auth-tagline {
    color: #ccc;
    font-size: 14px;
    opacity: 0.8;
}

.auth-menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-inputs {
    display: flex;
    gap: 10px;
}

.auth-input-small {
    padding: 8px 12px;
    background: #222;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    width: 150px;
    transition: all 0.3s ease;
}

.auth-input-small:focus {
    outline: none;
    border-color: #00E897;
    box-shadow: 0 0 8px rgba(0, 232, 151, 0.3);
}

.auth-input-small::placeholder {
    color: #888;
}

.auth-buttons-small {
    display: flex;
    gap: 10px;
}

.auth-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 80px;
}

.signup-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
}

.signup-btn:hover {
    background: #444;
    border-color: #00E897;
    color: #00E897;
}

.login-btn {
    background: #00E897;
    color: #000;
    border: 1px solid #00E897;
}

.login-btn:hover {
    background: #00d182;
    box-shadow: 0 0 15px rgba(0, 232, 151, 0.4);
}

/* Scrollable Content Area */
.auth-content {
    flex: 1;
    height: 1080px;  
    overflow-y: auto;
    padding: 100px 200px;
    max-width: 1920px;
    margin: 0 auto;

    /* Hide scrollbar while keeping scroll functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.auth-content::-webkit-scrollbar {
    display: none;
}

.auth-welcome {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px 0;
    max-width: 1500px;
    align-items: flex-start;
    position: relative;
}

.auth-welcome h1 {
    text-align: left;
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 65px;
    line-height: 58px;
    font-weight: bold;
    margin-bottom: 25px;
}

.auth-welcome .auth-description {
    text-align: left;
    color: white;
    font-size: 18px;
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    max-width: 550px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.auth-welcome h2 {
    text-align: left;
    color: #888;    
    font-size: 22px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}

.auth-left {
    flex: 1;
    padding-right: 20px;
}

/* Music Player Styling */
.music-player {
    display: flex;
    max-width: 500px;
    align-items: center;
    gap: 12px;    
    border-radius: 8px;
    padding: 12px 0px;
    margin: 60px 0 30px 0;
    
}

.play-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    color: #ff6b35;
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.track-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.duration {
    color: #ccc;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    min-width: 60px;
}

.external-link-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}



.external-link-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.external-link-btn:hover .external-link-icon {
    opacity: 1;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 20px; /* match auth-left spacing */
}

.auth-hero-image {
    /* keep image inside the right column and align it to top-right
       Use static positioning so it remains in the normal flow of .auth-right */
    position: static;
    width: 100%;
    max-width: 200px;
    height: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-hero-image:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Hero with parallax layers */
.hero {
    position: relative;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    pointer-events: none;
    z-index: -1;
}

.front-orn {
    position: absolute;
    top: 80%;
    right: 10%;
    transform: translateY(-50%);
    z-index: -1;
}

.parallax-satellite {
    width: 800px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.parallax-satellite:hover {
    transform: scale(1.05) rotate(5deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-55%) translateX(10px);
    }
}

/* About Synth Section */
.about-synth {
    max-width: 1480px;
    margin: 80px 0 40px 0;
    padding: 40px 0;
}

/* Top Container */
.about-top {
    display: flex;
    gap: 80px;
    margin-bottom: 60px;
}

.about-top-left {
    padding-left: 100px;
    flex: 0 0 40%;
}

.about-top-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-right-title {
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

.top-cards-container {
    display: flex;
    flex-direction: row;
    gap: 0px;
}

.top-feature-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-left: -10px;
}

.top-feature-card:first-child {
    margin-left: 0;
}

/* First card - Black */
.top-feature-card:nth-child(1) {
    background: #161616;
}

.top-feature-card:nth-child(1):hover {
    transform: translateX(5px);
    background: #1a1a1a;
}

/* Second card - Green */
.top-feature-card:nth-child(2) {
    background: #00E897;
}

.top-feature-card:nth-child(2):hover {
    transform: translateX(5px);
    background: #00d182;
}

.top-feature-card:nth-child(2) h4 {
    color: #000;
}

.top-feature-card:nth-child(2) p {
    color: #111;
        

}

/* Third card - Black */
.top-feature-card:nth-child(3) {
    background: #000;
}

.top-feature-card:nth-child(3):hover {
    transform: translateX(5px);
    background: #1a1a1a;
}

.top-feature-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.06);
}

.top-feature-card h4 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
}

.top-feature-card p {
    color: white;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.9;
}


.about-synth h1 {
    text-align: left;
    color:  white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 65px;
    line-height: 58px;
    font-weight: bold;
    margin-bottom: 25px;
}

.about-synth p {
    text-align: left;
    color: white;
    font-size: 18px;
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    max-width: 550px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.about-synth h2 {
    text-align: left;
    color: #888;    
    font-size: 22px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Bottom Container */
.about-bottom {
    display: flex;
    gap: 0px;
    margin-top: 40px;
}

.about-bottom-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.cv-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cv-image:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.about-bottom-right {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0px;
}

.modules-image {
    width: 100%;
    max-width: 850px;
    height: auto;
    border-radius: 12px;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modules-image:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* Feature Sections */
.feature1 {
    background-color: white;
    color: #333;
    padding: 60px 200px;
    margin: 40px 0 0 0;
    min-height: 900px;
    position: relative;
    border-radius: 100px 100px 0 0;
    margin-top: -90px;
}

.feature1-headline {
    position: absolute;
    top: 100px;
    left: 250px;    
    max-width: 500px;
    color: #333;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 68px;
    line-height: 55px;
    font-weight: bold;
    margin: 0;
    z-index: 1;
}

.feature1-description {
    position: absolute;
    top: 100px;
    left: 800px;
    max-width: 600px;
    color: black;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
    z-index: 1;
}

.feature1-container {
    position: absolute;
    top: 290px;
    left: 200px;
    right: 0px;
    height: 620px;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 100px 0 0 0;
}

.feature1-cards {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    align-items: left;
}

.feature1-card {
    flex: 1;
    border-radius: 30px;
    padding: 60px;
    text-align: left;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature1-card:hover {
    transform: translateY(-5px);
}

.feature1-card h4 {
    color: #00E897;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 22px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 15px;
}

.feature1-card p {
    color: #ccc;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    text-align: left;
    line-height: 1.3;
    margin: 0;
    opacity: 0.9;
    text-align: left !important;
}

.feature1-demo-gif {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature1-demo-gif:hover {
    opacity: 1;
    transform: scale(1.02);
}

.feature2 {
    background-color: white;
    color: #333;
    padding: 60px 200px;
    margin: 0;
    min-height: 1080px;
    position: relative;
    border-radius: 0 0 100px 100px;
}

.feature2-container {
    position: absolute;
    top: 0px;
    left: 200px;
    right: 0px;
    height: 400px;
    background-color: rgb(22, 22, 22);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 0 100px;
    overflow: hidden;
}

.feature2-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/synthbg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    border-radius: 0 0 0 100px;
}



.feature2-features-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.feature2-feature-item {
    border-radius: 8px;
    padding: 20px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    text-align: left;
    transition: all 0.3s ease;
}

.feature2-feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00E897;
    transform: translateY(-3px);
}

.feature-keyword {
    color: #00E897;
    font-weight: bold;
}

.feature2-container-2 {
    position: absolute;
    top: 400px;
    left: 200px;
    right: 0px;
    height: 400px;
    background-color: #00E897;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 100px 0 0 100px;
}

.feature2-bottom-row {
    position: absolute;
    top: 830px;
    left: 200px;
    right: 0px;
    height: 200px;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px;
}

.feature2-bottom-title {
    flex: 0 0 auto;
    color: #111;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 68px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.feature2-black-box {
    width: 400px;
    height: 80px;    
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    padding: 0 20px;
    text-align: center;
    line-height: 1.2;
}

.feature2-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

.feature2-title {
    flex: 0 0 25%;
    color: #000;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 0.9;
    margin: 0;
    text-align: left;
}

.feature2-description {
    flex: 1;
    color: #000;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.feature1-container h3 {
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.feature1-container p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    opacity: 0.9;
}

.feature2-container h3 {
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.feature2-container p {
    color: #999;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    opacity: 0.9;
}

/* Footer */
.auth-footer {
    padding: 10px 20px;    
    margin-top: 40px;   }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-copyright {
    color: #888;
    font-size: 14px;
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #888;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #fff;
}

.youtube-icon:hover {
    color: #ff0000;
}

.instagram-icon:hover {
    color: #e4405f;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #888;
    font-size: 14px;
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1300px) {
    .status-display-container {
        display: none;
    }
}

@media (max-width: 1200px) {
    .main-control,
    .logo {
        flex: 0 0 auto;
    }
    
    .menu-links {
        flex: 1;
        min-width: 200px;
    }
    
    .control-panel {
        min-width: 180px;
        width: 12%;
    }
    
    .panel-area {
        width: 88%;
    }
}

@media (max-width: 968px) {
    .menu-bar {
        height: auto;
        min-height: 50px;
        padding: 10px 15px;
    }
    
    .menu-container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .main-control {
        order: 1;
        justify-content: center;
    }
    
    .menu-links {
        order: 2;
        justify-content: center;
    }
    
    .logo {
        order: 0;
        justify-content: center;
    }
    
    .main-layout {
        height: calc(100vh - 80px);
        flex-direction: column;
    }
    
    .control-panel {
        width: 100%;
        min-width: auto;
        height: 150px;
        overflow-y: auto;
        order: 0;
    }
    
    .panel-area {
        width: 100%;
        flex: 1;
        order: 1;
    }
}

@media (max-width: 1200px) {
    .main-control,
    .logo {
        flex: 0 0 auto;
    }
    
    .menu-links {
        flex: 1;
        min-width: 200px;
    }
    
    .control-panel {
        min-width: 180px;
        width: 12%;
    }
    
    .panel-area {
        width: 88%;
    }
}

@media (max-width: 968px) {
    .menu-bar {
        height: auto;
        min-height: 50px;
        padding: 10px 15px;
    }
    
    .menu-container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .main-control {
        order: 1;
        justify-content: center;
    }
    
    .menu-links {
        order: 2;
        justify-content: center;
    }
    
    .logo {
        order: 0;
        justify-content: center;
    }
    
    .main-layout {
        height: calc(100vh - 80px);
        flex-direction: column;
    }
    
    .control-panel {
        width: 100%;
        min-width: auto;
        height: 150px;
        overflow-y: auto;
        order: 0;
    }
    
    .panel-area {
        width: 100%;
        flex: 1;
        order: 1;
    }
}

@media (max-width: 768px) {
    .auth-menu-strip {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .auth-menu-left {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .auth-inputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .auth-input-small {
        width: 200px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .auth-welcome h2 {
        font-size: 36px;
    }
    
    .menu-bar {
        font-size: 18px;
        padding: 8px 10px;
    }
    
    .main-control button,
    #add-module-btn {
        min-width: 60px;
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .menu-bar button {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .logo img {
        width: 130px;
        max-height: 45px;
    }
    
    .main-layout {
        height: calc(100vh - 100px);
    }
    
    .control-panel {
        height: 120px;
        padding: 8px;
    }
    
    .master-knob-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .master-level-knob {
        width: 70px;
        height: 70px;
    }
    
    .knob-display {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .menu-bar {
        padding: 8px;
        font-size: 16px;
    }
    
    .main-control {
        gap: 3px;
    }
    
    .main-control button,
    #add-module-btn {
        min-width: 50px;
        width: 50px;
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .menu-links {
        gap: 5px;
    }
    
    .menu-bar button {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    #pages-dropdown {
        min-width: 60px;
    }
    
    #pages-dropdown .dropdown-trigger {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    #pages-dropdown .dropdown-option {
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .logo img {
        width: 100px;
        max-height: 35px;
    }
    
    .main-layout {
        height: calc(100vh - 120px);
    }
    
    .control-panel {
        height: 100px;
        padding: 5px;
    }
    
    .master-knob-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .master-level-knob {
        width: 60px;
        height: 60px;
    }
    
    .knob-display {
        width: 60px;
        height: 60px;
    }
    
    .knob-value-percent {
        font-size: 10px;
    }
    
    .knob-value-db {
        font-size: 8px;
    }
}

/* Hide auth overlay when user is authenticated */
.auth-overlay.hidden {
    display: none;
}

body {
    margin: 0;
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Prevent full-page scrolling */
}

/* ==================== MENU BAR SYSTEM ==================== */
.menu-bar {
    width: 100%;
    height: 50px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 24px;
    min-height: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1000;
}
/* Menu Container Layout */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

/* Equal width for Main Control and Logo */
.main-control,
.logo {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 10px;
    gap: 10px;
    
}

/* Center Menu Links */
.menu-links {    
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    }

/* Style Buttons */
.menu-bar button {
    font-size: 13px;
    background: #222;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.menu-bar button:hover {
    background: #666;
}
/* Main Control Buttons */
.main-control button {
    flex: 1;
    min-width: 105px; /* Ensures same width */
    max-width: 105px; /* Fixed maximum width */
    width: 65px; /* Fixed width */
    height: 25px; /* Fixed height */
    padding: 3px 8px; /* Adjusted padding for consistent height */
    background: #3d3d3d;
    color: #fff;
    border: 1px solid #444;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px; /* Consistent font size */
    text-align: center;
    transition: background 0.3s;
    box-sizing: border-box; /* Include padding and border in dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-control {
    display: flex;
    gap: 5px; /* Space between buttons */
}

.main-control button:hover {
    background: #02d102;
    color: #000;
}

/* Recording LED (default off) */
.recording-led {
    width: 14px;
    height: 14px;
    background: #400; /* Dark red when off */
    border: 1px solid #d32f2f;
    border-radius: 50%;
    margin-left: 8px;
    margin-right: 8px;
    box-shadow: 0 0 4px #200;
    transition: all 0.2s ease-in-out;
}

/* Active (Recording On) - now used for blinking effect */
.recording-led.active {
    background: #ff0000;
    box-shadow: 0 0 12px #ff0000, 0 0 24px #ff0000;
    transform: scale(1.1);
}

/* Pulsing animation for recording LED (backup - not used with manual blink) */
@keyframes recordingPulse {
    0% {
        box-shadow: 0 0 12px #ff0000, 0 0 24px #ff0000;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 16px #ff0000, 0 0 32px #ff0000;
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 12px #ff0000, 0 0 24px #ff0000;
        transform: scale(1);
    }
}

/* Record button styling when recording */
#record-btn.recording {
    background: #ff4444;
    color: white;
    font-weight: bold;
}


/* Add custom styles for the record button */
#record-btn {
    background-color: #ff9800; /* orange */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px; /* Match ADD MODULE and other buttons */
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
#record-btn:hover {
    background-color: #e65100; /* dark orange */
}
#record-btn.recording {
    background-color: #d32f2f; /* red */
    color: #fff;
    box-shadow: 0 0 12px 2px #d32f2f66;
}

/* User Profile Display Styling */
.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 10px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 10px;
}

.user-avatar.default-avatar {
    background: linear-gradient(135deg, #00c851, #00e676);
}

.user-name {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logout Button Styling */
#logout-btn {
    background-color: #0297bd; /* orange theme */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px; /* Match other menu buttons */
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
#logout-btn:hover {
    background-color: #e55528; /* darker orange */
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Status Display Styling */
.status-display-container {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: 20px;
    font-size: 14px;
    color: #fff;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #111;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.status-label {
    color: #aaa;
    font-weight: normal;
    white-space: nowrap;
}

.status-value {
    color: #0f0;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    background: #000;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #111;
    text-align: center;
    white-space: nowrap;
}

.status-value#status-modules {
    width: 40px;
}

.status-value#status-cpu {
    width: 50px;
}

.status-value#status-memory {
    width: 60px;
}

.status-separator {
    width: 1px;
    height: 18px;
    background: #555;
    margin: 0 8px;
}

/* ==================== MODULE CONTROLS ==================== */
.module-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

/* ==================== DROPDOWN SYSTEM ==================== */
.custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.dropdown-trigger {
    padding: 5px 8px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.dropdown-trigger:hover {
    background: #444;
}

.dropdown-trigger.active {
    background: #444;
    border-color: #666;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 500px;
    /* Removed max-height and overflow-y to allow natural height expansion */
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px;
}

.dropdown-column {
    padding: 0 8px;
    border-right: 1px solid #444;
}

.dropdown-column:last-child {
    border-right: none;
}

.column-header {
    font-size: 11px;
    font-weight: bold;
    color: #00ff88;
    padding: 6px 4px;
    border-bottom: 1px solid #444;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-option {
    padding: 6px 8px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-option:hover {
    background: #444;
    color: #fff;
    transform: translateX(2px);
}

.dropdown-option:active {
    background: #555;
}

/* Legacy select fallback (hidden) */
#module-type-select {
    display: none;
}

/* Pages Dropdown Styling */
#pages-dropdown {
    min-width: 120px;
}

#pages-dropdown .dropdown-trigger {
    padding: 5px 8px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

#pages-dropdown .dropdown-trigger:hover {
    background: #111;
}

#pages-dropdown .dropdown-trigger.active {
    background: #444;
    border-color: #666;
}

#pages-dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 150px;
    padding: 8px 0;
}

#pages-dropdown .dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#pages-dropdown .dropdown-option {
    padding: 6px 12px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    margin: 0 4px 2px 4px;
}

#pages-dropdown .dropdown-option:hover {
    background: #444;
    color: #fff;
    transform: translateX(2px);
}

#pages-dropdown .dropdown-option:active {
    background: #555;
}

/* Add Module Button */
#add-module-btn {
    width: 100px; /* Wider to accommodate "ADD MODULE" text */
    height: 25px; /* Match SAVE, LOAD, RESET button height */
    padding: 3px 8px;
    background: #02d102;
    color: #000000;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px; /* Slightly smaller font to fit better */
    box-sizing: border-box; /* Include padding and border in dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Keep text on single line */
    }

#add-module-btn:hover {
    background: #d64502;
    }

/* ==================== LOGO STYLING ==================== */
.logo {
    justify-content: flex-end;
}

.logo img {
    width: 170px;
    max-height: 60px; /* Fits within 100px bar */    
}

/* ==================== MAIN LAYOUT ==================== */
.main-layout {
    display: flex;
    height: calc(100vh - 50px); /* Full height minus menu bar */
    flex-direction: row;
    overflow: hidden;
}

/* ==================== PANEL AREA ==================== */
.panel-area {
    width: 90%;
    overflow-y: auto;
    background: #111;
    color: #fff;
    padding: 1px;
    flex: 1;
    min-width: 0;
}

/* Control Panel (Non-Scrollable) */
.control-panel {
    width: 10%;
    background: #1a1a1a;
    color: #fff;
    padding: 5px;
    overflow: hidden; /* Prevent scrolling */
    align-items: center;
    min-width: 200px;
    flex-shrink: 0;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #444, rgb(247, 247, 247), #444);
    margin: 10px 0;
    border-radius: 2px;
}
/* Custom Scrollbar (WebKit Browsers) */
.panel-area::-webkit-scrollbar {
    width: 10px; /* Scrollbar width */
}

.panel-area::-webkit-scrollbar-track {
    background: #111; /* Track background */
}

.panel-area::-webkit-scrollbar-thumb {
    background: #000; /* Scrollbar handle color */
}

.panel-area::-webkit-scrollbar-thumb:hover {
    background: #222; /* Slightly lighter on hover */
}

/* Firefox Support */
.panel-area {
    scrollbar-width: thin;
    scrollbar-color: #000 #111; /* Thumb color, Track color */
}

/* ==================== MODULES PANEL ==================== */
.modules-panel {
    margin:0px;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    min-height: 610px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Empty Panel Guide */
.empty-panel-guide {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 8px;
    padding: 40px;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
    overflow-y: auto;
    gap: 30px;
}

.guide-top-row {
    display: flex;
    gap: 30px;
    flex: 1;
}

.guide-left-container,
.guide-middle-container,
.guide-right-container {
    flex: 1;
    min-width: 0;
}

.guide-bottom-container {
    width: 100%;
    color: #00E897;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-top: 20px;
    padding: 20px 0;
}

.modules-panel.has-modules .empty-panel-guide {
    display: none;
}

.guide-title {
    font-size: 20px;
    font-weight: bold;
    color: #00E897;
    text-align: left;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-subtitle {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    margin-top: 20px;
    font-weight: bold;
}

.guide-icon {
    height: 30px;
    vertical-align: middle;
    margin-left: 8px;
    opacity: 0.8;
}

.guide-step {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.guide-step-number {
    background: #00E897;
    color: #000;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-text {
    font-size: 13px;
    line-height: 1.4;
    color: #ccc;
    flex: 1;
}

.guide-highlight {
    color: #fff;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
}

.guide-code {
    background: #1a1a1a;
    color: #00E897;
    font-family: 'Courier New', monospace;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    
}

.guide-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 12px;
    font-style: italic;
}

.guide-audio-recommendation {
    color: #4A9EFF;
    font-size: 12px;
    text-align: left;
    margin-top: 20px;
    font-style: italic;
    border-radius: 6px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.guide-audio-recommendation:hover {
    background: rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.5);
    transform: translateY(-1px);
}

/* Drag and Drop Styles */
.modules-panel.sortable-ghost {
    background: #222 !important;
}

.module-type1.sortable-ghost {
    opacity: 0.4;
    background: #444 !important;
    border: 2px dashed #666 !important;
}

.module-type1.sortable-chosen {
    background: #333 !important;
    border: 2px solid #00E897 !important;
    box-shadow: 0 0 10px rgba(0, 232, 151, 0.3);
    transform: scale(1.02);
    z-index: 1000;
}

.module-type1.sortable-drag {
    opacity: 0.8;
    cursor: grabbing !important;
    transform: rotate(2deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.modules-panel .sortable-fallback {
    background: #222 !important;
    border: 2px dashed #00E897 !important;
    opacity: 0.6;
}

/* Drag handle styles */
.module-type1-dragger {
    cursor: grab;
    transition: all 0.2s ease;
}

.module-type1-dragger:hover {
    background: #00E897 !important;
    opacity: 0.8;
}

.module-type1-dragger:active {
    cursor: grabbing;
}

/*SONG BUTTON*/
.song-button-container {
    padding: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
}

.song-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(to bottom, #404040, #2a2a2a);
    border: 1px solid #555;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.song-btn:hover {
    background: linear-gradient(to bottom, #505050, #3a3a3a);
    border-color: #666;
    color: #0ff;
}

.song-btn:active {
    background: linear-gradient(to bottom, #2a2a2a, #404040);
    transform: translateY(1px);
}

/*MASTER OUT*/

.master-out {
        padding-top: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #ccc;
  width:100%;
}

.master-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
    font-size: 13px;
}

.patching-field{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    height: 25px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #111;
    font-size: 12px;
    color: #999;
}

.patching-field input
{
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #ccc;
    width: 100%;
	font-weight: bold;
}

.patching-field input::placeholder
 {
    color: #666;
}


.patch-connection-indicator
{
    width: 8px;
    height: 8px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 5px;
}

.patch-connection-indicator.connected
 {
    background: #06F838;
    box-shadow: 0 0 4px #06F838;
}

.patch-connection-indicator.invalid
 {
    background: red;
    box-shadow: 0 0 4px red;
}

/* ==================== MASTER LEVEL KNOB ==================== */
.master-knob-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1px;
}

.knob-label {
    font-size: 8px;
    font-weight: bold;
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 10px;;
    letter-spacing: 1px;
}

.master-knob-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.master-level-knob {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.knob-display {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2a2a 30%, #1a1a1a 70%);
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 15px rgba(0, 0, 0, 0.6),
        0 3px 8px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.knob-display::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #00E897;
    border-radius: 50%;
    transform-origin: center 40px;
    transition: transform 0.1s ease;
    box-shadow: 0 0 4px rgba(0, 232, 151, 0.5);
}

.knob-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.knob-value-percent {
    font-size: 12px;
    font-weight: bold;
    color: #00E897;
    line-height: 1;
    margin-bottom: 3px;
}

.knob-value-db {
    font-size: 9px;
    font-weight: bold;
    color: #ffaa00;
    line-height: 1;
}

/* Knob rotation animation */
.master-level-knob:focus + .knob-display {
    border-color: #00E897;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(0, 232, 151, 0.3);
}

/* ===== Professional Master Processing Panel ===== */
.master-processing-panel {
    border-radius: 6px;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.processing-header {
    text-align: center;
    margin-bottom: 12px;
}

.processing-title {
    font-size: 10px;
    font-weight: bold;
    color: #00E897;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==================== PROCESSING CONTROLS ==================== */
.processing-control {
    margin-bottom: 6px;
}

.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.control-label {
    font-size: 9px;
    color: #ccc;
    font-weight: bold;
    min-width: 60px;
}

/* ==================== TOGGLE BUTTONS ==================== */
.toggle-btn {
    background: #333;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 8px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 30px;
}

.toggle-btn:hover {
    background: #444;
    border-color: #666;
}

.toggle-btn.active {
    background: #00E897;
    border-color: #00E897;
    color: #000;
}

.toggle-state {
    letter-spacing: 0.5px;
}

/* ===== Limiter Control ===== */
.limiter-section {
    margin-bottom: 6px;
}

.limiter-title-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.limiter-title-slider-row .control-label {
    margin-bottom: 0;
    flex-shrink: 0;
}

.limiter-value-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.limiter-threshold-slider {
    width: 80px;
    height: 3px;
    background: #333;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
}

.limiter-threshold-slider::-webkit-slider-thumb,
#limiter-threshold::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 6px !important;
    height: 6px !important;
    background: #888 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    margin-top: -1.5px !important;
    box-shadow: none !important;
}

.limiter-threshold-slider::-moz-range-thumb,
#limiter-threshold::-moz-range-thumb {
    width: 6px !important;
    height: 6px !important;
    background: #888 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: none !important;
}

.threshold-display {
    font-family: 'Courier New', monospace;
    font-size: 8px;
    color: #888;
    font-weight: bold;
    text-align: center;
}

/* Force override for limiter slider - highest specificity */
.master-processing-panel .limiter-threshold-slider::-webkit-slider-thumb,
.master-processing-panel #limiter-threshold::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 6px !important;
    height: 6px !important;
    background: #888 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    margin-top: -1.5px !important;
    box-shadow: none !important;
    transform: none !important;
}

.master-processing-panel .limiter-threshold-slider::-moz-range-thumb,
.master-processing-panel #limiter-threshold::-moz-range-thumb {
    width: 6px !important;
    height: 6px !important;
    background: #888 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ===== Professional Meters ===== */
.processing-meters {
    margin: 10px 0;
}

.meter-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 6px;
}

.meter-label {
    font-size: 8px;
    color: #ccc;
    font-weight: bold;
    min-width: 32px;
    letter-spacing: 0.5px;
}

.meter-bar-container {
    flex: 1;
    height: 8px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* ===== Individual Meter Bars ===== */
.meter-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.05s ease;
}

.peak-meter {
    background: linear-gradient(90deg, 
        #00ff00 0%, 
        #88ff00 20%, 
        #ffff00 60%, 
        #ff8800 80%, 
        #ff0000 95%);
    box-shadow: 0 0 4px rgba(0, 255, 0, 0.3);
}

.rms-meter {
    background: linear-gradient(90deg, 
        #0080ff 0%, 
        #00a0ff 30%, 
        #00c0ff 60%, 
        #40e0ff 90%);
    box-shadow: 0 0 4px rgba(0, 128, 255, 0.3);
}

.gr-meter {
    background: linear-gradient(90deg, 
        #800000 0%, 
        #a00000 30%, 
        #c00000 60%, 
        #ff0000 90%);
    box-shadow: 0 0 4px rgba(128, 0, 0, 0.3);
}

.meter-value {
    font-family: 'Courier New', monospace;
    font-size: 8px;
    color: #aaa;
    font-weight: bold;
    min-width: 45px;
    text-align: right;
}

.gr-value {
    color: #ff6b6b;
}

/* ===== Clip Counter ===== */
.clip-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    border: 1px solid #222;
    border-radius: 5px;
    padding: 4px 8px;
    margin-top: 12px;
}

.clip-label {
    font-size: 8px;
    color: #ccc;
    font-weight: bold;
}

.clip-count {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #ff0000;
    font-weight: bold;
    background: #1a0000;
    border: 1px solid #440000;
    border-radius: 3px;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
}

/* ===== Recording Controls ===== */
.recording-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background-color: #111;
    border: 1px solid #222;
    border-radius: 5px;
    padding: 10px 8px;
    margin-top: px;
    gap: 8px;
}

.recording-controls-row #record-btn {
    font-size: 14px;
    padding: 6px 18px;
    font-weight: bold;
}

.recording-controls-row .recording-led {
    width: 12px;
    height: 12px;
    margin: 0;
}

.reset-btn {
    background: #333;
    border: 1px solid #555;
    border-radius: 2px;
    padding: 2px 6px;
    font-size: 7px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: #444;
    border-color: #666;
    color: #fff;
}

.reset-btn:active {
    background: #222;
    transform: translateY(1px);
}

/* ===== Meter Animation for Active State ===== */
.meter-bar.active {
    animation: meterPulse 2s ease-in-out infinite;
}

@keyframes meterPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}



@keyframes recordPulse {
    0%, 100% { 
        opacity: 1;
        background: #2a0000;
    }
    50% { 
        opacity: 0.7;
        background: #3a1010;
    }
}

/* Project Info Display */
.project-info {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #ccc;
    width: 100%;
}

.project-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
    font-size: 13px;
}

.project-name-display {
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    color: #00E897;
    font-family: monospace;
    font-size: 11px;
    word-break: break-all;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* Audio File Information Display */
.audio-file-info {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px;
}

.audio-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #222;
}

.audio-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 9px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 85px;
}

.info-value {
    font-size: 10px;
    color: #ffaa00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-align: right;
}


/*=====================GLOBAL COMPONENT SYLE=======================*/

.module-type1 {
    width: 200px;
    height: 550px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.module-type1-header {
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: #333;
    border-bottom: 1px solid #444;
    border-radius: 8px 8px 0 0;
}

.module-type1-id {
    flex: 1;
    font-weight: bold;
    color: white;
    font-size: 14px;
}

.module-type1-dragger {
    width: 14px;
    height: 14px;
    background: repeating-linear-gradient(to bottom, #777, #777 2px, transparent 2px, transparent 4px);
    border-radius: 2px;
    margin: 0 15px;
    cursor: grab;
}

.output-signal {
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    margin-right: 8px;
    transition: background 0.2s ease;
}

.output-signal.active {
    background: #0f0;
    box-shadow: 0 0 6px #0f0;
}

.remove-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
}
.remove-btn:hover {
    color: #f44;
}

/* ==================== COMPONENT CONTAINER ==================== */
.component-container {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.component {
    margin-bottom: 15px;
}

.component label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 12px;
}
/* Space Divider */
.space {
    height: 20px; /* Adjust gap size */
    width: 100%;
}

/* ==================== SLIDER POT CONTROLS ==================== */
.slider-pot {
    display: flex;
    flex-direction: column;
}

/* Header row: title left, value right */
.slider-pot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-pot-header label {
    font-size: 12px;
    font-weight: bold;
	color: #999;
    margin: 0;
}

.slider-pot-header .value-display {
    font-size: 12px;
    color: #00E897; 
    font-family: monospace;
}

/* Slider track and thumb styling */
.slider-pot input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #ccc;
    border-radius: 3px;
    outline: none;
    margin: 0;
}

/* Webkit browsers track */
.slider-pot input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(to right, #444 var(--val, 50%), #111 var(--val, 50%));
    border-radius: 3px;
}

/* Webkit browsers thumb */
.slider-pot input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00E897;
    border: 2px solid #00E897;
    cursor: pointer;
    margin-top: -4px;
    transition: background 0.2s;
}
.slider-pot input[type="range"]::-webkit-slider-thumb:hover {
    background: #555;
}

/* Firefox track */
.slider-pot input[type="range"]::-moz-range-track {
    height: 6px;
    background: #ccc;
    border-radius: 3px;
}

/* Firefox fill before thumb */
.slider-pot input[type="range"]::-moz-range-progress {
    background: #007bff;
    height: 6px;
    border-radius: 3px;
}

/* Firefox thumb */
.slider-pot input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #fff;
    cursor: pointer;
    transition: background 0.2s;
}
.slider-pot input[type="range"]::-moz-range-thumb:hover {
    background: #555;
}

/* Dropdown container */
.dropdown {
    display: flex;
    flex-direction: column;
}

/* Dropdown label (title) */
.dropdown label {
    color: #999; /* Change title color here */
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Dropdown select styling */
.dropdown select {
    width: 100%;
    padding: 5px;
    border: 1px solid #222;
    border-radius: 4px;
    background-color: #111;
    font-size: 12px bold;
    color: #999;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Buttons Start */
.btn.start-stop {
    width: 100%;
    padding: 5px 0;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    background: #444;
    color: white;
}
.btn.start-stop:hover {
    background: #555;
}
.btn.start-stop.active {
    background: #04BACC;
	border: 1px solid #111;
}

/* Buttons ON */
.btn.on-off {
    width: 100%;
    padding: 5px 0;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    background: #444;
    color: white;
}
.btn.on-off:hover {
    background: #555;
}
.btn.on-off.active {
    background: #E87000;
	border: 1px solid #111;
}


/* Shared field styles */
.patching-field, .cv-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    height: 25px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #111;
    font-size: 12px;
    color: #999;
}

.patching-field  label ,
.cv-field label {
    font-size: 12px;
    font-weight: bold;
	color: #999;
    margin: 0;
}

/* Make input blend into dark style */
.patching-field input,
.cv-field input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #ccc;
    width: 100%;
	font-weight: bold;
}

.patching-field input::placeholder,
.cv-field input::placeholder {
    color: #666;
}

/* Connection indicators */
.patch-connection-indicator,
.cv-connection-indicator {
    width: 8px;
    height: 8px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

.patch-connection-indicator.connected,
.cv-connection-indicator.connected {
    background: #06F838;
}

.patch-connection-indicator.invalid,
.cv-connection-indicator.invalid {
    background: red;
}
/* Toggle Switch */
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.toggle-title {
    font-size: 14px;
    color: #ccc;
}

.btn-toggle {
	width: 50px;
    padding: 4px 8px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #444;
    color: white;
    cursor: pointer;
    font-size: 12px;
}
hr {
    border: none;
    height: 1px;
    background-color: #444; /* line color */
    width: 30%; /* adjust width */
    margin: 8px auto; /* space above/below and center it */
}


.btn-toggle:hover {
    background: #555;
}

.btn-toggle.active {
    background: #E87000; /* Active color */
}
/* Discription Box */
.description-box {
    border-radius: 4px;
    padding: 8px;
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    margin: 8px 0;
}

/* Output Indicator */
.output-indicator-field {
    display: flex;
    justify-content: flex-end; /* push everything to right */
    align-items: center;
    padding: 0 5px;
    height: 25px;
    border-radius: 4px;   
    font-size: 12px;
    color: #999;
}

/* ==================== NOTIFICATION ANIMATIONS ==================== */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
.output-right {
    display: flex;
    align-items: center;
    gap: 10px; /* space between text & LED */
}

.output-led {
    width: 10px;
    height: 10px;
    background: gray; /* off state */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.output-led.active {
    background: #06F838; /* on state */
    box-shadow: 0 0 5px #06F838;
}

.label-field {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    margin: 0;
}

/* ==================== RESPONSIVE DESIGN MEDIA QUERIES ==================== */

/* Hide mobile warning by default (desktop/laptop screens) */
.mobile-warning {
    display: none !important;
}

/* -------------------------------------
   LARGE DESKTOPS (1441px and above)
-------------------------------------- */
@media (min-width: 1441px) {
  
}

/* -------------------------------------
   DESKTOPS (1025px to 1440px)
-------------------------------------- */
@media (max-width: 1440px) and (min-width: 1025px) {
  /* Auth Content Adjustments */
  .auth-content {
    padding: 80px 150px;
    max-width: 1400px;
  }
    
  .auth-welcome h1 {
    font-size: 55px;
    line-height: 50px;
  }
  
  .auth-welcome .auth-description {
    font-size: 16px;
    max-width: 500px;
  }
  
  .auth-welcome h2 {
    font-size: 20px;
  }
  
  /* About Synth Section */
  .about-synth {
    max-width: 1200px;
  }
  
  .about-top {
    gap: 60px;
  }
  
  .about-top-left {
    padding-left: 80px;
  }
  
  .about-synth h1 {
    font-size: 55px;
    line-height: 50px;
  }
  
  .about-synth p {
    font-size: 16px;
    max-width: 480px;
  }
  
  /* Feature Sections */
  .feature1 {
    padding: 50px 150px;
    min-height: 800px;
  }
  
  .feature1-headline {
    font-size: 58px;
    line-height: 50px;
    left: 200px;
    max-width: 450px;
  }
  
  .feature1-description {
    font-size: 16px;
    left: 700px;
    max-width: 550px;
  }
  
  .feature1-container {
    left: 150px;
    height: 550px;
  }
  
  .feature1-card {
    padding: 50px;
  }
  
  .feature1-card h4 {
    font-size: 20px;
  }
  
  .feature1-card p {
    font-size: 13px;
  }
  
  .feature2 {
    padding: 50px 150px;
    min-height: 950px;
  }
  
  .feature2-container {
    left: 150px;
    height: 350px;
  }
  
  .feature2-features-grid {
    grid-template-columns: repeat(7, 1fr);
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .feature2-feature-item {
    font-size: 13px;
    padding: 18px;
  }
  
  .feature2-container-2 {
    left: 150px;
    top: 350px;
    height: 350px;
  }
  
  .feature2-title {
    font-size: 42px;
  }
  
  .feature2-description {
    font-size: 15px;
  }
  
  .feature2-bottom-row {
    left: 150px;
    top: 730px;
  }
  
  .feature2-bottom-title {
    font-size: 58px;
  }
  
  .feature2-black-box {
    width: 350px;
    height: 70px;
    font-size: 16px;
  }
  
  /* Top Feature Cards */
  .top-feature-card {
    padding: 25px;
  }
  
  .top-feature-card h4 {
    font-size: 18px;
  }
  
  .top-feature-card p {
    font-size: 11px;
  }
  
  /* Images */
  .auth-hero-image {
    max-width: 180px;
  }
  
  .cv-image {
    max-width: 450px;
  }
  
  .modules-image {
    max-width: 750px;
  }
  
  .parallax-satellite {
    width: 700px;
  }
}

/* -------------------------------------
   LAPTOPS (901px to 1024px)
-------------------------------------- */
@media (max-width: 1024px) and (min-width: 901px) {
  /* Auth Content Adjustments */
  .auth-content {
    padding: 60px 100px;
    max-width: 1024px;
  }
  
  /* Auth Menu Strip */
  .auth-menu-strip {
    height: 60px;
    padding: 0 20px;
  }
  
  .auth-logo-img {
    height: 35px;
  }
  
  .auth-input-small {
    width: 130px;
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .auth-btn-small {
    font-size: 13px;
    padding: 6px 14px;
    min-width: 70px;
  }
  
  /* Auth Welcome Section */
  .auth-welcome {
    gap: 25px;
    max-width: 900px;
    margin-bottom: 50px;
    padding: 30px 0;
  }
  
  .auth-welcome h1 {
    font-size: 45px;
    line-height: 42px;
    margin-bottom: 20px;
  }
  
  .auth-welcome .auth-description {
    font-size: 15px;
    max-width: 420px;
    margin-bottom: 25px;
  }
  
  .auth-welcome h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .auth-left {
    padding-right: 15px;
  }
  
  .auth-right {
    padding-left: 15px;
  }
  
  /* Music Player */
  .music-player {
    max-width: 420px;
    margin: 40px 0 25px 0;
  }
  
  .play-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .track-title {
    font-size: 13px;
  }
  
  .duration {
    font-size: 11px;
  }
  
  /* About Synth Section */
  .about-synth {
    max-width: 900px;
    margin: 60px 0 30px 0;
    padding: 30px 0;
  }
  
  .about-top {
    gap: 40px;
    margin-bottom: 40px;
     }
  
  .about-top-left {
    padding-left: 0px;
  }
  
  .about-synth h1 {
    font-size: 45px;
    line-height: 42px;
    margin-bottom: 20px;
  }
  
  .about-synth p {
    font-size: 15px;
    max-width: 400px;
    margin-bottom: 25px;
  }
  
  .about-synth h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .top-right-title {
    font-size: 22px;
  }
  
  .about-bottom {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  /* Feature Sections */
  .feature1 {
    padding: 40px 100px;
    min-height: 650px;
    margin-top: -70px;
  }
  
  .feature1-headline {
    font-size: 42px;
    line-height: 44px;
    top: 40px;
    left: 100px;
    max-width: 380px;
  }
  
  .feature1-description {
    font-size: 15px;
    top: 40px;
    left: 480px;
    max-width: 300px;
  }
  
  .feature1-container {
    top: 240px;
    left: 45px;
    height: 480px;
    padding: 30px;
  }
  
  .feature1-cards {
    gap: 10px;
    max-width: 800px;
  }
  
  .feature1-card {
    padding: 35px;
    border-radius: 25px;
  }
  
  .feature1-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .feature1-card p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .feature1-demo-gif {
    max-width: 150px;
  }
  
  .feature2 {
    padding: 40px 100px;
    min-height: 800px;
  }
  
  .feature2-container {
    left: 45px;
    height: 300px;
    padding: 30px;
  }
  
  .feature2-features-grid {
    grid-template-columns: repeat(7, 1fr);
    max-width: 900px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .feature2-feature-item {
    font-size: 10px;
    line-height: 1.3;
    padding:5px;
  }
  
  .feature2-container-2 {
    left: 45px;
    top: 300px;
    height: 300px;
    padding: 30px;
  }
  
  .feature2-content {
    gap: 40px;
    max-width: 800px;
  }
  
  .feature2-title {
    font-size: 36px;
  }
  
  .feature2-description {
    font-size: 14px;
  }
  
  .feature2-bottom-row {
    left: 100px;
    top: 630px;
    height: 160px;
    gap: 30px;
    padding: 30px;
  }
  
  .feature2-bottom-title {
    font-size: 48px;
  }
  
  .feature2-black-box {
    width: 300px;
    height: 60px;
    font-size: 15px;
  }
  
  /* Top Feature Cards */
  .top-feature-card {
    padding: 20px;
  }
  
  .top-feature-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .top-feature-card p {
    font-size: 13px;
  }
  
  /* Images */
  .auth-hero-image {
    max-width: 160px;
  }
  
  .cv-image {
    max-width: 380px;
  }
  
  .modules-image {
    max-width: 600px;
  }
  
  .parallax-satellite {
    width: 600px;
  }
  
  .front-orn {
    top: 75%;
    right: 8%;
  }
  
  /* Footer */
  .footer-content {
    max-width: 900px;
    gap: 30px;
  }
  
  .footer-logo {
    height: 35px;
  }
  
  .footer-copyright,
  .footer-link {
    font-size: 13px;
  }
}


/* -------------------------------------
   TABLETS (768px to 900px)
-------------------------------------- */
@media (max-width: 900px) and (min-width: 768px) {
  /* Mobile Warning Notification - Only show on auth page */
  .mobile-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00E897;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Hide warning when auth overlay is hidden (user logged in) */
  .auth-overlay.hidden ~ .mobile-warning {
    display: none !important;
  }
  
  .mobile-warning h3 {
    color: #00E897;
    font-size: 20px;
    margin-bottom: 15px;
    font-family: 'Bricolage Grotesque', sans-serif;
  }
  
  .mobile-warning p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
  }
  
  .mobile-warning::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #00E897, #00d182, #00E897);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 2s ease-in-out infinite alternate;
  }
  
  @keyframes borderGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
  }
}

/* -------------------------------------
   MOBILE (Up to 767px)
-------------------------------------- */
@media (max-width: 767px) {
  .parallax-satellite {
    content: url('../assets/synthsatellite_mob.webp');
    width: 300px;
  }
  
  /* Mobile Warning Notification - Only show on auth page */
  .mobile-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00E897;
    border-radius: 12px;
    padding: 20px;
    max-width: 300px;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Hide warning when auth overlay is hidden (user logged in) */
  .auth-overlay.hidden ~ .mobile-warning {
    display: none !important;
  }
  
  .mobile-warning h3 {
    color: #00E897;
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Bricolage Grotesque', sans-serif;
  }
  
  .mobile-warning p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
  }
  
  .mobile-warning::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, #00E897, #00d182, #00E897);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 2s ease-in-out infinite alternate;
  }
  
  @keyframes borderGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
  }
}

/* ==================== SEO FEATURES SECTION ==================== */
.seo-content-section {
    font-family: 'Bricolage Grotesque', sans-serif;
}

.seo-content-section h2 {
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00E897 0%, #00d182 50%, #00b870 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
}

.seo-feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 232, 151, 0.15);
}

.seo-feature-box h3 {
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.seo-feature-box p {
    font-size: 0.95em;
    color: #bbb;
    line-height: 1.9;
    margin-bottom: 12px;
}

.seo-feature-box strong {
    color: #fff;
    font-weight: 600;
}

.seo-feature-box ul {
    margin: 0;
    padding: 0;
}

.seo-feature-box ul li {
    font-size: 0.95em;
    color: #bbb;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* Technical Specifications Styling */
.seo-content-section h3 {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.seo-content-section h4 {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.seo-content-section .audio-info-item p,
.seo-content-section > div > div > div p {
    font-size: 0.95em;
    line-height: 1.8;
    margin: 8px 0;
    color: #aaa;
}

/* Keywords Footer */
.seo-content-section > div:last-child p {
    font-size: 0.85em;
    color: #555;
    line-height: 1.8;
}

/* ==================== SIGNUP OVERLAY ==================== */
.signup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(9, 13, 24, 0.95) 50%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.signup-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.signup-header {
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.close-signup {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-signup:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00E897;
}

.signup-logo {
    margin-top: 0;
}

.signup-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 0;
}

.signup-logo h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.signup-logo p {
    color: #ccc;
    font-size: 16px;
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.signup-content {
    width: 100%;
    max-width: 380px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-form-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.optional {
    color: #888;
    font-weight: normal;
    font-size: 11px;
}

.form-input {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: 'Bricolage Grotesque', sans-serif;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00E897;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 232, 151, 0.1);
}

.form-input::placeholder {
    color: #888;
}

.signup-submit-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #00E897 0%, #00c775 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.signup-submit-btn:hover {
    background: linear-gradient(135deg, #00c775 0%, #00a85e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 232, 151, 0.3);
}

.signup-submit-btn:active {
    transform: translateY(0);
}

.signup-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    text-align: center;
}

.signup-divider::before,
.signup-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.signup-divider span {
    color: #888;
    padding: 0 20px;
    font-size: 14px;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.google-signup-btn {
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.google-signup-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.google-icon {
    width: 16px;
    height: 16px;
}

.signup-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-footer p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.signup-footer a {
    color: #00E897;
    text-decoration: none;
    font-weight: 600;
}

.signup-footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Control Panel Navigation Links */
.nav-links-panel {
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.nav-link-text {
    color: #888;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link-text:hover {
    color: #00E897;
}

/* Responsive Signup Overlay */
@media (max-width: 768px) {
    .signup-form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .signup-logo-img {
        width: 120px;
    }
    
    .signup-logo h2 {
        font-size: 28px;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .signup-container {
        padding: 15px;
    }
    
    .signup-form-container {
        padding: 25px 15px;
    }
    
    .signup-logo h2 {
        font-size: 24px;
    }
}