/* ==========================================================================
   بومیAI — استایل اصلی صفحه‌ی اصلی
   تم تیره با اکسنت بنفش و فیروزه‌ای
   ========================================================================== */

:root {
    --bg: #07070f;
    --bg-soft: #0c0c18;
    --card: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --purple: #7c5cff;
    --purple-2: #a855f7;
    --cyan: #22d3ee;
    --grad: linear-gradient(120deg, var(--cyan), var(--purple-2) 55%, var(--purple));

    --text: #e8e9f3;
    --text-dim: #9aa0b8;
    --text-faint: #6b7087;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(124, 92, 255, 0.35);

    --font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
}

/* ---------- پایه ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.section { padding: 96px 0; position: relative; }

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- پس‌زمینه‌ی تزئینی ---------- */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(600px 400px at 85% -5%, rgba(124, 92, 255, 0.22), transparent 60%),
        radial-gradient(700px 500px at 0% 30%, rgba(34, 211, 238, 0.10), transparent 60%),
        radial-gradient(800px 600px at 60% 100%, rgba(168, 85, 247, 0.12), transparent 65%);
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
    pointer-events: none;
}

/* ---------- دکمه‌ها ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(120deg, var(--purple), var(--purple-2));
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(124, 92, 255, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--purple);
    background: rgba(124, 92, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-outline:hover { border-color: var(--purple); color: #fff; background: rgba(124, 92, 255, 0.1); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--purple); background: rgba(124, 92, 255, 0.12); transform: translateY(-1px); }

/* ---------- هدر ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 15, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(7, 7, 15, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: inline-flex;
    color: var(--cyan);
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.5));
}

.brand-logo svg { width: 100%; height: 100%; }

.brand-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.06); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* نوار جستجو */
.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.search-bar.open { max-height: 120px; }

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
}

.search-form svg { width: 20px; height: 20px; color: var(--text-faint); flex-shrink: 0; }

.search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.95rem;
}

.search-form input::placeholder { color: var(--text-faint); }

/* ---------- هیرو ---------- */
.hero {
    padding-top: 70px;
    padding-bottom: 40px;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    margin-bottom: 22px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 20px;
}

.hero-sub {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.hero-trust strong { color: var(--text); }

.avatars { display: flex; }

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border: 2px solid var(--bg);
    margin-inline-start: -8px;
}

.avatar:first-child { margin-inline-start: 0; }

/* تصویرسازی هیرو */
.hero-visual { position: relative; display: flex; justify-content: center; }

.ai-core {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-glow {
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.45), rgba(34, 211, 238, 0.18) 55%, transparent 70%);
    filter: blur(8px);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.12); opacity: 1; }
}

.ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: rgba(124, 92, 255, 0.55);
}

.ring-1 { animation: spin 26s linear infinite; }
.ring-2 { color: rgba(34, 211, 238, 0.45); animation: spin 18s linear infinite reverse; }

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

.core-node {
    position: relative;
    width: 150px;
    height: 150px;
    color: var(--cyan);
    filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.65));
    animation: float 5s ease-in-out infinite;
}

.core-node svg { width: 100%; height: 100%; }

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

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(16, 16, 30, 0.85);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    font-size: 0.8rem;
    line-height: 1.5;
    animation: float 6s ease-in-out infinite;
}

.float-chip strong { display: block; font-size: 0.88rem; color: #fff; }
.float-chip small { color: var(--text-faint); }

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

.chip-1 { top: 6%; right: -4%; animation-delay: 0.4s; }
.chip-2 { bottom: 12%; left: -8%; animation-delay: 1.2s; }
.chip-3 { top: 46%; left: -16%; animation-delay: 2s; }

/* ---------- لوگوهای همکار ---------- */
.partners { padding: 40px 0 20px; border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }

.partners-label {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 44px;
}

.partner-logo {
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.3s;
    cursor: default;
}

.partner-logo:hover { color: rgba(255, 255, 255, 0.75); }

/* ---------- سرتیتر سکشن‌ها ---------- */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 14px;
}

.section-sub { color: var(--text-dim); }

/* ---------- خدمات ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform 0.3s ease, border-color 0.3s, background 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px 150px at 50% 0%, rgba(124, 92, 255, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, 0.45);
    background: var(--card-hover);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.09);
    border: 1px solid rgba(34, 211, 238, 0.22);
}

.service-icon svg { width: 26px; height: 26px; }

.icon-bot, .icon-automation { color: var(--purple-2); background: rgba(168, 85, 247, 0.09); border-color: rgba(168, 85, 247, 0.25); }
.icon-content, .icon-nlp { color: var(--cyan); background: rgba(34, 211, 238, 0.09); border-color: rgba(34, 211, 238, 0.22); }
.icon-platform { color: #f0abfc; background: rgba(240, 171, 252, 0.09); border-color: rgba(240, 171, 252, 0.25); }

.service-title { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.service-desc { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cyan);
    transition: gap 0.2s;
}

.service-link svg { width: 16px; height: 16px; }
.service-link:hover { gap: 10px; }

/* ---------- آمار ---------- */
.stats {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.05) 50%, transparent);
    border-block: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
}

.stat-label { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- اخبار و ایجنت‌ها ---------- */
.news-section { background: linear-gradient(180deg, transparent, rgba(7, 7, 15, 0.6)); }

.news-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: start;
}

.news-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.news-column-head h3 { font-size: 1.2rem; font-weight: 800; }

.see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan);
    transition: gap 0.2s;
}

.see-all svg { width: 15px; height: 15px; }
.see-all:hover { gap: 10px; }

.news-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 16px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.news-card-content { flex: 1; min-width: 0; }

/* بندانگشتی کاور اخبار */
.news-card-thumb {
    flex-shrink: 0;
    width: 190px;
    height: 100px;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
    object-position: center 38%;
    display: block;
}

.news-card-thumb-sm {
    width: 88px;
    height: 88px;
    border-radius: 12px;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.35);
    background: var(--card-hover);
}

.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.news-cat {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--purple-2);
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 3px 12px;
    border-radius: 999px;
}

.news-date { color: var(--text-faint); font-size: 0.78rem; }

.news-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.7;
}

.news-excerpt { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 14px; }

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

.news-tag {
    font-size: 0.76rem;
    color: var(--text-faint);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 3px 12px;
    border-radius: 999px;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
}

.news-more svg { width: 14px; height: 14px; }

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.agent-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.agent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 92, 255, 0.45);
    background: var(--card-hover);
    box-shadow: var(--shadow-glow);
}

.agent-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

.agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 92, 255, 0.14));
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.agent-avatar svg { width: 22px; height: 22px; }

.agent-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 999px;
}

.status-new { color: var(--cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3); }
.status-hot { color: #fda4af; background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.3); }
.status-update { color: #fde68a; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); }

.agent-name { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.agent-desc { color: var(--text-dim); font-size: 0.83rem; margin-bottom: 14px; flex: 1; }

.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.agent-tag {
    font-size: 0.72rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 2px 10px;
    border-radius: 999px;
}

.agent-try { width: 100%; }

/* ---------- تعرفه‌ها ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.price-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.price-card.featured {
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.12), rgba(124, 92, 255, 0.03));
    border-color: rgba(124, 92, 255, 0.55);
    box-shadow: var(--shadow-glow);
}

.price-ribbon {
    position: absolute;
    top: -13px;
    right: 50%;
    transform: translateX(50%);
    background: var(--grad);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }

.price-value { margin-bottom: 24px; }

.price-num {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1.3;
}

.price-currency { color: var(--text-faint); font-size: 0.82rem; }

.price-features { margin-bottom: 28px; flex: 1; }

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-block: 7px;
}

.price-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--cyan);
}

.price-card.featured .price-features svg { color: var(--purple-2); }

.price-cta { width: 100%; }

/* ---------- نظرات ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.4); }

.stars { display: flex; gap: 3px; margin-bottom: 16px; color: rgba(255, 255, 255, 0.12); }

.star { width: 18px; height: 18px; }
.star.filled { color: #fbbf24; }

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 2;
    margin-bottom: 22px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.testimonial-author strong { display: block; font-size: 0.93rem; }
.testimonial-author small { color: var(--text-faint); font-size: 0.8rem; }

/* ---------- CTA ---------- */
.cta-section { padding: 40px 0 96px; }

.cta-card {
    position: relative;
    background: linear-gradient(120deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.07));
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 26px;
    padding: 60px 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(400px 200px at 80% 20%, rgba(124, 92, 255, 0.35), transparent 60%),
                radial-gradient(400px 200px at 20% 90%, rgba(34, 211, 238, 0.22), transparent 60%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-sub { color: var(--text-dim); margin-bottom: 28px; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-art { position: relative; z-index: 1; flex-shrink: 0; }

.rocket {
    width: 170px;
    height: 170px;
    color: var(--cyan);
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.5));
    animation: float 5s ease-in-out infinite;
}

.rocket svg { width: 100%; height: 100%; }

/* ---------- فوتر ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-desc { color: var(--text-dim); font-size: 0.88rem; margin: 16px 0 20px; max-width: 300px; }

.socials { display: flex; gap: 10px; }

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all 0.25s;
}

.socials a:hover {
    color: #fff;
    background: rgba(124, 92, 255, 0.2);
    border-color: var(--purple);
    transform: translateY(-2px);
}

.socials svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 18px;
}

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

.footer-col ul a {
    color: var(--text-dim);
    font-size: 0.88rem;
    transition: color 0.2s, padding-right 0.2s;
}

.footer-col ul a:hover { color: var(--cyan); }

.contact-list li { color: var(--text-dim); font-size: 0.88rem; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-faint);
    font-size: 0.82rem;
    flex-wrap: wrap;
}

/* ---------- نماد اعتماد الکترونیکی (اینماد) ---------- */
.enamad-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.enamad-badge:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 26px rgba(34, 211, 238, 0.18);
    transform: translateY(-2px);
}

.enamad-badge img {
    display: block;
    width: 88px;
    height: auto;
    border-radius: 6px;
}

.made-with-link {
    text-decoration: none;
    transition: opacity 0.2s, filter 0.2s;
}

.made-with-link:hover {
    opacity: 0.85;
    filter: brightness(1.25);
    text-decoration: underline;
}

/* ---------- انیمیشن ظاهر شدن ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--d, 0ms);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .ring, .core-node, .float-chip, .rocket, .badge-dot, .core-glow { animation: none !important; }
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { margin-top: 30px; }
    .chip-1 { right: 2%; }
    .chip-2 { left: 0; }
    .chip-3 { left: -4%; }
    .services-grid, .pricing-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        inset: 0 0 auto 0;
        top: 64px;
        background: rgba(7, 7, 15, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .main-nav.open { transform: translateY(0); }

    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }

    .main-nav a { text-align: center; padding: 12px; font-size: 1rem; }

    .hamburger { display: inline-flex; }

    .hero { min-height: auto; padding-top: 50px; }
    .cta-card { flex-direction: column; text-align: center; padding: 44px 28px; }
    .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .services-grid, .pricing-grid, .testimonials-grid, .agents-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .ai-core { width: 260px; height: 260px; }
    .core-node { width: 110px; height: 110px; }
    .float-chip { padding: 8px 12px; font-size: 0.72rem; }
    .chip-1 { top: 0; right: -2%; }
    .chip-2 { bottom: 6%; left: -2%; }
    .chip-3 { top: 40%; left: -10%; }
    .header-actions .btn-sm { display: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   صفحات اخبار و مقاله
   ========================================================================== */

.news-title a { color: inherit; transition: color 0.2s; }
.news-title a:hover { color: var(--cyan); }

/* ---------- هدر صفحات ---------- */
.page-hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.page-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 14px;
}

.page-sub { color: var(--text-dim); }

/* ---------- فیلتر دسته‌بندی ---------- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.chip:hover { color: #fff; border-color: var(--purple); background: rgba(124, 92, 255, 0.12); }

.chip.active {
    color: #fff;
    background: linear-gradient(120deg, var(--purple), var(--purple-2));
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(124, 92, 255, 0.35);
}

/* ---------- فهرست اخبار ---------- */
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card-lg {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
    padding: 24px;
    border-radius: var(--radius);
}

.news-card-body { min-width: 0; }

.notice {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-faint);
    padding: 60px 0;
}

.page-bottom-cta {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 48px;
}

.page-bottom-cta a { color: var(--cyan); font-weight: 700; }
.page-bottom-cta a:hover { text-decoration: underline; }

/* ---------- صفحه‌ی مقاله ---------- */
.article-section { padding-top: 56px; }

.article-wrap {
    width: min(820px, 92%);
    margin-inline: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--text-faint);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 14px; height: 14px; }

.article-header { text-align: center; margin-bottom: 44px; }

.article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: block;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.article-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-lead {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 24px;
}

.article-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.article-author .testimonial-avatar { width: 36px; height: 36px; font-size: 0.85rem; }

.article-body {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 42px;
    margin-bottom: 28px;
}

.article-body p {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 2.2;
    margin-bottom: 20px;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 34px 0 14px;
    color: var(--cyan);
}

.article-body h3:first-child { margin-top: 0; }

.article-body blockquote {
    border-inline-start: 3px solid var(--purple);
    background: rgba(124, 92, 255, 0.08);
    padding: 18px 22px;
    border-radius: 12px;
    margin: 24px 0;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 2;
}

.article-tags { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }

.article-actions { margin-bottom: 56px; }

/* اخبار مرتبط */
.related-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.4);
    background: var(--card-hover);
}

.related-emoji {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.25);
}

.related-cat { color: var(--text-faint); font-size: 0.74rem; }

.related-head {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
    flex: 1;
}

.related-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
}

.related-more svg { width: 14px; height: 14px; }

@media (max-width: 1024px) {
    .news-list { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .news-card-lg { flex-direction: column; align-items: flex-start; gap: 14px; }
    .news-card-lg .news-card-thumb { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-position: center; }
    .news-card-thumb-sm { width: 76px; height: 76px; }
    .article-body { padding: 26px 22px; }
}
