/* ================= طراحی گوشی (phone-mockup.css) ================= */
.hero-img-box {
    flex: 1.5;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    /* ویژگی perspective حذف شد چون گوشی کاملا صاف است */
}

.phone-mockup {
    width: 330px;
    height: 670px;
    background: #ffffff;
    border-radius: 50px;
    border: 12px solid #2a2a2a;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.3), 
        inset 0 0 0 4px #000, 
        inset 0 0 0 6px #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: floatPhone 6s ease-in-out infinite;
    transform: translateY(0); /* چرخش‌ها حذف شدند و گوشی کاملا صاف است */
    font-family: 'IranSans', sans-serif;
}

@keyframes floatPhone {
    /* انیمیشن شناور شدن فقط در محور Y (بالا و پایین) بدون هیچ‌گونه کج‌شدگی */
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 30;
}

.phone-notch::before {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #111;
    border-radius: 50%;
    border: 1px solid #222;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
}

.p-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 0 25px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    z-index: 20;
    direction: ltr;
}

.p-status-icons {
    display: flex;
    gap: 5px;
}

/* --- Header in Mockup --- */
.p-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
    margin-top: 5px;
    direction: ltr;
}

.p-model-selector {
    background: #f1f5f9;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0f172a;
}

/* --- Dropdown Menu --- */
.p-model-menu {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 10px;
    z-index: 50;
    border: 1px solid #f1f5f9;
    direction: ltr;
}

.p-menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    margin-bottom: 2px;
}

.p-menu-item.active {
    background: #eff6ff;
    color: #1e1b4b;
}

.p-menu-item svg:first-child {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/* اضافه کردن استایل مخصوص آواتارهای تصویری مدل‌ها در منو */
.p-menu-item img.model-avatar {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f1f5f9;
}

.p-menu-item.active .check {
    margin-left: auto;
    color: #4f46e5;
    width: 16px;
    height: 16px;
}

.p-see-more {
    text-align: center;
    font-size: 13px;
    color: #475569;
    padding: 10px;
    border-top: 1px solid #f1f5f9;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

/* --- Greeting --- */
.p-greeting {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 265px 20px 20px;
    z-index: 10;
}

.p-greeting h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: bold;
}

.p-greeting p {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* --- Input Area --- */
.p-input-area {
    padding: 15px 20px;
    margin-bottom: 10px;
}

.p-input-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 35px;
    padding: 6px 6px 6px 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    direction: rtl;
}

.p-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.p-icon-btn.plus-btn {
    background: #f1f5f9;
    color: #4f46e5;
}

.p-input-box input {
    flex-grow: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 10px;
    font-family: 'IranSans', sans-serif;
    font-size: 13px;
    outline: none;
    color: #94a3b8;
}

.p-left-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    flex-shrink: 0;
    margin-left: 8px;
}

.p-icon-btn.voice-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #3730a3 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.p-mic-icon {
    color: #94a3b8;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* رسپانسیو مخصوص موکاپ گوشی */
@media (max-width: 900px) {
    .hero-img-box {
        max-width: 100%;
        margin: 40px auto;
    }
}
