/* Fonts will be loaded asynchronously via JavaScript */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --primary-color: #405de6;
    --primary-hover: #3448c5;
    --text-primary: #171717;
    --text-secondary: #666666;
    --text-muted: #9ca3af;
    --border-color: #E3E8EF;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    overflow: hidden;
}

/* Container */
.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header/Navbar */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: var(--primary-hover);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-switcher span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.languages {
    display: flex;
    gap: 0.5rem;
}

.languages a {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    font-weight: 500;
}

.languages a.active {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero .content--area {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1000px;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 100" fill="white" opacity="0.1"><polygon points="1000,100 400,0 0,100"/></svg>') no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 400px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 69px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    text-align: left;
}

/* Main Content */
main {
    padding: 0 0;
}

/* Downloader Card */
.downloader-section {
    margin-bottom: 6rem;
}

.downloader-card {
    background: rgb(255 255 255 / 93%);
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 35px;
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 10;
}

/* Video Preview Styles */
.video-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    animation: slideDown 0.3s ease;
}

.preview-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.preview-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.preview-details {
    flex: 1;
}

.preview-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.preview-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.separator {
    color: #d1d5db;
}

.quality-selector {
    margin-top: 1rem;
}

.quality-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.quality-selector select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-secondary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary.loading {
    background: #6b7280;
    cursor: not-allowed;
}

.btn-secondary.loading .btn-text {
    opacity: 0.7;
}

/* Responsive Preview */
@media (max-width: 640px) {
    .preview-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preview-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Animation for preview */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.downloader-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.downloader-card .subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 20px 6rem 20px 3rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 93, 230, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
}

.form-control:focus + .input-icon {
    color: var(--primary-color);
}

.paste-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: inherit;
}

.paste-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.05);
}

.paste-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.paste-btn i {
    font-size: 1rem;
}

/* Button Styles */
.btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding:20px 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.btn-full {
    width: 100%;
}

/* Loading Animation */
.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem 0;
    display: none;
}

.progress-bar {
    height: 100%;
    background: var(--bg-gradient);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Download Animation */
.download-animation {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(64, 93, 230, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(64, 93, 230, 0); }
    100% { box-shadow: 0 0 0 0 rgba(64, 93, 230, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Article Section */
.article-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.article-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.article-content ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.article-content li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.faq-question {
    width: 100%;
    padding: 1.2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Flash Messages */
.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-weight: 500;
    border: 1px solid;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash.success {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.flash.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.flash.info {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #667eea;
}

.footer-column span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: left;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-info {
    display: flex;
    gap: 1rem;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 0;
        margin-top: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-info {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-stats {
        grid-template-columns: 1fr;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-badge {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .downloader-card {
        max-width: 600px;
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar-nav {
        gap: 1rem;
    }
    
    .hero .content--area {
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .downloader-card {
        max-width: 550px;
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 9999;
        gap: 0;
        overflow-y: auto;
    }
    
    .navbar-nav.active {
        right: 0;
    }
    
    .navbar-nav a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        justify-content: flex-start;
    }
    
    .navbar-nav a:last-child {
        border-bottom: none;
    }
    
    .language-switcher {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
    }
    
    .languages {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero responsive */
    .hero {
        padding: 3rem 0;
    }
    
    .hero .content--area {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
        max-width: 100%;
        order: 2;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .downloader-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 100%;
        order: 1;
    }
    
    .downloader-card h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .downloader-card .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Form improvements for mobile */
    .form-control {
        padding: 1rem 5.5rem 1rem 3rem;
        font-size: 1rem;
    }
    
    .paste-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        right: 0.5rem;
    }
    
    .btn {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    /* Sections */
    .features,
    .article-section,
    .faq-section {
        padding: 2.5rem 0;
    }
    
    .features h2,
    .article-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .faq-container {
        margin: 0 1rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .downloader-card {
        padding: 1.8rem 1.2rem;
        border-radius: 10px;
    }
    
    .downloader-card h2 {
        font-size: 1.4rem;
    }
    
    .form-control {
        padding: 1rem 5rem 1rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .paste-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        right: 0.4rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Progress and animation adjustments */
    .download-animation {
        padding: 1.5rem 0;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .download-icon i {
        font-size: 1.5rem;
    }
    
    /* Sections spacing */
    .features,
    .article-section,
    .faq-section {
        padding: 2rem 0;
    }
    
    .features h2,
    .article-section h2,
    .faq-section h2 {
        font-size: 1.6rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 8px;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-content p,
    .article-content li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .downloader-card {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }
    
    .downloader-card h2 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .downloader-card .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    /* Form optimizations for small screens */
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .form-control {
        padding: 0.9rem 4.5rem 0.9rem 2.2rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .input-icon {
        left: 0.8rem;
        font-size: 1.1rem;
    }
    
    .paste-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        right: 0.3rem;
        border-radius: 6px;
    }
    
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* Sections */
    .features,
    .article-section,
    .faq-section {
        padding: 1.8rem 0;
    }
    
    .features h2,
    .article-section h2,
    .faq-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .article-content {
        padding: 1.2rem 0.8rem;
        margin: 0 0.2rem;
    }
    
    .faq-container {
        margin: 0 0.2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.6rem;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .downloader-card {
        padding: 1.2rem 0.8rem;
    }
    
    .downloader-card h2 {
        font-size: 1.2rem;
    }
    
    .form-control {
        padding: 0.8rem 4rem 0.8rem 2rem;
        font-size: 0.85rem;
    }
    
    .paste-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
        right: 0.25rem;
    }
    
    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .features h2,
    .article-section h2,
    .faq-section h2 {
        font-size: 1.3rem;
    }
    
    .article-content {
        padding: 1rem 0.6rem;
    }
}

/* Landscape orientation optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero .content--area {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: left;
        order: 1;
    }
    
    .downloader-card {
        order: 2;
        max-width: 400px;
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .feature-icon,
    .download-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .download-icon {
        animation: none;
    }
    
    .download-icon i {
        animation: none;
    }
}

/* About Page Styles */
.about-page {
    min-height: 100vh;
    background: #fafafa;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

.about-content {
    padding: 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 6rem;
    text-align: center;
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .feature-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-section .feature-item:hover::before {
    transform: scaleX(1);
}

.about-section .feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.about-section .feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
}

.about-section .feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-animation {
    flex: 1;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 80px;
    right: 30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-size: 0.9rem;
    font-weight: 400;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(64, 93, 230, 0.3);
    letter-spacing: -0.01em;
}

.step-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    color: #1a1a1a;
}

.step-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.privacy-section {
    background: white;
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

.privacy-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.privacy-item:hover {
    padding-left: 1rem;
}

.privacy-item:before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.privacy-item span {
    color: #333;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

.support-section {
    text-align: center;
}

.support-actions {
    margin-top: 2.5rem;
}

.support-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.support-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(64, 93, 230, 0.3);
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background: #fafafa;
}

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.contact-content {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.success-message {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown 0.5s ease;
}

.success-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.success-text {
    color: #065f46;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.contact-form-section,
.contact-info-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafafa;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(64, 93, 230, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 93, 230, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.faq-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-item strong {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About & Contact Responsive */
@media (max-width: 768px) {
    .about-hero,
    .contact-hero {
        padding: 4rem 0;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-animation {
        height: 200px;
    }

    .about-hero h1,
    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p,
    .contact-hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        padding: 4rem 0;
    }

    .about-section {
        margin-bottom: 4rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .privacy-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .privacy-section {
        padding: 3rem 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-cards {
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1,
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .about-section h2 {
        font-size: 1.6rem;
    }

    .privacy-section,
    .contact-form-section,
    .contact-info-section {
        padding: 2rem 1.5rem;
    }
}

/* Page Styles */
.page-container {
    min-height: 100vh;
    background: #fafafa;
    padding: 2rem 0;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: -0.02em;
}

.page-body {
    padding: 3rem 2rem;
    line-height: 1.7;
}

.page-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.page-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.page-body p {
    margin-bottom: 1.2rem;
    color: #666;
    font-size: 1rem;
}

.page-body ul,
.page-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.page-body li {
    margin-bottom: 0.5rem;
    color: #666;
}

.page-body strong {
    color: #333;
    font-weight: 600;
}

.page-footer {
    background: #f8f9fa;
    padding: 2rem;
    border-top: 1px solid #e5e5e5;
}

.page-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.back-btn,
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn {
    background: #6c757d;
    color: white;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.contact-btn {
    background: var(--primary-color);
    color: white;
}

.contact-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .page-container {
        padding: 1rem 0;
    }
    
    .page-header {
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-body {
        padding: 2rem 1.5rem;
    }
    
    .page-footer {
        padding: 1.5rem;
    }
    
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
