/* متغیرهای رنگی (در صورت نیاز به تعریف مجدد) */
:root {
    --c-primary: #BE7241;
    --c-gold: #C99E33;
    --c-dark-blue: #0A244F;
    --c-beige: #EAE3D3;
    --c-light: #FDF9EE;
}

/* کانتینر اصلی */
.hc-auth-wrapper {
    font-family: 'IRANSans', 'Vazirmatn', Tahoma, sans-serif;
    color: var(--c-dark-blue);
    line-height: 1.8;
    background-color: #ffffff; /* پس‌زمینه سفید خالص */
    border-radius: 24px; /* انحنای گرد و نرم */
    overflow: hidden;
    padding: 2rem;
}

/* بخش هدر */
.hc-auth-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hc-auth-hero-content {
    flex: 1;
}

.hc-auth-badge {
    display: inline-block;
    background-color: var(--c-gold);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hc-auth-title {
    color: var(--c-primary);
    font-size: 2rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hc-auth-desc {
    font-size: 1.05rem;
    text-align: justify;
    opacity: 0.9;
}

.hc-auth-hero-image {
    flex: 1;
    border-radius: 24px; /* انحنای عکس */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(190, 114, 65, 0.2);
}

.hc-auth-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* بخش ویژگی‌ها (گرید) */
.hc-auth-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hc-auth-feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px; /* انحنای کارت‌ها */
    border-top: 4px solid var(--c-primary);
    box-shadow: 0 4px 15px rgba(10, 36, 79, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hc-auth-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 36, 79, 0.1);
}

.hc-auth-feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--c-beige);
    color: var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hc-auth-feature-title {
    color: var(--c-dark-blue);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hc-auth-feature-text {
    font-size: 0.95rem;
    text-align: justify;
    margin: 0;
    opacity: 0.8;
}

/* بخش نتیجه‌گیری */
.hc-auth-conclusion {
    display: flex;
    flex-direction: column;
    background-color: var(--c-beige);
    border-radius: 24px; /* انحنای کادر پایینی */
    overflow: hidden;
}

.hc-auth-conclusion-image {
    flex: 1;
}

.hc-auth-conclusion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 250px;
}

.hc-auth-conclusion-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hc-auth-conclusion-title {
    color: var(--c-dark-blue);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hc-auth-conclusion-text {
    font-size: 1rem;
    text-align: justify;
    margin: 0;
    opacity: 0.9;
}

/* افکت انیمیشن جاوااسکریپت */
.hc-auth-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hc-auth-fade-up.hc-auth-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ریسپانسیو (برای تبلت و دسکتاپ) */
@media (min-width: 768px) {
    .hc-auth-wrapper {
        padding: 3rem;
    }
    
    .hc-auth-hero {
        flex-direction: row;
        align-items: center;
    }
    
    .hc-auth-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hc-auth-conclusion {
        flex-direction: row;
    }
}
