@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #bbb;
}

.breadcrumb-item a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--primary-color);
}

.breadcrumb-item:last-child a {
    color: var(--primary-color);
    pointer-events: none;
}
.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators for keyboard navigation */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }
    
    .header h1 {
        background: linear-gradient(135deg, #fff, #ccc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Touch and Mobile Enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets on mobile */
    a, button, input[type="submit"], .service-card, .feature-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Add touch-friendly spacing */
    .service-card, .feature-card {
        padding: 20px;
    }
    
    /* Improve tap feedback */
    a:active, button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Ensure proper viewport handling */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Improve readability on small screens */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Optimize form inputs for touch */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    /* Better button sizing */
    button, .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* Prevent elastic scrolling on mobile */
body {
    overscroll-behavior: none;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #58d495;
    --secondary-color: #25262a;
    --accent-color: #fff;
    --danger-color: #ff4444;
    --success-color: #58d495;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    background: linear-gradient(135deg, #25262a 0%, #33343a 100%);
    color: #fff;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Ensure all text elements use sans-serif font */
p, li, a, button, input, textarea, select, span, div, td, th, label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
}

/* Preserve heading styles - keep existing heading fonts and weights */
h1, h2, h3, h4, h5, h6,
.header h1, .page-title, .section-title, .card-title {
    font-family: inherit; /* Keep existing heading fonts */
    font-weight: inherit; /* Keep existing heading weights */
}

/* Override any specific elements that might have different fonts */
.nav-link, .btn, .button, .form-control, .input-field {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 16px !important;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.header p {
    font-size: 1.2rem;
    color: #bbb;
}

/* New Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(37, 38, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.logo:hover {
    color: #58d495;
}











.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #58d495;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(88, 212, 149, 0.2);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.nav-link.active {
    background: rgba(88, 212, 149, 0.3);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content - Professional Layout */
.main-content {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    font-family: sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Format Selection at Top */
.format-selection-top {
    margin-bottom: 30px;
}

.format-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Format Button Icons - HD SVG Support */
.format-icon {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.format-icon img,
.format-icon svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.format-btn-top:hover .format-icon img,
.format-btn-top:hover .format-icon svg {
    transform: scale(1.1);
}

.format-btn-top.active .format-icon img,
.format-btn-top.active .format-icon svg {
    transform: scale(1.05);
}

/* Responsive Icons */
@media (max-width: 768px) {
    .format-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .format-label {
        font-size: 0.9rem;
    }
}

/* Icon Button Styles */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.btn-icon svg {
    width: 24px;
    height: 24px;
}

.format-btn-top {
    flex: 1;
    min-width: 140px;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: sans-serif;
}

.format-btn-top:hover {
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.1);
}

.format-btn-top.active {
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.2);
}

.format-icon {
    font-size: 1.8rem;
}

.format-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: sans-serif;
}

/* Input Section */
.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .input-section {
        gap: 8px;
        margin-bottom: 20px;
    }
}

.url-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    font-family: sans-serif;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(88, 212, 149, 0.3);
}

.url-input::placeholder {
    color: #888;
    font-family: sans-serif;
}

.btn-search {
    padding: 14px 30px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
    font-family: sans-serif;
    box-shadow: 0 4px 15px rgba(88, 212, 149, 0.2);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.4);
    background: linear-gradient(135deg, #8be0b0, #58d495);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* MP3 Info Section */
.mp3-info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mp3-info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.mp3-info-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

/* MP4 Info Section */
.mp4-info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mp4-info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.mp4-info-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

/* Download Options Section (MP3 Page) - Matching Homepage Style */
.download-options {
    margin: 0 0 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.1) 0%, rgba(139, 224, 176, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(88, 212, 149, 0.2);
}

.download-options .page-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-weight: 700;
}

.download-options .intro-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-options .intro-text:last-child {
    margin-bottom: 0;
}

.download-options .intro-text a {
    color: #58d495;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.download-options .intro-text a:hover {
    color: #8be0b0;
    text-decoration: underline;
}

/* How to Convert Section - Matching Homepage Style */
.how-to-convert {
    margin: 0 0 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.1) 0%, rgba(139, 224, 176, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(88, 212, 149, 0.2);
}

.how-to-convert h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.how-to-convert .section-intro {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.how-to-convert .steps-list {
    padding-left: 20px;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
    list-style-position: inside;
}

.how-to-convert .steps-list li {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 10px;
}

.how-to-convert .steps-list li:last-child {
    margin-bottom: 0;
}

.how-to-convert .steps-list li strong {
    color: #58d495;
    font-weight: 600;
}

.how-to-convert .steps-list li a {
    color: #58d495;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.how-to-convert .steps-list li a:hover {
    color: #8be0b0;
    text-decoration: underline;
}

/* Detailed Guide Section - Matching Homepage Style */
.detailed-guide {
    margin: 0 0 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.1) 0%, rgba(139, 224, 176, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(88, 212, 149, 0.2);
}

.detailed-guide h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Roboto', sans-serif !important;
    text-align: center;
    font-weight: 700;
}

.detailed-guide .section-intro {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detailed-guide h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #58d495;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

.detailed-guide p {
    color: #fff;
    font-size: 16px !important;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif !important;
}

.detailed-guide .numbered-list {
    max-width: 700px;
    margin: 0 auto 25px;
    padding-left: 25px;
    list-style: decimal;
    list-style-position: outside;
}

.detailed-guide ul li, .detailed-guide ul li strong {
    color: #fff;
    font-size: 16px !important;
    line-height: 1.7;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif !important;
}

.detailed-guide .numbered-list li strong {
    color: #58d495;
    font-weight: 600;
}

.detailed-guide .numbered-list li a {
    color: #58d495;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.detailed-guide .numbered-list li a:hover {
    color: #8be0b0;
    text-decoration: underline;
}

.detailed-guide .cta-text {
    margin-top: 30px;
    color: #58d495;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* Why Choose Section - Matching Homepage Style */
.why-choose-section {
    margin: 0 0 40px 0;
    padding: 50px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.08) 0%, rgba(37, 38, 42, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(88, 212, 149, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.why-choose-section h2,
.why-choose-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-choose-section > p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    color: #a8a8a8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .why-choose-list {
        grid-template-columns: 1fr;
    }
}

.why-choose-list li {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 25px 20px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(88, 212, 149, 0.15);
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.why-choose-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58d495, #8be0b0);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.why-choose-list li:hover {
    border-color: rgba(88, 212, 149, 0.4);
    background: rgba(88, 212, 149, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(88, 212, 149, 0.15);
}

.why-choose-list li:hover::before {
    transform: scaleX(1);
}

.why-choose-list li strong {
    display: block;
    color: #58d495;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.why-choose-list li a {
    color: #8be0b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.why-choose-list li a:hover {
    color: #58d495;
    text-decoration: underline;
}

/* CTA Text in why-choose-section */
.why-choose-section > p:last-of-type {
    margin-top: 35px;
    color: #58d495;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 18px 25px;
    background: rgba(88, 212, 149, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(88, 212, 149, 0.25);
    display: inline-block;
}

.why-choose-list li::before {
    content: "\2713";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    border-radius: 50%;
    color: #25262a;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
}

/* Responsive styles for all content sections */
@media (max-width: 768px) {
    .download-options,
    .how-to-convert,
    .detailed-guide,
    .why-choose-section,
    .benefits-section {
        padding: 25px 20px;
    }
    
    .download-options .page-title,
    .how-to-convert h3,
    .detailed-guide h3,
    .why-choose-section h2,
    .benefits-section h3 {
        font-size: 1.5rem;
    }
    
    .download-options .intro-text,
    .how-to-convert > p,
    .detailed-guide > p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .why-choose-list {
        grid-template-columns: 1fr;
    }
}

.why-choose-us {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.why-choose-us h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4rem;
}

.why-choose-us ul {
    padding-left: 20px;
    margin: 0 0 15px 0;
}

.why-choose-us li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.why-choose-us li:last-child {
    margin-bottom: 0;
}

.cta-text {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-align: center;
    margin: 15px 0 0 0 !important;
    font-size: 1.2rem !important;
}

/* Video Info Section */
.info-section {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    align-items: stretch;
}

.video-thumbnail {
    flex: 0 0 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 250px;
}

.video-details {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: sans-serif;
    color: #fff;
}

.channel {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.video-meta {
    color: #ccc;
    font-size: 0.9rem;
    margin: 5px 0;
    font-family: sans-serif;
}

.extra-video-info {
    margin: 15px 0;
}

.shorts-badge, .live-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    vertical-align: middle;
}

.shorts-badge {
    background-color: #ff6b6b;
    color: white;
}

.live-badge {
    background-color: #ff4444;
    color: white;
}

.channel-link {
    color: #58d495;
    text-decoration: none;
}

.channel-link:hover {
    text-decoration: underline;
}

/* Download Button */
.btn-download {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
    box-shadow: 0 4px 15px rgba(88, 212, 149, 0.2);
    margin-top: 10px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.4);
    background: linear-gradient(135deg, #8be0b0, #58d495);
}

.btn-download:active {
    transform: translateY(0);
}

.btn-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.download-spinner {
    animation: spin 1s linear infinite;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-spinner img {
    width: 20px;
    height: 20px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Circular Loader */
.circular-loader {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* Perfect circular loader */
    box-shadow: 0 0 10px rgba(88, 212, 149, 0.3);
}

.loading-state p {
    color: #aaa;
    font-size: 1.05rem;
    font-family: sans-serif;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 40px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--border-radius);
    animation: fadeIn 0.3s ease;
}

.error-state p {
    color: #ff9999;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: sans-serif;
}

.btn-reset {
    padding: 10px 20px;
    background: var(--danger-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
}

.btn-reset:hover {
    background: #ff6666;
    transform: translateY(-2px);
}

/* Download Progress */
.download-progress {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.progress-title {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #aaa;
    font-family: sans-serif;
}

/* How to Use Section */
.how-to-use {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.how-to-use h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
}

.how-to-use p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
    text-align: center;
    font-family: sans-serif;
}

.how-to-use ol {
    padding-left: 20px;
    margin: 30px 0;
}

.how-to-use li {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
    padding-left: 10px;
    font-family: sans-serif;
}

.how-to-use li strong {
    color: #fff;
    font-weight: 600;
    font-family: sans-serif;
}

/* Why Use Our Converter */
.why-use {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.why-use h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.benefit {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.benefit:hover {
    background: rgba(88, 212, 149, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.benefit-icon svg {
    width: 56px;
    height: 56px;
    color: #58d495;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
    color: #8be0b0;
    transform: scale(1.1);
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: sans-serif;
}

.benefit p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: sans-serif;
}

/* Privacy Notice */
.privacy-notice {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.privacy-notice h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: sans-serif;
}

.privacy-notice p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    font-family: sans-serif;
}

/* Final Note */
.final-note {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.final-note h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: sans-serif;
}

.final-note p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    font-family: sans-serif;
}

.final-note strong {
    color: #8be0b0;
    font-weight: 600;
    font-family: sans-serif;
}

/* FAQ Section */
.faq-section {
    margin-top: 20px;
    transition: none;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
}

/* Removed hover effect for simplicity as per user preferences */
.faq-item:hover {
    background: none;
    border-radius: 0;
    padding: 0;
    transition: none;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question, .faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #58d495;
    font-family: sans-serif;
    font-weight: 600;
    transition: none;
    outline: none;
}

.faq-answer, .faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    padding-left: 10px;
    font-family: sans-serif;
    transition: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 30px;
    font-family: sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #58d495;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-link:hover {
    background: rgba(88, 212, 149, 0.2);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 15px;
    }
    
    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-link {
        width: 80%;
        max-width: 250px;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: #fff;
    font-weight: 500;
    animation: slideInToast 0.3s ease;
    max-width: 300px;
    z-index: 1000;
    font-family: sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slideInToast {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.success-toast {
    background: linear-gradient(135deg, #58d495, #8be0b0);
}

.error-toast {
    background: linear-gradient(135deg, #ff4444, #ff7777);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 20px;
    }

    .video-info {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    .video-thumbnail {
        flex: 0 0 100%;
        max-height: 300px;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .video-thumbnail img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .input-section {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .format-buttons {
        flex-direction: column;
    }
    
    .format-btn-top {
        width: 100%;
    }
    
    .how-to-use {
        padding: 20px;
    }
    
    .how-to-use ol {
        padding-left: 15px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        text-align: center;
    }
    
    /* New Header Responsive */
    .fixed-header {
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(37, 38, 42, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* Home Page Specific Styles */
.home-intro {
    text-align: center;
    margin-bottom: 40px;
}

/* Hero Section - Professional Layout */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.1) 0%, rgba(139, 224, 176, 0.05) 100%);
    border-radius: 16px;
    margin-bottom: 50px;
    border: 1px solid rgba(88, 212, 149, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 212, 149, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #8be0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #bbb;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #58d495;
    background: rgba(88, 212, 149, 0.1);
    box-shadow: 0 20px 40px rgba(88, 212, 149, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.2), rgba(139, 224, 176, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #58d495, #8be0b0);
    transform: scale(1.1);
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-cta {
    color: #58d495;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-cta {
    color: #fff;
}

.service-cta svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-cta svg {
    transform: translateX(5px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #999;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Enhanced Why Choose List */
.why-choose-section {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.why-choose-section .section-title {
    margin-bottom: 30px;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: rgba(88, 212, 149, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(88, 212, 149, 0.15);
    color: #ddd;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.why-choose-list li:hover {
    background: rgba(88, 212, 149, 0.15);
    border-color: rgba(88, 212, 149, 0.3);
    transform: translateX(5px);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

/* Download Options Section */
.download-options-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.08) 0%, rgba(139, 224, 176, 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(88, 212, 149, 0.15);
}

.download-options-section .section-title {
    margin-bottom: 25px;
}

.download-options-section .center-text {
    max-width: 700px;
    margin: 0 auto 30px;
}

.download-options-section .features-list {
    max-width: 600px;
    margin: 0 auto 30px;
}

.download-options-section .cta-text {
    text-align: center;
    color: #58d495;
    font-weight: 600;
    font-size: 1.15rem;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .why-choose-section,
    .download-options-section {
        padding: 30px 20px;
    }
    
    .why-choose-list {
        grid-template-columns: 1fr;
    }
}

.intro-text {
    font-size: 1.15rem;
    color: #bbb;
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
}

.home-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 250px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.1);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.option-card p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-option {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.3);
}

/* Features Section */
.features-section {
    margin: 50px 0;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-icon-svg:hover {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.features-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.features-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.center-text {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-section {
    margin: 30px 0;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.3);
}

/* How to Use Section */
.how-to-use {
    margin: 50px 0;
}

.how-to-use h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.how-to-use p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 30px auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 75px;
    bottom: 75px;
    width: 2px;
    background: rgba(88, 212, 149, 0.3);
    z-index: 1;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.step-icon {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(88, 212, 149, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(88, 212, 149, 0.5);
}

.step-icon-img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.step-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    color: #bbb;
    margin: 0 0 10px 0;
    text-align: left;
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    margin: 50px 0;
    transition: none;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.faq-item p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.faq-conclusion {
    background: rgba(88, 212, 149, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(88, 212, 149, 0.3);
}

.faq-conclusion p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.thank-you {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you p {
    color: #aaa;
    font-size: 1.1rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 20px;
    }

    .video-info {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    .video-thumbnail {
        flex: 0 0 100%;
        max-height: 300px;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .video-thumbnail img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .input-section {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .format-buttons {
        flex-direction: column;
    }
    
    .format-btn-top {
        width: 100%;
    }
    
    .how-to-use {
        padding: 20px;
    }
    
    .how-to-use ol {
        padding-left: 15px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        text-align: center;
    }
    
    /* New Header Responsive */
    .fixed-header {
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(37, 38, 42, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-formats {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Mobile optimizations for containers and content */
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .video-info {
        gap: 20px;
        padding: 20px;
    }
    
    .video-thumbnail {
        flex: 0 0 100%;
        max-width: 100%;
        max-height: 300px;
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .video-thumbnail img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .input-section {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .url-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .btn-search {
        padding: 12px 20px;
        min-width: 100px;
        font-size: 0.95rem;
    }
    
    .video-details h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .channel {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn-download {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Mobile optimization for MP3 and MP4 info sections */
    .mp3-info-section,
    .mp4-info-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .mp3-info-section h2,
    .mp4-info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .mp3-info-section p,
    .mp4-info-section p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .benefits-grid {
        gap: 20px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-card h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Mobile optimization for format buttons */
    .format-selection-top {
        margin-bottom: 25px;
    }
    
    .format-buttons {
        gap: 12px;
    }
    
    .format-btn-top {
        padding: 14px;
        min-width: 120px;
    }
    
    .format-icon {
        font-size: 1.5rem;
    }
    
    .format-label {
        font-size: 1rem;
    }
    
    /* Mobile optimization for fixed header and logo */
    .fixed-header {
        padding: 12px 20px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    

    
    /* Additional mobile optimizations */
    .loading-state, .error-state, .download-progress {
        padding: 30px 20px;
    }
    
    .circular-loader {
        width: 40px;
        height: 40px;
    }
    
    .faq-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .faq-question, .faq-item h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .faq-answer, .faq-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Mobile optimization for contact page */
    .contact-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .contact-methods {
        gap: 20px;
        margin: 30px 0;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
        margin: 25px 0 15px;
    }
    
    /* Mobile optimization for legal pages */
    .legal-content h2 {
        font-size: 1.5rem;
        margin: 25px 0 15px;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
        margin: 20px 0 12px;
    }
    
    .legal-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .legal-content li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    /* General mobile touch improvements */
    a, button, input, select, textarea {
        -webkit-tap-highlight-color: rgba(88, 212, 149, 0.3);
    }
    
    .nav-link, .footer-link, .btn-search, .btn-download, .btn-cta, .format-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Enhanced Internal Link Styling */
a {
    color: #58d495;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

a:hover {
    color: #8be0b0;
    text-decoration: underline;
}

/* Improved Navigation Links */
.nav-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #58d495;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(88, 212, 149, 0.2);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.nav-link.active {
    background: rgba(88, 212, 149, 0.3);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

/* Enhanced Button Styles */
.btn-search {
    padding: 14px 30px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
    font-family: sans-serif;
    box-shadow: 0 4px 15px rgba(88, 212, 149, 0.2);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.4);
    background: linear-gradient(135deg, #8be0b0, #58d495);
}

/* Enhanced Download Button */
.btn-download {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
    box-shadow: 0 4px 15px rgba(88, 212, 149, 0.2);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.4);
    background: linear-gradient(135deg, #8be0b0, #58d495);
}

/* Enhanced CTA Buttons */
.btn-cta, .format-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 200px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(88, 212, 149, 0.2);
}

.btn-cta:hover, .format-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 212, 149, 0.4);
    background: linear-gradient(135deg, #8be0b0, #58d495);
    color: #fff;
    text-decoration: none;
}

/* Enhanced Card Styles */
.feature-card, .option-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover, .option-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.1);
    box-shadow: 0 8px 25px rgba(88, 212, 149, 0.2);
}

/* Enhanced Section Styles */
.mp3-info-section, .mp4-info-section, .how-to-use, .why-use, .privacy-notice, .final-note {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced Form Elements */
.url-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    font-family: sans-serif;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(88, 212, 149, 0.3);
}

/* Enhanced Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: #fff;
    font-weight: 500;
    animation: slideInToast 0.3s ease;
    max-width: 300px;
    z-index: 1000;
    font-family: sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.toast img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.success-toast {
    background: linear-gradient(135deg, #58d495, #8be0b0);
}

.error-toast {
    background: linear-gradient(135deg, #ff4444, #ff7777);
}

/* Main content spacing */
.main-content-spacing {
    margin-top: 120px;
    padding-bottom: 40px;
}

/* Main Content - Professional Layout */
.main-content {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Enhanced Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(37, 38, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
    margin: -5px 0;
}

.logo img {
    width: 160px;
    height: 56px;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

@media (max-width: 768px) {
    .logo img {
        width: 120px;
        height: 42px;
    }
}

.logo:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.logo:hover {
    color: #58d495;
}

/* Enhanced Typography */
.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    font-family: sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Section Headings */
.mp3-info-section h2, .mp4-info-section h2, .how-to-use h2, .why-use h2, 
.privacy-notice h2, .final-note h2, .features-section h2, .why-choose-section h2,
.download-options h2, .faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.mp3-info-section h2:after, .mp4-info-section h2:after, .how-to-use h2:after, .why-use h2:after,
.privacy-notice h2:after, .final-note h2:after, .features-section h2:after, .why-choose-section h2:after,
.download-options h2:after, .faq-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    border-radius: 3px;
}

/* Enhanced Paragraph Styles */
.mp3-info-section p, .mp4-info-section p, .how-to-use p, .why-use p,
.privacy-notice p, .final-note p, .center-text, .intro-text {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Enhanced List Styles */
.how-to-convert ol, .how-to-use ol, .why-choose-us ul, .features-list ul {
    padding-left: 25px;
    margin: 20px 0;
}

.how-to-convert li, .how-to-use li, .why-choose-us li, .features-list li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.how-to-convert li:before, .how-to-use li:before, .features-list li:before {
    content: "▶";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -25px;
    top: 0;
}

/* Fix for ordered lists to prevent number overlap */
.how-to-convert ol {
    padding-left: 35px;
}

.how-to-convert ol li {
    padding-left: 5px;
}

.how-to-convert ol li:before {
    content: "";
    display: none;
}

/* Fix for unordered lists to prevent bullet overlap */
.how-to-convert ul {
    padding-left: 35px;
}

.how-to-convert ul li {
    padding-left: 5px;
}

/* Enhanced Video Info Section */
.video-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    align-items: stretch;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
}

.video-thumbnail {
    flex: 0 0 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 250px;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    max-height: 250px;
}

.video-details {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
}

.video-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: sans-serif;
    color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.channel {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-family: sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Enhanced Loading States */
.loading-state, .error-state, .download-progress {
    text-align: center;
    padding: 40px;
    border-radius: var(--border-radius);
    animation: fadeIn 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.error-state {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* Enhanced Circular Loader */
.circular-loader {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px rgba(88, 212, 149, 0.3);
}

/* Enhanced FAQ Styles */
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Removed hover effect for simplicity as per user preferences */
.faq-item:hover {
    background: none;
    border-radius: 0;
    padding: 0;
    transition: none;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question, .faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #58d495;
    font-family: sans-serif;
    font-weight: 600;
    transition: none;
    outline: none;
}

.faq-answer, .faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    padding-left: 10px;
    font-family: sans-serif;
    transition: none;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Enhanced Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #aaa;
    font-size: 0.9rem;
    font-family: sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #58d495;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-link:hover {
    background: rgba(88, 212, 149, 0.2);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-link {
        width: 80%;
        max-width: 250px;
    }
}

/* Contact Page Styles */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.contact-card p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: #fff;
    font-family: sans-serif;
    font-weight: 700;
}

.contact-info ul {
    padding-left: 25px;
    margin: 20px 0;
}

.contact-info li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Simplified Contact Form Styles */
.contact-form-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-weight: 500;
    font-family: sans-serif;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(88, 212, 149, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #4bc085;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 212, 149, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-family: sans-serif;
    font-weight: 500;
}

.form-message.loading {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.form-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Quick Links Section */
.quick-links-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: sans-serif;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.quick-link-card {
    display: block;
    padding: 20px;
    background: rgba(88, 212, 149, 0.1);
    border: 1px solid rgba(88, 212, 149, 0.3);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.quick-link-card:hover {
    background: rgba(88, 212, 149, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(88, 212, 149, 0.2);
}

.quick-link-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.quick-link-card p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-family: sans-serif;
}

/* Support Info Section */
.support-info-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-info-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: sans-serif;
}

.support-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.support-info-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-info-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: sans-serif;
}

.support-info-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-family: sans-serif;
}

.learn-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: sans-serif;
    transition: var(--transition);
}

.learn-more-link:hover {
    color: #4bc085;
    text-decoration: underline;
}

/* Contact Form Enhancements */
.contact-form-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.form-description {
    color: #bbb;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: sans-serif;
    text-align: center;
}

.form-group .required {
    color: #dc3545;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: sans-serif;
    transition: var(--transition);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(88, 212, 149, 0.3);
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 0.85rem;
    font-family: sans-serif;
}

/* Benefits Section Styles - Matching Homepage Features */
.benefits-section {
    margin: 0 0 40px 0;
    padding: 50px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.06) 0%, rgba(37, 38, 42, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(88, 212, 149, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.benefits-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-intro {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(88, 212, 149, 0.15);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58d495, #3cb371);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(88, 212, 149, 0.25);
    border-color: rgba(88, 212, 149, 0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.2) 0%, rgba(60, 179, 113, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(88, 212, 149, 0.3);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    background: linear-gradient(135deg, rgba(88, 212, 149, 0.35) 0%, rgba(60, 179, 113, 0.2) 100%);
    border-color: rgba(88, 212, 149, 0.6);
    transform: scale(1.05);
}

.benefit-icon-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon-img {
    transform: scale(1.1);
}

/* Responsive icon sizing for benefit cards */
@media (max-width: 768px) {
    .benefit-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .benefit-icon-img {
        width: 35px;
        height: 35px;
    }
    
    .benefits-section {
        padding: 25px;
    }
    
    .benefits-section h3 {
        font-size: 1.6rem;
    }
    
    .benefits-intro {
        font-size: 1rem;
    }
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #58d495;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

.benefit-card p {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}


/* Legal Pages Styles */
.legal-section {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: #fff;
    font-family: sans-serif;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: #58d495;
    font-family: sans-serif;
}

.legal-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.legal-content ul {
    padding-left: 25px;
    margin: 20px 0;
}

.legal-content li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.legal-content strong {
    color: #fff;
}

/* Professional Transcript UI */
.transcript-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 600px; /* Fixed height for scrolling */
    overflow: hidden;
}

.transcript-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfc;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.toggle-time-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.2s;
}

.toggle-time-btn:hover, .toggle-time-btn.active {
    background: #e0e0e0;
    color: #333;
    font-weight: 600;
}

/* The Scrollable Area */
.transcript-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
    scroll-behavior: smooth;
}

/* Individual Lines */
.t-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.t-time {
    font-family: 'Courier New', monospace;
    color: #2b7de9;
    font-weight: 600;
    min-width: 60px;
    user-select: none;
    font-size: 14px;
    padding-top: 2px;
}

.t-text {
    flex: 1;
}

/* Scrollbar Styling */
.transcript-body::-webkit-scrollbar { width: 8px; }
.transcript-body::-webkit-scrollbar-track { background: #f1f1f1; }
.transcript-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* Transcript Page Styles */
.transcript-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.result-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 15px;
    background: rgba(88, 212, 149, 0.2);
    color: #fff;
    border: 1px solid rgba(88, 212, 149, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-action svg {
    width: 18px;
    height: 18px;
}

.btn-action:hover {
    background: rgba(88, 212, 149, 0.3);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Transcript Action Buttons with Icons */
.t-actions button {
    background: white;
    border: 1px solid #d1d5db;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.t-actions button:hover {
    background: #f3f4f6;
    border-color: #58d495;
}

.t-actions button svg {
    width: 16px;
    height: 16px;
}

.transcript-content {
    margin-top: 20px;
}

.transcript-textarea {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.transcript-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(88, 212, 149, 0.3);
}

/* Thumbnail Page Styles */
.thumbnails-grid {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default, shown by JavaScript */
}

.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.thumbnail-card {
    background: rgba(88, 212, 149, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(88, 212, 149, 0.2);
    transition: var(--transition);
}

.thumbnail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 212, 149, 0.2);
    box-shadow: 0 10px 25px rgba(88, 212, 149, 0.2);
}

.thumbnail-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.thumbnail-label {
    color: #58d495;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.thumbnail-dimensions {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.btn-download-thumb {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #58d495, #8be0b0);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: sans-serif;
}

.btn-download-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 212, 149, 0.4);
}

.language-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-section label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
}

/* Transcript Article View Styles */
.transcript-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    height: 70vh; /* Better height for readability */
    overflow: hidden;
    border: 1px solid #e1e5e9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.t-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px 16px 0 0;
}

.t-body {
    padding: 30px 35px; /* More padding like a document */
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
    line-height: 1.7;
}

/* The Paragraph Text Style */
.article-text {
    font-family: 'Georgia', 'Times New Roman', serif; /* Professional Serif Font */
    font-size: 1.15rem; /* Slightly larger for reading */
    line-height: 1.8; /* Spacious line height */
    color: #2d3748;
    max-width: 100%;
}

.article-text p {
    margin-bottom: 24px; /* Space between paragraphs */
    text-align: left;
}

/* Highlight keywords or speakers if we add that later */
.article-text strong {
    color: #1a202c;
}

@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .result-actions {
        justify-content: center;
    }
    
    .thumbnails-container {
        grid-template-columns: 1fr;
    }
    
    .transcript-textarea {
        min-height: 200px;
        font-size: 0.9rem;
    }
}
