body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: linear-gradient(135deg, #181c26 0%, #212c40 100%);
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    color: #f5f6fa;
}

.header {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    color: #fff;
    text-align: center;
    padding: 48px 0 28px 0;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: 0 8px 32px #ed1c2426;
}

.nav {
    display: flex;
    justify-content: center;
    background: rgb(32 38 54);
    box-shadow: 0 4px 18px #17182290;
    border-radius: 30px;
    margin: -33px auto 24px auto;
    max-width: 900px;
    z-index: 2;
    position: sticky;
}

.nav-item {
    position: relative;
    overflow: hidden;
    padding: 18px 28px;
    color: #e5e5e5;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    border-radius: 28px;
    margin: 3px;
    background-color: transparent;
    transition: color 1s;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
    opacity: 0;
    transition: opacity 1s;
    z-index: -1;
    border-radius: 28px;
}

.nav-item:hover::before {
    opacity: 1;
    transition-delay: 0s;
}

.nav-item:hover {
    color: #fff;
}

.active {
    background: linear-gradient(90deg, #ed1c24 0%, #c81d25 100%);
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

.hero-text {
    flex: 1 1 360px;
    max-width: 650px;
    padding-right: 24px;
}

.hero-text h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.hero-text p {
    color: #b6bac9;
    font-size: 1.3em;
}

.hero-photo {
    width: 410px;
    height: 360px;
    background: radial-gradient(circle, #ed1c24 30%, #212c40 90%);
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 18px 48px #ed1c2466, 0 4px 24px #181c2640;
    flex-shrink: 0;
}

.hero-photo img {
    max-width: 340px;
    max-height: 320px;
    border-radius: 18px;
    border: 5px solid #271d2a;
    filter: grayscale(.12) contrast(1.07) drop-shadow(0 4px 24px #ed1c2422);
}

.features-section {
    max-width: 1280px;
    margin: 56px auto 0 auto;
    padding: 0 24px;
    text-align: center;
}

.features-title {
    font-size: 2rem;
    margin-bottom: 28px;
    font-weight: 700;
    color: #fff;
}

.features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: linear-gradient(135deg, #262c3a 65%, #282343 100%);
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 2px 16px #191c22c0;
    flex: 1 1 260px;
    min-width: 240px;
    max-width: 340px;
    text-align: center;
    margin-bottom: 24px;
    transition: .5s;
}

.feature-card:hover {
    box-shadow: 0 10px 36px #ed1c2440, 0 2px 18px #11131480;
    transform: scale(1.1);
}

.feature-card img {
    width: 80%;
    margin-bottom: 16px;
    border-radius: 14px;
    box-shadow: 0 2px 10px #ed1c2440;
}

.feature-card h3 {
    color: #f85758;
}

.feature-card p {
    color: #b6bac9;
}

footer {
    background: linear-gradient(90deg, #191c22 70%, #2f2738 100%);
    color: #fff;
    text-align: center;
    padding: 26px 0 14px 0;
    margin-top: 64px;
    font-size: 1.1em;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    letter-spacing: .2px;
}

/* دکمه‌ مدرن */
.btn-modern {
    background-color: #ed1c24;
    color: #fff;
    font-family: 'Vazirmatn';
    border: none;
    position: relative;
    outline: none;
    padding: 14px 34px;
    margin-top: 22px;
    border-radius: 24px;
    font-size: 1.1em;
    letter-spacing: .4px;
    cursor: pointer;
    transition: .6s;
    font-weight: 700;
}

.btn-modern:hover {
    transform: scale(1.1);
    transition: .6s;
    box-shadow: 0 6px 30px #ed1c23b3;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 48px;
}