﻿:root {
    --bg-page: #07111f;
    --bg: #07111f;
    --bg-soft: #0c1b31;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --card: rgba(12, 27, 49, 0.75);
    --text: #eef4ff;
    --muted: #bfd0ea;
    --primary: #4f8cff;
    --primary-2: #6a5cff;
    --accent: #22c55e;
    --gold: #ffcc66;
    --danger: #ff6b6b;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: radial-gradient(circle at top right, rgba(79, 140, 255, 0.25), transparent 24%), radial-gradient(circle at top left, rgba(106, 92, 255, 0.18), transparent 28%), linear-gradient(180deg, #06101d 0%, #091728 42%, #07111f 100%);
    color: var(--text);
    line-height: 1.9;
    overflow-x: hidden;
}

    body::before,
    body::after {
        content: "";
        position: fixed;
        border-radius: 50%;
        filter: blur(80px);
        z-index: -1;
        opacity: 0.35;
    }

    body::before {
        width: 280px;
        height: 280px;
        background: #4f8cff;
        top: 80px;
        right: -60px;
    }

    body::after {
        width: 240px;
        height: 240px;
        background: #6a5cff;
        bottom: 50px;
        left: -50px;
    }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    font-weight: 900;
    line-height: 1.4;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 48px;
    font-size: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #dce8ff;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    min-height: 52px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 12px 30px rgba(79, 140, 255, 0.35);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 36px rgba(79, 140, 255, 0.45);
    }

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-color: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.1);
    }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        border-color: rgba(79, 140, 255, 0.35);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 31, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

/*    .logo::before {
        content: "M";
        color: var(--gold);
        font-size: 1.2rem;
    }*/

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #d7e4fa;
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 0.96rem;
        transition: 0.25s ease;
    }

        .nav-links a:hover {
            background: rgba(255,255,255,0.08);
            color: white;
        }

.nav-cta {
    white-space: nowrap;
}
/* Hero */

.hero {
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.35;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-feature {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #d7e4fa;
    text-align: center;
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
}

.hero-panel {
    padding: 26px;
    border-radius: var(--radius-xl);
    background: linear-gradient( 180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04) ), rgba(9, 23, 40, 0.75);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .hero-panel::before {
        content: "";
        position: absolute;
        inset: auto -40px -60px auto;
        width: 180px;
        height: 180px;
        background: radial-gradient( circle, rgba(79,140,255,0.35), transparent 70% );
        border-radius: 50%;
    }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.stat-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 18px;
}

    .stat-box strong {
        display: block;
        font-size: 1.7rem;
        color: white;
        margin-bottom: 8px;
    }

    .stat-box span {
        color: var(--muted);
        font-size: 0.95rem;
    }

.hero-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #fff2c4;
    background: rgba(255,204,102,0.14);
    border: 1px solid rgba(255,204,102,0.26);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    width: fit-content;
}

/* Generic grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Ranks */

.rank-card {
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .rank-card::after {
        content: "";
        position: absolute;
        top: -50px;
        left: -30px;
        width: 120px;
        height: 120px;
        background: radial-gradient( circle, rgba(79,140,255,0.25), transparent 70% );
        border-radius: 50%;
    }

.rank-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 14px;
}

.rank-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.rank-card p {
    color: var(--muted);
}

/* Services */

.service-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 900;
    background: linear-gradient( 135deg, rgba(79,140,255,0.2), rgba(106,92,255,0.25) );
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--muted);
}

/* Pricing */

.pricing-card {
    padding: 32px 26px;
    position: relative;
}

    .pricing-card h3 {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

.price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 18px;
}

    .price span {
        font-size: 1rem;
        color: var(--muted);
        font-weight: 500;
    }

.pricing-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 28px;
    color: #dce8ff;
}

    .pricing-card ul li {
        position: relative;
        padding-right: 22px;
    }

        .pricing-card ul li::before {
            content: "✓";
            position: absolute;
            right: 0;
            color: var(--accent);
            font-weight: 900;
        }

.pricing-featured {
    border: 1px solid rgba(255,204,102,0.34);
    transform: scale(1.02);
    background: linear-gradient( 180deg, rgba(255,204,102,0.08), rgba(255,255,255,0.03) ), rgba(12,27,49,0.82);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient( 135deg, #ffcc66, #ffb347 );
    color: #332100;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(255,179,71,0.25);
}
/* Team */

.team-card {
    padding: 26px;
    text-align: center;
}

.avatar {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: white;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2) );
    box-shadow: 0 14px 30px rgba(79,140,255,0.28);
}

.team-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.team-card p {
    color: var(--muted);
    font-size: 0.97rem;
}

/* Testimonials */

.testimonial-card {
    padding: 28px;
    position: relative;
}

.quote {
    font-size: 2.3rem;
    line-height: 1;
    color: rgba(255,255,255,0.18);
    margin-bottom: 10px;
    font-weight: 900;
}

.testimonial-card p {
    color: #ecf3ff;
    margin-bottom: 14px;
}

.testimonial-card h4 {
    color: var(--gold);
    font-size: 0.98rem;
}

/* Mini Cards */

.mini-card {
    padding: 24px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .mini-card h3 {
        margin-bottom: 12px;
        font-size: 1.08rem;
    }

    .mini-card a {
        color: #8fb5ff;
        font-weight: 700;
    }

        .mini-card a:hover {
            color: white;
        }

/* FAQ */

.faq-list {
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
}

    .faq-item h4 {
        margin-bottom: 10px;
        font-size: 1.05rem;
        color: white;
    }

    .faq-item p {
        color: var(--muted);
    }

/* Contact */

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    padding: 30px;
}

    .contact-info p {
        color: var(--muted);
        margin-top: 12px;
    }

.contact-list {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

    .contact-list li {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 14px 16px;
        color: #dce8ff;
    }

form {
    display: grid;
    gap: 16px;
}

label {
    font-size: 0.95rem;
    color: #dce8ff;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    margin-top: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    padding: 14px 16px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.25s ease;
}

    input:focus,
    textarea:focus {
        border-color: rgba(79,140,255,0.7);
        box-shadow: 0 0 0 4px rgba(79,140,255,0.12);
    }

textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-note {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 6px;
}

/* Footer Base */

.footer {
    padding: 28px 0 40px;
    text-align: center;
    color: #b9c9e4;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 20px;
}

/* Reveal Animation */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.12s;
}

.delay-2 {
    animation-delay: 0.24s;
}

.delay-3 {
    animation-delay: 0.36s;
}

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {

    .hero-grid,
    .contact-wrap,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    .nav {
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        justify-content: center;
    }

    .hero {
        padding-top: 48px;
    }

    .section {
        padding: 70px 0;
    }

    .rank-number {
        font-size: 2.4rem;
    }

    .price {
        font-size: 1.75rem;
    }
}

@media (max-width: 560px) {

    .container {
        width: min(94%, var(--container));
    }

    .logo {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Theme System
========================= */

[data-theme="light"] {
    --bg: #f7faff;
    --bg-soft: #edf3ff;
    --card: #ffffff;
    --text: #162338;
    --muted: #607089;
    --border: rgba(0,0,0,.08);
    --surface: rgba(0,0,0,.04);
    --surface-strong: rgba(0,0,0,.08);
}

[data-theme="dark"] {
    --bg: #07111f;
    --bg-soft: #0c1b31;
    --card: rgba(12,27,49,.82);
    --text: #eef4ff;
    --muted: #bfd0ea;
    --border: rgba(255,255,255,.12);
}

/* =========================
   Light Theme Fixes
========================= */

[data-theme="light"] body {
    background: linear-gradient( 180deg, #f8fbff 0%, #edf3ff 100% ) !important;
    color: #132033 !important;
}

[data-theme="light"] .header {
    background: rgba(255,255,255,.88) !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

[data-theme="light"] .card,
[data-theme="light"] .hero-panel {
    background: #ffffff !important;
    color: #132033 !important;
    border: 1px solid #dce6f5 !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] strong,
[data-theme="light"] .logo {
    color: #12233d !important;
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] li,
[data-theme="light"] label,
[data-theme="light"] .nav-links a {
    color: #50627d !important;
}

[data-theme="light"] input,
[data-theme="light"] textarea {
    background: #f4f7fc !important;
    color: #132033 !important;
    border: 1px solid #dbe4f3 !important;
}

[data-theme="light"] .hero-feature,
[data-theme="light"] .stat-box,
[data-theme="light"] .contact-list li {
    background: #f8fbff !important;
    color: #132033 !important;
}

[data-theme="light"] .badge {
    background: #e8f1ff !important;
    color: #123456 !important;
    border-color: #cfe0ff !important;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .hero-content p,
[data-theme="light"] .contact-note,
[data-theme="light"] .stat-box span,
[data-theme="light"] .hero-ribbon,
[data-theme="light"] .hero-feature {
    color: #334155 !important;
}

[data-theme="light"] .hero-feature {
    border-color: #d8e4f5 !important;
    background: #f8fbff !important;
}

[data-theme="light"] .nav-links a:hover {
    color: #111827 !important;
    background: #eef4ff !important;
}

/* =========================
   Price Fix
========================= */

[data-theme="light"] .price {
    color: #12233d !important;
}

    [data-theme="light"] .price span {
        color: #526581 !important;
    }

/* =========================
   Footer Pro
========================= */

.pro-footer {
    padding: 70px 0 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.pro-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.pro-footer h3,
.pro-footer h4 {
    margin-bottom: 15px;
    color: #ffffff;
}

.pro-footer p,
.pro-footer a {
    color: #b9c9e4;
}

.pro-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

[data-theme="light"] .pro-footer {
    background: #ffffff !important;
}

    [data-theme="light"] .pro-footer h3,
    [data-theme="light"] .pro-footer h4 {
        color: #132033 !important;
    }

    [data-theme="light"] .pro-footer p,
    [data-theme="light"] .pro-footer a {
        color: #4b5d78 !important;
    }

/* =========================
   Mobile Menu
========================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
}

.mobile-open .nav-links {
    right: 0;
}

.theme-switch {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: .25s;
}

    .theme-switch:hover {
        transform: translateY(-2px);
        background: var(--surface-strong);
    }

/*@media(max-width:768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        flex-direction: row !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 20px;
        transition: .35s;
    }

        .nav-links a {
            width: 100%;
            text-align: center;
        }

    .nav-cta {*/
        /*        display: none;
*/
        /*width: auto !important;
        min-width: auto !important;
        padding: 8px 12px !important;
        min-height: 34px !important;
        height: 34px !important;
        font-size: 11px !important;
        font-weight: 700;
        border-radius: 10px;
        white-space: nowrap;
    }

    .theme-switch {
        position: absolute;
        left: 60px;
        top: 18px;
    }

    .pro-footer-grid {
        grid-template-columns: 1fr;
    }
}*/


@media(max-width:768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        flex-direction: row !important;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 20px;
        transition: .35s;
    }

        .nav-links a {
            width: 100%;
            text-align: center;
        }

    /* دکمه مشاوره */
    .nav-cta {
        width: auto !important;
        min-width: auto !important;
        padding: 6px 10px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: 11px !important;
        border-radius: 10px;
        margin-left: 115px;
        margin-right: 15px; /* فاصله از دکمه تم */
    }

    /* دکمه تغییر تم */
    .theme-switch {
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
    }

    .pro-footer-grid {
        grid-template-columns: 1fr;
    }
}











/* =========================
   Reveal Observer
========================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all .7s ease;
}

    .reveal.show {
        opacity: 1;
        transform: none;
    }

/* =========================
   Blog
========================= */

.article-card {
    overflow: hidden;
    padding: 0;
}

.article-image {
    height: 220px;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 900;
}

.article-content {
    padding: 24px;
}

.article-meta {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 14px;
}

.article-content h3 {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1.15rem;
}

.article-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.article-link {
    color: var(--primary);
    font-weight: 800;
}

    .article-link:hover {
        color: var(--primary-2);
    }

[data-theme="light"] .article-image {
    color: white;
}

@media(max-width:768px) {

    .article-image {
        height: 180px;
    }
}

/* =========================
   Article Page
========================= */

.article-hero {
    padding: 20px 0 40px;
    text-align: center;
}

.article-breadcrumb {
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-title {
    font-size: clamp(2rem,4vw,4rem);
    line-height: 1.5;
    margin: 20px 0;
}

.article-subtitle {
    color: var(--muted);
    max-width: 800px;
    margin: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    color: var(--muted);
    flex-wrap: wrap;
}

.article-content {
    overflow: visible;
    max-width: 950px;
    margin: auto;
}



.article-cover {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    background: transparent;
}

    .article-cover img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .article-cover:hover img {
        transform: scale(1.03);
    }

.article-body {
    padding: 40px;
}

/* محتوای مقاله */

.article-body-content {
    font-size: 1.05rem;
    line-height: 2.3;
}

    .article-body-content p {
        margin-bottom: 20px;
        color: var(--muted);
    }
    
    .article-body-content h2 {
        margin-top: 45px;
        margin-bottom: 18px;
        font-size: 1.8rem;
    }

    .article-body-content h3 {
        margin-top: 35px;
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    .article-body-content ul,
    .article-body-content ol {
        margin: 20px 0;
        padding-right: 25px;
    }

    .article-body-content li {
        margin-bottom: 10px;
    }

    .article-body-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 35px auto;
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0,0,0,.15);
    }

    .article-body-content blockquote {
        margin: 35px 0;
        padding: 25px;
        border-right: 4px solid var(--primary);
        background: var(--surface);
        border-radius: 18px;
        font-size: 1.1rem;
    }

[data-theme="light"] .article-body-content p {
    color: #334155;
}

/* موبایل */

@media(max-width:768px) {

    .article-cover {
        height: 260px;
    }

    .article-body {
        padding: 25px;
    }

    .article-body-content {
        font-size: 1rem;
    }

        .article-body-content h2 {
            font-size: 1.5rem;
        }
}

    .article-body h2 {
        margin: 40px 0 20px;
    }

    .article-body p {
        margin-bottom: 20px;
        color: var(--muted);
        line-height: 2.2;
    }

    .article-body blockquote {
        margin: 30px 0;
        padding: 25px;
        border-right: 4px solid var(--primary);
        background: var(--surface);
        border-radius: 16px;
    }

.article-cta {
    margin: 40px 0;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient( 135deg, rgba(79,140,255,.12), rgba(106,92,255,.12));
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 30px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 2rem;
    font-weight: 900;
}

.article-content-small {
    padding: 24px;
}

    .article-content-small h3 {
        margin-bottom: 12px;
    }

@media(max-width:992px) {

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

/* =========================
   Comments
========================= */

.comments-wrapper {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-card {
    padding: 24px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    color: white;
    font-weight: 800;
}

.comment-header h4 {
    margin-bottom: 4px;
}

.comment-header span {
    color: var(--muted);
    font-size: .85rem;
}

.comment-card p {
    color: var(--muted);
    line-height: 2;
}

.comment-form {
    padding: 30px;
}

    .comment-form h3 {
        margin-bottom: 25px;
    }
/* =========================
   Contact Page
========================= */

.contact-page-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
}

.contact-info-box,
.contact-form-box {
    padding: 30px;
}

    .contact-info-box h2,
    .contact-form-box h2 {
        margin-bottom: 20px;
    }

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    font-size: 1.4rem;
}

.contact-item p {
    color: var(--muted);
    margin-top: 5px;
}

.contact-desc {
    color: var(--muted);
    margin-bottom: 25px;
}

.form-select {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 14px;
    margin-top: 8px;
    margin-bottom: 15px;
}

.social-card {
    text-align: center;
    padding: 30px;
    transition: .3s;
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.social-card p {
    color: var(--muted);
}

.contact-cta {
    text-align: center;
    padding: 50px 30px;
}

    .contact-cta h2 {
        margin-bottom: 15px;
    }

    .contact-cta p {
        color: var(--muted);
        margin-bottom: 25px;
    }

@media(max-width:992px) {

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   Grade Selector
========================= */

.form-label {
    display: block;
    margin-bottom: 14px;
    font-weight: 700;
}

.grade-selector {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.grade-card {
    position: relative;
    cursor: pointer;
}

    .grade-card input {
        display: none;
    }

    .grade-card span {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 70px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text);
        font-weight: 700;
        transition: .25s;
    }

    .grade-card:hover span {
        transform: translateY(-2px);
        border-color: var(--primary);
    }

    .grade-card input:checked + span {
        background: linear-gradient( 135deg, var(--primary), var(--primary-2));
        color: white;
        border-color: transparent;
        box-shadow: 0 12px 30px rgba(79,140,255,.25);
    }

@media(max-width:768px) {

    .grade-selector {
        grid-template-columns: repeat(2,1fr);
    }
}

/* =========================
   About Page
========================= */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    padding: 40px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 15px;
    line-height: 2.1;
}

.about-image {
    min-height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
   /* background: linear-gradient( 135deg, var(--primary), var(--primary-2));*/
    color: white;
    font-size: 3rem;
    font-weight: 900;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 35px 20px;
}

    .stat-card strong {
        display: block;
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .stat-card span {
        color: var(--muted);
    }

.value-card {
    padding: 30px;
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card p {
    color: var(--muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.timeline-item {
    text-align: center;
}

.timeline-number {
    width: 70px;
    height: 70px;
    margin: auto auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
}

.timeline-item p {
    color: var(--muted);
}

@media(max-width:992px) {

    .about-intro {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2,1fr);
    }

    .timeline {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {

    .grid-4,
    .timeline {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Resume Page
========================= */

.resume-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 40px;
}

.resume-image {
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
}

    .resume-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.resume-info h1 {
    font-size: 3rem;
    margin: 15px 0;
}

.resume-role {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.resume-description {
    color: var(--muted);
    line-height: 2.1;
    margin-bottom: 25px;
}

.resume-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.resume-timeline {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.resume-item {
    padding: 30px;
}

.resume-year {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 15px;
    border-radius: 999px;
    background: linear-gradient( 135deg, var(--primary), var(--primary-2));
    color: white;
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.skill-card {
    padding: 25px;
    text-align: center;
    font-weight: 700;
}

@media(max-width:992px) {

    .resume-card {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .resume-info h1 {
        font-size: 2.2rem;
    }
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

    .gallery-grid img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 20px;
        border: 1px solid var(--border);
        transition: .3s;
    }

        .gallery-grid img:hover {
            transform: translateY(-5px);
        }

@media(max-width:768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    overflow: hidden;
    transition: .35s;
    border-radius: 18px;
}

    .article-card:hover {
        transform: translateY(-8px);
    }

.article-image {
    height: 220px;
    overflow: hidden;
}

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s;
    }

.article-card:hover img {
    transform: scale(1.08);
}

.article-content-small {
    padding: 20px;
}

.article-tag {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: .85rem;
    margin-bottom: 12px;
}

.article-content-small h3 {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.article-content-small p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 18px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

    .article-footer a {
        color: #4f46e5;
        font-weight: 700;
        text-decoration: none;
    }

        .article-footer a:hover {
            opacity: .8;
        }
.featured-article {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    overflow: hidden;
    margin-bottom: 50px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 30px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

    .pagination-wrapper a {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #f1f5f9;
    }

.active-page {
    background: #4f46e5 !important;
    color: white !important;
}

@media(max-width:768px) {

    .featured-article {
        grid-template-columns: 1fr;
    }
}


.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.category-item {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .category-item:hover {
        transform: translateY(-3px);
        background: var(--primary);
        color: #fff;
    }

    .category-item.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    margin-right: 8px;
    border-radius: 999px;
    background: #edfa00;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
}

.category-item.active .category-count {
    background: #fff;
    color: #6366f1;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}
.grade-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.grade-card {
    position: relative;
    overflow: hidden;
}

    .grade-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 0;
        background: var(--primary);
        transition: .2s;
    }

    .grade-card:has(input:checked)::before {
        height: 3px;
    }

    .grade-card:has(input:checked) {
        border-color: var(--primary);
        box-shadow: none;
        background: var(--card-bg);
    }



.featured-video {
    overflow: hidden;
    padding: 0;
}

    .featured-video video {
        width: 100%;
        display: block;
        background: #000;
    }

.featured-content {
    padding: 30px;
}

.video-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    margin-bottom: 15px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    gap: 25px;
}

.video-card {
    overflow: hidden;
    transition: .25s;
}

    .video-card:hover {
        transform: translateY(-4px);
    }

    .video-card video {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
        background: #000;
    }

.video-content {
    padding: 18px;
}

    .video-content h3 {
        margin: 0;
        font-size: 1rem;
    }

@media(max-width:768px) {

    .video-grid {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 20px;
    }
}


.form-select-modern {
    width: 100%;
    height: 58px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 18px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: .3s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

    .form-select-modern:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 5px rgba(99,102,241,.12);
        outline: none;
    }

    .form-select-modern:hover {
        border-color: #6366f1;
    }








.form-section {
    margin: 28px 0;
}

.form-section-title {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.choice-card {
    cursor: pointer;
    margin: 0;
}

    .choice-card input {
        display: none;
    }

    .choice-card span {
      height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        background: var(--card-bg);
        border: 1px solid rgba(255,255,255,.08);
        color: var(--text);
        font-weight: 600;
        transition: all .25s ease;
        user-select: none;
      
    }

    .choice-card:hover span {
     transform: translateY(-3px);
        border-color: var(--primary);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
      
    }

    .choice-card input:checked + span {
       background: linear-gradient( 135deg, var(--primary), #7c3aed );
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 12px 30px rgba(99,102,241,.25);
       
    }

.captcha-box {
    background: var(--card-bg);
    border: 2px dashed var(--primary);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    margin: 20px 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
  
}

.alert-danger {
    background: rgba(239,68,68,.15);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 14px;
    padding: 14px 18px;
    margin: 15px 0;
    font-weight: 600;
  
}

.alert-success {
    background: rgba(34,197,94,.15);
    color: #86efac;
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 14px;
    padding: 14px 18px;
    margin: 15px 0;
    font-weight: 600;
   
}

@media(max-width:768px) {

 
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .choice-card span {
        height: 54px;
        font-size: 14px;
    }

    .captcha-box {
        font-size: 18px;
    }

}


.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    background: linear-gradient( 135deg, rgba(99,102,241,.15), rgba(124,58,237,.15) );
}

.service-card {
    padding: 35px;
    transition: .3s;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-card h3 {
        margin-bottom: 15px;
    }

    .service-card p {
        line-height: 2;
        opacity: .85;
    }


.pricing-image {
    height: 220px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 20px;
}

    .pricing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s;
    }

.pricing-card:hover .pricing-image img {
    transform: scale(1.05);
}

.pricing-card {
    padding: 25px;
}

    .pricing-card ul {
        list-style: none;
        padding: 0;
        margin: 25px 0;
    }

        .pricing-card ul li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-featured {
    position: relative;
    transform: scale(1.04);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient( 135deg, #f59e0b, #f97316 );
    color: white;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

.faq-list {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    margin-bottom: 18px;
    padding: 28px;
    transition: .3s;
    border: 1px solid rgba(255,255,255,.08);
}

    .faq-item:hover {
        transform: translateY(-3px);
    }

    .faq-item h4 {
        color: var(--text);
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: 700;
    }

    .faq-item p {
        color: var(--muted);
        line-height: 2;
        margin: 0;
    }











.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

    .footer-badges span {
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        font-size: 13px;
    }

.pro-footer h4 {
    margin-bottom: 20px;
}

.pro-footer a {
    display: inline-block;
    margin-bottom: 10px;
    transition: .2s;
}

    .pro-footer a:hover {
        transform: translateX(-3px);
    }

.pro-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
}

    .pro-footer-bottom p:last-child {
        opacity: .7;
        font-size: 14px;
        margin-top: 8px;
    }








.team-card {
    padding: 35px 28px;
    text-align: center;
    transition: .35s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}

    .team-card:hover {
        transform: translateY(-8px);
    }

.team-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    background: linear-gradient( 135deg, var(--primary), #7c3aed );
}

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid var(--card-bg);
    }

.team-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,.12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.team-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.team-content p {
    line-height: 2;
    color: var(--muted);
    min-height: 95px;
    margin-bottom: 20px;
}

.team-link {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(99,102,241,.25);
    transition: .25s;
}

    .team-link:hover {
        background: var(--primary);
        color: #fff;
    }

.featured-team {
    border: 2px solid rgba(99,102,241,.25);
    box-shadow: 0 20px 50px rgba(99,102,241,.12);
}

    .featured-team::before {
        content: "مشاور ارشد";
        position: absolute;
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        border-radius: 999px;
        background: linear-gradient( 135deg, #f59e0b, #f97316 );
        color: #fff;
        font-size: 11px;
        font-weight: 700;
    }

@media(max-width:768px) {

    .team-image {
        width: 130px;
        height: 130px;
    }

    .team-content p {
        min-height: auto;
    }
}


.team-card {
    padding: 35px 30px;
}

.team-content {
    padding: 0 10px;
}

.grid-3 {
    gap: 30px;
}

@media(max-width:992px) {
    .grid-3 {
        gap: 20px;
    }
}

#team .container {
    padding-left: 40px;
    padding-right: 40px;
}

@media(max-width:768px) {

    #team .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}








.home-article-card {
    overflow: hidden;
    transition: .35s;
}

    .home-article-card:hover {
        transform: translateY(-8px);
    }

    .home-article-card .article-image {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

        .home-article-card .article-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: .5s;
        }

    .home-article-card:hover img {
        transform: scale(1.05);
    }

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.home-article-card .article-content {
    padding: 25px;
}

.home-article-card h3 {
    margin: 15px 0;
    line-height: 1.8;
}

.home-article-card p {
    color: var(--muted);
    line-height: 2;
}

.home-article-card .article-link {
    margin-top: 15px;
    display: inline-block;
    font-weight: 700;
}




.success-section {
    position: relative;
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-home-card {
    text-align: center;
    padding: 30px;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,.08);
}

    .stat-home-card strong {
        display: block;
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

.video-grid-home {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.video-card-home {
    overflow: hidden;
    transition: .3s;
}

    .video-card-home:hover {
        transform: translateY(-8px);
    }

    .video-card-home video {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
        background: #000;
    }

.success-cta {
    text-align: center;
    padding: 50px;
    border-radius: 30px;
    margin-top: 20px;
    background: linear-gradient( 135deg, rgba(99,102,241,.08), rgba(124,58,237,.08));
}

    .success-cta h3 {
        margin-bottom: 15px;
        font-size: 2rem;
    }

    .success-cta p {
        max-width: 700px;
        margin: auto;
        margin-bottom: 25px;
    }

@media(max-width:992px) {

    .video-grid-home {
        grid-template-columns: 1fr;
    }

    .stats-grid-home {
        grid-template-columns: repeat(2,1fr);
    }
}














.podcast-home-section {
    position: relative;
}

.podcast-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.podcast-stat-card {
    min-width: 180px;
    text-align: center;
    padding: 25px;
    border-radius: 22px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,.08);
}

    .podcast-stat-card strong {
        display: block;
        font-size: 1.8rem;
        color: var(--primary);
        margin-bottom: 8px;
    }

.podcast-preview-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.podcast-preview-card {
    padding: 28px;
    text-align: center;
    transition: .3s;
}

    .podcast-preview-card:hover {
        transform: translateY(-8px);
    }

.podcast-preview-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient( 135deg, var(--primary), #7c3aed );
}

.podcast-preview-card h3 {
    margin-bottom: 12px;
}

.podcast-preview-card p {
    color: var(--muted);
    line-height: 2;
    min-height: 60px;
}

.podcast-preview-card audio {
    width: 100%;
    margin-top: 15px;
}

.podcast-home-cta {
    text-align: center;
    margin-top: 50px;
}

@media(max-width:992px) {

    .podcast-preview-grid {
        grid-template-columns: 1fr;
    }
}




.video-home-section {
    position: relative;
}

.home-featured-video {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
    align-items: center;
    padding: 30px;
    margin-bottom: 40px;
}

.featured-video-player video {
    width: 100%;
    border-radius: 22px;
    display: block;
}

.featured-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,.12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-video-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.featured-video-info p {
    color: var(--muted);
    line-height: 2;
    margin-bottom: 25px;
}

.home-video-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.video-preview-card {
    overflow: hidden;
    transition: .3s;
}

    .video-preview-card:hover {
        transform: translateY(-8px);
    }

    .video-preview-card video {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
    }

.video-preview-content {
    padding: 18px;
}

    .video-preview-content h3 {
        font-size: 1rem;
        margin: 0;
        line-height: 1.8;
    }

@media(max-width:992px) {

    .home-featured-video {
        grid-template-columns: 1fr;
    }

    .home-video-grid {
        grid-template-columns: 1fr;
    }
}


.results-home-section {
    position: relative;
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.result-stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,.08);
}

    .result-stat-card strong {
        display: block;
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

.results-preview-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.result-preview-card {
    overflow: hidden;
    border-radius: 24px;
    display: block;
    transition: .35s;
}

    .result-preview-card:hover {
        transform: translateY(-8px);
    }

    .result-preview-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

.results-cta {
    text-align: center;
    padding: 50px;
    border-radius: 30px;
    background: linear-gradient( 135deg, rgba(99,102,241,.08), rgba(124,58,237,.08));
}

    .results-cta h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .results-cta p {
        max-width: 700px;
        margin: 0 auto 25px;
        line-height: 2;
    }

@media(max-width:992px) {

    .results-preview-grid {
        grid-template-columns: 1fr;
    }

    .results-stats-grid {
        grid-template-columns: repeat(2,1fr);
    }
}



.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo img {
        width: 52px;
        height: 52px;
        border-radius: 15%;
        object-fit: cover;
        border: 2px solid rgba(255,255,255,.15);
        box-shadow: 0 5px 20px rgba(0,0,0,.12);
    }



.sms-preview-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 45px 35px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.sms-preview-card::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(37,99,235,.05);
    top: -140px;
    left: -140px;
}

.sms-preview-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: linear-gradient(135deg,#2563eb,#4f46e5);
    color: #fff;
    box-shadow: 0 15px 35px rgba(37,99,235,.25);
}

.sms-preview-card h3 {
    margin-bottom: 15px;
}

.sms-preview-card p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--muted);
    line-height: 2;
}

.sms-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    direction: ltr;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.sms-keyword {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1rem;
}

    .sms-keyword span {
        display: inline-block;
        margin-right: 8px;
        background: #eff6ff;
        color: #2563eb;
        padding: 8px 18px;
        border-radius: 999px;
        font-weight: 700;
    }

.sms-action-btn {
    padding: 16px 34px;
    font-size: 1rem;
    border-radius: 14px;
}

@media(max-width:768px) {

    .sms-preview-card {
        padding: 30px 20px;
    }

    .sms-number {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
}







.ai-section-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
    overflow: hidden;
}

.ai-image {
    text-align: center;
}

    .ai-image img {
        width: 100%;
        max-width: 360px;
        border-radius: 32px;
        transition: .4s;
    }

        .ai-image img:hover {
            transform: translateY(-8px);
        }

.ai-content h3 {
    font-size: 2rem;
    margin: 20px 0;
    line-height: 1.6;
}

.ai-content p {
    color: var(--muted);
    line-height: 2.2;
    margin-bottom: 25px;
}

.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.ai-feature {
    padding: 10px 18px;
    background: var(--surface-soft);
    border-radius: 999px;
    font-weight: 600;
}

.ai-btn {
    min-width: 280px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

@media(max-width:992px) {

    .ai-section-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
    }

    .ai-features {
        justify-content: center;
    }

    .ai-content h3 {
        font-size: 1.6rem;
    }

    .ai-btn {
        width: 100%;
    }
}







.matrobot-box {
    margin-top: 30px;
    background: linear-gradient( 135deg, rgba(79,70,229,.08), rgba(99,102,241,.12) );
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: .3s;
}

    .matrobot-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 40px rgba(79,70,229,.15);
    }

.matrobot-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    color: #fff;
}

.matrobot-content {
    flex: 1;
}

    .matrobot-content h3 {
        margin: 0 0 8px;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .matrobot-content p {
        margin: 0;
        color: var(--muted);
        line-height: 1.9;
        font-size: .95rem;
    }

.matrobot-btn {
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

    .matrobot-btn:hover {
        color: #fff;
        transform: translateY(-2px);
    }

@media(max-width:768px) {

    .matrobot-box {
        flex-direction: column;
        text-align: center;
    }

    .matrobot-btn {
        width: 100%;
    }
}









.home-article-card {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

    .home-article-card .article-image {
        position: relative;
    }

        .home-article-card .article-image img {
            width: 100%;
            height: 380px;
            object-fit: cover;
            display: block;
        }

    .home-article-card .article-content {
        padding: 30px;
    }

    .home-article-card h3 {
        font-size: 1.8rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .home-article-card p {
        line-height: 2;
        color: var(--muted);
    }

    .home-article-card .article-category {
        position: absolute;
        top: 20px;
        right: 20px;
    }

@media(max-width:768px) {

    .home-article-card .article-image img {
        height: 220px;
    }

    .home-article-card .article-content {
        padding: 20px;
    }

    .home-article-card h3 {
        font-size: 1.25rem;
    }
}








.results-banner {
    margin-top: 40px;
}

    .results-banner a {
        display: block;
    }

    .results-banner img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
        transition: .3s;
    }

        .results-banner img:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 45px rgba(79,70,229,.15);
        }




.footer-seo {
    margin-top: 50px;
    padding: 25px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

    .footer-seo h4 {
        margin-bottom: 12px;
        color: var(--text);
    }

    .footer-seo p {
        color: var(--muted);
        line-height: 2.2;
    }

.pro-footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    text-decoration: none;
    transition: .25s;
}

    .pro-footer-grid a:hover {
        color: var(--primary);
        transform: translateX(-4px);
    }

.pro-footer-bottom {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--muted);
}

@media(max-width:768px) {

    .pro-footer-bottom {
        text-align: center;
        justify-content: center;
    }

    .footer-seo {
        padding: 20px;
    }
}













.media-strip {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 70px 0;
}

.media-strip-title {
    text-align: center;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 35px;
    font-size: 1.25rem;
}

.media-strip-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

    .media-strip-logos a {
        opacity: .75;
        transition: .35s;
    }

        .media-strip-logos a:hover {
            opacity: 1;
            transform: translateY(-5px);
        }

    .media-strip-logos img {
        height: 75px;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%);
        transition: .35s;
    }

    .media-strip-logos a:hover img {
        filter: none;
    }

@media(max-width:768px) {

    .media-strip {
        padding: 35px 0;
    }

    .media-strip-title {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .media-strip-logos {
        gap: 25px;
    }

        .media-strip-logos img {
            height: 65px;
        }
}








.footer-trust {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    .footer-trust a {
        text-decoration: none;
    }

    .footer-trust img {
        width: 110px;
        height: 110px;
        object-fit: contain;
        border-radius: 18px;
        background: #fff;
        padding: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
        transition: .3s;
    }

        .footer-trust img:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(37,99,235,.15);
        }

@media(max-width:768px) {

    .footer-trust {
        justify-content: flex-start;
    }

        .footer-trust img {
            width: 90px;
            height: 90px;
        }
}





.results-showcase {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 35px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.results-showcase-content {
    display: grid;
    grid-template-columns: 1fr 580px;
    gap: 50px;
    align-items: center;
}

.results-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--surface-soft);
    color: var(--primary2);
    font-weight: 800;
    margin-bottom: 15px;
}

.results-showcase-text h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 18px;
}

.results-showcase-text p {
    color: var(--muted);
    line-height: 2.1;
    margin-bottom: 28px;
}

/* ==========================
   سال‌ها
========================== */
.results-years-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
}

/* ==========================
   کارت ها
========================== */

.year-card {
    flex: 1;
    max-width: 170px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .35s;
}

    .year-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(37,99,235,.15);
    }

    .year-card img {
        width: 100%;
        display: block;
        height: auto;
    }

    .year-card span {
        display: block;
        text-align: center;
        padding: 12px;
        font-weight: 800;
        color: var(--text);
        background: var(--card);
        border-top: 1px solid var(--border);
    }

    /* ==========================
   کارت 1404
========================== */

    .year-card:nth-child(2) {
        flex: 1.35;
        max-width: 230px;
        border: 3px solid var(--primary);
        transform: translateY(-25px);
        box-shadow: 0 25px 60px rgba(37,99,235,.18);
    }

        .year-card:nth-child(2):hover {
            transform: translateY(-35px);
        }

/* ==========================
   تبلت
========================== */

@media(max-width:992px) {

    .results-showcase {
        overflow: hidden;
    }

    .results-showcase-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .results-years-grid {
        justify-content: center;
    }
}

/* ==========================
   موبایل
========================== */

@media (max-width:768px) {

    .results-showcase {
        padding: 20px;
    }

    .results-showcase-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .results-years-grid {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
        align-items: start;
    }

    /* کارت 1404 */

    .year-card:nth-child(2) {
        grid-column: 1 / -1;
        max-width: 240px;
        width: 100%;
        margin: auto;
        transform: none;
        order: -1;
    }

    .year-card {
        max-width: none;
        width: 100%;
    }

        .year-card img {
            width: 100%;
            height: auto;
        }

        .year-card span {
            font-size: .9rem;
            padding: 10px;
        }
}