:root {
            --dark-bg: #2C3E50;
            --dark-secondary: #34495E;
            --accent-blue: #0496FF;
            --pricing-blue: #0496FF;
            --accent-blue-hover: #00A6FF;
            --text-primary: #ffffff;
            --text-secondary: #D1D5DB;
            --light-gray: #D3D3D3;
        }

        /* Base font size for mobile */
        html {
            font-size: 16px;
            overflow-x: hidden;
        }

        body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        /* Base mobile-first styles - no media query needed */
        html {
            font-size: 16px;
        }

        .container {
            padding: 1rem;
            width: 100%;
            /* Mobile first - full width */
            max-width: 1200px;
            margin: 0 auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Tablet */
        @media screen and (min-width: 768px) {
            .container {
                width: 95%;
            }
        }

        /* Desktop */
        @media screen and (max-width: 1600px) {
            .container {
                width: 70%;
                max-width: 900px;
            }
        }

        form.container>.feature-card,
        form.container>.upload-zone,
        form.container>.btn-primary,
        form.container>.btn-success,
        form.container>.wave-container,
        form.container>form,
        form.container #processButton,
        form.container #downloadButton {
            width: 90%;
            margin: 1rem auto;
            padding: 1.5rem;
            border-radius: 0.75rem;
            box-sizing: border-box;
            display: block;
        }

        form.container #processButton,
        form.container #downloadButton {
            padding: 1rem;
        }

        /* Tablet and larger screens */
        @media screen and (min-width: 768px) {
            .container {
                width: 95%;
                max-width: 1200px;
                padding: 2rem 1rem;
            }

            .feature-card {
                width: 90%;
                margin: 1.5rem auto;
            }

            .btn-lg {
                width: 90% !important;
                padding: 1rem !important;
                margin: 0.75rem auto !important;
                font-size: 1.125rem !important;
                display: block !important;
            }

            .form-label {
                font-size: 1.1rem;
                margin-bottom: 0.75rem;
            }

            .form-check-label {
                font-size: 1.1rem;
                line-height: 1.4;
                margin-bottom: 0.5rem;
            }

            small {
                font-size: 0.9rem;
                margin-top: 0.5rem;
            }

            #speedValue,
            #pitchValue {
                font-size: 1.1rem;
                min-width: 3rem;
                text-align: center;
            }

            .section-title {
                font-size: 1.5rem;
                margin: 1rem 0;
            }

            .app-title {
                font-size: 2rem;
                margin-bottom: 1rem;
                line-height: 1.2;
            }

            .app-subtitle {
                font-size: 1.125rem;
                margin-bottom: 1.5rem;
                padding: 0 1rem;
                line-height: 1.4;
            }

            .form-range {
                height: 0.5rem;
                width: 100%;
            }

            .form-check,
            .form-label {
                font-size: 1rem;
                line-height: 1.5;
            }

            .btn-sm {
                padding: 0.5rem 1rem;
                font-size: 1rem;
            }

            .upload-zone {
                padding: 1.5rem;
                margin: 0.75rem auto;
                width: 90%;
                box-sizing: border-box;
            }

            .app-title {
                font-size: 1.75rem;
            }

            .app-subtitle {
                font-size: 1.1rem;
                padding: 0 0.5rem;
            }

            .logo-image {
                max-width: 7.5rem;
            }

            .feature-card {
                padding: 1rem;
                margin: 0 0.25rem 1rem;
            }

            .btn-lg {
                padding: 0.75rem 1.5rem;
                font-size: 1.2rem;
            }

            .controls button {
                width: 50px;
                height: 50px;
            }

            .waveform-scroll>div {
                min-width: 300px;
            }

            #waveform {
                height: 80px !important;
            }

            .form-label {
                font-size: 1.1rem;
                color: #ffffff;
                margin-bottom: 0.5rem;
            }

            .form-check-label {
                font-size: 1.1rem;
                color: #ffffff;
                line-height: 1.4;
            }

            small {
                font-size: 1rem;
                color: #ffffff !important;
                line-height: 1.4;
                display: block;
                margin-top: 0.5rem;
            }

            #speedValue,
            #pitchValue {
                color: #ffffff;
                font-size: 1.1rem;
            }

            .feature-card {
                margin-left: 0;
                margin-right: 0;
                border-radius: 8px;
                width: 100%;
            }
        }

        body {
            background: var(--dark-bg);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
        }

        .section-title,
        .app-title {
            font-family: 'Orbitron', sans-serif;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .app-subtitle {
            font-family: 'Roboto Slab', serif;
            font-style: italic;
            font-weight: 400;
        }

        .btn {
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-size: 1.1rem;
        }

        code,
        .technical {
            font-family: 'Roboto Mono', monospace;
        }

        .container {
            width: 92%;
            margin: 0 auto;
            padding: 1rem 0.5rem;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        .logo-container {
            text-align: center;
            margin-bottom: 0.25rem;
        }

        .logo-image {
            max-width: 300px;
            height: auto;
            margin-bottom: 0;
        }

        .app-title {
            color: var(--text-primary);
            text-align: center;
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-size: 2.5rem;
            font-family: 'Orbitron', sans-serif;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .app-subtitle {
            color: var(--text-secondary);
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .upload-zone {
            width: 100%;
            margin: 1rem auto 2rem;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--dark-secondary);
            border: 2px dashed #3D5A80;
            border-radius: 10px;
            box-sizing: border-box;
        }

        .upload-zone:hover,
        .upload-zone.dragover {
            border-color: var(--accent-blue);
            background: rgba(61, 90, 128, 0.1);
        }

        .section-title {
            color: var(--text-primary);
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
            text-align: center;
        }

        .feature-card {
            background: var(--dark-secondary);
            border: none;
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .section-spacing {
            margin-bottom: 2rem;
        }

        .feature-card .section-title {
            margin-top: 0;
            margin-bottom: 1.5rem;
        }

        .form-range {
            height: 6px;
            background: var(--dark-secondary);
        }

        .form-range::-webkit-slider-thumb {
            background: var(--accent-blue);
        }

        .form-check-input {
            background-color: #1a2632;
            border: 2px solid #4d6a90;
        }

        .form-check-input:checked {
            background-color: #3D5A80;
            border-color: #ffffff;
        }

        .form-switch .form-check-input {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
        }

        .form-switch .form-check-input:checked {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
        }

        .btn-primary {
            background: var(--accent-blue);
            border: none;
            padding: 0.5rem 2rem;
            margin: 0.5rem;
        }

        .btn-primary:hover {
            background: #4d6a90;
        }

        .btn-outline-secondary {
            color: var(--text-secondary);
            border-color: var(--text-secondary);
        }

        .coming-soon {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .disabled-section {
            opacity: 0.5;
            pointer-events: none;
        }

        .disabled-section .form-check-input:checked {
            background-color: var(--text-secondary);
            border-color: var(--text-secondary);
        }

        .disabled-section .form-check-label,
        .disabled-section .form-label {
            color: var(--text-secondary);
        }

        .coming-soon-badge {
            background: var(--accent-blue);
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }

        .wave-container {
            background: var(--dark-secondary);
            border-radius: 10px;
            padding: 1rem;
            margin: 1rem 0;
            position: relative;
        }

        .waveform-scroll {
            overflow-x: auto;
            margin-bottom: 1rem;
            max-width: 100%;
            width: 100%;
        }

        .waveform-scroll::-webkit-scrollbar {
            height: 8px;
        }

        .waveform-scroll::-webkit-scrollbar-track {
            background: var(--dark-secondary);
            border-radius: 4px;
        }

        .waveform-scroll::-webkit-scrollbar-thumb {
            background: var(--dark-bg);
            border-radius: 4px;
        }

        .waveform-scroll>div {
            width: 100%;
            max-width: 100%;
            overflow: hidden;
        }

        #waveform {
            max-width: 100%;
            width: 100%;
            overflow: hidden;
        }

        #waveform {
            background: transparent;
        }

        .controls {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 1rem 0;
        }

        .controls button {
            width: 50px;
            height: 50px;
            border-radius: 25px;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-blue);
            color: white;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 1.2rem;
            margin: 0 5px;
        }

        .controls button:hover {
            background: #4d6a90;
        }

        .controls button:disabled {
            background: #2a3950;
            cursor: not-allowed;
        }


        .alert {
            background: var(--dark-secondary);
            border: 1px solid var(--accent-blue);
            color: var(--text-secondary);
        }

        .progress {
            background: var(--dark-secondary);
        }

        .progress-bar {
            background: var(--accent-blue);
        }

        .form-label {
            font-family: 'Roboto', Arial, sans-serif;
            font-size: 1.1rem;
            font-weight: 500;
            color: #ffffff;
            margin-bottom: 0.75rem;
            text-transform: none;
        }

        .form-check-label:not(small + .form-check-label) {
            font-family: 'Roboto', Arial, sans-serif;
            font-size: 1.1rem;
            font-weight: 500;
            color: #ffffff;
            line-height: 1.4;
            text-transform: none;
        }

        small+.form-check-label {
            font-weight: 400;
        }

        small {
            font-size: 1rem;
            color: #ffffff !important;
            line-height: 1.4;
        }

        #speedValue,
        #pitchValue {
            color: #ffffff;
            font-size: 1.1rem;
        }

        .btn-logout {
            position: absolute;
            right: 1rem;
        }

        /* Tablet */
        @media screen and (min-width: 768px) {
            .logo-image {
                max-width: 180px;
            }
        }

        /* Desktop */
        @media screen and (min-width: 1024px) {
            .logo-image {
                max-width: 220px;
            }
        }

        /* Navigation bar styling */
        .nav-container {
            background-color: #1e2b38;
            padding: 0.75rem 0;
            margin-bottom: 2rem;
            width: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            width: 100vw;
        }

        .navbar-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .navbar-brand {
            font-family: 'Orbitron', sans-serif;
            font-weight: 800;
            color: var(--text-primary);
            font-size: 1.75rem;
            margin: 0;
            padding: 0;
        }

        .nav-link {
            color: #a9b6c4;
            transition: color 0.2s ease;
            font-weight: 500;
            padding: 0.5rem 1rem;
            margin: 0 0.25rem;
        }

        .nav-link:hover {
            color: var(--text-primary);
        }

        .nav-link.active {
            color: var(--text-primary);
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 0.25rem;
        }

        .user-welcome {
            color: #a9b6c4;
            font-weight: 500;
        }

        .nav-btn {
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.375rem 1.5rem;
            border-radius: 0.25rem;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .nav-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.5);
        }
        /* pricing table */
        .a-subscription-option{
            text-decoration: none !important;
        }

        .subscription-option{
            background-color: rgba(var(--bs-primary-rgb));
            border-radius: 10px;
            border-width: 2px;
            border-style: solid;
            border-color: rgba(var(--bs-primary-rgb), 0.5);
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

        }
        .subscription-option:hover{

            transform:scale(1.1);
        }

        .subscription-title{
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .price{
            font-size: 2rem;
            font-weight: 700;
        }
        .modal .feature-icon{
        color: var(--bs-white) !important;
        }

.format-description {
            color: var(--text-primary);
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .format-info {
            text-align: left;
        }

        .format-description {
            color: var(--text-primary);
            font-size: 1.1rem;
            font-weight: 500;
        }

        .format-note {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.4;
        }

        .format-selection .form-check {
            margin-bottom: 1rem;
        }

        .format-selection .form-check-label {
            color: var(--text-primary);
        }

        .format-selection .format-label {
            font-weight: 500;
            display: block;
            margin-bottom: 0.25rem;
        }

        .format-selection small {
            color: var(--text-secondary) !important;
            font-weight: normal;
        }

        .coming-soon-note {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1rem;
            margin-top: 1.5rem;
        }

        .coming-soon-note small {
            color: var(--text-secondary) !important;
            font-style: italic;
        }