/**
 * FastDL Theme - Main Styles
 * Inspired by fastdl.app
 */

/* -------------------------------------------------------------
 * Base Styles
 * ------------------------------------------------------------- */
 :root {
    --primary-color: #3b82f6;
    --primary-dark: #2980b9;
    --secondary-color: #2ecc71;
    --secondary-dark: #27ae60;
    --text-color: #000000;
    --text-light: #000000;
    --text-lighter: #3b82f6;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #f1f2f3;
    --border-color: #e4e7eb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
}

body.fastdl-theme {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.fastdl-theme {
    min-height: 100vh;
    width: 100vw;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.container-fluid {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

img, video, iframe, embed {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button, .btn-primary {
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 600;
    color: var(--text-color);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------------
 * Language Selector
 * ------------------------------------------------------------- */
.language-selector {
    background-color: var(--bg-dark);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.lang-selector-inner {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--text-light);
}

.current-lang i {
    font-size: 1rem;
    color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 150px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.lang-selector-inner:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 8px 15px;
    transition: var(--transition);
    color: var(--text-color);
}

.lang-option:hover, .lang-option.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* -------------------------------------------------------------
 * Header
 * ------------------------------------------------------------- */
/* Download Box Container */
.download-box-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Download Box */
.download-box {
    width: 100%;
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 100%;
}

.download-box-ad .textwidget {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Mobile First Media Queries */
/* Ad Placeholder Styles */
.download-box-ad:empty {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.download-box-ad:empty::before {
    content: 'Ad Space';
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .download-box-container {
        padding: 20px 15px;
    }
    
    .download-box {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .download-box {
        padding: 20px 15px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input[type="url"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .btn-primary {
        width: 100%;
    }
}

@media (max-width: 767px) {
    /* Base Typography */
    html {
        font-size: 15px;
    }
    
    /* Header */
    .header-content {
        padding: 10px 0;
    }
    
    .logo-wrapper {
        text-align: center;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    /* Mobile Menu */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: var(--primary-color);
        border: none;
        border-radius: 4px;
        padding: 0;
        cursor: pointer;
        z-index: 1000;
    }
    
    .menu-icon {
        display: block;
        width: 24px;
        height: 2px;
        background: white;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .menu-icon:before,
    .menu-icon:after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .menu-icon:before {
        transform: translateY(-6px);
    }
    
    .menu-icon:after {
        transform: translateY(6px);
    }
    
    .menu-toggle[aria-expanded="true"] .menu-icon {
        background: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .menu-icon:before {
        transform: rotate(45deg);
    }
    
    .menu-toggle[aria-expanded="true"] .menu-icon:after {
        transform: rotate(-45deg);
    }
    
    .menu-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 40px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .primary-menu .menu-item {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .primary-menu .menu-item a {
        display: block;
        padding: 12px 0;
    }
    
    /* Download Box */
    .download-box-container {
        flex-direction: column;
        padding: 0 15px;
        gap: 15px;
    }
    
    .download-box,
    .download-box-ad {
        width: 100%;
        max-width: 100%;
    }
    
    .download-box {
        order: 1;
    }
    
    .download-box-left-ad,
    .download-box-right-ad {
        order: 2;
    }
    
    /* Forms */
    .input-group {
        flex-direction: column;
    }
    
    .input-group input[type="url"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .btn-primary {
        width: 100%;
    }
}

/* Tablet and Up */
@media (min-width: 768px) {
    .download-box-container {
        flex-wrap: nowrap;
        padding: 0;
    }
    
    .download-box {
        order: 2;
        max-width: 500px;
    }
    
    .download-box-left-ad {
        order: 1;
    }
    
    .download-box-right-ad {
        order: 3;
    }
    
    .nav-menu-wrapper {
        display: block !important;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    .primary-menu {
        display: flex;
        gap: 15px;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Header Ad Styles */
.header-ad-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
    padding: 10px 0;
}

.header-ad-container .widget {
    margin: 0;
    padding: 0;
}

.header-ad-container iframe,
.header-ad-container ins,
.header-ad-container .adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 90px;
}

/* Header Styles */
.site-header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
}

.site-title span {
    color: var(--primary-color);
}

.site-tagline {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-top: -5px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.menu-item.active a, 
.menu-item a:hover {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.05);
}

.menu-item.last a.app-download-link {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-md);
}

.menu-item.last a.app-download-link:hover {
    background-color: var(--primary-dark);
}

.app-download-link i {
    margin-right: 5px;
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero {
    padding: 50px 0;
    background-color: var(--bg-color);
    margin-bottom: 0px;
    width: 100%;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-main-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-widget-area {
    width: 400px;
    min-height: 400px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.hero-left-widget-area {
    order: 1;
}

.hero-right-widget-area {
    order: 3;
}

.hero-main-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Responsive styles for hero section */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .hero-widget-area {
        width: 100%;
        max-width: 600px;
        position: static;
        order: 1;
    }
    
    .hero-main-content {
        order: 2;
        width: 100%;
    }
    
    .hero-left-widget-area {
        margin-bottom: 0;
    }
    
    .hero-right-widget-area {
        margin-top: 0;
    }
}

/* Original hero content styles */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-text {
    margin-bottom: 30px;
}

.hero-text .site-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin: center;
    color: var(--text-light);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Box */
.download-box {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.url-form {
    width: 100%;
}

.input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.form-control {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

.btn-primary {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-primary i {
    margin-left: 8px;
}

/* Platforms */
.platforms-supported {
    margin-top: 20px;
    text-align: center;
}

.platforms-title {
    font-size: 0.9rem;
    color: var(--text-lighter);
    margin-bottom: 10px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-icon {
    font-size: 1.8rem;
    color: var(--text-lighter);
    transition: var(--transition);
}

.platform-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* -------------------------------------------------------------
 * How It Works Section
 * ------------------------------------------------------------- */
.how-it-works {
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------
 * Features Section
 * ------------------------------------------------------------- */
.features-section {
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    padding: 60px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-light);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-upper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-title span {
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-app h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-app p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-btn img {
    height: 40px;
    transition: var(--transition);
}

.app-btn:hover img {
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
	margin: 0px 15px 0px 15px;
    gap: 20px;
}

.legal-links a {
    color: var(--text-color);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* -------------------------------------------------------------
 * Video Downloader Page Specific Styles
 * ------------------------------------------------------------- */
.fastdl-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.downloader-section {
    text-align: center;
    padding: 20px 0 40px;
}

.downloader-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.downloader-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.downloader-form-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}

.downloader-input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.downloader-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

.downloader-button {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.downloader-button:hover {
    background-color: var(--primary-dark);
}

/* Video Info Area */
.video-info-area {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.video-preview {
    flex: 1 1 300px;
    text-align: center;
}

.video-preview img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.video-preview p {
    font-weight: 600;
    margin-top: 15px;
    color: var(--text-color);
}

.resolution-section {
    flex: 1 1 300px;
}

.resolution-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.resolution-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.resolution-option {
    padding: 10px 15px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.resolution-option:hover,
.resolution-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.download-final-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.download-final-button:hover {
    background-color: var(--secondary-dark);
}

/* Download Progress */
.download-progress-area {
    margin-top: 30px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.progress-bar-container {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    width: 0;
    transition: width 0.5s ease-in-out;
}

.progress-percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Download Complete */
.download-complete-area {
    margin-top: 30px;
    padding: 30px;
    background-color: #e8f5e9;
    border-radius: var(--radius-md);
    text-align: center;
}

.success-message {
    font-size: 1.2rem;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-link-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.download-link-button:hover {
    background-color: var(--secondary-dark);
}

/* -------------------------------------------------------------
 * Responsive Styles
 * ------------------------------------------------------------- */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100vw;
        padding-left: max(2vw, 10px);
        padding-right: max(2vw, 10px);
    }
}

@media (max-width: 991px) {
    .site-title {
        font-size: 1.6rem;
    }
    
    .hero-text .site-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .steps-container {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .step-item {
        margin-bottom: 20px;
    }
    
    .footer-upper {
        grid-template-columns: 1fr;
    }
    
    .footer-links-container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-color);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-item a {
        padding: 10px 0;
    }
    
    .hero-text .site-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .form-control {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .btn-primary {
        width: 100%;
        padding: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
		color: var(--text-color);
    }
    
    .downloader-input-group {
        flex-direction: column;
    }
    
    .downloader-input {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .downloader-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-text .site-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .fastdl-container {
        padding: 20px 15px;
        margin: 20px auto;
    }
}
