   :root {
            --primary-gradient: linear-gradient(135deg, #ff6b6b 0%, #f7b42c 100%);
            --secondary-gradient: linear-gradient(135deg, #06beb6 0%, #48b1bf 100%);
            --accent-gradient: linear-gradient(135deg, #a3bded 0%, #6991c7 100%);
            --dark-bg: #141414;
            --card-bg: rgba(255, 255, 255, 0.08);
            --card-border: rgba(255, 255, 255, 0.15);
            --text-primary: #fefefe;
            --text-secondary: #b5b5b5;
            --glass-shadow: 0 8px 32px rgba(255, 107, 107, 0.2);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Animated background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 25%, rgba(255, 107, 107, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 80% 35%, rgba(247, 180, 44, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 40% 75%, rgba(6, 190, 182, 0.25) 0%, transparent 60%);
            z-index: -1;
            animation: gradientShift 15s ease-in-out infinite;
        }

        @keyframes gradientShift {
            0%, 100% { opacity: 0.85; }
            50% { opacity: 0.65; }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Header */
        .header {
            background: rgba(12, 12, 28, 0.75);
            backdrop-filter: blur(25px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar-brand {
            font-weight: 800;
            font-size: 1.6rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Hero Section */
        .hero {
            min-height: 90vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 5rem 0;
            overflow: hidden;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 60%;
            height: 150%;
            background: radial-gradient(ellipse at center, rgba(250, 204, 21, 0.15) 0%, rgba(6, 182, 212, 0.1) 40%,transparent 80%);
            border-radius: 50%;
            z-index: -1;
            animation: pulse 8s ease-in-out infinite alternate;
        }

        @keyframes pulse {
            0% { opacity: 0.6; }
            100% { opacity: 1; }
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(250, 204, 21, 0.08);
            border: 1px solid rgba(250, 204, 21, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #fde68a;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .hero-title .highlight {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            display: inline-block;
        }

        .hero-title .highlight::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: var(--primary-gradient);
            opacity: 0.3;
            z-index: -1;
            border-radius: 10px;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
            line-height: 1.6;
        }

        .hero-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .hero-btn {
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .hero-btn.primary {
            background: var(--primary-gradient);
            border: none;
            color: white;
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
        }

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

        .hero-btn:hover {
            transform: translateY(-3px);
        }

        .hero-btn.primary:hover {
            box-shadow: 0 15px 30px rgba(250, 204, 21, 0.4);
        }

        .hero-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .hero-metrics {
            display: flex;
            gap: 2.5rem;
        }

        .metric {
            position: relative;
        }

        .metric:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -1.25rem;
            top: 50%;
            transform: translateY(-50%);
            height: 60%;
            width: 1px;
            background: rgba(255, 255, 255, 0.1);
        }

        .metric-value {
            font-size: 1.75rem;
            font-weight: 700;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.25rem;
        }

        .metric-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .hero-graphic {
            position: relative;
            width: 100%;
            height: 350px;
            background: rgba(250, 204, 21, 0.03);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            border: 1px solid var(--card-border);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .waveform-container {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            gap: 12px;
        }

        .waveform-bar {
            width: 8px;
            height: 80px;
            background: var(--primary-gradient);
            border-radius: 30px;
            animation: waveform 1.5s ease-in-out infinite;
        }

        .waveform-bar:nth-child(1) { animation-delay: 0s; }
        .waveform-bar:nth-child(2) { animation-delay: 0.1s; }
        .waveform-bar:nth-child(3) { animation-delay: 0.2s; }
        .waveform-bar:nth-child(4) { animation-delay: 0.3s; }
        .waveform-bar:nth-child(5) { animation-delay: 0.4s; }
        .waveform-bar:nth-child(6) { animation-delay: 0.5s; }
        .waveform-bar:nth-child(7) { animation-delay: 0.6s; }

        @keyframes waveform {
            0%, 100% { height: 60px; }
            50% { height: 180px; }
        }

        .floating-icons {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }

        .float-icon {
            position: absolute;
            width: 50px;
            height: 50px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            box-shadow: 0 10px 25px rgba(250, 204, 21, 0.35);
            animation: float 6s ease-in-out infinite;
        }

        .float-icon:nth-child(1) {
            top: 20%;
            left: 15%;
            animation-delay: 0s;
        }

        .float-icon:nth-child(2) {
            bottom: 25%;
            right: 20%;
            animation-delay: 2s;
        }

        .float-icon:nth-child(3) {
            top: 40%;
            right: 15%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* Glass Card */
        .glass-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            box-shadow: var(--glass-shadow);
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(250, 204, 21, 0.25);
        }

        /* Main App Container */
        .app-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Voice Selection Section */
        .voice-section {
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .voice-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.5rem 1.5rem;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
            color: var(--text-primary);
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary-gradient);
            border-color: transparent;
            transform: translateY(-2px);
        }

        .voice-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .voice-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 2px solid transparent;
            border-radius: 16px;
            padding: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .voice-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--primary-gradient);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .voice-card:hover::before {
            opacity: 0.1;
        }

        .voice-card.selected {
            border-color: #6366f1;
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(250, 204, 21, 0.25);
        }

        .voice-card.selected::before {
            opacity: 0.15;
        }
        
        .voice-card.selected .voice-name {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .voice-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
            gap: 0.75rem;
        }

        .voice-avatar {
            width: 40px;
            height: 40px;
            min-width: 40px;
            border-radius: 50%;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 700;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .voice-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .voice-info {
            flex: 1;
        }

        .voice-name {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            line-height: 1.2;
            word-break: break-word;
        }

        .voice-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .voice-gender {
            font-size: 0.65rem;
            padding: 0.15rem 0.5rem;
            background: var(--secondary-gradient);
            border-radius: 10px;
            color: white;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }

        .voice-gender.male {
            background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
        }

        .voice-gender.female {
             background: linear-gradient(135deg, #f97316 0%, #facc15 100%);
        }

        .voice-category {
            font-size: 0.65rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .voice-description {
            font-size: 0.7rem;
            color: var(--text-secondary);
            text-align: left;
            line-height: 1.3;
            margin-bottom: 0.75rem;
            height: 2.8em;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .voice-play-btn {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--primary-gradient);
            border: none;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: auto;
            color: white;
        }

        .voice-play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(255, 200, 100, 0.4);
        }

        .voice-play-btn i {
            font-size: 0.75rem;
        }

        /* Hide single voice grid in multi-speaker mode */
        .voice-section.multi-mode {
            display: none;
        }

        /* Text Input Section */
        .text-section {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            padding: 2rem;
            margin-bottom: 2rem;
        }

        .form-label {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .form-control {
            background: rgba(255, 215, 0, 0.05);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            color: var(--text-primary);
            padding: 1rem 1.5rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            width: 100%;
            resize: vertical;
        }

        .form-control:focus {
            outline: none;
            color: #fff;
            border-color: #f59e0b;
            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
            background: rgba(255, 215, 0, 0.08);
        }

        .form-control::placeholder {
            color: var(--text-secondary);
        }

        /* Generate Button */
        .generate-btn {
            background: var(--primary-gradient);
            border: none;
            border-radius: 16px;
            color: white;
            padding: 1rem 3rem;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .generate-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
        }

        .generate-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .generate-btn .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        /* Audio Player */
        .audio-player {
            background: rgba(15, 15, 35, 0.3);
            backdrop-filter: blur(25px);
            border: 1px solid rgba(245, 158, 11, 0.2);
            border-radius: 24px;
            padding: 2rem;
            margin-top: 2rem;
            text-align: center;
            display: none;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 35px rgba(245, 158, 11, 0.25);
            transition: all 0.4s ease;
        }

        .audio-player::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(
                transparent, 
                rgba(245, 158, 11, 0.1), 
                transparent 30%
            );
            animation: rotateGradient 8s linear infinite;
            z-index: -1;
        }

        .audio-player::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            padding: 1px;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(139, 92, 246, 0.5), rgba(217, 70, 239, 0.3));
            -webkit-mask: 
                linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
            mask: 
                linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .audio-player.show {
            display: block;
            animation: holographicReveal 1.2s cubic-bezier(0.17, 0.67, 0.46, 0.99);
        }
        
        .audio-player:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 50px rgba(99, 102, 241, 0.35);
        }

        @keyframes holographicReveal {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
                filter: brightness(0.5) blur(10px);
            }
            50% {
                opacity: 0.7;
                filter: brightness(1.2) blur(5px);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
                filter: brightness(1) blur(0);
            }
        }
        
        @keyframes rotateGradient {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Mindblowing Results Section Styles */
        .holographic-container {
            position: relative;
            z-index: 1;
        }
        
        .result-title {
            font-weight: 800;
            font-size: 1.75rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
            transform: perspective(500px) translateZ(0);
            transition: all 0.3s ease;
        }
        
        .result-title:hover {
            transform: perspective(500px) translateZ(20px);
        }
        
        .result-title i {
            animation: starPulse 2s infinite;
        }
        
        @keyframes starPulse {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.2); }
        }
        
        .audio-visualizer-container {
            position: relative;
            margin: 2rem 0;
        }
        
        .audio-visualizer {
            height: 100px;
            width: 100%;
            position: absolute;
            top: -40px;
            left: 0;
            right: 0;
            pointer-events: none;
            z-index: 1;
        }
        
        .visualizer-bars {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            height: 100%;
            gap: 6px;
        }
        
        .bar {
            width: 6px;
            height: 20px;
            background: linear-gradient(to top, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.8));
            border-radius: 10px;
            transition: height 0.2s ease;
        }
        
        @keyframes equalizer {
            0% { height: 20px; }
            10% { height: 40px; }
            20% { height: 15px; }
            30% { height: 35px; }
            40% { height: 25px; }
            50% { height: 45px; }
            60% { height: 30px; }
            70% { height: 20px; }
            80% { height: 35px; }
            90% { height: 15px; }
            100% { height: 20px; }
        }
        
        .bar-1 { animation: equalizer 1.1s ease-in-out infinite; }
        .bar-2 { animation: equalizer 1.2s ease-in-out infinite 0.1s; }
        .bar-3 { animation: equalizer 0.9s ease-in-out infinite 0.2s; }
        .bar-4 { animation: equalizer 1.3s ease-in-out infinite 0.1s; }
        .bar-5 { animation: equalizer 1s ease-in-out infinite 0.15s; }
        .bar-6 { animation: equalizer 1.2s ease-in-out infinite 0.25s; }
        .bar-7 { animation: equalizer 1.1s ease-in-out infinite 0.1s; }
        .bar-8 { animation: equalizer 0.8s ease-in-out infinite 0.2s; }
        .bar-9 { animation: equalizer 1.3s ease-in-out infinite 0.15s; }
        .bar-10 { animation: equalizer 1s ease-in-out infinite 0.1s; }
        .bar-11 { animation: equalizer 1.2s ease-in-out infinite 0.25s; }
        .bar-12 { animation: equalizer 0.9s ease-in-out infinite 0.2s; }
        
        .futuristic-audio {
            width: 100%;
            border-radius: 12px;
            background: rgba(15, 15, 35, 0.4);
            border: 1px solid rgba(99, 102, 241, 0.2);
            padding: 5px;
            margin-top: 50px;
            z-index: 2;
            position: relative;
        }
        
        .futuristic-audio::-webkit-media-controls-panel {
            background: rgba(15, 15, 35, 0.6);
        }
        
        .futuristic-audio::-webkit-media-controls-play-button,
        .futuristic-audio::-webkit-media-controls-timeline,
        .futuristic-audio::-webkit-media-controls-volume-slider {
            filter: hue-rotate(200deg) saturate(1.5);
        }
        
        .result-metadata {
            display: flex;
            justify-content: center;
            gap: 2rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        
        .metadata-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .metadata-item i {
            font-size: 1.1rem;
            color: #6366f1;
        }
        
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        
        .glow-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            border: none;
            overflow: hidden;
            z-index: 1;
            cursor: pointer;
            background-color: rgba(15, 15, 35, 0.4);
            color: white;
            backdrop-filter: blur(5px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .glow-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50px;
            padding: 2px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
            transition: all 0.3s ease;
        }
        
        .glow-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }
        
        .glow-btn:active {
            transform: translateY(1px);
        }
        
        .download-btn {
            background-color: rgba(99, 102, 241, 0.2);
        }
        
        .replay-btn {
            background-color: rgba(14, 165, 233, 0.2);
        }
        
        .share-btn {
            background-color: rgba(217, 70, 239, 0.2);
        }
        
        .floating-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }
        
        .floating-particles::before,
        .floating-particles::after {
            content: '';
            position: absolute;
            background-color: rgba(99, 102, 241, 0.4);
            border-radius: 50%;
            filter: blur(4px);
        }
        
        .floating-particles::before {
            width: 13px;
            height: 13px;
            top: 20%;
            left: 15%;
            animation: floatParticle 12s infinite ease-in-out alternate;
            opacity: 0.6;
        }
        
        .floating-particles::after {
            width: 8px;
            height: 8px;
            bottom: 30%;
            right: 20%;
            animation: floatParticle 10s infinite ease-in-out alternate-reverse;
            opacity: 0.4;
            background-color: rgba(217, 70, 239, 0.4);
        }
        
        @keyframes floatParticle {
            0% { transform: translate(0, 0); }
            50% { transform: translate(20px, -15px); }
            100% { transform: translate(-15px, 10px); }
        }
        
        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(30px);
            z-index: -1;
            opacity: 0.2;
        }
        
        .orb-left {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, #6366f1, transparent 70%);
            top: -20px;
            left: -20px;
            animation: orbPulse 8s infinite alternate;
        }
        
        .orb-right {
            width: 120px;
            height: 120px;
            background: radial-gradient(circle, #d946ef, transparent 70%);
            bottom: -20px;
            right: -20px;
            animation: orbPulse 6s infinite alternate-reverse;
        }
        
        @keyframes orbPulse {
            0% { transform: scale(1); opacity: 0.2; }
            50% { transform: scale(1.2); opacity: 0.25; }
            100% { transform: scale(0.9); opacity: 0.15; }
        }

        .download-btn {
            background: var(--accent-gradient);
            border: none;
            border-radius: 12px;
            color: white;
            padding: 0.75rem 2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
        }

        /* Alert Messages */
        .alert {
            padding: 1rem 1.5rem;
            border-radius: 16px;
            margin-bottom: 1.5rem;
            border: 1px solid;
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.3);
            color: #fca5a5;
        }

        .alert-success {
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
            color: #86efac;
        }

        /* Mode Selection */
        .mode-selection {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            justify-content: center;
        }

        .mode-btn {
            padding: 0.75rem 2rem;
            border: 2px solid var(--card-border);
            background: var(--card-bg);
            color: var(--text-primary);
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .mode-btn.active {
            border-color: #6366f1;
            background: rgba(99, 102, 241, 0.1);
        }

        /* Multi-speaker section */
        .multi-speaker-section {
            display: none;
            margin-top: 2rem;
        }

        .multi-speaker-section.show {
            display: block;
        }

        .speaker-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            position: relative;
        }

        .speaker-controls {
            display: flex;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1rem;
        }

        .speaker-name-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            color: var(--text-primary);
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            flex: 1;
        }

        .remove-speaker-btn {
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #fca5a5;
            border-radius: 8px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-size: 0.875rem;
        }

        .add-speaker-btn {
            background: rgba(34, 197, 94, 0.2);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #86efac;
            border-radius: 12px;
            padding: 0.75rem 2rem;
            cursor: pointer;
            font-weight: 600;
            margin-top: 1rem;
            width: 100%;
        }

        /* How It Works Modal */
        .modal-content {
            background: var(--dark-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            box-shadow: var(--glass-shadow);
        }

        .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-header, .modal-footer {
            border-color: rgba(255, 255, 255, 0.05);
        }

        .btn-close {
            filter: invert(1) brightness(0.8);
        }

        .how-it-works-steps {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 1rem 0;
        }

        .step {
            display: flex;
            gap: 1.5rem;
        }

        .step-icon {
            font-size: 2rem;
            color: #6366f1;
            flex-shrink: 0;
        }

        .step-content h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .step-content p {
            color: var(--text-secondary);
            margin-bottom: 0;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        .feature-modal-description {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.8;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .app-container {
                padding: 1rem;
            }
            
            .voice-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 0.75rem;
            }
            
            .voice-header {
                flex-direction: row;
                align-items: center;
            }
            
            .hero {
                padding: 3rem 0;
                min-height: auto;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }
            
            .hero-cta {
                flex-direction: column;
                margin-bottom: 2rem;
            }
            
            .hero-btn {
                width: 100%;
                justify-content: center;
            }
            
            .hero-metrics {
                gap: 1.5rem;
                justify-content: center;
                margin-bottom: 2rem;
            }
            
            .hero-graphic {
                height: 260px;
            }
            
            .voice-filters {
                gap: 0.5rem;
            }
            
            .filter-btn {
                padding: 0.4rem 1rem;
                font-size: 0.9rem;
            }
            
            .voice-avatar {
                width: 36px;
                height: 36px;
                min-width: 36px;
                font-size: 0.9rem;
            }
            
            .voice-name {
                font-size: 0.8rem;
            }
            
            .voice-gender, .voice-category {
                font-size: 0.6rem;
            }
        }

        @media (max-width: 576px) {
            .hero-metrics {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                text-align: center;
            }
            
            .metric:not(:last-child)::after {
                display: none;
            }
            
            .waveform-container {
                gap: 8px;
            }
            
            .waveform-bar {
                width: 6px;
            }
            
            .float-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }
        
        /* Navigation Styles */
        .header {
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 1rem 0;
            background: rgba(15, 15, 35, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(99, 102, 241, 0.2);
        }
        
        .navbar-dark .navbar-nav .nav-link {
            color: var(--text-primary);
            font-weight: 500;
            padding: 0.5rem 1rem;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .navbar-dark .navbar-nav .nav-link:hover,
        .navbar-dark .navbar-nav .nav-link.active {
            color: #6366f1;
        }
        
        .navbar-dark .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-gradient);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        
        .navbar-dark .navbar-nav .nav-link:hover::after,
        .navbar-dark .navbar-nav .nav-link.active::after {
            width: 80%;
        }
        
        .nav-glow {
            position: relative;
        }
        
        .nav-glow .nav-item {
            position: relative;
            z-index: 1;
        }
        
        .nav-icon {
            margin-right: 0.4rem;
            font-size: 0.9rem;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .nav-highlight {
            background: rgba(99, 102, 241, 0.15);
            border-radius: 50px;
            margin: 0 0.5rem;
        }
        
        .nav-highlight:hover {
            background: rgba(99, 102, 241, 0.25);
            transform: translateY(-2px);
        }
        
        .nav-btn {
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .login-btn {
            background: transparent;
            border: 1px solid rgba(99, 102, 241, 0.5);
            color: #6366f1;
        }
        
        .login-btn:hover {
            background: rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }
        
        .signup-btn {
            background: var(--primary-gradient);
            border: none;
            color: white;
        }
        
        .signup-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        }
        
        .dropdown-glow {
            background: rgba(15, 15, 35, 0.95);
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 12px;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }
        
        .dropdown-item {
            color: var(--text-primary);
            padding: 0.75rem 1.5rem;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background: rgba(99, 102, 241, 0.1);
            color: #6366f1;
        }
        
        .dropdown-divider {
            border-color: rgba(99, 102, 241, 0.2);
        }
        
        @media (max-width: 991px) {
            .navbar-collapse {
                background: rgba(15, 15, 35, 0.95);
                backdrop-filter: blur(10px);
                border-radius: 16px;
                padding: 1.5rem;
                margin-top: 1rem;
                border: 1px solid rgba(99, 102, 241, 0.2);
            }
            
            .nav-btn {
                width: 100%;
                margin-bottom: 0.5rem;
                text-align: center;
            }
        }
        
        /* Footer Styles */
        .site-footer {
            background: rgba(15, 15, 35, 0.8);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(99, 102, 241, 0.2);
            padding: 5rem 0 2rem;
            position: relative;
            overflow: hidden;
        }
        
        .footer-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        
        .footer-orb {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            filter: blur(70px);
        }
        
        .footer-orb-1 {
            width: 400px;
            height: 400px;
            background: #6366f1;
            top: -200px;
            right: -100px;
        }
        
        .footer-orb-2 {
            width: 300px;
            height: 300px;
            background: #d946ef;
            bottom: -100px;
            left: 10%;
        }
        
        .footer-wave {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' style='fill: %230f0f23;'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            transform: scaleY(-1);
        }
        
        .footer-content {
            position: relative;
            z-index: 1;
        }
        
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            display: inline-block;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .footer-text {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            max-width: 350px;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        
        .footer-heading {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }
        
        .footer-links a:hover {
            color: #6366f1;
            transform: translateX(5px);
        }
        
        .footer-links a i {
            margin-right: 0.5rem;
            font-size: 0.9rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }
        
        .social-link:hover {
            background: var(--primary-gradient);
            color: white;
            transform: translateY(-5px);
        }
        
        .newsletter-form {
            position: relative;
            margin-top: 1.5rem;
        }
        
        .newsletter-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: var(--text-primary);
            font-size: 0.9rem;
        }
        
        .newsletter-input:focus {
            outline: none;
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        
        .newsletter-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #6366f1;
        }
        
        .newsletter-btn {
            position: absolute;
            right: 5px;
            top: 5px;
            bottom: 5px;
            padding: 0 1.5rem;
            border-radius: 50px;
            background: var(--primary-gradient);
            border: none;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .newsletter-btn:hover {
            transform: translateX(-2px);
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 1.5rem;
            margin-top: 4rem;
        }
        
        .footer-copyright {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        .footer-policy-links {
            display: flex;
            gap: 1.5rem;
        }
        
        .footer-policy-links a {
            color: var(--text-secondary);
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-policy-links a:hover {
            color: #6366f1;
        }
        
        @media (max-width: 768px) {
            .site-footer {
                padding: 3rem 0 1.5rem;
            }
            
            .footer-col {
                margin-bottom: 2rem;
            }
            
            .footer-bottom {
                text-align: center;
            }
            
            .footer-policy-links {
                margin-top: 1rem;
                justify-content: center;
                flex-wrap: wrap;
            }
        }

        /* Mindblowing Features Section */
        .features-section {
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
            background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(15, 15, 35, 0.9) 100%);
        }
        
        .features-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }
        
        .floating-orb {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
            filter: blur(60px);
        }
        
        .orb-1 {
            width: 300px;
            height: 300px;
            background: #6366f1;
            top: -100px;
            right: 10%;
            animation: floatOrb 20s ease-in-out infinite alternate;
        }
        
        .orb-2 {
            width: 400px;
            height: 400px;
            background: #8b5cf6;
            bottom: -150px;
            left: -100px;
            animation: floatOrb 25s ease-in-out infinite alternate-reverse;
        }
        
        .orb-3 {
            width: 200px;
            height: 200px;
            background: #d946ef;
            top: 40%;
            right: -50px;
            animation: floatOrb 15s ease-in-out infinite alternate;
        }
        
        .floating-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
                              linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            animation: floatLines 60s linear infinite;
        }
        
        @keyframes floatOrb {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(30px, 30px) rotate(180deg); }
        }
        
        @keyframes floatLines {
            0% { transform: translateY(0); }
            100% { transform: translateY(40px); }
        }
        
        .features-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
        }

        .features-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
        }

        .section-header {
            margin-bottom: 4rem;
            position: relative;
            z-index: 1;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            position: relative;
            z-index: 1;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid var(--card-border);
            padding: 2rem;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .feature-card:hover::before {
            opacity: 0.05;
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            animation: pulse 2s infinite;
        }

        .feature-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .feature-description {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .feature-btn {
            background: transparent;
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: #6366f1;
            border-radius: 8px;
            padding: 0.5rem 1.2rem;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .feature-btn:hover {
            background: rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
        }

        /* FAQ Section */
.faq-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.9) 0%, var(--dark-bg) 100%);
}

.faq-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: pulsateCircle 15s ease-in-out infinite alternate;
}

.circle-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #d946ef 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation: pulsateCircle 20s ease-in-out infinite alternate;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: floatParticles 60s linear infinite;
}

@keyframes pulsateCircle {
    0% { transform: scale(0.8); opacity: 0.1; }
    100% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes floatParticles {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(1fr, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.faq-question:hover::before {
    opacity: 0.05;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-icon i {
    transition: transform 0.4s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Increased max-height to accommodate longer answers */
    padding: 1.5rem 2rem;
    opacity: 1;
    visibility: visible;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.faq-item.active .faq-icon i {
    /* We're now manually changing the icon class, so no rotation needed */
    transform: none;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.2rem;
    }
}

        /* Dynamic particles and pulse effects */
        .dynamic-particle {
            position: absolute;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(139, 92, 246, 0.7));
            border-radius: 50%;
            filter: blur(4px);
            animation: floatDynamicParticle 20s infinite ease-in-out alternate;
            pointer-events: none;
            z-index: -1;
        }
        
        @keyframes floatDynamicParticle {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(50px, -30px); }
            50% { transform: translate(-20px, 40px); }
            75% { transform: translate(40px, 10px); }
        }
        
        .pulse-effect {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.8), transparent 70%);
            transform: translate(-50%, -50%) scale(0);
            opacity: 0.8;
            z-index: 2;
            pointer-events: none;
            animation: pulseOut 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
        }
        
        @keyframes pulseOut {
            0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
            100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
        }

            /* Ringtone Maker Specific Styles */
        .ringtone-maker-section {
            min-height: 100vh;
            padding: 2rem 0;
            position: relative;
            background: var(--dark-bg);
        }

        .ringtone-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .ringtone-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .ringtone-title {
            font-size: 3rem;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .ringtone-subtitle {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        /* File Upload Section */
        .upload-section {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 2px dashed var(--card-border);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            margin-bottom: 2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .upload-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: -1;
        }

        .upload-section:hover {
            border-color: rgba(99, 102, 241, 0.5);
            transform: translateY(-5px);
        }

        .upload-section:hover::before {
            left: 0;
            opacity: 0.05;
        }

        .upload-section.dragover {
            border-color: #6366f1;
            background: rgba(99, 102, 241, 0.1);
        }

        .upload-icon {
            font-size: 4rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .upload-text {
            font-size: 1.2rem;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .upload-subtext {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .file-input {
            display: none;
        }

        .upload-btn {
            background: var(--primary-gradient);
            border: none;
            color: white;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            margin-top: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
        }

        /* Audio Editor Section */
        .audio-editor {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            display: none;
        }

        .audio-editor.show {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        .audio-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
        }

        .audio-meta {
            display: flex;
            gap: 2rem;
        }

        .meta-item {
            text-align: center;
        }

        .meta-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 0.2rem;
        }

        .meta-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Professional Audio Editor Container */
        .waveform-container {
            position: relative;
            width: 98%;
            background: linear-gradient(145deg, rgba(15, 15, 35, 0.9), rgba(30, 30, 60, 0.7));
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 0.5rem;
            min-height: 350px;
            overflow: hidden;
            backdrop-filter: blur(20px);
            box-shadow: 
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .waveform-header {
            width: 100%;
            margin-bottom: 1rem;
            text-align: center;
            padding: 0;
        }

        .waveform-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .waveform-subtitle {
            font-size: 0.9rem;
            color: var(--text-secondary);
            opacity: 0.8;
        }

        /* Audio Timeline */
        .audio-timeline {
            position: relative;
            width: 100%;
            height: 220px;
            background: linear-gradient(180deg, 
                rgba(0, 0, 0, 0.8) 0%, 
                rgba(20, 20, 40, 0.6) 50%, 
                rgba(0, 0, 0, 0.8) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
            margin-bottom: 1rem;
        }

        /* Waveform Canvas */
        .waveform {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: crosshair;
            z-index: 1;
        }

        /* Professional Timeline Ruler */
        .timeline-ruler {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 30px;
            background: linear-gradient(180deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 255, 255, 0.05) 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 5;
            display: flex;
            align-items: center;
            font-size: 0.7rem;
            color: var(--text-secondary);
        }

        .timeline-tick {
            position: absolute;
            height: 100%;
            border-left: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            padding-left: 4px;
            font-weight: 500;
        }

        .timeline-tick.major {
            border-left-width: 2px;
            border-color: rgba(255, 255, 255, 0.4);
        }

        .timeline-tick.minor {
            height: 50%;
            top: 50%;
            border-color: rgba(255, 255, 255, 0.1);
        }

        /* Selection Area with Handles */
        .selection-area {
            position: absolute;
            top: 30px;
            bottom: 0;
            background: linear-gradient(90deg, 
                rgba(99, 102, 241, 0.2) 0%, 
                rgba(139, 92, 246, 0.15) 50%, 
                rgba(217, 70, 239, 0.2) 100%);
            border: 1px solid rgba(99, 102, 241, 0.6);
            border-top: none;
            border-bottom: none;
            display: none;
            z-index: 10;
            backdrop-filter: blur(5px);
        }

        .selection-area.active {
            display: block;
            animation: selectionGlow 1.5s ease-in-out infinite alternate;
        }

        @keyframes selectionGlow {
            0% { 
                box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.3);
            }
            100% { 
                box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.4);
            }
        }

        /* Resizable Handles */
        .selection-handle {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 8px;
            background: linear-gradient(180deg, #6366f1, #8b5cf6);
            cursor: ew-resize;
            z-index: 15;
            transition: all 0.2s ease;
            border-radius: 0 3px 3px 0;
        }

        .selection-handle:hover {
            width: 12px;
            background: linear-gradient(180deg, #8b5cf6, #d946ef);
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
        }

        .selection-handle.start {
            left: -4px;
            border-radius: 3px 0 0 3px;
        }

        .selection-handle.end {
            right: -4px;
            border-radius: 0 3px 3px 0;
        }

        .selection-handle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 2px;
            height: 20px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 1px;
        }

        .selection-handle::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 2px;
            height: 20px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 1px;
            margin-left: 2px;
        }

        /* Playback Indicator */
        .playback-indicator {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, #ef4444, #f59e0b);
            z-index: 20;
            display: none;
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
        }

        .playback-indicator::before {
            content: '';
            position: absolute;
            top: -6px;
            left: -6px;
            width: 14px;
            height: 14px;
            background: #ef4444;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .playback-indicator.playing {
            display: block;
            animation: playbackPulse 1s ease-in-out infinite;
        }

        @keyframes playbackPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* Timeline Labels */
        .timeline-labels {
            position: relative;
            height: 40px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .timeline-info {
            display: flex;
            gap: 2rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .timeline-info-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .timeline-info-label {
            font-size: 0.7rem;
            opacity: 0.7;
            margin-bottom: 2px;
        }

        .timeline-info-value {
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Selection Time Display */
        .selection-time-display {
            position: absolute;
            top: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            white-space: nowrap;
            z-index: 25;
            display: none;
            border: 1px solid rgba(99, 102, 241, 0.5);
        }

        .selection-area.active .selection-time-display {
            display: block;
        }

        /* Zoom Controls */
        .timeline-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .zoom-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.8rem;
        }

        .zoom-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(99, 102, 241, 0.4);
        }

        /* Modern Audio Controls */
        .audio-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            margin: 3rem 0;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
        }

        .control-btn {
            position: relative;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            padding: 1rem 1.8rem;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            gap: 0.7rem;
            font-weight: 500;
            font-size: 0.95rem;
            overflow: hidden;
        }

        .control-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            transition: all 0.4s ease;
            z-index: -1;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .control-btn:hover::before {
            left: 0;
            opacity: 0.1;
        }

        .control-btn:active {
            transform: translateY(-1px);
        }

        .control-btn.primary {
            background: var(--primary-gradient);
            border-color: transparent;
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
        }

        .control-btn.primary::before {
            background: var(--accent-gradient);
            left: 0;
            opacity: 0;
        }

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

        .control-btn.primary:hover::before {
            opacity: 0.3;
        }

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

        .control-btn:disabled:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: none;
            box-shadow: none;
        }

        .control-btn i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .control-btn:hover i {
            transform: scale(1.1);
        }

        /* Play button special styling */
        .control-btn#playBtn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-color: transparent;
        }

        .control-btn#playBtn:hover {
            box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
        }

        /* Pause button special styling */
        .control-btn#pauseBtn {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            border-color: transparent;
        }

        .control-btn#pauseBtn:hover {
            box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
        }

        /* Stop button special styling */
        .control-btn#stopBtn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border-color: transparent;
        }

        .control-btn#stopBtn:hover {
            box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
        }

        /* Enhanced Selection Info */
        .selection-info {
            background: linear-gradient(145deg, 
                rgba(255, 255, 255, 0.05) 0%, 
                rgba(255, 255, 255, 0.02) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            margin: 2rem 0;
            display: none;
            backdrop-filter: blur(20px);
            box-shadow: 
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .selection-info::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary-gradient);
            border-radius: 20px 20px 0 0;
        }

        .selection-info.show {
            display: block;
            animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .selection-info h5 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            text-align: center;
            position: relative;
        }

        .selection-info h5::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: var(--primary-gradient);
            border-radius: 2px;
        }

        .selection-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .selection-detail {
            text-align: center;
            padding: 1.2rem;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .selection-detail::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: -1;
        }

        .selection-detail:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
            border-color: rgba(99, 102, 241, 0.2);
        }

        .selection-detail:hover::before {
            left: 0;
            opacity: 0.05;
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .detail-value {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.2;
        }

        .detail-value#isRecommended {
            font-size: 1rem;
            font-weight: 600;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        /* Special styling for recommendation status */
        .detail-value#isRecommended.perfect {
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            border-color: rgba(16, 185, 129, 0.2);
        }

        .detail-value#isRecommended.warning {
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.1);
            border-color: rgba(245, 158, 11, 0.2);
        }

        .detail-value#isRecommended.error {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.2);
        }

        /* Enhanced Loading Spinner */
        .loading-spinner {
            display: none;
            text-align: center;
            padding: 3rem;
            background: var(--card-bg);
            border-radius: 20px;
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            margin: 2rem 0;
        }

        .loading-spinner.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(99, 102, 241, 0.1);
            border-left: 4px solid transparent;
            border-radius: 50%;
            margin: 0 auto 2rem;
            position: relative;
            animation: spin 1s linear infinite;
        }

        .spinner::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border: 4px solid transparent;
            border-left: 4px solid #8b5cf6;
            border-radius: 50%;
            animation: spin 1.5s linear infinite reverse;
        }

        .spinner::after {
            content: '';
            position: absolute;
            top: 8px;
            left: 8px;
            right: 8px;
            bottom: 8px;
            border: 4px solid transparent;
            border-left: 4px solid #d946ef;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

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

        .loading-text {
            color: var(--text-primary);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .loading-subtext {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Progress bar for loading */
        .loading-progress {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            margin-top: 1rem;
            overflow: hidden;
        }

        .loading-progress-bar {
            height: 100%;
            background: var(--primary-gradient);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
            animation: progressShimmer 2s ease-in-out infinite;
        }

        @keyframes progressShimmer {
            0% { background-position: -200px 0; }
            100% { background-position: 200px 0; }
        }

        /* Export Section */
        .export-section {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            display: none;
        }

        .export-section.show {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        .export-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .export-subtitle {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .download-btn {
            background: var(--accent-gradient);
            border: none;
            color: white;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .download-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .ringtone-title {
                font-size: 2rem;
            }

            .ringtone-container {
                padding: 1rem;
            }

            .upload-section {
                padding: 2rem 1rem;
            }

            .audio-meta {
                flex-direction: column;
                gap: 1rem;
            }

            .audio-controls {
                flex-wrap: wrap;
                gap: 1rem;
                padding: 1.5rem;
            }

            .control-btn {
                flex: 1;
                min-width: 120px;
                padding: 0.8rem 1.2rem;
                font-size: 0.9rem;
            }

            .selection-details {
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
            }

            .waveform-container {
                padding: 1rem;
                min-height: 320px;
            }

            .audio-timeline {
                height: 180px;
            }

            .waveform-title {
                font-size: 1rem;
            }

            .waveform-subtitle {
                font-size: 0.8rem;
            }

            .timeline-labels {
                flex-direction: column;
                height: auto;
                gap: 1rem;
                padding: 1rem;
            }

            .timeline-info {
                flex-wrap: wrap;
                gap: 1rem;
                justify-content: center;
            }

            .timeline-info-item {
                min-width: 80px;
            }

            .timeline-controls {
                justify-content: center;
            }

            .timeline-tick {
                font-size: 0.6rem;
            }

            .selection-handle {
                width: 12px;
            }

            .selection-handle:hover {
                width: 16px;
            }
        }

        @media (max-width: 480px) {
            .ringtone-title {
                font-size: 1.8rem;
            }

            .audio-controls {
                flex-direction: column;
            }

            .control-btn {
                width: 100%;
                justify-content: center;
            }

            .selection-details {
                grid-template-columns: 1fr;
            }

            .waveform-container {
                padding: 0.8rem;
                min-height: 280px;
            }

            .audio-timeline {
                height: 150px;
            }

            .audio-meta {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .timeline-info {
                grid-template-columns: 1fr 1fr;
                gap: 0.8rem;
            }

            .timeline-info-item {
                font-size: 0.8rem;
            }

            .selection-time-display {
                font-size: 0.6rem;
                padding: 2px 6px;
            }

            .timeline-ruler {
                height: 25px;
            }

            .timeline-tick {
                font-size: 0.55rem;
            }
        }

        /* Accessibility improvements */
        @media (prefers-reduced-motion: reduce) {
            .selection-area,
            .playback-indicator,
            .control-btn,
            .selection-detail,
            .selection-handle {
                animation: none !important;
                transition: none !important;
            }

            .control-btn:hover {
                transform: none;
            }
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .waveform-container,
            .audio-timeline {
                border: 2px solid var(--text-primary);
            }

            .control-btn {
                border: 2px solid var(--text-primary);
            }

            .selection-area {
                border: 3px solid var(--text-primary);
            }

            .selection-handle {
                border: 2px solid var(--text-primary);
            }

            .timeline-tick {
                border-color: var(--text-primary);
            }
        }

        /* GTranslate Widget Styling */
        .gtranslate_wrapper {
            position: relative;
        }

        /* Style the main GTranslate container */
        .gtranslate_wrapper .gt_selector {
            background: var(--card-bg) !important;
            backdrop-filter: blur(20px) !important;
            border: 1px solid var(--card-border) !important;
            border-radius: 8px !important;
            padding: 0.5rem 0.75rem !important;
            min-width: 120px !important;
            font-family: 'Inter', sans-serif !important;
            font-size: 0.9rem !important;
            color: var(--text-primary) !important;
            transition: all 0.3s ease !important;
            cursor: pointer !important;
        }

        .gtranslate_wrapper .gt_selector:hover {
            background: rgba(255, 255, 255, 0.08) !important;
            border-color: rgba(99, 102, 241, 0.3) !important;
            transform: translateY(-1px) !important;
        }

        /* Style the dropdown arrow */
        .gtranslate_wrapper .gt_selector .gt_current_lang::after {
            content: '\f107' !important;
            font-family: 'bootstrap-icons' !important;
            margin-left: 0.5rem !important;
            color: var(--text-secondary) !important;
            transition: transform 0.3s ease !important;
        }

        .gtranslate_wrapper .gt_selector.gt_open .gt_current_lang::after {
            transform: rotate(180deg) !important;
        }

        /* Style the dropdown menu */
        .gtranslate_wrapper .gt_selector .gt_option {
            background: var(--card-bg) !important;
            backdrop-filter: blur(20px) !important;
            border: 1px solid var(--card-border) !important;
            border-radius: 8px !important;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37) !important;
            margin-top: 0.5rem !important;
            padding: 0 !important;
            overflow: hidden !important;
            z-index: 1050 !important;
            position: absolute !important;
            top: 100% !important;
            left: 0 !important;
            right: 0 !important;
        }

        /* Style individual language options */
        .gtranslate_wrapper .gt_selector .gt_option a {
            display: flex !important;
            align-items: center !important;
            padding: 0.75rem 1rem !important;
            color: var(--text-primary) !important;
            text-decoration: none !important;
            font-size: 0.9rem !important;
            transition: all 0.3s ease !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
            position: relative !important;
            overflow: hidden !important;
        }

        .gt_white_content.notranslate {
               width: 100px !important;
                position: absolute !important;
                bottom: 0 !important;
                top: 100% !important;
                left: 0 !important;
                margin: 0 !important;
            }

        .gtranslate_wrapper .gt_selector .gt_option a:last-child {
            border-bottom: none !important;
        }

        .gtranslate_wrapper .gt_selector .gt_option a::before {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: var(--primary-gradient) !important;
            opacity: 0 !important;
            transition: opacity 0.3s ease !important;
            z-index: -1 !important;
        }

        .gtranslate_wrapper .gt_selector .gt_option a:hover {
            color: var(--text-primary) !important;
            transform: translateX(5px) !important;
        }

        .gtranslate_wrapper .gt_selector .gt_option a:hover::before {
            opacity: 0.1 !important;
        }

        /* Style the flag icons */
        .gtranslate_wrapper img {
            width: 20px !important;
            height: 15px !important;
            margin-right: 0.5rem !important;
            border-radius: 3px !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        }

        /* Current language styling */
        .gtranslate_wrapper .gt_current_lang {
            display: flex !important;
            align-items: center !important;
            font-weight: 500 !important;
            color: var(--text-primary) !important;
        }

        /* Mobile responsive */
        @media (max-width: 991px) {
            .gtranslate_wrapper {
                margin-top: 1rem !important;
                margin-bottom: 0.5rem !important;
            }
            
            .gtranslate_wrapper .gt_selector {
                width: 100% !important;
                justify-content: space-between !important;
            }
        }

        /* Alternative compact styling for smaller screens */
        @media (max-width: 576px) {
            .gtranslate_wrapper .gt_selector {
                min-width: 100px !important;
                padding: 0.4rem 0.6rem !important;
                font-size: 0.8rem !important;
            }
            
            .gtranslate_wrapper img {
                width: 16px !important;
                height: 12px !important;
                margin-right: 0.4rem !important;
            }
        }

        /* Hide default GTranslate branding if present */
        .gtranslate_wrapper .gt_bottom,
        .gtranslate_wrapper .powered_by {
            display: none !important;
        }

        /* Style for when the selector is focused */
        .gtranslate_wrapper .gt_selector:focus,
        .gtranslate_wrapper .gt_selector:focus-visible {
            outline: 2px solid rgba(99, 102, 241, 0.5) !important;
            outline-offset: 2px !important;
        }

        /* Animation for dropdown appearance */
        .gtranslate_wrapper .gt_selector .gt_option {
            opacity: 0 !important;
            transform: translateY(-10px) !important;
            transition: all 0.3s ease !important;
        }

        .gtranslate_wrapper .gt_selector.gt_open .gt_option {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Language code styling - works with JavaScript */
        .gtranslate_wrapper .lang-code {
            font-family: 'Inter', sans-serif !important;
            font-weight: 500 !important;
            text-transform: uppercase !important;
            color: var(--text-primary) !important;
        }

        /* Mobile adjustments for language codes */
        @media (max-width: 576px) {
            .gtranslate_wrapper .lang-code {
                font-size: 0.8rem !important;
            }
        }
a.footer-btn.text-center{
    display: inline-block !important;
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    background: var(--primary-gradient) !important;
    border-radius: 0.25rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: background 0.3s ease !important;
}

a.footer-btn.text-center:hover{
    background: var(--primary-gradient-hover) !important;
}

/* Contact Form */
form#contactForm{
    background: var(--bg-light) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

label.contact-form.form-label{
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

#back-to-top {
    /* الوضع الثابت والإخفاء (يبقى كما هو) */
    position: fixed;
    bottom: 25px; 
    right: 25px;  
    display: none; 
    
    /* التنسيق الجديد: الخلفية برتقالي والسهم أسود */
    z-index: 1000; 
    background-color: #FF8C00; /* خلفية برتقالي داكن (Dark Orange) */
    color: #000000; /* ⬅️ هذا هو التعديل: لون السهم أسود */
    
    padding: 15px;
    border-radius: 50%; 
    font-size: 24px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    text-decoration: none; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.2s; 
}

#back-to-top:hover {
    /* التنسيق عند التمرير: الخلفية ذهبي والسهم أسود */
    background-color: #FFD700; /* خلفية ذهبي (Gold) */
    color: #000000; /* ⬅️ وهذا هو التعديل: لون السهم أسود عند التمرير */
    transform: scale(1.05); 
}

.styled-hr {
    /* 1. إعادة تعيين قوية: إزالة جميع الحدود الافتراضية */
    border: 0; 
    border-top: none; 
    border-bottom: none; 
    padding: 0;
    
    /* 2. خصائص الخط */
    background-color: #00bcd4; 
    height: 4px; /* لزيادة سُمك الخط وجعله واضحاً */
    width: 70%; 
    margin: 30px auto; 
    border-radius: 4px;

    /* 3. إضافة تأثير مرئي واضح (الظل) */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}