/* Converters Hub Styles - Improved Version */
.converters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #9ca3af;
}

/* Hero Section */
.converters-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.converters-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

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

.converters-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 300;
}

.converter-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.converter-stats .stat {
    text-align: center;
}

.converter-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.converter-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Featured Converters */
.featured-converters {
    margin: 60px 0;
}

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

.featured-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.featured-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.featured-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.featured-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-card h3 a:hover {
    color: #667eea;
}

.featured-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
}

.featured-meta .file-size,
.featured-meta .processing {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
    color: #6b7280;
    font-weight: 500;
}

/* Quick Converter */
.quick-converter {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.quick-converter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.quick-converter h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: white;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.converter-widget {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.format-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.95);
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.format-selector select {
    border: none;
    background: none;
    font-size: 1rem;
    padding: 10px;
    min-width: 140px;
    outline: none;
    color: #1f2937;
    font-weight: 500;
}

.arrow {
    color: #f5576c;
    font-weight: bold;
    font-size: 1.4rem;
}

#findConverter {
    padding: 15px 30px;
    background: white;
    color: #f5576c;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#findConverter:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Converters Sections */
.converters-section {
    margin: 80px 0;
}

.section-description {
    color: #6b7280;
    margin-bottom: 50px;
    font-size: 1.2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.converters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.converter-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.converter-card:hover::before {
    transform: scaleY(1);
}

.converter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.converter-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.converter-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 600;
}

.converter-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.converter-card h3 a:hover {
    color: #667eea;
}

.converter-card p {
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.6;
}

.converter-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}

.file-size, .processing {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
    color: #6b7280;
    font-weight: 500;
}

/* Features Section */
.features-section {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.features-section .section-title {
    color: white;
    margin-bottom: 50px;
}

.features-section .section-title::after {
    background: white;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 25px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #667eea;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .converters-container {
        padding: 0 15px;
    }
    
    .converters-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .converter-stats {
        gap: 30px;
    }
    
    .converter-stats .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .converter-widget {
        flex-direction: column;
        width: 100%;
    }
    
    .format-selector {
        width: 100%;
        justify-content: center;
    }
    
    .converters-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quick-converter {
        padding: 40px 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .converters-hero {
        padding: 60px 0 40px;
        border-radius: 15px;
    }
    
    .converters-hero h1 {
        font-size: 2rem;
    }
    
    .converter-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .featured-card,
    .converter-card {
        padding: 25px 20px;
    }
    
    .quick-converter h2 {
        font-size: 1.8rem;
    }
}