﻿@font-face {
    font-family: Iransans;
    src: url('../font/IRANSansWeb.woff2') format('woff2'), url('../font/IRANSansWeb.woff') format('woff'), url('../font/IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Iransans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Iransans', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6) contrast(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== فلش بدون قاب ===== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 40px;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s;
}

    .scroll-down:hover {
        opacity: 0.7;
    }

.arrow-icon {
    display: inline-block;
    font-size: 4.2rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 80px rgba(255, 255, 255, 0.4), 0 0 120px rgba(255, 255, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: bounce 1.8s infinite ease-in-out;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    border-radius: 2px;
    animation: linePulse 2s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(14px);
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ===== بخش معرفی ===== */
.intro {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px 50px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 32px;
    padding: 40px 35px;
    max-width: 620px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .glass-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .glass-card h2 {
        font-size: clamp(2rem, 6vw, 2.6rem);
        font-weight: 300;
        letter-spacing: 1px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #f0e6d0, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 20px rgba(255, 215, 150, 0.15);
    }

    .glass-card p {
        font-size: 1.05rem;
        line-height: 2;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 18px;
        font-weight: 300;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

        .glass-card p:last-of-type {
            margin-bottom: 30px;
        }

.menu-btn {
    display: inline-block;
    padding: 14px 48px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    user-select: none;
}

    .menu-btn:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.03);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .menu-btn:active {
        transform: scale(0.97);
    }

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 30px;
    }

    .arrow-icon {
        font-size: 3.8rem;
    }

    .scroll-line {
        height: 32px;
    }

    .glass-card {
        padding: 30px 24px;
        border-radius: 28px;
    }

        .glass-card p {
            font-size: 0.98rem;
            line-height: 1.9;
        }

    .menu-btn {
        padding: 12px 36px;
        font-size: 1rem;
        max-width: 280px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-bottom: 25px;
    }

    .arrow-icon {
        font-size: 3.4rem;
    }

    .scroll-line {
        height: 28px;
    }

    .glass-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

        .glass-card p {
            font-size: 0.92rem;
            line-height: 1.8;
        }

    .menu-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        max-width: 240px;
    }
}

@media (max-width: 400px) {
    .arrow-icon {
        font-size: 3rem;
    }

    .glass-card h2 {
        font-size: 1.6rem;
    }

    .glass-card p {
        font-size: 0.85rem;
    }

    .menu-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        max-width: 200px;
    }
}
