:root {
            --primary: #274c77;
            --primary-dark: #6096ba;
            --primary-light: #818cf8;
            --secondary: #6096ba;
            --secondary-dark: #0d946e;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --dark: #0f172a;
            --dark-light: #1e293b;
            --darker: #0a0f1c;
            --light: #f8fafc;
            --gray: #64748b;
            --gray-light: #cbd5e1;
            --gray-dark: #475569;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-fast: all 0.15s ease;
            --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
    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;
    }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-main);
            background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
            color: var(--light);
            line-height: 1.6;
            min-height: 100vh;
            padding: 0;
            padding-top: 70px;
            overflow-x: hidden;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
    /* PERMANENT DARK MODE FOR THIS PAGE */
    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;
    }
/* Header Styles */
.headernow {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 30px 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 32px;
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-icon::after {
    opacity: 1;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.logo-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.logo-text p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 500px;
}

.logo-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: var(--light);
}

.badge i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

/* Enhanced Pulse Animation */
@keyframes enhancedPulse {
    0% {
        box-shadow: 
            0 10px 30px rgba(99, 102, 241, 0.3),
            0 0 0 0 rgba(99, 102, 241, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    70% {
        box-shadow: 
            0 10px 30px rgba(99, 102, 241, 0.3),
            0 0 0 15px rgba(99, 102, 241, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 10px 30px rgba(99, 102, 241, 0.3),
            0 0 0 0 rgba(99, 102, 241, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.pulse {
    animation: enhancedPulse 3s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headernow {
        padding: 30px 15px 25px;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        border-radius: 18px;
    }
    
    .logo-text h1 {
        font-size: 2.2rem;
    }
    
    .logo-text p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .logo-badges {
        gap: 8px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .headernow {
        padding: 25px 10px 20px;
    }
    
    .logo {
        gap: 15px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 15px;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .logo-text p {
        font-size: 1rem;
    }
    
    .logo-badges {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    
    .badge {
        width: fit-content;
        min-width: 50px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    .logo-text p {
        font-size: 0.9rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .headernow {
        background: linear-gradient(135deg, #0a0f1c 0%, #0f172a 100%);
    }
    
    .logo-icon {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pulse {
        animation: none;
    }
    
    .logo-icon,
    .badge {
        transition: none;
    }
}

/* High contrast support */
@media (prefers-contrast: high) {
    .logo-icon {
        border: 2px solid white;
    }
    
    .badge {
        border: 1px solid white;
        background: transparent;
    }
}
        /* Main Layout */
        .main-content {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 24px;
        }

        /* Cards */
        .card {
            background: rgba(30, 41, 59, 0.7);
            backdrop-filter: blur(10px);
            border-radius: var(--radius);
            padding: 24px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: var(--transition);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

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

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card-title i {
            color: var(--primary-light);
        }

        /* Upload Area */
        .upload-area {
            border: 2px dashed rgba(255, 255, 255, 0.1);
            border-radius: var(--radius);
            padding: 40px 20px;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .upload-area::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .upload-area:hover::before {
            left: 100%;
        }

        .upload-area:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.05);
        }

        .upload-area.active {
            border-color: var(--secondary);
            background: rgba(16, 185, 129, 0.05);
        }

        .upload-icon {
            font-size: 48px;
            margin-bottom: 16px;
            color: var(--gray);
        }

        .upload-text h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .upload-text p {
            color: var(--gray-light);
            font-size: 14px;
        }

        .file-input {
            display: none;
        }

        .file-info {
            display: none;
            background: rgba(15, 23, 42, 0.7);
            border-radius: var(--radius);
            padding: 16px;
            margin-top: 16px;
            animation: fadeIn 0.3s ease;
        }

        .file-info.active {
            display: block;
        }

        .file-details {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .file-name {
            font-weight: 600;
            color: var(--light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .file-size {
            color: var(--gray-light);
            font-size: 14px;
        }

        /* Controls */
        .controls-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 20px;
        }

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

        .control-label {
            font-size: 14px;
            color: var(--gray-light);
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }

        .control-hint {
            font-size: 12px;
            color: var(--gray);
        }

        .range-input {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: rgba(255, 255, 255, 0.1);
            outline: none;
            -webkit-appearance: none;
            transition: var(--transition-fast);
        }

        .range-input:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            transition: var(--transition-fast);
        }

        .range-input::-webkit-slider-thumb:hover {
            background: var(--primary-light);
            transform: scale(1.1);
        }

        .number-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: var(--radius-sm);
            background: rgba(15, 23, 42, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light);
            font-size: 14px;
            transition: var(--transition-fast);
        }

        .number-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: var(--radius-sm);
            border: none;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 5px;
            height: 5px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 0;
            border-radius: 100%;
            transform: scale(1, 1) translate(-50%);
            transform-origin: 50% 50%;
        }

        .btn:focus:not(:active)::after {
            animation: ripple 1s ease-out;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--light);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .btn-success {
            background: var(--success);
            color: white;
        }

        .btn-success:hover {
            background: var(--secondary-dark);
        }

        .btn-accent {
            background: var(--accent);
            color: white;
        }

        .btn-accent:hover {
            background: var(--accent-dark);
        }

        .btn-group {
            display: flex;
            gap: 12px;
        }

        .btn-group.stacked {
            flex-direction: column;
        }

        /* Visualization */
        .visualization {
            margin-top: 20px;
        }

        .waveform-container {
            position: relative;
            background: rgba(15, 23, 42, 0.7);
            border-radius: var(--radius);
            overflow: hidden;
            height: 160px;
            margin-bottom: 16px;
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        #waveCanvas {
            width: 100%;
            height: 100%;
            display: block;
        }

        .beat-markers {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .beat-marker {
            position: absolute;
            top: 0;
            width: 2px;
            height: 100%;
            background: rgba(245, 158, 11, 0.7);
            z-index: 10;
            box-shadow: 0 0 4px rgba(245, 158, 11, 0.5);
        }

        .playhead {
            position: absolute;
            top: 0;
            width: 2px;
            height: 100%;
            background: var(--primary);
            z-index: 20;
            box-shadow: 0 0 8px var(--primary);
        }

        .playback-controls {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 16px;
        }

        .progress-container {
            flex: 1;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            position: relative;
            cursor: pointer;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 4px;
            width: 0%;
            transition: width 0.1s linear;
            box-shadow: 0 0 4px rgba(99, 102, 241, 0.5);
        }

        .time-display {
            font-size: 14px;
            color: var(--gray-light);
            font-variant-numeric: tabular-nums;
            min-width: 100px;
            text-align: right;
        }

        /* Results */
        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 16px;
            margin-bottom: 20px;
        }

        .result-card {
            background: rgba(15, 23, 42, 0.7);
            border-radius: var(--radius);
            padding: 20px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .result-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .result-value {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--light);
        }

        .result-label {
            font-size: 14px;
            color: var(--gray-light);
        }

        .bpm-display {
            font-size: 48px;
            font-weight: 800;
            color: var(--secondary);
            text-align: center;
            margin: 20px 0;
            text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
        }

        .confidence-bar {
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            margin: 16px 0;
            position: relative;
        }

        .confidence-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--success), #34d399);
            border-radius: 4px;
            width: 0%;
            transition: width 0.5s ease;
            box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .beats-list {
            max-height: 300px;
            overflow-y: auto;
            border-radius: var(--radius-sm);
            background: rgba(15, 23, 42, 0.5);
        }

        .beats-list::-webkit-scrollbar {
            width: 6px;
        }

        .beats-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 3px;
        }

        .beats-list::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        .beat-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .beat-item:hover {
            background: rgba(255, 255, 255, 0.03);
        }

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

        .beat-time {
            font-variant-numeric: tabular-nums;
            color: var(--gray-light);
        }

        /* Ad Placements */
        .ad-container {
            border-radius: var(--radius);
            border: 1px dashed rgba(255, 255, 255, 0.1);
        }

        /* Tooltips */
        .tooltip {
            position: relative;
            display: inline-block;
        }

        .tooltip .tooltip-text {
            visibility: hidden;
            width: 220px;
            background: rgba(15, 23, 42, 0.95);
            color: var(--light);
            text-align: center;
            border-radius: 6px;
            padding: 12px;
            position: absolute;
            z-index: 100;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .tooltip:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* Loading */
        .loading {
            display: none;
            text-align: center;
            padding: 20px;
        }

        .loading.active {
            display: block;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-left: 4px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 16px;
        }

        /* New Features */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 20px;
        }

        .feature-card {
            background: rgba(15, 23, 42, 0.7);
            border-radius: var(--radius);
            padding: 16px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .feature-icon {
            font-size: 24px;
            margin-bottom: 12px;
            color: var(--primary-light);
        }

        .feature-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--light);
        }

        .feature-desc {
            font-size: 14px;
            color: var(--gray-light);
        }

        .history-list {
            max-height: 200px;
            overflow-y: auto;
            border-radius: var(--radius-sm);
            background: rgba(15, 23, 42, 0.5);
        }

        .history-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .history-item:hover {
            background: rgba(255, 255, 255, 0.03);
        }

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

        .history-bpm {
            font-weight: 600;
            color: var(--secondary);
        }

        .history-time {
            font-size: 12px;
            color: var(--gray);
        }

        /* Animations */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes ripple {
            0% {
                transform: scale(0, 0);
                opacity: 0.5;
            }
            100% {
                transform: scale(20, 20);
                opacity: 0;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                grid-row: 1;
            }
        }

        @media (max-width: 768px) {
            
            .controls-grid {
                grid-template-columns: 1fr;
            }
            
            .btn-group {
                flex-direction: column;
            }
            
            .playback-controls {
                flex-direction: column;
                gap: 12px;
            }
            
            .time-display {
                text-align: center;
            }

            .feature-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 15px;
            }
            
            .card {
                padding: 16px;
            }
            
            .upload-area {
                padding: 30px 15px;
            }
            
            .bpm-display {
                font-size: 36px;
            }
            
            .result-value {
                font-size: 24px;
            }
        }

        /* Utility Classes */
        .text-center {
            text-align: center;
        }
        
        .text-muted {
            color: var(--gray-light);
        }
        
        .mt-1 { margin-top: 8px; }
        .mt-2 { margin-top: 16px; }
        .mt-3 { margin-top: 24px; }
        .mb-1 { margin-bottom: 8px; }
        .mb-2 { margin-bottom: 16px; }
        .mb-3 { margin-bottom: 24px; }
        
        .hidden {
            display: none;
        }

        .active {
            background: var(--primary) !important;
            color: white !important;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
            100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
        }
        
/* Hero Section */
.hero-section {
    padding: 30px 15px;
    margin-top: 40px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><path d="M0 50 Q250 0 500 50 T1000 50 V100 H0 Z"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.hero-feature i {
    color: var(--accent);
}

/* SEO Content Sections */
.seo-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.seo-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.seo-section p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.seo-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.seo-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--gray-light);
}

.seo-section strong {
    color: var(--light);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
}

.step p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Genre Grid */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.genre-card {
    padding: 25px 20px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.genre-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.genre-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light);
}

.bpm-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.genre-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Advantages */
.advantages {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.advantage:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.advantage i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.advantage h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--light);
}

.advantage p {
    color: var(--gray-light);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.faq-item {
    padding: 25px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light);
}

.faq-item p {
    color: var(--gray-light);
    line-height: 1.6;
    margin: 0;
}

/* Tool Info */
.tool-info {
    background: var(--dark-light);
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.info-content h3 {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 400;
}

.info-content p {
    color: var(--gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .advantage {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .advantage:hover {
        transform: translateY(-5px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .seo-section h2 {
        font-size: 1.5rem;
    }
    
    .genre-grid {
        grid-template-columns: 1fr 1fr;
    }
}