/* v6.1.6 — استایل هیرو هوشمند (AI-First) */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.dark .hero-v2 {
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

/* اثر روح‌دار متحرک */
.hero-v2-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    animation: glowMove 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10%, 10%) scale(1.1); }
    66% { transform: translate(10%, -10%) scale(0.9); }
}

.hero-v2-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

.dark .hero-v2-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
    color: #c4b5fd;
}

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

.hero-v2-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.dark .hero-v2-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v2-title .typing-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 3px solid #8b5cf6;
    padding-bottom: 5px;
    display: inline-block;
    min-height: 1.2em;
    /* v8.8.11: رفع قطعی لرزش — عرض ثابت بر اساس بلندترین کلمه («دستیار هوشمند») */
    min-width: 7em;
    text-align: center;
    vertical-align: middle;
}

.hero-v2-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #64748b;
    max-width: 650px;
    line-height: 1.7;
}

.dark .hero-v2-subtitle { color: #94a3b8; }

.hero-v2-subtitle strong {
    color: #475569;
    font-weight: 800;
}

.dark .hero-v2-subtitle strong { color: #e2e8f0; }

/* ایموجی دست به پایین */
.hero-v2-arrow {
    font-size: 2.5rem;
    animation: arrowBounce 2s ease-in-out infinite;
    line-height: 1;
}

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

/* دکمه‌های دوگانه */
.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.hero-v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-v2-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.hero-v2-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.5);
}

.hero-v2-btn-secondary {
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.dark .hero-v2-btn-secondary {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #475569;
}

.hero-v2-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: #6366f1;
    color: #6366f1;
}

.dark .hero-v2-btn-secondary:hover { color: #818cf8; }

/* نمودار شناور */
.hero-v2-visual {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-v2-stat-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    text-align: right;
    min-width: 160px;
    transition: transform 0.3s;
}

.dark .hero-v2-stat-card {
    background: #1e293b;
    border-color: #334155;
}

.hero-v2-stat-card:hover { transform: translateY(-5px); }

.hero-v2-stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}

.hero-v2-stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.dark .hero-v2-stat-value { color: #f1f5f9; }

.hero-v2-stat-label {
    font-size: 12px;
    color: #64748b;
}

.dark .hero-v2-stat-label { color: #94a3b8; }

/* اعتماد */
.hero-v2-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    max-width: 600px;
}

.dark .hero-v2-trust { border-color: #334155; }

.hero-v2-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.dark .hero-v2-trust-item { color: #94a3b8; }

@media (max-width: 768px) {
    .hero-v2-container { padding: 2rem 1rem; }
    .hero-v2-btn { width: 100%; justify-content: center; }
    .hero-v2-arrow { font-size: 2rem; }
}

/* استایل راهنمای میکروفون داخل چت‌بات */
.ai-mic-hint {
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #6366f1;
    background: #eef2ff;
    padding: 6px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.dark .ai-mic-hint {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}
