/* Home Page - الس - صفحه اصلی - سایز استاندارد */

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-title-main { display: block; margin-bottom: 0.35rem; }

.typing-text {
    position: relative;
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 700;
}

.typing-text::after {
    content: "|";
    animation: blink 1s infinite;
    color: var(--primary-green);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn { font-weight: 600; border-radius: 50px; transition: all 0.3s ease; font-size: 0.9rem; }
.btn-lg { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-success { background: var(--primary-green); border-color: var(--primary-green); }
.btn-success:hover { background: var(--dark-green); transform: translateY(-2px); }
.btn-outline-success { border-color: var(--primary-green); color: var(--primary-green); }
.btn-outline-success:hover { background: var(--primary-green); color: white; }

/* Progress Circle (Hero) */
.progress-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
}

.progress-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-green) 0deg var(--progress, 0deg), #e9ecef var(--progress, 0deg) 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12);
    animation: float 6s ease-in-out infinite;
}

.progress-circle::before {
    content: "";
    position: absolute;
    width: 130px; height: 130px;
    background: var(--white);
    border-radius: 50%;
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.progress-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    z-index: 2;
}

.progress-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    z-index: 2;
    margin-top: 0.35rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features */
.features-section { padding: 3.5rem 0; background: var(--white); }
.features-section .mb-5 { margin-bottom: 2rem !important; }

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card:hover { transform: translateY(-6px); }

.feature-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--white);
    font-size: 1.1rem;
}

.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); line-height: 1.55; font-size: 0.875rem; }

/* Stats */
.stats-section { background: var(--bg-light); padding: 2.5rem 0 !important; }
.stat-item { padding: 1.25rem; }
.stat-number { font-size: 1.75rem; font-weight: 700; color: #155724; margin-bottom: 0.35rem; }
.stat-label { font-size: 0.9rem; color: #495057; font-weight: 500; }

/* About */
.about-section { padding: 3.5rem 0; background: var(--white); }
.section-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
}

.feature-box {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 100px;
    flex: 0 0 100px;
}

.feature-box:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.feature-icon-box {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--white);
    font-size: 0.85rem;
}

.feature-box span { font-size: 0.75rem; font-weight: 600; display: block; }

.dashboard-preview {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 380px;
    margin: 0 auto;
}

.preview-header { background: #f8f9fa; padding: 0.75rem; border-bottom: 1px solid #e9ecef; }
.preview-dots { display: flex; gap: 0.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }
.preview-content { padding: 1.25rem; }
.preview-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.preview-progress {
    width: 40px; height: 5px;
    background: linear-gradient(90deg, var(--primary-green), #e9ecef);
    border-radius: 3px;
}
.preview-text { font-weight: 500; font-size: 0.8rem; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    position: relative;
    padding: 2.5rem 0 !important;
}

.cta-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.6rem; }
.cta-description { font-size: 1rem; margin-bottom: 1.25rem; }

@media (max-width: 768px) {
    .hero-title { font-size: 1.5rem; }
    .typing-text { font-size: 1.5rem; }
    .progress-circle-container { height: 220px; }
    .progress-circle { width: 170px; height: 170px; }
    .progress-circle::before { width: 110px; height: 110px; }
    .progress-value { font-size: 1.25rem; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.35rem; }
    .typing-text { font-size: 1.35rem; }
    .progress-circle-container { height: 180px; }
    .progress-circle { width: 140px; height: 140px; }
    .progress-circle::before { width: 90px; height: 90px; }
    .progress-value { font-size: 1.1rem; }
}
