* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background: #111;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
    overflow: hidden;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    background: radial-gradient(circle, rgba(53, 67, 85, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.landing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 80%;
    max-width: 1200px;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    
    /* جلوگیری از CLS */
    min-height: 300px; /* ارتفاع حداقل رزرو شد */
    
    opacity: 0;
    transform: translateY(50px); /* شروع انیمیشن از پایین */
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.text-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
    0% {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3), 0 0 30px #ff00ff, 0 0 40px #ff00ff;
    }
    100% {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3), 0 0 30px #6200ea, 0 0 50px #6200ea;
    }
}

.text-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.btn-primary {
    text-decoration: none;
    background-color: #ff0066;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    transition: background 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e6005c;
}

.welcome-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.image-content img {
    width: 100%;
    height: auto; /* جلوگیری از CLS */
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

/* ریسپانسیو */
@media (max-width: 1024px) {
    .landing-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.1rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .container {
        height: auto;
        background: radial-gradient(circle, rgba(53, 67, 85, 1) 0%, rgba(0, 0, 0, 1) 50%);
    }
    .landing-container {
        width: 95%;
        padding: 20px;
    }
    .text-content h1 {
        font-size: 2rem;
    }
    .text-content p {
        font-size: 1rem;
    }
    .btn-primary {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
}
