/* Custom CSS for YTMp3Pro */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #10ac84;
    --warning-color: #f39c12;
    --danger-color: #ee5253;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 45px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
.header-section {
    background: var(--gradient-primary);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-waves .waves {
    width: 100%;
    height: 100px;
    animation: wave 8s infinite linear;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 600px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 500;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-hero-primary {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

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

/* Converter Card */
.converter-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: slideInRight 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.floating-icon-3 {
    bottom: 20%;
    right: 15%;
    animation-delay: 4s;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.card-header-content {
    flex: 1;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.card-header-badge {
    background: var(--gradient-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.converter-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 1rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    color: #666;
    font-size: 0.8rem;
    transition: var(--transition);
}

.step-indicator.active {
    color: var(--primary-color);
}

.step-indicator i {
    width: 35px;
    height: 35px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.step-indicator.active i {
    background: var(--gradient-primary);
    color: white;
}

.btn-paste {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 8px 8px 0;
    transition: var(--transition);
}

.btn-paste:hover {
    background: var(--gradient-secondary);
    color: white;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
}

.quality-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quality-option {
    position: relative;
}

.quality-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.quality-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    min-width: 80px;
}

.quality-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.quality-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.quality-badge.premium {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.quality-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.quality-unit {
    font-size: 0.8rem;
    opacity: 0.7;
}

.quality-desc {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

.quality-crown {
    font-size: 1.2rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

.btn-convert {
    background: var(--gradient-secondary);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    width: 100%;
    transition: var(--transition);
}

.btn-convert:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.conversion-progress {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress {
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    background: #e9ecef;
    position: relative;
}

.progress-bar {
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.download-result {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--success-color);
}

.result-header i {
    font-size: 1.5rem;
}

.result-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.result-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.video-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.video-details {
    flex: 1;
    text-align: left;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
}

.video-duration {
    color: #666;
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.video-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-download {
    background: var(--gradient-accent);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.download-size {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: var(--dark-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.comparison-header > div {
    padding: 1.5rem;
    text-align: center;
}

.comparison-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.comparison-brand i {
    color: #ffd700;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

.comparison-row:nth-child(even) {
    background: #f8f9fa;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row > div {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-feature {
    font-weight: 500;
    color: var(--dark-color);
}

.comparison-us {
    justify-content: center;
    color: var(--success-color);
    font-weight: 500;
}

.comparison-us i {
    color: var(--success-color);
}

.comparison-competitor {
    justify-content: center;
    color: var(--danger-color);
    font-weight: 500;
}

.comparison-competitor i {
    color: var(--danger-color);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* How it Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
}

.step-card:hover .step-number::before {
    transform: translate(-50%, -50%) scale(1.2);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    font-size: 1.1rem;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.contact-form .form-control {
    margin-bottom: 1rem;
}

.contact-form .btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .feature-item {
        flex: 1 1 10px;
        min-width: 200px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .converter-card {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: var(--shadow-heavy);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 90px 0 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        display: none;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-cta {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .converter-card {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-subtitle {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .converter-steps {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-indicator {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .step-indicator span {
        display: block;
        margin-top: 0.2rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    .input-group-text {
        padding: 0.75rem;
    }
    
    .btn-paste {
        padding: 0.75rem 1rem;
    }
    
    .quality-options {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .quality-option label {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .quality-badge {
        width: 50px;
        height: 50px;
    }
    
    .quality-number {
        font-size: 0.9rem;
    }
    
    .quality-unit {
        font-size: 0.7rem;
    }
    
    .btn-convert {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .result-info {
        flex-direction: column;
        text-align: center;
    }
    
    .video-details {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Hide floating elements on mobile for better performance */
    .floating-icon {
        display: none;
    }
    
    .card-floating-elements {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-features {
        margin-bottom: 1rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .converter-card {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .converter-steps {
        display: none;
        /* flex-direction: column; */
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .step-indicator {
        padding: 0.5rem;
        font-size: 0.75rem;
        text-align: center;
    }
    
    .step-indicator i {
        margin-bottom: 0.2rem;
    }
    
    .form-control {
        font-size: 16px;
        padding: 0.6rem;
    }
    
    .input-group-text {
        padding: 0.6rem;
    }
    
    .btn-paste {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .quality-selector label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .quality-option label {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .quality-badge {
        width: 45px;
        height: 45px;
    }
    
    .quality-number {
        font-size: 0.8rem;
    }
    
    .quality-unit {
        font-size: 0.65rem;
    }
    
    .quality-desc {
        font-size: 0.8rem;
    }
    
    .btn-convert {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    /* Ensure proper spacing for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Adjust progress and result elements */
    .conversion-progress {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .progress-header h4 {
        font-size: 1rem;
    }
    
    .download-result {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .result-header h4 {
        font-size: 1.1rem;
    }
    
    .video-thumbnail {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 1rem;
    }
    
         .btn-download {
         width: 100%;
         padding: 0.6rem;
         font-size: 0.9rem;
     }
}

/* Additional mobile optimizations */
@media (max-width: 576px) {
    /* Better touch targets */
    .btn, .form-control, .quality-option label {
        min-height: 44px; /* iOS recommended touch target size */
    }
    
    /* Prevent horizontal scroll */
    .hero-section, .container-fluid {
        overflow-x: hidden;
    }
    
    /* Improve text legibility */
    .hero-title, .section-title {
        text-align: center;
        word-wrap: break-word;
    }
    
    /* Better spacing for mobile */
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Optimize floating elements positioning */
    .hero-particles {
        display: none; /* Hide particles on mobile for better performance */
    }
    
    /* Improve form focus states for mobile */
    .form-control:focus,
    .quality-option input[type="radio"]:focus + label {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Better button spacing */
    .hero-cta .btn {
        margin-bottom: 0.5rem;
    }
    
    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }
}

/* Animation utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Utility classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.language-switcher .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 150px;
}

.language-switcher .dropdown-item {
    padding: 10px 15px;
    color: #333;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.language-switcher .dropdown-item.active {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    font-weight: bold;
}

.language-switcher .flag-icon {
    margin-right: 8px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .language-switcher {
        position: static;
        display: inline-block;
        margin-left: 10px;
    }
    
    .language-switcher .dropdown-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
} 