@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background:
        radial-gradient(circle at top right, #5b21b620 0%, transparent 40%),
        radial-gradient(circle at bottom left, #2563eb20 0%, transparent 40%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    height: 55vh;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: heroZoom 12s linear infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, .15),
            rgba(15, 23, 42, .8));
    backdrop-filter: blur(1px);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    right: 25px;
    left: 25px;
    color: #fff;
    z-index: 2;
}

.badge {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    margin-bottom: 18px;
    font-size: .9rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, .3);
}

.hero-content p {
    line-height: 2;
    opacity: .92;
    font-size: 1rem;
}

/* ================= MAIN ================= */

.container {
    width: min(92%, 850px);
    margin: -40px auto 40px;
    position: relative;
    z-index: 5;
}

/* ================= CARD ================= */

.card {
    position: relative;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 30px;

    background: rgba(255, 255, 255, .55);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .5);

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .08);

    overflow: hidden;

    transition: .35s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            #8b5cf630,
            transparent);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, .12);
}

.card h2 {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0f172a;
    margin-bottom: 20px;

    font-size: 1.25rem;
}

.card h2 i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;

    border-radius: 14px;

    color: #fff;

    background: linear-gradient(135deg,
            #2563eb,
            #7c3aed);
}

.card p {
    line-height: 2.3;
    color: #475569;
}

/* ================= FEATURES ================= */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature {
    padding: 18px;
    border-radius: 22px;

    background: #fff;

    display: flex;
    flex-direction: column;

    align-items: center;
    gap: 12px;

    transition: .3s;

    border: 1px solid #eef2ff;
}

.feature:hover {
    transform: translateY(-8px);
}

.feature i {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;

    border-radius: 18px;

    font-size: 1.6rem;
    color: #fff;

    background: linear-gradient(135deg,
            #f97316,
            #ec4899);

    box-shadow:
        0 10px 25px rgba(236, 72, 153, .25);
}

.feature span {
    font-weight: 700;
    color: #334155;
}

/* ================= TIPS ================= */

.tips {
    list-style: none;
}

.tips li {
    position: relative;

    padding: 16px 18px 16px 16px;
    margin-bottom: 12px;

    border-radius: 18px;

    background: #fff;

    color: #475569;

    border-right: 4px solid #7c3aed;

    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
}

.tips li::before {
    content: "✓";
    color: #7c3aed;
    font-weight: 700;
    margin-left: 8px;
}

/* ================= BUTTON ================= */

.map-btn {
    width: 100%;
    border: none;
    padding: 18px;

    border-radius: 22px;

    font-size: 1.1rem;
    font-weight: 700;

    color: #fff;

    cursor: pointer;

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed,
            #ec4899);

    background-size: 200% 200%;

    animation: gradientMove 5s ease infinite;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-shadow:
        0 15px 35px rgba(124, 58, 237, .35);

    transition: .35s;
}

.map-btn:hover {
    transform: translateY(-5px) scale(1.02);
}

.map-btn:active {
    transform: scale(.97);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ================= ANIMATION ================= */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp .8s forwards;
}

.fade-up:nth-child(1) {
    animation-delay: .15s;
}

.fade-up:nth-child(2) {
    animation-delay: .3s;
}

.fade-up:nth-child(3) {
    animation-delay: .45s;
}

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ================= MOBILE ================= */

@media(max-width:768px) {

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
    }

}

.back-btn {

    position: absolute;
    top: 20px;
    right: 20px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .25);

    color: #fff;

    text-decoration: none;

    font-size: 24px;

    z-index: 20;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .15);

    transition: .3s;
}

.back-btn:hover {

    transform: translateY(-3px) scale(1.05);

    background: rgba(255, 255, 255, .25);
}

.back-btn:active {

    transform: scale(.92);
}