/* استایل‌های اختصاصی صفحه اصلی (هدر/فوتر مشترک در common.css) */

.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
    color: white;
    text-align: center;
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 168, 232, 0.15), transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero h1 span:first-child { color: var(--accent-blue); }

.hero p {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.6rem;
    border-radius: 14px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    min-width: 180px;
    text-align: center;
}

.btn-login {
    background-color: var(--accent-blue);
    color: white;
    border: 3px solid white;
}

.btn-login:hover {
    background-color: #008cc2;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 168, 232, 0.4);
}

.btn-register {
    background-color: white;
    color: var(--accent-blue);
    border: 3px solid var(--accent-blue);
    font-weight: 700;
}

.btn-register:hover {
    background-color: #f0f8ff;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

main { max-width: 1400px; margin: 0 auto 5rem; padding: 0 2rem; }

.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy);
    margin: 3rem 0 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 5px;
    background: var(--accent-blue);
    display: block;
    margin: 1rem auto 0;
    border-radius: 3px;
}

.features {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1400px;
    width: 100%;
}

.feature-card {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-gray);
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 168, 232, 0.25);
    border-color: var(--accent-blue);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--navy);
}

.feature-card p {
    font-size: 1rem;
    color: var(--slate);
    opacity: 0.9;
}

.about {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-gray);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy), var(--accent-blue));
}

.about h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2rem;
    position: relative;
}

.about h2::after {
    content: '';
    width: 80px;
    height: 5px;
    background: var(--accent-blue);
    display: block;
    margin: 1rem auto 0;
    border-radius: 3px;
}

.about p {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--gray);
    line-height: 1.9;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 4.5rem 1.2rem 3.5rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .auth-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    main { padding: 0 1.2rem; }
    .about { padding: 2.2rem 1.5rem; }
    .about h2 { font-size: 1.9rem; }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
