@font-face {
    font-family: 'Pelak';
    src: url('https://s786mc.github.io/AI_everywhere/o/pelak.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pelak','Vazirmatn', system-ui, -apple-system, sans-serif;
}

:root {
    /* رنگ‌های مشترک */
    --transition-speed: 0.3s;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 12px 36px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color var(--transition-speed);
}

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

/* نوار ناوبری */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

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

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: #2575fc;
    background-color: rgba(37, 117, 252, 0.05);
}

/* فوتر */
.footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-links a:hover {
    color: #2575fc;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* استایل‌های مشترک صفحات */
.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.ai-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.ai-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.ai-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

.ai-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.ai-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.ai-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.ai-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.ai-link {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    text-align: center;
    width: 100%;
}

/* ==================== */
/* استایل‌های صفحه اصلی */
/* ==================== */
.index-page {
    background: linear-gradient(135deg, #fdf6e3 0%, #f5f5f5 50%, #f0f0f0 100%);
}

.index-page .navbar {
    background-color: rgba(253, 246, 227, 0.95);
}

.index-page .logo {
    color: #8B7355;
}

.index-page .nav-links a {
    color: #8B7355;
}

.index-page .nav-links a:hover {
    color: #D4A76A;
    background-color: rgba(212, 167, 106, 0.1);
}

.index-page .page-header h1 {
    background: linear-gradient(90deg, #8B7355 0%, #D4A76A 50%, #8B7355 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.index-page .ai-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.index-page .ai-link {
    background-color: #8B7355;
    color: white;
}

.index-page .ai-link:hover {
    background-color: #D4A76A;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 167, 106, 0.3);
}

.index-page .footer {
    background-color: rgba(253, 246, 227, 0.95);
}

/* ==================== */
/* استایل‌های صفحه DeepSeek */
/* ==================== */
.deepseek-page {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.deepseek-page .navbar {
    background-color: rgba(240, 248, 255, 0.95);
}

.deepseek-page .logo {
    color: #0066cc;
}

.deepseek-page .logo-icon::before {
    content: "";
}

.deepseek-page .nav-links a {
    color: #0066cc;
}

.deepseek-page .nav-links a:hover {
    color: #0099ff;
    background-color: rgba(0, 153, 255, 0.1);
}

.deepseek-page .page-header h1 {
    background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.deepseek-page .ai-icon {
    background: linear-gradient(135deg, #0066cc, #0099ff);
}

.deepseek-page .ai-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 153, 255, 0.2);
}

.deepseek-page .ai-link {
    background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
    color: white;
}

.deepseek-page .ai-link:hover {
    background: linear-gradient(90deg, #0099ff 0%, #00ccff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 153, 255, 0.3);
}

.deepseek-page .footer {
    background-color: rgba(240, 248, 255, 0.95);
}

/* ==================== */
/* استایل‌های صفحه ChatGPT */
/* ==================== */
.chatgpt-page {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
}

.chatgpt-page .navbar {
    background-color: rgba(240, 255, 244, 0.95);
}

.chatgpt-page .logo {
    color: #10a37f;
}

.chatgpt-page .logo-icon::before {
    content: "";
}

.chatgpt-page .nav-links a {
    color: #10a37f;
}

.chatgpt-page .nav-links a:hover {
    color: #0d8c6d;
    background-color: rgba(16, 163, 127, 0.1);
}

.chatgpt-page .page-header h1 {
    background: linear-gradient(90deg, #10a37f 0%, #0d8c6d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.chatgpt-page .ai-icon {
    background: linear-gradient(135deg, #10a37f, #0d8c6d);
}

.chatgpt-page .ai-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(16, 163, 127, 0.2);
}

.chatgpt-page .ai-link {
    background: linear-gradient(90deg, #10a37f 0%, #0d8c6d 100%);
    color: white;
}

.chatgpt-page .ai-link:hover {
    background: linear-gradient(90deg, #0d8c6d 0%, #10a37f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 163, 127, 0.3);
}

.chatgpt-page .footer {
    background-color: rgba(240, 255, 244, 0.95);
}

/* ==================== */
/* استایل‌های صفحه Copilot */
/* ==================== */
.copilot-page {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.copilot-page .navbar {
    background-color: rgba(255, 248, 225, 0.95);
}

.copilot-page .logo {
    color: #f9a825;
}

.copilot-page .logo-icon::before {
    content: "";
}

.copilot-page .nav-links a {
    color: #f9a825;
}

.copilot-page .nav-links a:hover {
    color: #ffb300;
    background-color: rgba(249, 168, 37, 0.1);
}

.copilot-page .page-header h1 {
    background: linear-gradient(90deg, #f9a825 0%, #ffb300 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.copilot-page .ai-icon {
    background: linear-gradient(135deg, #f9a825, #ffb300);
}

.copilot-page .ai-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(249, 168, 37, 0.2);
}

.copilot-page .ai-link {
    background: linear-gradient(90deg, #f9a825 0%, #ffb300 100%);
    color: #333;
}

.copilot-page .ai-link:hover {
    background: linear-gradient(90deg, #ffb300 0%, #ffca28 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 168, 37, 0.3);
}

.copilot-page .footer {
    background-color: rgba(255, 248, 225, 0.95);
}

/* ==================== */
/* استایل‌های صفحه Gemini */
/* ==================== */
.gemini-page {
    background: linear-gradient(135deg, #e8f4fd 0%, #d4e9fa 100%);
}

.gemini-page .navbar {
    background-color: rgba(232, 244, 253, 0.95);
}

.gemini-page .logo {
    color: #4285f4;
}

.gemini-page .logo-icon::before {
    content: "";
}

.gemini-page .nav-links a {
    color: #4285f4;
}

.gemini-page .nav-links a:hover {
    color: #669df6;
    background-color: rgba(66, 133, 244, 0.1);
}

.gemini-page .page-header h1 {
    background: linear-gradient(90deg, #4285f4 0%, #669df6 50%, #8ab4f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gemini-page .ai-icon {
    background: linear-gradient(135deg, #4285f4, #8ab4f8);
}

.gemini-page .ai-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.gemini-page .ai-link {
    background: linear-gradient(90deg, #4285f4 0%, #669df6 100%);
    color: white;
}

.gemini-page .ai-link:hover {
    background: linear-gradient(90deg, #669df6 0%, #8ab4f8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 133, 244, 0.3);
}

.gemini-page .footer {
    background-color: rgba(232, 244, 253, 0.95);
}

/* صفحه‌های اختصاصی AI */
.ai-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.ai-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.ai-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.ai-detail-title h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.ai-detail-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
}

.ai-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.ai-description {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
}

.ai-description h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.ai-description p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.ai-features {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
}

.ai-features h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.ai-features ul {
    list-style: none;
}

.ai-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .ai-detail-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ai-card-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .ai-detail-header {
        justify-content: center;
        text-align: center;
    }
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-card, .ai-detail-header, .ai-description, .ai-features {
    animation: fadeInUp 0.6s ease-out forwards;
}

.ai-card:nth-child(2) { animation-delay: 0.1s; }
.ai-card:nth-child(3) { animation-delay: 0.2s; }
.ai-card:nth-child(4) { animation-delay: 0.3s; }
/* ===== Slider Wrapper ===== */
.blog-slider {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

/* ===== Track ===== */
.blog-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

/* ===== Single Card ===== */
.blog-card {
    min-width: 100%;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    font-family: 'Mikhak';
    color: #fff;
}

/* ===== Header ===== */
.blog-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-card-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== Title ===== */
.blog-card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

/* ===== Description ===== */
.blog-card-desc {
    margin: 14px 0 22px;
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ===== Button ===== */
.blog-card-link {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.blog-card-link:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ===== Nav Buttons ===== */
.blog-nav {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.blog-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .blog-card {
        padding: 20px;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
}