/* فونت‌های ضروری فقط - فشرده شده */
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(IRANSansX), url(/static/fonts/IRANSansXRegular.woff) format(woff);
}
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local(IRANSansX), url(/static/fonts/IRANSansXDemiBold.woff) format(woff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: IRANSansX, Tahoma, Arial, sans-serif;
    background: #f9fafb;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header {
    background: #fff;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: block;
    width: 100px;
    height: 47px;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #10b981;
}

.nav-btn {
    background: #10b981;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #059669;
}

.menu-btn {
    display: none;
    font-size: 28px;
    background: 0;
    border: 0;
    cursor: pointer;
    padding: 8px;
    color: #1e293b;
}

.main {
    padding: 32px 0;
}

.hero {
    max-width: 1280px;
    margin: 55px auto 15px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    background: linear-gradient(180deg, #00ffab14, #00ff1d00);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 64px;
    align-items: center;
}

.stat-item {
    margin-bottom: 20px;
    border-radius: 50px;
    border: 2px solid #ab870052;
    display: inline-block;
    padding: 6px 20px;
    background: #ffca001a;
    color: #b69b00;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-guarantee {
    font-size: 1rem;
    color: #334155;
    font-weight: 500;
}

.hero-form {
    background: #fff;
    padding: 32px;
    border-radius: 32px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
}

.input-group input:focus {
    outline: 0;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.btn {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background: #10b981;
    color: #fff;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #10b981;
    margin: 16px auto 0;
    border-radius: 4px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.guarantee-card {
    padding: 32px 24px;
    background: #fff;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -12px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.guarantee-icon {
    background: #10b981;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guarantee-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.guarantee-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.service-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.service-card:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.testimonials {
    background: #fff;
    border-radius: 40px;
    padding: 56px;
    margin: 48px 0;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    padding: 32px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #334155;
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer {
    background: #0f172a;
    color: #fff;
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
}

.footer-column h3:after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #10b981;
    margin-top: 12px;
    border-radius: 3px;
}

.footer-column p {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #10b981;
}

.certificates {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.certificate {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 16px;
    width: 120px;
    text-align: center;
    transition: 0.2s;
}

.certificate:hover {
    background: rgba(16, 185, 129, 0.1);
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

.copyright a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.copyright a:hover {
    color: #10b981;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
}

.hidden-keywords {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hero-badge {
    margin: 20px 0 16px;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-block;
    color: #10b981;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #10b981;
}

@media (max-width: 1024px) {
    .hero {
        padding: 32px;
        gap: 32px;
        margin: 20px 0;
    }
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .nav.active {
        display: flex;
    }
    .menu-btn {
        display: block;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 24px;
        margin: 0;
        border-radius: 0;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials {
        padding: 32px 24px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .btn {
        padding: 14px 12px;
        font-size: 0.95rem;
    }
    .hero-form {
        padding: 24px;
    }
    .service-card {
        padding: 24px;
    }
    .guarantee-card {
        padding: 24px;
    }
    .certificates {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .flex {
        gap: 8px;
    }
    .badge {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}