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

    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 {
        color: #ffffff !important;
        border: 1px solid #444 !important;
    }
    
    button {
        color: white !important;
    }
    
    .card, .panel, .box {
        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%),
                linear-gradient(180deg, #020417 0%, #071427 60%); 
            color: #e6eef8; 
        }

		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); /* Responsive font size */
    margin: 0.2rem 0;
}

.brand .subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #f5f5f5;
    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: 16px; 
            box-shadow: 0 8px 30px rgba(2,6,23,0.6); 
            border: 1px solid rgba(255,255,255,0.02); 
        }
        
        .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 14px; 
            border-radius: 10px; 
            font-weight: 700; 
            cursor: pointer; 
            transition: all 0.2s ease;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
        }
        
        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .small { 
            background: transparent; 
            border: 1px solid rgba(255,255,255,0.04); 
            padding: 8px; 
            border-radius: 8px; 
            color: inherit; 
        }
        
        .muted { 
            color: var(--muted); 
            font-size: 13px; 
        }
        
        .ad-placeholder { 
            border: 1px dashed rgba(255,255,255,0.04); 
            padding: 12px; 
            text-align: center; 
            border-radius: 8px; 
            color: var(--muted); 
            background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent); 
        }

        .drop { 
            border: 2px dashed rgba(255,255,255,0.08); 
            border-radius: 12px; 
            padding: 18px; 
            text-align: center; 
            background: rgba(255,255,255,0.02); 
            cursor: pointer; 
            transition: all 0.3s ease;
        }
        
        .drop:hover {
            background: rgba(255,255,255,0.04);
            border-color: rgba(124,58,237,0.3);
        }
        
        .drop.dragover { 
            background: rgba(124,58,237,0.06); 
            border-color: var(--accent); 
        }

        canvas { 
            width: 100%; 
            height: 140px; 
            border-radius: 8px; 
            background: linear-gradient(180deg, rgba(5,8,15,0.4), rgba(5,8,15,0.1)); 
            display: block; 
        }
        
        input[type="range"] { 
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: rgba(255,255,255,0.05);
            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;
        }
        
        input[type="text"], select { 
            background: transparent; 
            border: 1px solid rgba(255,255,255,0.04); 
            padding: 8px; 
            border-radius: 8px; 
            color: inherit; 
        }
        
        .progress { 
            height: 10px; 
            background: rgba(255,255,255,0.03); 
            border-radius: 8px; 
            overflow: hidden; 
            margin-top: 8px; 
        }
        
        .progress > i { 
            display: block; 
            height: 100%; 
            width: 0; 
            background: linear-gradient(90deg, var(--accent), var(--accent2)); 
            transition: width 200ms linear; 
        }
        
        .info-btn { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            width: 20px; 
            height: 20px; 
            border-radius: 50%; 
            background: rgba(255,255,255,0.04); 
            color: var(--muted); 
            font-size: 12px; 
            cursor: pointer; 
            border: 1px solid rgba(255,255,255,0.02); 
        }
        
        .tooltip { 
            position: fixed; 
            background: #071427; 
            border: 1px solid rgba(255,255,255,0.04); 
            padding: 10px; 
            border-radius: 8px; 
            color: var(--muted); 
            max-width: 320px; 
            z-index: 9999; 
            box-shadow: 0 6px 30px rgba(2,6,23,0.6); 
        }
        
        /* Echo-specific styles */
        .echo-controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }
        
        .control-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .control-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .control-value {
            color: var(--accent2);
            font-weight: 600;
            font-size: 14px;
        }
        
        .preset-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 10px;
            margin-top: 12px;
        }
        
        .preset-btn {
            padding: 10px 12px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            font-size: 13px;
            transition: all 0.2s ease;
        }
        
        .preset-btn:hover {
            background: rgba(255,255,255,0.06);
            transform: translateY(-1px);
        }
        
        .preset-btn.active {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            color: white;
            border-color: transparent;
        }
        
        .advanced-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            padding: 10px;
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
            cursor: pointer;
            user-select: none;
        }
        
        .advanced-toggle:hover {
            background: rgba(255,255,255,0.04);
        }
        
        .advanced-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .advanced-content.expanded {
            max-height: 1000px;
        }
        
        .toggle-icon {
            transition: transform 0.3s ease;
        }
        
        .advanced-toggle.active .toggle-icon {
            transform: rotate(180deg);
        }
        
        .echo-type-selector {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        
        .echo-type {
            padding: 8px 16px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .echo-type.active {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            color: white;
            border-color: transparent;
        }
        
        .visualizer {
            height: 80px;
            background: rgba(5,8,15,0.2);
            border-radius: 8px;
            margin-top: 16px;
            position: relative;
            overflow: hidden;
        }
        
        .visualizer-bar {
            position: absolute;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to top, var(--accent), var(--accent2));
            border-radius: 2px 2px 0 0;
        }
        
        .history-item {
            padding: 8px 12px;
            background: rgba(255,255,255,0.02);
            border-radius: 6px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .history-item:last-child {
            margin-bottom: 0;
        }
        
        .history-action {
            color: var(--accent2);
            cursor: pointer;
            font-size: 12px;
        }
        
        .ad-slot {
            margin: 16px 0;
            text-align: center;
        }
        
        /* New styles for improved UI */
        .preset-description {
            font-size: 12px;
            color: var(--muted);
            margin-top: 4px;
        }
        
        .preset-card {
            display: flex;
            flex-direction: column;
            padding: 12px;
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.04);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .preset-card:hover {
            background: rgba(255,255,255,0.04);
            transform: translateY(-2px);
        }
        
        .preset-card.active {
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            border-color: transparent;
        }
        
        .preset-title {
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .loading-indicator {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.1);
            border-radius: 50%;
            border-top-color: var(--accent);
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .processing-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(7,20,39,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 12px;
            border-radius: var(--radius);
            z-index: 10;
            display: none;
        }
        
        .processing-text {
            font-weight: 600;
            color: white;
        }
        
        .card-relative {
            position: relative;
        }
        
        .effect-indicator {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent2);
            margin-right: 6px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }
        
        .quality-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: rgba(6,182,212,0.1);
            border-radius: 4px;
            font-size: 11px;
            color: var(--accent2);
            margin-left: 8px;
        }
#waveCanvas {
    width: 100% !important;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}		
	/* Mobile waveform fix */
@media (max-width: 768px) {
    #waveCanvas {
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    #waveCanvas {
        margin: 10px 0;
    }
}

   .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;
    }
}