:root {
    --medical-primary: #2563eb;
    --medical-secondary: #8b5cf6;
    --medical-accent: #06b6d4;
    --medical-ecg: #ef4444;
    --medical-pulse: #f59e0b;
    --medical-dark: #0f172a;
    --medical-light: #f8fafc;
    --medical-glass: rgba(255, 255, 255, 0.08);
    --medical-glass-border: rgba(255, 255, 255, 0.12);
    --medical-glow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* نوار قلب واقعی */
.ecg-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
}

.ecg-line-real {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #ef4444 5%,
        #ef4444 7%,
        transparent 10%,
        transparent 20%,
        #ef4444 25%,
        #ef4444 27%,
        transparent 30%,
        transparent 40%,
        #ef4444 45%,
        #ef4444 47%,
        transparent 50%,
        transparent 60%,
        #ef4444 65%,
        #ef4444 67%,
        transparent 70%,
        transparent 80%,
        #ef4444 85%,
        #ef4444 87%,
        transparent 90%
    );
    animation: ecgScroll 3s linear infinite;
}

/* Compact Hero */
.medical-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content {
    padding-right: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--medical-ecg);
    color: var(--medical-ecg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.title-line {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-pulse {
    color: var(--medical-accent);
    animation: textPulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-medical-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-medical-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--medical-glow);
}

.btn-sparkle {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-medical-primary:hover .btn-sparkle {
    opacity: 1;
}

.btn-medical-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--medical-glass-border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: var(--medical-glass);
}

.btn-medical-outline:hover {
    border-color: var(--medical-primary);
    transform: translateY(-3px);
}

/* Medical Stats */
.medical-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--medical-primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(37, 99, 235, 0.3) 50%,
        rgba(139, 92, 246, 0.2) 100%
    );
}

.floating-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-1 { animation-delay: 0s; }
.badge-2 { animation-delay: 1s; }
.badge-3 { animation-delay: 2s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--medical-primary), transparent);
    margin: 0 auto 0.5rem;
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Video Showcase */
.video-showcase-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.5);
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.video-showcase {
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.video-tabs {
    display: flex;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-tab {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.video-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.video-tab.active {
    background: white;
    color: var(--medical-primary);
    border-color: white;
}

.video-container {
    position: relative;
    height: 500px;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.video-player.active {
    opacity: 1;
    visibility: visible;
}

.youtube-player {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* Features Section */
.medical-features {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.5);
}

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

.feature-card {
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    position: relative;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-image {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    height: 150px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* CTA Section */
.medical-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--medical-primary) 0%, transparent 70%);
    animation: ctaPulse 4s ease-out infinite;
}

.cta-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0 C200,40 400,0 600,40 C800,0 1000,40 1200,0 L1200,120 L0,120 Z" fill="rgba(37,99,235,0.1)"/></svg>');
    animation: waveMove 8s linear infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-medical-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
}

.btn-medical-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.6);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: btnRipple 2s ease-out infinite;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-stat .stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Animations */
@keyframes ecgScroll {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes scrollLine {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes ctaPulse {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 1000px; height: 1000px; opacity: 0; }
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes btnRipple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .medical-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .video-tabs {
        flex-direction: column;
    }

    .video-container {
        height: 300px;
    }

    .floating-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }

    .cta-stats {
        gap: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-medical-primary,
    .btn-medical-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-container {
        padding: 0 1rem;
    }
}
:root {
    --medical-primary: #2563eb;
    --medical-secondary: #8b5cf6;
    --medical-accent: #06b6d4;
    --medical-ecg: #ef4444;
    --medical-pulse: #f59e0b;
    --medical-dark: #0f172a;
    --medical-light: #f8fafc;
}

/* نوار قلب موجی در کل صفحه */
.ecg-wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
    overflow: hidden;
}

.ecg-wave-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 100px;
    background:
        radial-gradient(circle at 10% 50%, var(--medical-ecg) 2px, transparent 3px),
        radial-gradient(circle at 20% 30%, var(--medical-ecg) 3px, transparent 4px),
        radial-gradient(circle at 30% 70%, var(--medical-ecg) 2px, transparent 3px),
        radial-gradient(circle at 40% 50%, var(--medical-ecg) 4px, transparent 5px),
        radial-gradient(circle at 50% 20%, var(--medical-ecg) 3px, transparent 4px),
        radial-gradient(circle at 60% 80%, var(--medical-ecg) 2px, transparent 3px),
        radial-gradient(circle at 70% 50%, var(--medical-ecg) 3px, transparent 4px),
        radial-gradient(circle at 80% 30%, var(--medical-ecg) 4px, transparent 5px),
        radial-gradient(circle at 90% 70%, var(--medical-ecg) 2px, transparent 3px);
    background-size: 10% 100%;
    animation: waveMove 8s linear infinite;
}

/* دایره‌های متحدالمرکز */
.concentric-circles {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.main-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

/* هسته مرکزی */
.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 50%;
    animation: corePulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

/* دایره‌های متحدالمرکز */
.concentric-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    border-color: rgba(37, 99, 235, 0.3);
    animation-duration: 15s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    border-color: rgba(139, 92, 246, 0.3);
    animation-duration: 20s;
    animation-delay: -2s;
}

.ring-3 {
    width: 280px;
    height: 280px;
    border-color: rgba(6, 182, 212, 0.3);
    animation-duration: 25s;
    animation-delay: -4s;
}

.ring-4 {
    width: 360px;
    height: 360px;
    border-color: rgba(239, 68, 68, 0.3);
    animation-duration: 30s;
    animation-delay: -6s;
}

/* المان‌های شناور روی دایره */
.floating-medical-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--medical-primary);
    backdrop-filter: blur(10px);
    animation: floatOnCircle 15s linear infinite;
}

.icon-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: -2s;
}

.icon-3 {
    top: 50%;
    right: 5%;
    animation-delay: -4s;
}

.icon-4 {
    bottom: 25%;
    right: 15%;
    animation-delay: -6s;
}

.icon-5 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -8s;
}

.icon-6 {
    top: 50%;
    left: 5%;
    animation-delay: -10s;
}

/* Animations */
@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(37, 99, 235, 0.8);
    }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatOnCircle {
    0% {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

/* بقیه استایل‌ها */
.medical-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content {
    padding-right: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15); /* #d4af37 با شفافیت 15% */
    border: 1.5px solid #d4af37;
    color: #d4af37;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

/* اگر می‌خواهید هاور افکت هم داشته باشد */
.hero-badge:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-medical-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-medical-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Medical Stats */
.medical-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--medical-primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ========== RESPONSIVE DESIGN ========== */

/* تبلت - 768px به پایین */
@media (max-width: 768px) {
    .medical-hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .concentric-circles {
        max-width: 300px;
        height: 300px;
    }

    .circle-core {
        width: 60px;
        height: 60px;
    }

    .ring-1 { width: 90px; height: 90px; }
    .ring-2 { width: 150px; height: 150px; }
    .ring-3 { width: 210px; height: 210px; }
    .ring-4 { width: 270px; height: 270px; }

    .floating-medical-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    @keyframes floatOnCircle {
        0% { transform: rotate(0deg) translateX(135px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
    }

    .medical-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* موبایل - 480px به پایین */
@media (max-width: 480px) {
    .medical-hero {
        padding: 60px 0 30px;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .concentric-circles {
        max-width: 250px;
        height: 250px;
    }

    .circle-core {
        width: 50px;
        height: 50px;
    }

    .ring-1 { width: 75px; height: 75px; }
    .ring-2 { width: 125px; height: 125px; }
    .ring-3 { width: 175px; height: 175px; }
    .ring-4 { width: 225px; height: 225px; }

    .floating-medical-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    @keyframes floatOnCircle {
        0% { transform: rotate(0deg) translateX(112px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(112px) rotate(-360deg); }
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-medical-primary,
    .btn-medical-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* موبایل کوچک - 360px به پایین */
@media (max-width: 360px) {
    .concentric-circles {
        max-width: 220px;
        height: 220px;
    }

    .ring-1 { width: 65px; height: 65px; }
    .ring-2 { width: 110px; height: 110px; }
    .ring-3 { width: 155px; height: 155px; }
    .ring-4 { width: 200px; height: 200px; }

    @keyframes floatOnCircle {
        0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
    }

    .hero-title {
        font-size: 1.6rem;
    }
}

/* لنداسکیپ موبایل */
@media (max-height: 600px) and (orientation: landscape) {
    .medical-hero {
        min-height: auto;
        padding: 80px 0;
    }

    .concentric-circles {
        max-width: 250px;
        height: 250px;
    }
}

/* نمایشگرهای بزرگ */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1300px;
    }

    .concentric-circles {
        max-width: 450px;
        height: 450px;
    }

    @keyframes floatOnCircle {
        0% { transform: rotate(0deg) translateX(200px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
    }
}
/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--medical-primary) 20%,
        var(--medical-secondary) 50%,
        var(--medical-primary) 80%,
        transparent 100%);
    z-index: 1;
    opacity: 0.3;
}

.process-step {
    position: relative;
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--medical-primary);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(37, 99, 235, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    border: 3px solid var(--medical-dark);
    animation: stepPulse 2s ease-in-out infinite;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.1),
        rgba(139, 92, 246, 0.1));
    border: 2px solid var(--medical-glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--medical-primary);
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.6s ease;
}

.process-step:hover .step-icon::before {
    left: 100%;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--medical-primary), var(--medical-secondary));
    color: white;
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--medical-primary), var(--medical-secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.process-step:hover .step-title::after {
    width: 80px;
}

.step-description {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Step Connection Lines */
.process-step:nth-child(1)::after,
.process-step:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--medical-primary), transparent);
    opacity: 0.3;
    z-index: 1;
}

.process-step:nth-child(2)::after {
    right: -2rem;
}

.process-step:nth-child(3)::after {
    display: none;
}

/* Step-specific animations */
.process-step:nth-child(1) .step-number {
    animation-delay: 0s;
}

.process-step:nth-child(2) .step-number {
    animation-delay: 0.5s;
}

.process-step:nth-child(3) .step-number {
    animation-delay: 1s;
}

/* New Animations */
@keyframes stepPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
    }
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
    }
}

/* Responsive Design for How It Works */
@media (max-width: 1024px) {
    .process-steps::before {
        display: none;
    }

    .process-step:nth-child(1)::after,
    .process-step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-step {
        padding: 2rem 1.5rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 40px 0;
    }

    .process-step {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: -15px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .process-step {
        background: rgba(15, 23, 42, 0.8);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .step-icon,
    .step-number {
        animation: none;
        transition: none;
    }

    .process-step:hover {
        transform: none;
    }

    .step-icon::before {
        display: none;
    }
}
/* ========== REWARDS SECTION ========== */
.rewards-section {
    padding: 80px 0;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(37, 99, 235, 0.1) 50%,
        rgba(139, 92, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.rewards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* Progress Track */
.rewards-progress {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.progress-track {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 60px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
        var(--medical-primary),
        var(--medical-secondary),
        var(--medical-accent));
    border-radius: 10px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent);
    animation: progressGlow 2s ease-in-out infinite;
}

/* Milestones */
.milestone {
    position: absolute;
    top: -25px;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.milestone:hover {
    transform: translateX(-50%) scale(1.1);
}

.milestone-1 { left: 0%; }
.milestone-2 { left: 20%; }
.milestone-3 { left: 40%; }
.milestone-4 { left: 60%; }
.milestone-5 { left: 80%; }
.milestone-6 { left: 100%; }

.milestone-marker {
    width: 20px;
    height: 20px;
    background: var(--medical-dark);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto 8px;
    position: relative;
    transition: all 0.3s ease;
}

.milestone:hover .milestone-marker {
    border-color: var(--medical-primary);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.milestone-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.milestone-label .points {
    display: block;
    font-weight: 700;
    color: var(--medical-primary);
    margin-bottom: 2px;
}

.milestone-label .label {
    font-size: 0.7rem;
}

/* Total Points */
.total-points {
    text-align: center;
    margin-top: 2rem;
}

.points-display {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
}

.points-count {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg,
        var(--medical-primary),
        var(--medical-secondary),
        var(--medical-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.points-label {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.reward-card {
    background: var(--medical-glass);
    border: 1px solid var(--medical-glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.reward-card:hover {
    transform: translateY(-10px);
    border-color: var(--medical-primary);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(37, 99, 235, 0.2);
}

.reward-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.reward-premium { background: linear-gradient(135deg, #f59e0b, #d97706); }
.reward-bonus { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.reward-basic { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.reward-education { background: linear-gradient(135deg, #10b981, #059669); }
.reward-work { background: linear-gradient(135deg, #ef4444, #dc2626); }
.reward-special { background: linear-gradient(135deg, #ec4899, #db2777); }

.reward-content {
    position: relative;
    z-index: 2;
}

.reward-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.reward-points {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--medical-primary);
}

.points-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.reward-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reward-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reward-features li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.reward-card:hover .reward-features li {
    color: #cbd5e1;
}

.reward-status {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-available {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-locked {
    background: rgba(100, 116, 139, 0.2);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* CTA Button */
.rewards-cta {
    text-align: center;
}

.btn-rewards-glow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg,
        var(--medical-primary),
        var(--medical-secondary),
        var(--medical-accent));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(37, 99, 235, 0.4),
        0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-rewards-glow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(37, 99, 235, 0.6),
        0 0 30px rgba(139, 92, 246, 0.5);
}

.btn-confetti {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-rewards-glow:hover .btn-confetti {
    opacity: 1;
    transform: scale(1.2);
}

/* Animations */
@keyframes progressGlow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes rewardPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .progress-track {
        margin-bottom: 80px;
    }

    .milestone-label {
        font-size: 0.7rem;
    }

    .milestone-label .label {
        font-size: 0.6rem;
    }

    .points-count {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .rewards-section {
        padding: 60px 0;
    }

    .reward-card {
        padding: 1.5rem;
    }

    .btn-rewards-glow {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}
/* CSS اضافه برای وضعیت‌های داینامیک */
.milestone-marker.completed {
    background: var(--medical-primary);
    border-color: var(--medical-primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.tier-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.tier-bronze { background: linear-gradient(135deg, #cd7f32, #8b4513); color: white; }
.tier-silver { background: linear-gradient(135deg, #c0c0c0, #a9a9a9); color: #333; }
.tier-gold { background: linear-gradient(135deg, #ffd700, #daa520); color: #333; }
.tier-platinum { background: linear-gradient(135deg, #e5e4e2, #8a7f8e); color: #333; }
.tier-diamond { background: linear-gradient(135deg, #b9f2ff, #7ec8e3); color: #333; }

.user-progress-info {
    text-align: center;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--medical-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-completed i {
    color: #10b981;
}

/* ========== SIMPLE FEATURED POSTS SECTION ========== */
.medical-featured-posts {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.5);
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Glass Button */
.featured-posts-cta {
    text-align: center;
    margin-top: 4rem;
}

.featured-posts-cta .btn-medical-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.featured-posts-cta .btn-medical-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-posts-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .medical-featured-posts {
        padding: 60px 0;
    }

    .featured-posts-cta .btn-medical-glass {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}
.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* کلید حل مشکل */
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

/* این مهمترین بخش است */
.featured-posts-grid > * {
    min-width: 0; /* از کشیده شدن جلوگیری می‌کند */
    max-width: 100%;
    overflow: hidden;
}

/* برای خود کارت */
.featured-post-card-wrapper .post-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* مدیریت متن انگلیسی */
.featured-posts-grid .post-card[data-language="en"],
.featured-posts-grid .post-card:lang(en) {
    direction: ltr;
}

.featured-posts-grid .post-card .post-title,
.featured-posts-grid .post-card .post-excerpt {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}