@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --accent-color: #f1c40f;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --surface-color: #ffffff;
    --border-color: #e2e8f0;
    --heading-color: var(--text-color);
    --card-bg: var(--bg-color);
    --footer-bg: #0f172a;
    --step-bg-1: #f0fdf4;
    --step-bg-2: #eff6ff;
    --step-bg-3: #fefce8;
    --blog-icon-bg-1: #e0f2fe;
    --blog-icon-bg-2: #f0fdf4;
    --blog-icon-bg-3: #fff1f2;
    --gradient-primary: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --gradient-premium: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --surface-color: #1e293b;
    --border-color: #334155;
    --heading-color: var(--primary-color);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --card-bg: #1e293b;
    --footer-bg: #0b1120;
    --step-bg-1: #064e3b;
    --step-bg-2: #1e3a8a;
    --step-bg-3: #713f12;
    --blog-icon-bg-1: #0c4a6e;
    --blog-icon-bg-2: #064e3b;
    --blog-icon-bg-3: #881337;
}

[data-theme="dark"] .hero h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--surface-color);
    opacity: 0.95;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active {
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, var(--surface-color) 0%, transparent 50%),
                radial-gradient(circle at bottom left, var(--surface-color) 0%, transparent 50%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px -8px rgba(46, 204, 113, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-primary {
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.4);
}

/* Breadcrumbs Styling */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs li::after {
    content: "/";
    margin-right: 0.5rem;
}

.breadcrumbs li:last-child::after {
    content: "";
}

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

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

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--surface-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.about-content .section-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.about-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

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

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

[data-theme="dark"] .floating-badge {
    background: var(--surface-color);
    color: var(--text-color);
}

.floating-badge i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.floating-badge span {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Premium Features Grid */
.premium-features {
    padding: 100px 0;
    background: var(--bg-color);
}

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

.premium-feature-card {
    background: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.premium-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.premium-feature-card:hover .premium-feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
}

.premium-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.premium-feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .about-features li {
        justify-content: center;
    }
    .about-content h2 {
        font-size: 2rem;
    }
    .about-image {
        order: -1;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

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

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

/* Steps Section */
.steps {
    padding: 100px 0;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.step-image {
    flex: 1;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.step-image-bg-1 { background: var(--step-bg-1) !important; }
.step-image-bg-2 { background: var(--step-bg-2) !important; }
.step-image-bg-3 { background: var(--step-bg-3) !important; }

.step-image img {
    width: 100%;
    border-radius: 10px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    transition: var(--transition);
}

.faq-item.active {
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 40px 0;
}

.blog-card {
    background: var(--surface-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

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

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

.blog-card-image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.blog-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

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

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

/* Post Content */
/* Post Layout Improvements */
/* Unified Article Box Layout */
.post-header-section {
    padding: 160px 20px 40px;
    background: var(--bg-color);
    text-align: center;
}

.post-featured-image {
    max-width: 900px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    display: block;
    transition: var(--transition);
}

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

.post-wrapper {
    width: 100%;
    max-width: 860px;
    margin: 90px auto 80px;
    padding: 0 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    animation: fadeInUp 0.8s ease-out;
    box-sizing: border-box;
}

.blog-preview {
    padding: 60px 0 !important;
}

.blog-preview .container {
    padding: 0 15px;
}

.blog-preview .blog-grid {
    background: var(--surface-color);
    border-radius: 24px;
    padding: 20px !important;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin: 0;
    gap: 1rem;
}

.blog-preview .blog-card {
    box-shadow: none !important;
    border: none !important;
    background: var(--bg-color) !important;
    border-radius: 16px;
}

.blog-preview .blog-icon {
    height: 120px;
}

.blog-preview .section-header h2 {
    font-size: 1.8rem;
}

.post-box-header {
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: none;
}

.post-category-pill {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-box-header h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin: 0 auto 1.25rem;
    line-height: 1.3;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    justify-content: center;
    align-items: center;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.post-content {
    padding: 0 0 60px;
    line-height: 1.9;
    color: var(--text-color);
    font-size: 1.05rem;
}

.post-featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
    display: block;
    border: 1px solid var(--border-color);
}

.post-content ul,
.post-content ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.post-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .post-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 70px 0 40px !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    .post-box-header {
        padding: 25px 0 15px !important;
    }
    .post-content {
        padding: 0 0 40px !important;
        font-size: 1rem;
        line-height: 1.85;
    }
    .post-container {
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .post-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 65px 0 30px !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }
    .post-box-header {
        padding: 15px 0 10px !important;
    }
    .post-box-header h1 {
        font-size: clamp(1.25rem, 5.5vw, 1.7rem);
    }
    .post-content {
        font-size: 0.97rem !important;
        line-height: 1.8;
    }
    .content-box {
        padding: 1rem !important;
        margin: 1.25rem 0 !important;
    }
    .post-container {
        padding: 0 !important;
        margin: 0 !important;
    }
}

.post-header .blog-meta {
    display: none;
}

.post-header .feature-icon {
    display: none;
}

/* Blog Icon Variants */
.blog-icon-1 { background: rgba(16, 185, 129, 0.1); color: var(--primary-color); }
.blog-icon-2 { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.blog-icon-3 { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }
.blog-icon-4 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.blog-icon-5 { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.blog-icon-6 { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.blog-icon-7 { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.blog-icon-8 { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.blog-icon-9 { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.blog-icon-10 { background: rgba(16, 185, 129, 0.1); color: #10b981; }


.post-content h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin: 2.5rem 0 1rem;
    color: var(--heading-color);
    font-weight: 700;
}

.post-content h3 {
    font-size: clamp(1.05rem, 3.5vw, 1.25rem);
    margin: 1.75rem 0 0.75rem;
    color: var(--heading-color);
}

.post-content p {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.post-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Footer (existing) */
footer {
    background: var(--footer-bg);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

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

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #000000; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.youtube:hover { background: #ff0000; }
.social-link.telegram:hover { background: #0088cc; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
    .hero p { font-size: 1.1rem; }
    .step-item { flex-direction: column !important; text-align: center; gap: 2rem; }
    .step-item:nth-child(even) { flex-direction: column !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { gap: 1.5rem; padding: 30px 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: clamp(1.8rem, 10vw, 2.2rem); }
    .post-header-section { padding: 100px 0 30px; }
    .post-container { margin-top: 0; padding: 0; }
    .btn-group { flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; text-align: center; padding: 1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info { display: flex; flex-direction: column; align-items: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 1.75rem; }
    .section-header h2 { font-size: 1.8rem; }
    .blog-card h3 { font-size: 1.1rem; }
    .blog-content { padding: 1.25rem; }
    .blog-icon { height: 140px; }
    .blog-icon i { font-size: 3rem; }
    .download-box { padding: 1.5rem; border-radius: 20px; }
    .feature-item { padding: 1.5rem; flex-direction: column; align-items: center; text-align: center; }
    .contact-item { padding: 1.5rem; flex-direction: column; text-align: center; }
}

/* Download Page Components */
.download-box {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 3rem auto;
    border: 1px solid var(--border-color);
}

.download-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 100px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Contact Page Components */
.contact-info-list {
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-hint {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 140px 0 80px; }
    .post-header-section { padding: 120px 0 40px; }
    .post-container { margin-top: 40px; }
    .btn-group { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    clip-path: circle(0% at bottom right);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    visibility: hidden;
}

.mobile-menu-overlay.active {
    clip-path: circle(150% at bottom right);
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 25px;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.overlay-links {
    list-style: none;
    text-align: center;
    width: 100%;
}

.overlay-links li {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active .overlay-links li {
    opacity: 1;
    transform: translateY(0);
}

.overlay-links li:nth-child(1) { transition-delay: 0.1s; }
.overlay-links li:nth-child(2) { transition-delay: 0.2s; }
.overlay-links li:nth-child(3) { transition-delay: 0.3s; }
.overlay-links li:nth-child(4) { transition-delay: 0.4s; }
.overlay-links li:nth-child(5) { transition-delay: 0.5s; }

.overlay-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    font-weight: 700;
    transition: var(--transition);
    display: block;
    padding: 15px;
}

.overlay-links a:hover {
    color: var(--primary-color);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }
}

/* Article Content Boxes */
.content-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-right: 5px solid transparent;
    transition: var(--transition);
}

.content-box h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box.primary {
    background: rgba(46, 204, 113, 0.08);
    border-right-color: var(--primary-color);
}

.content-box.secondary {
    background: rgba(52, 152, 219, 0.08);
    border-right-color: var(--secondary-color);
}

.content-box.warning {
    background: rgba(243, 156, 18, 0.08);
    border-right-color: #f39c12;
}

.content-box.purple {
    background: rgba(139, 92, 246, 0.08);
    border-right-color: #8b5cf6;
}

.content-box.red {
    background: rgba(231, 76, 60, 0.08);
    border-right-color: #e74c3c;
}

[data-theme="dark"] .content-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .content-box.primary { background: rgba(46, 204, 113, 0.15); }
[data-theme="dark"] .content-box.secondary { background: rgba(52, 152, 219, 0.15); }
[data-theme="dark"] .content-box.warning { background: rgba(243, 156, 18, 0.15); }
[data-theme="dark"] .content-box.purple { background: rgba(139, 92, 246, 0.15); }
[data-theme="dark"] .content-box.red { background: rgba(231, 76, 60, 0.15); }

/* Table Container for Mobile */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.table-container table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--surface-color);
}

.table-container th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: right;
}

.table-container td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .table-container td {
    color: var(--text-color);
}

/* Download Timer Section */
.download-timer-container {
    display: none;
    margin-top: 2rem;
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.download-timer-container.active {
    display: block;
}

.timer-message {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.progress-container {
    width: 100%;
    height: 12px;
    background: var(--bg-color);
    border-radius: 50px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .download-timer-container {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.1);
}
