.landing-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 16px 60px;
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
        var(--bg);
}

.landing-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;

    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    justify-items: stretch;
    text-align: right;
}

.choice-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.choice-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.choice-card:hover .card-glow {
    opacity: 1;
}

.card-diagnose:hover {
    border-color: #f59e0b;
}

.card-guide:hover {
    border-color: #3b82f6;
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.choice-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.choice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}

.card-diagnose .card-btn {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.choice-card:hover .card-btn {
    background: var(--primary);
    color: #fff;
}

.card-diagnose:hover .card-btn {
    background: #f59e0b;
    color: #0f172a;
}

.landing-cars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 48px;
}

.landing-cars span {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* درباره ما */
.about-page {
    padding: 48px 20px;
    min-height: calc(100vh - 140px);
}

.about-content {
    max-width: 800px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
}

.about-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.about-card h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.about-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.about-item span {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 8px;
}

.about-item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.about-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-note {
    background: rgba(239, 68, 68, 0.08);
    border-right: 3px solid var(--danger);
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.about-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.about-author p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .about-card {
        padding: 28px 20px;
    }
    .choice-cards {
        grid-template-columns: 1fr;
    }
}

/* سکشن‌های صفحه اصلی */
.home-section {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 36px;
    padding: 0 8px;
    text-align: center;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    text-align: right;
}
.section-head > div {
    text-align: right;
}
.section-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.section-title {
    margin: 0 0 2px;
    font-size: 1.15rem;
}
.section-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
}
.home-section .choice-cards {
    margin-top: 0;
}

.choice-card {
    text-align: right;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.choice-card .card-btn {
    margin-top: auto;
    align-self: flex-start;
}
.landing-hero h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    line-height: 1.55;
}
.hero-desc {
    margin-top: 10px;
}
.about-author-block {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.about-contacts {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    transition: border-color .15s;
}
.contact-row:hover {
    border-color: #3b82f6;
}
.c-icon { font-size: 1.1rem; }
.about-lead {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

/* آمار صفحه اول */
.home-stats {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 36px;
    padding: 18px 14px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}
.home-stats-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.hs-tab {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}
.hs-tab.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #fff;
    font-weight: 600;
}
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (max-width: 560px) {
    .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.hs-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 12px;
    padding: 12px 8px;
}
.hs-icon { font-size: 1.2rem; }
.hs-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #93c5fd;
    margin: 4px 0;
}
.hs-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.home-stats-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #93c5fd;
    text-decoration: none;
}
.home-stats-more:hover { text-decoration: underline; }
.home-stats-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 600;
}
