/* ai_tts_app/static/text-to-speech.css */

:root {
    --sky-blue: #00c4ff;
    --sky-pink: #ff005e;
    --sky-green: #00ffb3;
    --sky-blue-light: rgba(0, 196, 255, 0.1);
    --sky-pink-light: rgba(255, 0, 94, 0.1);
    --sky-green-light: rgba(0, 255, 179, 0.1);
    --light-bg: #ffffff;
    --card-bg: #f8f9fa;
    --card-hover: #f1f3f4;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #9aa0a6;
    --border-light: #dadce0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    
    --primary-color: #00c4ff;
    --primary-dark: #009acc;
    --primary-light: #e0f7ff;
    --secondary-color: #00ffb3;
    --accent-color: #ff005e;
    --hover-color: #ff005e;
    --success-color: #4bb543;
    --error-color: #ff3333;
    --warning-color: #ffcc00;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --dark-gray: #343a40;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    --glass-effect: rgba(255,255,255,0.15);
    --glass-border: 1px solid rgba(255,255,255,0.18);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(45deg, #00c4ff 0%, #00ffb3 100%);
    --gradient-hover: linear-gradient(45deg, #ff005e 0%, #ff5e00 100%);
    --footer-gradient: linear-gradient(180deg, #212529 0%, #111827 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* prevent page scroll when drawer is open */
body.no-scroll { overflow: hidden; }

/* =========================================== */
/* Main App Container - ALL DEVICES
/* =========================================== */
.app-container {
    display: none;
    min-height: 100vh;
    position: relative;
}

/* App Container - Mobile */
@media (max-width: 768px) {
    .app-container {
        padding-top: 0;
    }
}

/* =========================================== */
/* Glass Effect - ALL DEVICES
/* =========================================== */
.glass-effect {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

/* =========================================== */
/* Main Content - ALL DEVICES
/* =========================================== */
.main-content {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 2rem;
}

/* Main Content - Large Desktop */
@media (min-width: 1401px) {
    .main-content {
        padding: 0 2rem;
    }
}

/* Main Content - Desktop */
@media (max-width: 1400px) {
    .main-content {
        padding: 0 2rem;
    }
}

/* Main Content - Small Desktop */
@media (max-width: 1200px) {
    .main-content {
        padding: 0 1.5rem;
    }
}

/* Main Content - Tablet */
@media (max-width: 992px) {
    .main-content {
        padding: 0 1.5rem;
        margin-top: 70px;
    }
}

/* Main Content - Mobile */
@media (max-width: 768px) {
    .main-content {
        padding: 0 1rem;
        margin-top: 60px;
    }
}

/* Main Content - Small Mobile */
@media (max-width: 480px) {
    .main-content {
        padding: 0 0.75rem;
    }
}

/* =========================================== */
/* TTS Container - ALL DEVICES
/* =========================================== */
.tts-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* TTS Container - Small Desktop */
@media (max-width: 1200px) {
    .tts-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* TTS Container - Tablet */
@media (max-width: 992px) {
    .tts-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* TTS Container - Mobile */
@media (max-width: 768px) {
    .tts-container {
        margin-bottom: 0.5rem;
    }
}

/* =========================================== */
/* Controls Section - ALL DEVICES
/* =========================================== */
.tts-controls {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.control-group {
    margin-bottom: 1.25rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff005e;
}

.select-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.select-wrapper.with-search {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* =========================================== */
/* Custom Select Dropdown - FIXED visibility
/* =========================================== */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    background-color: white;
}

.custom-select .custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: var(--shadow-hover);
    z-index: 100;
    display: none; /* Hidden by default */
    margin-top: 0.25rem;
}

.custom-select.open .custom-select-dropdown {
    display: block; /* Show only when open class is added */
}

.search-container {
    position: sticky;
    top: 0;
    background: white;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    z-index: 10;
}

.search-container .search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.5rem center;
    background-size: 1rem;
}

.search-container .fa-search {
    display: none; /* Hide icon since we're using background-image */
}

.options-container {
    padding: 0.5rem 0;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.option-item:hover {
    background: var(--sky-blue-light);
}

.option-item.selected {
    background: var(--primary-color);
    color: white;
}

.option-item.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    background: var(--card-bg);
}

.options-loading {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.options-loading .spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.select-loading {
    position: relative;
    color: var(--text-secondary);
}

.select-loading::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-range {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

/* Controls Section - Tablet */
@media (max-width: 992px) {
    .tts-controls {
        padding: 1.25rem;
    }
}

/* Controls Section - Mobile */
@media (max-width: 768px) {
    .tts-controls {
        padding: 1rem;
    }
    
    .custom-select .custom-select-dropdown {
        max-height: 200px; /* Smaller on mobile */
    }
}

/* =========================================== */
/* Text Area Section - ALL DEVICES
/* =========================================== */
.tts-textarea-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.char-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    background: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Text Area - Tablet */
@media (max-width: 992px) {
    .textarea-header {
        padding: 0.875rem 1.25rem;
    }
    
    .form-textarea {
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .textarea-footer {
        padding: 0.875rem 1.25rem;
    }
}

/* Text Area - Mobile */
@media (max-width: 768px) {
    .textarea-header {
        padding: 0.75rem 1rem;
    }
    
    .form-textarea {
        min-height: 150px;
        padding: 1rem;
    }
    
    .textarea-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .textarea-footer div {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }
}

/* Text Area - Small Mobile */
@media (max-width: 480px) {
    .form-textarea {
        min-height: 120px;
        padding: 0.875rem;
    }
}


/* =========================================== */
/* Output Section - ALL DEVICES
/* =========================================== */
.output-section {
    margin-top: 15rem;
    padding: 1.2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    clear: both;
    width: 100%;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.section-actions button {
    margin-left: 0;
}

/* Format Select styling */
.format-select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    background: white;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
}

.format-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.output-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

/* Visualizer Bars - WIDER BARS */
.visualizer-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 120px;
    gap: 1.2rem;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

.visualizer-bar {
    flex: 0 1 60px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 5px;
    min-height: 20px;
    transition: height 0.2s ease;
    width: 60px;
    max-width: 90px;
}

.visualizer-bar:hover {
    background: var(--gradient-hover);
    transform: scaleY(1.15);
}

/* Audio Player */
.audio-player-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.audio-player-container audio {
    width: 100%;
    max-width: 600px;
    height: 54px;
}

/* Output Details Cards */
.output-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.detail-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.detail-icon {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Output Section - Large Desktop */
@media (min-width: 1401px) {
    .output-section {
        margin-top: 15rem;
    }
    
    .visualizer-bars {
        height: 140px;
        gap: 1.5rem;
    }
    
    .visualizer-bar {
        flex: 0 1 70px;
        width: 70px;
        max-width: 80px;
        border-radius: 12px;
    }
}

/* Output Section - Desktop */
@media (max-width: 1400px) {
    .output-section {
        margin-top: 12rem;
    }
}

/* Output Section - Small Desktop */
@media (max-width: 1200px) {
    .output-section {
        margin-top: 10rem;
    }
}

/* Output Section - Tablet */
@media (max-width: 992px) {
    .output-section {
        margin-top: 25rem;
        padding: 1.25rem;
    }
    
    .output-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .output-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visualizer-bars {
        height: 110px;
        gap: 1rem;
    }
    
    .visualizer-bar {
        flex: 0 1 55px;
        width: 55px;
        border-radius: 8px;
    }
}

/* Output Section - Mobile */
@media (max-width: 768px) {
    .output-section {
        margin-top: 40rem;
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .format-select {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }
    
    .output-container {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .visualizer-bars {
        height: 100px;
        gap: 0.9rem;
        width: 100%;
        padding: 0.75rem 0;
    }
    
    .visualizer-bar {
        flex: 0 1 50px;
        width: 50px;
        max-width: 55px;
        border-radius: 7px;
    }
    
    .audio-player-container audio {
        height: 50px;
    }
    
    .detail-card {
        padding: 0.75rem;
    }
    
    .detail-icon {
        font-size: 1.1rem;
        margin-right: 0.75rem;
        width: 25px;
    }
    
    .detail-value {
        font-size: 1rem;
    }
}

/* Output Section - Small Mobile */
@media (max-width: 480px) {
    .output-section {
        margin-top: 55rem;
        padding: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .output-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .section-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .format-select {
        width: 100%;
    }
    
    .output-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .visualizer-bars {
        height: 90px;
        gap: 0.8rem;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .visualizer-bar {
        flex: 0 1 45px;
        width: 45px;
        min-width: 40px;
        max-width: 50px;
        border-radius: 6px;
    }
    
    .detail-card {
        padding: 0.6rem;
    }
    
    .detail-icon {
        font-size: 1rem;
        margin-right: 0.6rem;
        width: 20px;
    }
    
    .audio-player-container audio {
        height: 44px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .output-section {
        margin-top: 65rem;
    }
    
    .visualizer-bars {
        height: 80px;
        gap: 0.7rem;
    }
    
    .visualizer-bar {
        flex: 0 1 40px;
        width: 40px;
        min-width: 35px;
        max-width: 45px;
        border-radius: 5px;
    }
}

/* Fix for when output section is hidden initially */
.output-section[style*="display: none"] {
    display: none !important;
}

.output-section[style*="display: block"] {
    display: block !important;
    margin-top: 10rem;
}

/* Responsive margin for mobile when output becomes visible */
@media (max-width: 992px) {
    .output-section[style*="display: block"] {
        margin-top: 25rem;
    }
}

@media (max-width: 768px) {
    .output-section[style*="display: block"] {
        margin-top: 40rem;
    }
}

@media (max-width: 480px) {
    .output-section[style*="display: block"] {
        margin-top: 55rem;
    }
}

@media (max-width: 360px) {
    .output-section[style*="display: block"] {
        margin-top: 65rem;
    }
}


/* =========================================== */
/* Button Styles - ALL DEVICES
/* =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    z-index: 10;
    position: relative;
}

.btn-primary {
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    box-shadow: 0 6px 16px rgba(255, 0, 94, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--hover-color);
    color: white !important;
    border-color: var(--hover-color);
    box-shadow: 0 6px 16px rgba(255, 0, 94, 0.15);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.4);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

/* Buttons - Tablet */
@media (max-width: 992px) {
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Buttons - Mobile */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
    }
}

/* Buttons - Small Mobile */
@media (max-width: 480px) {
    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }
}

/* =========================================== */
/* Voice Preview Styles - ALL DEVICES
/* =========================================== */
.voice-preview-container {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.voice-gender-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.voice-gender-male {
    background-color: var(--primary-color);
}

.voice-gender-female {
    background-color: var(--accent-color);
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.option-item:hover {
    background: var(--sky-blue-light);
}

.option-item.selected {
    background: var(--primary-color);
    color: white;
}

.option-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-name {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.3;
}

.preview-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 195, 255, 0.3);
}

.preview-btn:hover {
    background: linear-gradient(135deg, var(--hover-color) 0%, #ff5e00 100%);
    transform: translateY(-3px) scale(1.1);
}

.preview-btn.playing {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f72585 100%);
    animation: pulse 1.2s infinite;
}

.voice-gender-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: rgba(0, 195, 255, 0.1);
}

.voice-gender-icon.male {
    color: var(--primary-color);
}

.voice-gender-icon.female {
    color: var(--accent-color);
}

/* Voice Preview - Mobile */
@media (max-width: 768px) {
    .voice-preview-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =========================================== */
/* Hero Section - ALL DEVICES
/* =========================================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    max-width: 1400px;
    margin: 50px auto 0;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--sky-pink), var(--sky-green), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cta {
    margin-top: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-rewards-container {
    margin-bottom: 1.5rem;
}

.btn-rewards-hero {
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    font-size: 1rem;
    animation: pulse-glow 2s infinite;
}

.btn-rewards-hero:hover {
    background: linear-gradient(45deg, #FF9E6B, #FF6B6B);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    animation: none;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.voice-wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 90px;
}

.wave-bar {
    width: 8px;
    height: 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, #00c4ff, #ff005e, #00ffb3);
    background-size: 200% 200%;
    animation: waveHeight 2.8s ease-in-out infinite, waveColor 7s linear infinite;
    box-shadow: 0 0 12px rgba(0,196,255,0.8), 0 0 18px rgba(255,0,94,0.6), 0 0 24px rgba(0,255,179,0.5);
    animation-delay: calc(var(--i) * 0.15s);
}

@keyframes waveHeight {
    0%   { height: 25px; }
    25%  { height: 65px; }
    50%  { height: 22px; }
    75%  { height: 75px; }
    100% { height: 25px; }
}

@keyframes waveColor {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

/* Hero Section - Large Desktop */
@media (min-width: 1401px) {
    .hero-section {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Hero Section - Desktop */
@media (max-width: 1400px) {
    .hero-section {
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
}

/* Hero Section - Small Desktop */
@media (max-width: 1200px) {
    .hero-section {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Hero Section - Tablet */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        width: 100%;
    }
}

/* Hero Section - Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        margin-top: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-rewards-hero {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .voice-wave {
        height: 70px;
    }
}

/* Hero Section - Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-rewards-hero {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .voice-wave {
        height: 60px;
        gap: 4px;
    }
    
    .wave-bar {
        width: 6px;
    }
}


/* =========================================== */
/* Steps Section (How to Use) - ALL DEVICES
/* =========================================== */
.steps-section {
    margin: 2rem 0 2rem 0;
    text-align: center;
}

.steps-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.steps-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--sky-green);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--sky-blue-light), var(--sky-green-light));
    border-radius: 50%;
}

.step-card:hover .step-icon {
    color: var(--sky-pink);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--sky-pink-light), var(--sky-blue-light));
}

.step-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 620;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Steps Section - Large Desktop */
@media (min-width: 1401px) {
    .steps-section {
        margin: 12rem 0 6rem 0;
    }
}

/* Steps Section - Desktop */
@media (max-width: 1400px) {
    .steps-section {
        margin: 10rem 0 5rem 0;
    }
}

/* Steps Section - Small Desktop */
@media (max-width: 1200px) {
    .steps-section {
        margin: 9rem 0 4rem 0;
    }
}

/* Steps Section - Tablet */
@media (max-width: 992px) {
    .steps-section {
        margin: 15rem 0 4rem 0;
    }
    
    .steps-section .section-title {
        font-size: 2rem;
    }
    
    .steps-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .steps-grid {
        gap: 15px;
    }
}

/* Steps Section - Mobile */
@media (max-width: 768px) {
    .steps-section {
        margin: 30rem 0 4rem 0;
    }
    
    .steps-section .section-title {
        font-size: 1.8rem;
    }
    
    .steps-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .step-card {
        padding: 20px 15px;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
    
    .step-icon {
        font-size: 2.2rem;
        height: 55px;
        width: 55px;
    }
}

/* Steps Section - Small Mobile */
@media (max-width: 480px) {
    .steps-section {
        margin: 45rem 0 3rem 0;
    }
    
    .steps-section .section-title {
        font-size: 1.5rem;
    }
    
    .step-card {
        padding: 15px 12px;
    }
    
    .step-icon {
        font-size: 2rem;
        height: 50px;
        width: 50px;
    }
}

/* Steps Section - Extra Small Mobile */
@media (max-width: 360px) {
    .steps-section {
        margin: 55rem 0 2.5rem 0;
    }
}



/* =========================================== */
/* Use Cases Section - Colorful Bold Style
/* =========================================== */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.1rem;
    text-align: center;
    margin: 0 0 10px;
    position: relative;
    color: var(--text-primary);
    font-weight: 700;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-bar {
    height: 4px;
    width: 150px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    margin: 0 auto 10px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Use Cases Grid - with max-width: 1000px */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto;
}

/* Use Case Card - Colorful Bold Style */
.use-case-card {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

/* Gradient overlay on hover */
.use-case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,196,255,0.05), rgba(255,0,94,0.05), rgba(0,255,179,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.use-case-card:hover::after {
    opacity: 1;
}

/* Colorful icons - always colorful, not just on hover */
.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: -10px;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    position: relative;
    z-index: 1;
}

/* Platform-specific bright colors */
.use-case-card:nth-child(1) .use-case-icon i { color: #FF0000; } /* YouTube Red */
.use-case-card:nth-child(2) .use-case-icon i { color: #E4405F; } /* Instagram Pink */
.use-case-card:nth-child(3) .use-case-icon i { color: #10B981; } /* Education Green */
.use-case-card:nth-child(4) .use-case-icon i { color: #8B5CF6; } /* Podcast Purple */
.use-case-card:nth-child(5) .use-case-icon i { color: #0EA5E9; } /* Business Blue */
.use-case-card:nth-child(6) .use-case-icon i { color: var(--sky-pink); } /* Accessibility Pink */

.use-case-card:hover .use-case-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

/* Card titles - bold */
.use-case-card h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Card descriptions */
.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}


/* Social Platforms Row */
.social-platforms-row {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: -30px;
}

.social-platforms-row h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--sky-pink), var(--sky-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.platform-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.4s ease;
    cursor: default;
}

.platform-icon i {
    font-size: 2.2rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.platform-icon span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Platform icon hover effects - colorful */
.platform-icon:hover {
    transform: translateY(-8px);
}

.platform-icon:hover i {
    transform: scale(1.15);
}

/* Platform-specific hover colors */
.platform-icon:hover .fa-youtube { color: #FF0000; }
.platform-icon:hover .fa-instagram { color: #E4405F; }
.platform-icon:hover .fa-facebook { color: #1877F2; }
.platform-icon:hover .fa-tiktok { color: #000000; }
.platform-icon:hover .fa-twitter { color: #1DA1F2; }
.platform-icon:hover .fa-linkedin { color: #0A66C2; }
.platform-icon:hover .fa-spotify { color: #1DB954; }
.platform-icon:hover .fa-podcast { color: #8B5CF6; }

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .gradient-bar {
        width: 120px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .use-case-card {
        padding: 25px 20px;
        min-height: 260px;
    }
    
    .use-case-icon {
        font-size: 2.8rem;
        height: 70px;
        width: 70px;
    }
    
    .use-case-card h3 {
        font-size: 1.2rem;
    }
    
    .platform-icons {
        gap: 2rem;
    }
    
    .platform-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
    }
    
    .gradient-bar {
        width: 100px;
    }
    
    .use-case-card {
        padding: 20px 15px;
    }
    
    .use-case-icon {
        font-size: 2.5rem;
        height: 60px;
        width: 60px;
        margin-bottom: 15px;
    }
    
    .use-case-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .use-case-card p {
        font-size: 0.85rem;
    }
    
    .platform-tag {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .platform-icons {
        gap: 1.5rem;
    }
    
    .platform-icon i {
        font-size: 1.8rem;
    }
    
    .platform-icon span {
        font-size: 0.7rem;
    }
}



/* =========================================== */
/* Features Section - EXACT Audio Compressor Style
/* =========================================== */

.features-section {
    margin: 60px 0;
    text-align: center;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 0px;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 15px;
    position: relative;
    color: var(--text-primary);
    font-weight: 600;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-bar {
    height: 3px;
    width: 150px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    margin: 0 auto 10px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid - EXACT like audio compressor */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto;
}

/* Feature Card - EXACT audio compressor card style */
.feature-card {
    background: var(--light-bg);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
}

/* Gradient top bar - Signature SKY TTS style */
.card-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover .card-gradient-top {
    opacity: 1;
}

/* Icon styling - EXACT like audio compressor */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0px;
    color: var(--sky-green);
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--sky-pink);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1401px) {
    .features-section {
        margin: 70px 0;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .features-grid {
        gap: 20px;
        padding: 0 20px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }
    
    .feature-card {
        min-height: 300px;
        padding: 25px 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .features-section {
        margin: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gradient-bar {
        width: 120px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        height: 60px;
        width: 60px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .features-section {
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .gradient-bar {
        width: 100px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
        height: 50px;
        width: 50px;
        margin-bottom: 12px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}


/* =========================================== */
/* Social Platforms Row - ALL DEVICES
/* =========================================== */
.social-platforms-row {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 196, 255, 0.05), rgba(0, 255, 179, 0.05));
    border-radius: 18px;
    border: 1px solid rgba(0, 196, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-platforms-row h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    text-align: center;
}

.platform-icons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
}

.platform-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 196, 255, 0.1);
}

.platform-icon i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.platform-icon span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.platform-icon:hover i.fa-youtube { color: #FF0000; transform: scale(1.1); }
.platform-icon:hover i.fa-instagram { color: #E1306C; transform: scale(1.1); }
.platform-icon:hover i.fa-facebook { color: #4267B2; transform: scale(1.1); }
.platform-icon:hover i.fa-tiktok { color: #000000; transform: scale(1.1); }
.platform-icon:hover i.fa-twitter { color: #1DA1F2; transform: scale(1.1); }
.platform-icon:hover i.fa-linkedin { color: #0077B5; transform: scale(1.1); }
.platform-icon:hover i.fa-spotify { color: #1DB954; transform: scale(1.1); }
.platform-icon:hover i.fa-podcast { color: #8B5CF6; transform: scale(1.1); }

.platform-icon:hover span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Social Platforms - Tablet */
@media (max-width: 992px) {
    .platform-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}

/* Social Platforms - Mobile */
@media (max-width: 768px) {
    .social-platforms-row {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .platform-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .platform-icon i {
        font-size: 1.6rem;
    }
    
    .platform-icon span {
        font-size: 0.7rem;
    }
}

/* Social Platforms - Small Mobile */
@media (max-width: 480px) {
    .social-platforms-row {
        padding: 1rem;
    }
    
    .platform-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .platform-icon i {
        font-size: 1.5rem;
    }
}

/* =========================================== */
/* Popular Languages Section - ALL DEVICES
/* =========================================== */
.popular-languages-section {
    padding: 4rem 1rem;
    max-width: 1300px;
    margin: 2rem auto;
    text-align: center;
}

.popular-languages-section .section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.popular-languages-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--sky-green);
    min-height: 45px;
    text-align: left;
}

.language-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 196, 255, 0.2);
    border-color: var(--sky-green);
    background: var(--sky-pink);
}

.language-item.selected {
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 196, 255, 0.3);
}

.language-flag-container {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 2px solid var(--sky-green);
    font-size: 1.3rem;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

.language-item.selected .language-flag-container {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.language-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
}

.language-name {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.language-item.selected .language-name {
    color: white;
}

.language-badge {
    font-size: 0.6rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
}

#viewAllLanguagesBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 196, 255, 0.3);
}

#viewAllLanguagesBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 196, 255, 0.4);
}

/* Popular Languages - Large Desktop */
@media (min-width: 1401px) {
    .popular-languages-section {
        padding: 5rem 1rem;
    }
}

/* Popular Languages - Desktop */
@media (max-width: 1400px) {
    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
    }
}

/* Popular Languages - Small Desktop */
@media (max-width: 1200px) {
    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}

/* Popular Languages - Tablet */
@media (max-width: 992px) {
    .popular-languages-section {
        padding: 3rem 1rem;
    }
    
    .popular-languages-section .section-header h2 {
        font-size: 2rem;
    }
    
    .popular-languages-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
}

/* Popular Languages - Mobile */
@media (max-width: 768px) {
    .popular-languages-section {
        padding: 2.5rem 1rem;
    }
    
    .popular-languages-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .language-item {
        padding: 0.4rem 0.6rem;
        min-height: 40px;
    }
    
    .language-flag-container {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    
    .language-name {
        font-size: 0.85rem;
    }
    
    .language-badge {
        font-size: 0.55rem;
    }
}

/* Popular Languages - Small Mobile */
@media (max-width: 480px) {
    .popular-languages-section {
        padding: 2rem 0.75rem;
    }
    
    .popular-languages-section .section-header h2 {
        font-size: 1.5rem;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    #viewAllLanguagesBtn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* =========================================== */
/* FAQ Section - ALL DEVICES
/* =========================================== */
.faq-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.faq-section .section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.faq-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-card {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.faq-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.faq-toggle {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-toggle i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-toggle:hover i {
    color: var(--hover-color);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

.faq-card.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-card.active .faq-toggle i {
    transform: rotate(45deg);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ - Large Desktop */
@media (min-width: 1401px) {
    .faq-section {
        padding: 70px 20px;
    }
}

/* FAQ - Desktop */
@media (max-width: 1400px) {
    .faq-section {
        padding: 60px 20px;
    }
}

/* FAQ - Tablet */
@media (max-width: 992px) {
    .faq-section {
        padding: 50px 20px;
    }
    
    .faq-section .section-header h2 {
        font-size: 2rem;
    }
    
    .faq-section .section-subtitle {
        font-size: 1rem;
    }
}

/* FAQ - Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 15px;
    }
    
    .faq-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-toggle {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.2rem 1rem;
        font-size: 0.9rem;
    }
}

/* FAQ - Small Mobile */
@media (max-width: 480px) {
    .faq-section {
        padding: 30px 10px;
    }
    
    .faq-section .section-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-toggle {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* =========================================== */
/* CTA Bonus Section - ALL DEVICES
/* =========================================== */
.cta-bonus-container {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.cta-bonus-section {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.cta-bonus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-green));
}

.cta-bonus-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.cta-bonus-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.cta-bonus-section .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-bonus-section .video-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

.cta-bonus-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 94, 0.3);
    cursor: pointer;
}

.cta-bonus-button:hover {
    background: linear-gradient(90deg, var(--sky-pink), var(--sky-blue));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 94, 0.4);
}

/* CTA Bonus - Large Desktop */
@media (min-width: 1401px) {
    .cta-bonus-container {
        margin: 5rem auto;
    }
}

/* CTA Bonus - Tablet */
@media (max-width: 992px) {
    .cta-bonus-container {
        margin: 3rem auto;
    }
    
    .cta-bonus-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-bonus-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-bonus-section p {
        font-size: 1rem;
    }
    
    .cta-bonus-section .video-wrapper iframe {
        height: 300px;
    }
}

/* CTA Bonus - Mobile */
@media (max-width: 768px) {
    .cta-bonus-container {
        margin: 2.5rem auto;
    }
    
    .cta-bonus-section {
        padding: 1.5rem 1rem;
    }
    
    .cta-bonus-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-bonus-section p {
        font-size: 0.95rem;
    }
    
    .cta-bonus-section .video-wrapper iframe {
        height: 250px;
    }
    
    .cta-bonus-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

/* CTA Bonus - Small Mobile */
@media (max-width: 480px) {
    .cta-bonus-container {
        margin: 2rem auto;
    }
    
    .cta-bonus-section {
        padding: 1.2rem 0.75rem;
    }
    
    .cta-bonus-section h2 {
        font-size: 1.3rem;
    }
    
    .cta-bonus-section .video-wrapper iframe {
        height: 200px;
    }
}

/* =========================================== */
/* CTA Help Section - ALL DEVICES
/* =========================================== */
.cta-help-container {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.cta-help-section {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.cta-help-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-green));
}

.cta-help-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-green), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.cta-help-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.cta-help-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(90deg, var(--sky-green), var(--sky-blue));
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 94, 0.3);
    cursor: pointer;
}

.cta-help-button:hover {
    background: linear-gradient(90deg, var(--sky-pink), var(--sky-blue));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 94, 0.4);
}

/* CTA Help - Large Desktop */
@media (min-width: 1401px) {
    .cta-help-container {
        margin: 4rem auto;
    }
}

/* CTA Help - Tablet */
@media (max-width: 992px) {
    .cta-help-container {
        margin: 2.5rem auto;
    }
    
    .cta-help-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-help-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-help-section p {
        font-size: 1rem;
    }
}

/* CTA Help - Mobile */
@media (max-width: 768px) {
    .cta-help-container {
        margin: 2rem auto;
    }
    
    .cta-help-section {
        padding: 1.5rem 1rem;
    }
    
    .cta-help-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-help-section p {
        font-size: 0.95rem;
    }
    
    .cta-help-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

/* CTA Help - Small Mobile */
@media (max-width: 480px) {
    .cta-help-container {
        margin: 1.5rem auto;
    }
    
    .cta-help-section {
        padding: 1.2rem 0.75rem;
    }
    
    .cta-help-section h2 {
        font-size: 1.3rem;
    }
}

/* =========================================== */
/* Toast Notifications - ALL DEVICES
/* =========================================== */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 350px;
}

.toast {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    border-left: 4px solid var(--primary-color);
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success { border-left-color: var(--success-color); }
.toast.error { border-left-color: var(--error-color); }
.toast.warning { border-left-color: var(--warning-color); }

.toast .toast-content {
    flex: 1;
}

.toast .toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.toast .toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    color: var(--text-secondary);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.25rem;
    font-size: 1rem;
}

.toast-close:hover {
    color: var(--hover-color);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    animation: progress 3s linear forwards;
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Toast - Tablet */
@media (max-width: 992px) {
    .toast-container {
        max-width: 320px;
    }
}

/* Toast - Mobile */
@media (max-width: 768px) {
    .toast-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .toast {
        padding: 0.875rem 1rem;
    }
}

/* =========================================== */
/* Modals - ALL DEVICES
/* =========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-light);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.glass-effect {
    max-width: 900px;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    line-height: 1;
    z-index: 1;
}

.close-modal:hover {
    color: var(--hover-color);
    transform: rotate(90deg);
}

/* Modals - Mobile */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-content.glass-effect {
        padding: 1.5rem;
    }
}

/* Modals - Small Mobile */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.2rem;
    }
}

/* =========================================== */
/* Analytics Modal - ALL DEVICES
/* =========================================== */
.analytics-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.analytics-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    flex: 1 1 240px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-light);
}

.analytics-progress {
    background: #e9ecef;
    border-radius: 6px;
    height: 8px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.analytics-progress #charsProgress {
    height: 100%;
    background: var(--primary-color);
    width: 50%;
    transition: width 0.4s ease;
}

.analytics-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Analytics Modal - Mobile */
@media (max-width: 768px) {
    .analytics-grid {
        gap: 1rem;
    }
    
    .analytics-card {
        padding: 1.2rem;
    }
}

/* =========================================== */
/* Pricing Modal - ALL DEVICES
/* =========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.pricing-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.features li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-card:nth-child(2) {
    border: 2px solid var(--primary-color);
    background-color: var(--sky-blue-light);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.25);
}

/* Pricing Modal - Tablet */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Pricing Modal - Mobile */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
}

/* =========================================== */
/* Rewards Modal - ALL DEVICES
/* =========================================== */
.modal#rewardsModal .modal-content {
    max-width: 600px;
}

.rewards-container {
    padding: 20px 0;
}

.rewards-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 12px;
    flex-wrap: wrap;
    border: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
    margin: 10px;
    min-width: 100px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.btn-share {
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-share.twitter { background: #1DA1F2; }
.btn-share.facebook { background: #4267B2; }
.btn-share.linkedin { background: #0077B5; }
.btn-share.whatsapp { background: #25D366; }
.btn-share.telegram { background: #0088CC; }

.share-link-generator {
    margin: 20px 0;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.link-container {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.share-link-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: white;
    color: var(--text-primary);
}

.btn-copy-link {
    padding: 10px 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copy-link:hover {
    background: var(--primary-dark);
}

.reward-countdown {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-timer {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    animation: pulse 1s infinite;
}

/* Rewards Modal - Mobile */
@media (max-width: 768px) {
    .rewards-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin: 5px;
        min-width: auto;
    }
    
    .platform-buttons {
        grid-template-columns: 1fr;
    }
}

/* =========================================== */
/* Floating Elements - ALL DEVICES
/* =========================================== */
.floating-cta-youtube {
    position: fixed;
    bottom: 50px;
    right: 18px;
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    z-index: 9999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-cta-youtube:hover {
    transform: scale(1.12);
}

.floating-help {
    position: fixed;
    bottom: 100px;
    right: 18px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 195, 255, 0.3);
    z-index: 9998;
    transition: var(--transition);
}

.floating-help:hover {
    background: var(--gradient-hover);
    transform: scale(1.1) rotate(5deg);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
}

/* Floating Elements - Tablet */
@media (max-width: 992px) {
    .floating-cta-youtube {
        bottom: 80px;
    }
    
    .floating-help {
        bottom: 130px;
    }
}

/* Floating Elements - Mobile */
@media (max-width: 768px) {
    .floating-cta-youtube {
        bottom: 70px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .floating-help {
        bottom: 115px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Floating Elements - Small Mobile */
@media (max-width: 480px) {
    .floating-cta-youtube {
        bottom: 60px;
    }
    
    .floating-help {
        bottom: 105px;
    }
}

/* =========================================== */
/* Custom Scrollbar - ALL DEVICES
/* =========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--sky-pink), var(--sky-blue), var(--sky-green));
}

/* =========================================== */
/* Utility Classes and Keyframes
/* =========================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header.center h2 {
    margin-bottom: 0.5rem;
}


/* =========================================== */
/* MODAL OVERRIDES - Ensure Login Modal Visibility */
/* =========================================== */

/* Ensure modals are visible when triggered */
.modal[style*="display: flex"],
.modal[style*="display: flex"] .modal-content {
    display: block !important;
}

/* Ensure login modal is always visible */
#loginModal[style*="display: flex"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.65) !important;
}

#loginModal .modal-content {
    background: var(--light-bg) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

/* Ensure dark mode compatibility */
body.dark-mode #loginModal .modal-content {
    background: var(--dark-bg) !important;
    border-color: var(--dark-border) !important;
}

/* Ensure close button is visible */
#loginModal .close-modal {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================== */
/* Upgrade Notification Card - Top-up Alert
/* =========================================== */
.upgrade-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ff005e;
    animation: slideInRight 0.5s ease forwards;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upgrade-notification:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.upgrade-notification .notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.upgrade-notification .notification-icon {
    font-size: 2rem;
    animation: pulse 1.5s infinite;
}

.upgrade-notification .notification-text {
    flex: 1;
}

.upgrade-notification .notification-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffcc00;
}

.upgrade-notification .notification-message {
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 1.4;
}

.upgrade-notification .notification-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    transition: background 0.3s ease;
}

.upgrade-notification .notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.upgrade-notification .notification-footer {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notification-btn-primary {
    background: linear-gradient(90deg, #ff005e, #ff5e00);
    color: white;
    border: none;
}

.notification-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 0, 94, 0.4);
}

.notification-btn-outline {
    background: transparent;
    border: 1px solid #ffcc00;
    color: #ffcc00;
}

.notification-btn-outline:hover {
    background: rgba(255, 204, 0, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .upgrade-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}