:root {
            --bg: #071427;
            --card: #0b1220;
            --accent: #7c3aed;
            --accent2: #06b6d4;
            --accent3: #10b981;
            --muted: #9fb0c8;
            --radius: 12px;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
        }

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

    body, .container, .main-content, .tool-container {
        color: #e0e0e0 !important;
    }
    
    h1, h2, h3, h4, h5, h6, p, span, div, li {
        color: #e0e0e0 !important;
    }
    
    h1, h2, h3 {
        color: #ffffff !important;
    }
    
    input, textarea, select {
        background-color: #2d2d2d !important;
        color: #ffffff !important;
        border: 1px solid #444 !important;
    }
    
    button {
        background-color: #274c77 !important;
        color: white !important;
        border: none !important;
    }
    
    .card, .panel, .box {
        background-color: #1e1e1e !important;
        border-color: #333 !important;
    }
    
    a {
        color: #8fc3ed !important;
    }
    
    .text-muted, .text-gray, .text-secondary {
        color: #a0a0a0 !important;
    }
        html, body {
            
            min-height: 100%;
            margin: 0;
            background: 
                radial-gradient(800px 300px at 8% 8%, rgba(124,58,237,0.04), transparent 8%),
                radial-gradient(800px 300px at 92% 92%, rgba(6,182,212,0.04), transparent 8%),
                linear-gradient(180deg, #020417 0%, #071427 60%);
            color: #e6eef8;
            line-height: 1.6;
        }

		body {
    		padding-top:70px;
		}

.head-thing {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
    max-width: 95%;
    margin: 0 auto;
}

/* Brand section */
.brand h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0.2rem 0;
}

.brand .subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #ffffff;
    margin-top: 0.2rem;
    line-height: 1.4;
}

        main {
            max-width: 1200px;
            margin: 18px auto;
            padding: 18px;
            display: grid;
            gap: 18px;
            grid-template-columns: 1fr;
        }

        @media(min-width: 980px) {
            main {
                grid-template-columns: 1fr 360px;
            }
        }

        .card {
            background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
            border-radius: var(--radius);
            padding: 20px;
            box-shadow: 0 8px 30px rgba(2,6,23,0.6);
            border: 1px solid rgba(255,255,255,0.02);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(2,6,23,0.7);
        }

        .card-header {
            display: flex;
            justify-content: between;
            align-items: center;
            margin-bottom: 16px;
        }

        .card-title {
            font-size: 18px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card-title .icon {
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .row {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .col {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .btn {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            border: none;
            color: white;
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .btn-success {
            background: linear-gradient(90deg, var(--accent3), var(--accent2));
        }

        .btn-outline {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.1);
            color: inherit;
        }

        .btn-outline:hover {
            background: rgba(255,255,255,0.05);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
        }

        .btn-small {
            padding: 8px 12px;
            font-size: 13px;
        }

        .muted {
            color: var(--muted);
            font-size: 13px;
        }

        .ad-unit {
            border-radius: var(--radius);
            overflow: hidden;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.03);
        }

        .drop-zone {
            border: 2px dashed rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            background: rgba(255,255,255,0.02);
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .drop-zone:hover, .drop-zone.dragover {
            background: rgba(124,58,237,0.06);
            border-color: var(--accent);
        }

        .drop-icon {
            font-size: 48px;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .drop-text {
            font-weight: 700;
            font-size: 18px;
        }

        .drop-subtext {
            color: var(--muted);
            font-size: 14px;
            max-width: 400px;
        }

        input[type="file"] {
            display: none;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
            margin-top: 12px;
        }

        .file-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .file-details {
            flex: 1;
        }

        .file-name {
            font-weight: 600;
            margin-bottom: 4px;
        }

        .file-meta {
            color: var(--muted);
            font-size: 12px;
        }

    /* Waveform Responsive Fix */
.waveform-container {
    position: relative;
    width: 100%;
    height: 160px;
    background: linear-gradient(180deg, rgba(5,8,15,0.4), rgba(5,8,15,0.1));
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0;
    /* Add these: */
    box-sizing: border-box;
    max-width: 100%;
}

#waveformCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    /* Prevent canvas overflow */
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile waveform fix */
@media (max-width: 768px) {
    .waveform-container {
        height: 120px;
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    .waveform-container {
        height: 100px;
        margin: 10px 0;
    }
}

        canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        .fade-controls {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin-top: 16px;
        }

        @media(min-width: 768px) {
            .fade-controls {
                grid-template-columns: 1fr 1fr;
            }
        }

        .fade-section {
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
            padding: 16px;
            border: 1px solid rgba(255,255,255,0.03);
        }

        .fade-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .fade-section-title {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255,255,255,0.1);
            transition: .4s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
        }

        input:checked + .toggle-slider:before {
            transform: translateX(20px);
        }

        .slider-container {
            margin: 12px 0;
        }

        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 13px;
        }

        .slider-value {
            color: var(--accent);
            font-weight: 600;
        }

        input[type="range"] {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: rgba(255,255,255,0.1);
            outline: none;
            -webkit-appearance: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        }

        input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        }

        .curve-presets {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 8px;
            margin-top: 12px;
        }

        .curve-preset {
            padding: 8px 12px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 6px;
            text-align: center;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .curve-preset:hover {
            background: rgba(255,255,255,0.06);
        }

        .curve-preset.active {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            color: white;
            border-color: var(--accent);
        }

        .preview-controls {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 16px;
        }

        .progress-container {
            margin-top: 16px;
        }

        .progress-bar {
            height: 8px;
            background: rgba(255,255,255,0.05);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            transition: width 0.3s;
        }

        .progress-text {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--muted);
        }

        .export-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 16px;
        }

        @media(min-width: 640px) {
            .export-options {
                grid-template-columns: 1fr 1fr;
            }
        }

        .export-option {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .export-label {
            font-size: 13px;
            font-weight: 600;
        }

        select, input[type="text"] {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 10px 12px;
            border-radius: 8px;
            color: inherit;
            font-size: 14px;
            width: 100%;
        }

        select:focus, input[type="text"]:focus {
            outline: none;
            border-color: var(--accent);
        }

        .history-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .history-item:last-child {
            border-bottom: none;
        }

        .history-name {
            font-weight: 500;
        }

        .history-date {
            color: var(--muted);
            font-size: 12px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 12px;
            margin-top: 16px;
        }

        .feature-card {
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
            padding: 16px;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.03);
            transition: all 0.2s;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            background: rgba(255,255,255,0.04);
            box-shadow: 0 8px 20px rgba(2,6,23,0.4);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 20px;
        }

        .feature-title {
            font-weight: 600;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .feature-desc {
            color: var(--muted);
            font-size: 12px;
        }

        .tooltip {
            position: fixed;
            background: var(--card);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 10px 14px;
            border-radius: 8px;
            color: var(--muted);
            max-width: 300px;
            z-index: 1000;
            box-shadow: 0 6px 30px rgba(2,6,23,0.6);
            font-size: 13px;
            line-height: 1.5;
        }

        /* Fade visualization on waveform */
        .fade-overlay {
            position: absolute;
            top: 0;
            height: 100%;
            pointer-events: none;
            opacity: 0.7;
        }

        .fade-in-overlay {
            left: 0;
            background: linear-gradient(90deg, rgba(124,58,237,0.3), transparent);
        }

        .fade-out-overlay {
            right: 0;
            background: linear-gradient(90deg, transparent, rgba(6,182,212,0.3));
        }

        .time-marker {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(255,255,255,0.7);
            pointer-events: none;
        }

        .time-label {
            position: absolute;
            top: -20px;
            transform: translateX(-50%);
            background: rgba(11,18,32,0.8);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 11px;
            color: white;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .brand {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .card {
                padding: 16px;
            }
            
            .drop-zone {
                padding: 20px 16px;
            }
        }
        
    .seo-content {
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .content-section {
        background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
        border-radius: 12px;
        padding: 40px;
        margin-bottom: 30px;
        border: 1px solid rgba(255,255,255,0.02);
        box-shadow: 0 8px 30px rgba(2,6,23,0.6);
    }
    
    .content-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
    }
    
    .content-section h3 {
        font-size: 22px;
        margin: 25px 0 15px;
        color: #e6eef8;
        font-weight: 600;
    }
    
    .content-section p {
        margin-bottom: 16px;
        line-height: 1.7;
        color: #9fb0c8;
    }
    
    .feature-grid-seo {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 25px 0;
    }
    
    .feature-card-seo {
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
        padding: 25px;
        border: 1px solid rgba(255,255,255,0.03);
        transition: transform 0.3s ease;
    }
    
    .feature-card-seo:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.03);
    }
    
    .feature-card-seo h4 {
        font-size: 18px;
        margin-bottom: 12px;
        color: #e6eef8;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .feature-card-seo h4 .icon {
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    
    .benefits-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }
    
    .benefits-list li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    
    .benefits-list li:last-child {
        border-bottom: none;
    }
    
    .benefits-list .check-icon {
        color: var(--accent3);
        flex-shrink: 0;
        margin-top: 2px;
    }
    
/* Table Responsive Fix */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    overflow: hidden;
    /* Add these: */
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.comparison-table table {
    width: 100%;
    min-width: 600px; /* Minimum width for table content */
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table th {
    background: rgba(255,255,255,0.03);
    font-weight: 600;
    color: #e6eef8;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Mobile table fix */
@media (max-width: 768px) {
    .comparison-table {
        border-radius: 8px;
        margin: 15px 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .comparison-table table {
        min-width: 500px; /* Smaller minimum width for very small screens */
    }
}
    
    .yes-feature {
        color: var(--accent3);
        font-weight: 600;
    }
    
    .no-feature {
        color: var(--error);
        opacity: 0.7;
    }
    
    .use-cases {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 25px 0;
    }
    
    .use-case {
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.03);
    }
    
    .use-case .icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 20px;
    }
    
    .use-case h4 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #e6eef8;
    }
    
    .faq-section {
        margin-top: 40px;
    }
    
    .faq-item {
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 15px;
        border: 1px solid rgba(255,255,255,0.03);
    }
    
    .faq-question {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #e6eef8;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .faq-answer {
        color: #9fb0c8;
        line-height: 1.6;
    }
    
    .cta-section {
        text-align: center;
        padding: 50px 20px;
        background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
        border-radius: 15px;
        margin: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .cta-section p {
        font-size: 18px;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    @media (max-width: 768px) {
        .content-section {
            padding: 25px 20px;
        }
        
        .content-section h2 {
            font-size: 24px;
        }
        
        .feature-grid-seo {
            grid-template-columns: 1fr;
        }
        
        .comparison-table {
            font-size: 14px;
        }
        
        .comparison-table th,
        .comparison-table td {
            padding: 12px 15px;
        }
    }
    
/* Mobile Overflow & Container Fixes */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }
    
    main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }
    
    .card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }
    
    /* Force single column layout */
    main {
        grid-template-columns: 1fr !important;
        display: block !important;
    }
    
    /* Fix any horizontal scroll */
    * {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    }
    
    .curve-presets {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}