/*
Theme Name: InShot Mod APK Theme
Description: Professional WordPress theme for InShot Mod APK downloads. Mobile-first, SEO-optimized, conversion-focused design.
Author: Hamza Khan
Version: 1.0
Text Domain: inshot-theme
*/

/* CSS Variables and Base Styles */

:root {
    --primary-color: #6B46C1;
    --secondary-color: #F59E0B;
    --accent-color: #EC4899;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --success: #10B981;
    --border: #E5E7EB;
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
}

.logo:hover,
.logo:focus,
.logo:visited {
    text-decoration: none !important;
}

/* Remove underlines from all header navigation links */
.header a,
.nav a,
.nav-menu a {
    text-decoration: none !important;
}

.header a:hover,
.header a:focus,
.header a:visited,
.header a:active {
    text-decoration: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none !important;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
    background: rgba(107, 70, 193, 0.08);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.nav-link:visited {
    color: var(--text-dark);
    text-decoration: none !important;
}

.nav-link:active {
    transform: translateY(0);
    text-decoration: none !important;
}

/* Active Menu States */
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_item > a,
.nav-menu .current_page_parent > a,
.nav-menu .current_page_ancestor > a {
    color: var(--primary-color) !important;
    background: rgba(107, 70, 193, 0.08);
    font-weight: 600;
    position: relative;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current-page-ancestor > a::after,
.nav-menu .current-menu-ancestor > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current_page_parent > a::after,
.nav-menu .current_page_ancestor > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
}

/* Active state hover effects */
.nav-menu .current-menu-item > a:hover,
.nav-menu .current-page-ancestor > a:hover,
.nav-menu .current-menu-ancestor > a:hover,
.nav-menu .current_page_item > a:hover,
.nav-menu .current_page_parent > a:hover,
.nav-menu .current_page_ancestor > a:hover {
    background: rgba(107, 70, 193, 0.12);
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 50%, #F59E0B 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

/* Hero Featured Image */
.hero-featured-image {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-featured-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid rgba(255,255,255,0.3);
}

.hero-featured-img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.version-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.download-icon {
    margin-right: 0.5rem;
}

/* App Info Section */
.app-info {
    padding: 3rem 0;
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.app-details {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table th,
.details-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.details-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.details-table tr:hover {
    background: var(--bg-light);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Screenshot Gallery */
.gallery {
    padding: 4rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 200px;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Installation Guide */
.installation {
    padding: 4rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* FAQ Preview */
.faq-preview {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-container {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary-color);
    color: var(--white);
    margin: 0;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #553C9A;
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
    opacity: 1;
}

/* Download CTA Section */
.download-cta {
    padding: 4rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

/* Download Section Help Text */
.download-help-text {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.5;
}

.download-help-text a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.download-help-text a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.download-legal-text {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.4;
}

.download-legal-text a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.download-legal-text a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    /* Mobile Active Menu States */
    .nav-menu .current-menu-item > a::after,
    .nav-menu .current-page-ancestor > a::after,
    .nav-menu .current-menu-ancestor > a::after,
    .nav-menu .current_page_item > a::after,
    .nav-menu .current_page_parent > a::after,
    .nav-menu .current_page_ancestor > a::after {
        bottom: 0;
        left: 0;
        width: 4px;
        height: 100%;
        transform: none;
        border-radius: 0 2px 2px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================
   BLOG SPECIFIC STYLES
   ========================== */

/* Blog Layout */
.blog-layout .main-content {
    padding: 2rem 0;
}

/* Blog Header */
.blog-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-light);
    margin-bottom: 3rem;
}

.blog-title-section h1,
.archive-title-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-description,
.archive-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumbs nav {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Blog Content Layout */
.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.blog-grid {
    grid-column: 1;
}

.blog-sidebar {
    grid-column: 2;
}

/* Featured Post */
.featured-post {
    margin-bottom: 3rem;
}

.featured-post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.featured-post-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-post-image:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-post-content {
    padding: 2rem;
}

.featured-post-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.featured-read-more:hover {
    gap: 0.8rem;
}

/* Regular Posts Grid */
.regular-posts {
    margin-top: 2rem;
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-date {
    color: var(--text-light);
}

.blog-category a,
.post-category a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-category a:hover,
.post-category a:hover {
    text-decoration: underline;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 0.8rem;
}

.blog-author {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.blog-pagination a,
.blog-pagination span {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-pagination a {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--border);
}

.blog-pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.blog-pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.sidebar-download-card {
    text-align: center;
}

.sidebar-download-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.sidebar-download-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.sidebar-download-btn:hover {
    transform: translateY(-2px);
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-posts a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.recent-posts time {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Single Post Styles */
.single-post-content {
    max-width: 1200px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reading-time {
    color: var(--text-light);
}

.post-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.post-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.author-avatar img {
    border-radius: 50%;
}

.author-details {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.author-name a {
    color: var(--primary-color);
    text-decoration: none;
}

.author-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-featured-image {
    margin: 2rem auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 800px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.post-main-content {
    grid-column: 1;
}

.post-sidebar {
    grid-column: 2;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.post-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.post-tags h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.tag-list a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.social-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
}

.social-share h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter { background: #1da1f2; color: white; }
.share-btn.facebook { background: #4267b2; color: white; }
.share-btn.linkedin { background: #0077b5; color: white; }
.share-btn.whatsapp { background: #25d366; color: white; }

.author-bio-section {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    margin: 3rem 0;
}

.author-avatar-large img {
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-posts-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.author-posts-link:hover {
    text-decoration: underline;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-previous,
.nav-next {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-3px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.nav-direction {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}

.sticky-widget {
    position: sticky;
    top: 2rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.related-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
}

.related-post-content a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content a:hover {
    color: var(--primary-color);
}

.related-post-content time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.newsletter-widget {
    text-align: center;
}

.newsletter-widget p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #553C9A;
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-posts p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
    .blog-content,
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-sidebar,
    .post-sidebar {
        grid-column: 1;
        order: 2;
    }

    .blog-grid,
    .post-main-content {
        order: 1;
    }

    .sticky-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 2rem 0;
    }

    .blog-title-section h1,
    .archive-title-section h1 {
        font-size: 2rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .post-author-info {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-section {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        order: 1;
    }

    .nav-previous {
        order: 2;
    }

    .share-buttons {
        justify-content: center;
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .post-featured-image {
        max-width: 100%;
        margin: 1.5rem auto 2rem;
    }

    .post-featured-image img {
        max-height: 350px;
    }

    .featured-post-content {
        padding: 1.5rem;
    }

    .featured-post-title {
        font-size: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-content {
        gap: 2rem;
    }

    .blog-card-content {
        padding: 1rem;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-content {
        font-size: 1rem;
    }

    .related-post-item {
        flex-direction: column;
    }

    .related-post-thumb {
        width: 100%;
        height: 150px;
    }
}

/* ============================
   LEGAL PAGES STYLES
   ========================== */

.legal-page .main-content,
.contact-page .main-content {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 80vh;
}

.legal-content,
.contact-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.legal-header,
.contact-header {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.legal-header h1,
.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.legal-subtitle,
.contact-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
}

.legal-body {
    padding: 3rem 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.legal-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.legal-list li strong {
    color: var(--primary-color);
}

.dmca-contact,
.contact-details {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.dmca-contact p,
.contact-details p {
    margin-bottom: 0.5rem;
}

.notice-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #856404;
}

.legal-footer,
.contact-footer {
    background: var(--bg-light);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.back-home-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.back-home-btn:hover {
    background: #553C9A;
    transform: translateY(-2px);
}

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 2rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.submit-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-notice {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

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

/* Contact Info */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin-bottom: 0.3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.quick-help {
    margin-bottom: 3rem;
}

.quick-help h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.help-link:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateX(5px);
}

.help-icon {
    font-size: 1.2rem;
}

.contact-notice {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.contact-notice h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.notice-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.notice-content strong {
    color: var(--primary-color);
}

/* Contact FAQ */
.contact-faq {
    padding: 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.contact-faq h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-header,
    .contact-header {
        padding: 2rem 1rem;
    }

    .legal-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }

    .legal-body {
        padding: 2rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .legal-list {
        padding-left: 1.5rem;
    }

    .dmca-contact,
    .contact-details {
        padding: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        gap: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
    }

    .help-links {
        gap: 0.5rem;
    }

    .help-link {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .legal-content,
    .contact-content {
        margin: 0 1rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .help-link {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ================================
   OLD VERSIONS PAGE STYLES
   ================================ */

.old-versions-page {
    background: var(--bg-light);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Versions Header Section */
.versions-header {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 0 auto 3rem;
    max-width: 1200px;
}

.versions-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.versions-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.versions-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search and Filter Controls */
.versions-controls {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-box button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.filter-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--primary-color);
}

#clearFilters {
    padding: 0.8rem 1.5rem;
    background: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#clearFilters:hover {
    background: var(--text-dark);
}

/* Versions Grid */
.versions-content {
    margin-bottom: 3rem;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.version-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

/* Version Header */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.version-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.version-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.latest {
    background: var(--success);
    color: white;
}

.badge.stable {
    background: var(--primary-color);
    color: white;
}

.badge.beta {
    background: var(--secondary-color);
    color: white;
}

.badge.featured {
    background: var(--accent-color);
    color: white;
}

.version-meta {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.version-date,
.version-size {
    display: block;
    margin-bottom: 0.25rem;
}

/* Version Content */
.version-content {
    margin-bottom: 2rem;
}

.version-description {
    margin-bottom: 1.5rem;
}

.version-description p {
    color: var(--text-light);
    line-height: 1.6;
}

.version-changelog {
    margin-bottom: 1.5rem;
}

.version-changelog h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.changelog-preview {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0.75rem;
}

.changelog-preview ul {
    margin: 0;
    padding-left: 1.5rem;
}

.changelog-preview li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.toggle-changelog {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.toggle-changelog:hover {
    color: var(--accent-color);
}

.version-features {
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}

.features-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.25rem 0;
}

/* Version Footer */
.version-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.download-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.version-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.download-btn.primary {
    background: var(--gradient);
    color: white;
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

.download-btn.secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.download-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Pagination */
.versions-pagination {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.load-more-btn {
    padding: 1rem 3rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.load-more-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* No Versions State */
.no-versions {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.no-versions-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-versions h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-versions p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

/* Info Cards */
.versions-info {
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Installation Notes */
.installation-notes {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.installation-notes h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.notes-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.note-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.note-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.note-item ul {
    padding-left: 1.5rem;
}

.note-item li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Changelog Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 50vh;
}

/* Responsive Design for Old Versions Page */
@media (max-width: 768px) {
    .versions-hero h1 {
        font-size: 2rem;
    }

    .versions-subtitle {
        font-size: 1rem;
    }

    .versions-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .versions-grid {
        grid-template-columns: 1fr;
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .version-meta {
        text-align: left;
        margin-top: 0.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .filter-options {
        flex-direction: column;
    }

    .filter-options select {
        width: 100%;
    }

    .version-actions {
        flex-direction: column;
    }

    .download-btn {
        min-width: auto;
        width: 100%;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .download-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .notes-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .versions-header {
        padding: 2rem 1rem;
        margin: 0 1rem 2rem;
    }

    .versions-controls {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }

    .versions-grid {
        margin: 0 1rem 2rem;
        gap: 1rem;
    }

    .version-card {
        padding: 1.5rem;
    }

    .versions-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }

    .modal {
        padding: 1rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .versions-info,
    .installation-notes {
        margin: 0 1rem 2rem;
    }

    /* Hero Featured Image Mobile Styles */
    .hero-featured-img {
        max-width: 250px;
        border-radius: 15px;
        border: 3px solid rgba(255,255,255,0.3);
    }

    .hero-featured-img:hover {
        transform: translateY(-5px) scale(1.02);
    }
}
