/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: linear-gradient(145deg, #c3bcb2 0%, #a69f94 100%);
    color: #d8d4cf;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* ===== MAIN CONTAINER ===== */
.coming-page {
    width: 100%;
    max-width: 520px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===== BACKGROUND DECORATIVE SHAPES ===== */
.background-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.12;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.triangle {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 40px solid #5e5951;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.triangle-1 {
    left: 5%;
    top: 5%;
    transform: rotate(-10deg);
}

.triangle-2 {
    right: 5%;
    bottom: 5%;
    transform: rotate(170deg);
}

.background-logo::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 40px solid #5e5951;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.4;
}

/* ===== CARD ===== */
.card {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 484px;
    max-height: 95vh;
    background: rgba(40, 40, 40, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 5vh, 60px) clamp(20px, 4vw, 36px) clamp(20px, 3vh, 40px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    /* حذف opacity:0 و انیمیشن fadeUp قبلی */
    opacity: 1;
    transform: none;
}

/* ===== انیمیشن‌های جدید ===== */

/* لوگو از بالا به پایین */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* سایر المان‌ها: fade-in با حرکت جزئی از پایین */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BRAND (IMAGE LOGO) ===== */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(20px, 3vh, 40px);
    width: 100%;
    /* انیمیشن لوگو */
    animation: slideDown 0.8s ease-out forwards;
}

.brand-logo-img {
    max-width: clamp(140px, 30vw, 220px);
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

/* ===== HEADING ===== */
.heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 14px);
    font-size: clamp(18px, 3.2vw, 26px);
    color: #e8e4de;
    font-weight: 400;
    margin-bottom: clamp(14px, 2vh, 24px);
    /* انیمیشن با تأخیر */
    opacity: 0; /* حالت اولیه مخفی */
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.3s;
}

.heading span:first-child {
    direction: ltr;
}

.separator {
    color: #aaa59e;
}

/* ===== DESCRIPTION ===== */
.description {
    width: 100%;
    text-align: center;
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 2.2;
    font-weight: 300;
    color: #cbc6be;
    margin-bottom: clamp(18px, 2.5vh, 32px);
    max-width: 90%;
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.6s;
}

/* ===== NOTIFY BOX ===== */
.notify-box {
    width: 100%;
    height: clamp(54px, 7vh, 72px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbc6be;
    font-size: clamp(13px, 1.6vw, 15px);
    margin-bottom: clamp(20px, 3vh, 40px);
    transition: 0.25s ease;
    cursor: pointer;
    border-radius: 12px;
    user-select: none;
    backdrop-filter: blur(2px);
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.9s;
}

.notify-box:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.notify-box:active {
    transform: scale(0.97);
}

/* ===== CONTACT ===== */
.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 1.5vh, 18px);
    margin-bottom: clamp(20px, 3vh, 36px);
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 1.2s;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #cbc6be;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 300;
}

.contact-item i {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #b5aea4;
    width: 20px;
    text-align: center;
}

.contact-item.phone {
    direction: rtl;
}

/* ===== SOCIALS ===== */
.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 26px);
    margin-top: auto;
    padding-top: 6px;
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 1.5s;
}

.socials a {
    width: clamp(48px, 8vw, 58px);
    height: clamp(48px, 8vw, 58px);
    border-radius: 50%;
    background: #d2cdc4;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: clamp(20px, 3vw, 26px);
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.socials a:hover {
    transform: translateY(-4px) scale(1.05);
    background: #e6e1d9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ===== RESPONSIVE FINE-TUNING ===== */
@media (max-width: 700px) {
    body {
        padding: 12px;
    }
    .card {
        border-radius: 24px;
        padding: clamp(24px, 4vh, 40px) clamp(16px, 3vw, 24px) clamp(16px, 2.5vh, 28px);
    }
    .background-logo {
        opacity: 0.08;
    }
    .triangle {
        width: 200px;
        height: 200px;
        border-width: 28px;
    }
    .background-logo::before {
        width: 350px;
        height: 180px;
        border-width: 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    .card {
        border-radius: 20px;
        padding: clamp(16px, 3vh, 28px) clamp(12px, 2.5vw, 18px) clamp(12px, 2vh, 20px);
        max-height: 96vh;
    }
    .brand {
        margin-bottom: clamp(12px, 1.8vh, 20px);
    }
    .heading {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: clamp(10px, 1.5vh, 16px);
    }
    .description {
        font-size: clamp(11px, 2.5vw, 13px);
        line-height: 2;
        max-width: 100%;
        margin-bottom: clamp(12px, 2vh, 18px);
    }
    .notify-box {
        height: clamp(46px, 6vh, 54px);
        font-size: clamp(11px, 2.2vw, 13px);
        margin-bottom: clamp(14px, 2vh, 22px);
        border-radius: 10px;
    }
    .contact-info {
        gap: clamp(8px, 1.2vh, 12px);
        margin-bottom: clamp(14px, 2vh, 22px);
    }
    .contact-item {
        font-size: clamp(11px, 2vw, 12px);
        gap: 6px;
    }
    .contact-item i {
        font-size: clamp(12px, 2vw, 14px);
        width: 16px;
    }
    .socials {
        gap: clamp(14px, 4vw, 20px);
    }
    .socials a {
        width: clamp(42px, 10vw, 48px);
        height: clamp(42px, 10vw, 48px);
        font-size: clamp(18px, 4vw, 22px);
    }
}