/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #5a6fd8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-trigger .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-trigger:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
}

.language-select {
    padding: 8px 12px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:focus {
    outline: none;
    border-color: #667eea;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-top: 70px;
    padding: 40px 0;
}

/* Converter Section */
.converter-section {
    padding: 60px 0;
}

.converter-header {
    text-align: center;
    margin-bottom: 50px;
}

.converter-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.converter-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.converter-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(102, 126, 234, 0.05);
}

.upload-area:hover {
    border-color: #5a6fd8;
    background: rgba(102, 126, 234, 0.1);
}

.upload-area.dragover {
    border-color: #5a6fd8;
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.upload-icon {
    font-size: 4rem;
    color: #667eea;
}

.upload-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.upload-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.file-input {
    display: none;
}

.upload-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Format Section */
.format-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.format-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.format-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Format Category */
.format-category-header {
    margin-bottom: 15px;
}

.format-category-title {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.format-category-title i {
    color: #667eea;
    font-size: 1rem;
}

.format-category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.format-option {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.format-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.format-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.format-option i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.format-option span {
    font-weight: 600;
}

/* Convert Section */
.convert-section {
    margin-top: 30px;
    text-align: center;
}

.convert-button {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.convert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(86, 171, 47, 0.3);
}

.convert-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Progress Section */
.progress-section {
    margin-top: 30px;
}

.progress-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.progress-percentage {
    text-align: center;
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Success Section */
.success-section {
    text-align: center;
    padding: 40px 20px;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.success-icon {
    font-size: 4rem;
    color: #56ab2f;
}

.success-title {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.success-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.download-button, .new-conversion-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px;
}

.download-button {
    background: #667eea;
    color: white;
}

.download-button:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.new-conversion-button {
    background: #56ab2f;
    color: white;
}

.new-conversion-button:hover {
    background: #4a9a26;
    transform: translateY(-2px);
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 40px 20px;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
}

.error-title {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.error-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.retry-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section, .terms-section, .privacy-section {
    background: white;
    padding: 80px 0;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question .fa-chevron-down {
    transition: transform 0.3s ease;
}

.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
    opacity: 1;
    display: block !important;
}

.faq-a-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-list {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #666;
}

.faq-list li {
    margin: 5px 0;
    line-height: 1.6;
}

.faq-link {
    color: #7c5cff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-link:hover {
    color: #6246ea;
    text-decoration: underline;
}

/* Terms and Privacy */
.terms-content, .privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-subtitle, .privacy-subtitle {
    font-size: 1.3rem;
    color: #333;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.terms-text, .privacy-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
.app-footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.terms-link, .contact-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover, .contact-link:hover {
    color: #5a6fd8;
}

.footer-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 1.1rem;
    }

    .nav-text {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        min-width: auto;
        width: 100%;
    }

    .converter-title {
        font-size: 2rem;
    }

    .converter-card {
        padding: 20px;
        margin: 0 20px;
    }

    .upload-area {
        padding: 40px 15px;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .format-grid {
        gap: 20px;
    }
    
    .format-category-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .converter-title {
        font-size: 1.8rem;
    }

    .converter-subtitle {
        font-size: 1rem;
    }

    .upload-title {
        font-size: 1.2rem;
    }

    .success-title, .error-title {
        font-size: 1.5rem;
    }

    .download-button, .new-conversion-button, .retry-button {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* Additional Styles for New Features */

/* Format Info */
.format-info {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.format-option {
    max-width: 300px;
    text-align: center;
}

.format-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Features Section */
.features-section {
    margin-top: 60px;
    padding: 40px 0;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Tips Section */
.tips-section {
    margin-top: 40px;
    padding: 40px 0;
}

.tips-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 30px;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tip-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tip-item i {
    color: #ffd700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tip-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* Terms and Privacy Lists */
.terms-list, .privacy-list, .faq-list {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-list li, .privacy-list li, .faq-list li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.terms-list strong, .privacy-list strong {
    color: #333;
}

/* FAQ specific styles */
.faq-intro {
    text-align: center;
    margin-bottom: 30px;
}

.faq-subtitle {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.faq-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.faq-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Supported Formats Section */
.supported-formats-section {
    margin-top: 60px;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 15px;
}

.supported-formats-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.supported-formats-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.supported-format-category {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.supported-format-category-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.supported-format-category-title i {
    color: #667eea;
    font-size: 1.2rem;
}

.supported-formats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.supported-format-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    border: 1px solid #e0e0e0;
}

.supported-format-item i {
    color: #667eea;
    font-size: 0.8rem;
}

/* Quick Converters Section */
.quick-converters-section {
    margin-top: 60px;
    padding: 40px 0;
}

.quick-converters-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.quick-converters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-converter-category {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-converter-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.category-title i {
    color: #667eea;
    font-size: 1.2rem;
}

.quick-converters-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-converter-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-converter-link:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
    border-color: #5a6fd8;
}

.quick-converter-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.quick-converter-link span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Terms and Privacy Intro */
.terms-intro, .privacy-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.terms-intro-text, .privacy-intro-text {
    color: #666;
    margin-bottom: 10px;
}

.terms-intro-text:last-child, .privacy-intro-text:last-child {
    margin-bottom: 0;
}

/* Terms and Privacy Footer */
.terms-footer, .privacy-footer {
    background: #e9ecef;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.terms-footer-text, .privacy-footer-text {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Links in content */
.terms-link, .privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover, .privacy-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Active navigation link */
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.dropdown-link.active {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-title {
        font-size: 1.5rem;
    }
    
    .tips-list {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .features-title, .tips-title {
        font-size: 1.3rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .terms-intro, .privacy-intro {
        padding: 15px;
    }
    
    .terms-footer, .privacy-footer {
        padding: 15px;
    }
    
    /* Quick Converters Responsive */
    .quick-converters-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .quick-converters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-converter-category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .quick-converter-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Supported Formats Responsive */
    .supported-formats-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .supported-formats-grid {
        gap: 20px;
    }
    
    .supported-format-category {
        padding: 20px;
    }
    
    .supported-format-category-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .supported-formats-list {
        gap: 8px;
    }
    
    .supported-format-item {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Hero Section */
.hero-content {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero-title i {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Converters Grid */
.converters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 0 20px;
}

.converter-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.converter-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px 20px 0 0;
}

.converter-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.category-title i {
    font-size: 1.6rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

.converter-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.converter-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.converter-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.converter-link:hover::before {
    left: 100%;
}

.converter-link:hover {
    background: #667eea;
    color: #fff;
    transform: translateX(5px);
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.converter-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.converter-link:hover i {
    transform: scale(1.1);
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title i {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .converters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .converter-category {
        padding: 25px 20px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .converter-link {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title i {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .converter-category {
        padding: 20px 15px;
    }
    
    .converter-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Terms Consent Button */
.terms-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.terms-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.terms-consent-content p {
    color: white;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.terms-consent-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.terms-consent-content a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.accept-terms-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.accept-terms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive for terms consent */
@media (max-width: 768px) {
    .terms-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .terms-consent-content p {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .accept-terms-btn {
        width: 100%;
        max-width: 200px;
    }
}