:root {
    --background: #f6f8f7;
    --surface: #ffffff;
    --surface-soft: #f0f5f2;
    --text: #17211d;
    --muted: #66756e;
    --primary: #087f5b;
    --primary-dark: #066548;
    --primary-soft: #e5f5ef;
    --border: #dfe7e3;
    --shadow: 0 20px 55px rgba(25, 55, 44, 0.08);
    --radius-large: 28px;
    --radius-medium: 18px;
    --container: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(8, 127, 91, 0.07),
            transparent 28%
        ),
        var(--background);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 36px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    right: 20px;
    z-index: 9999;
    padding: 10px 16px;
    color: white;
    background: var(--primary);
    border-radius: 10px;
}

.skip-link:focus {
    top: 16px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(223, 231, 227, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary);
    border-radius: 14px;
    box-shadow: 0 9px 24px rgba(8, 127, 91, 0.20);
}

.brand-icon svg {
    width: 22px;
    height: 22px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 1.1rem;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.67rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--muted);
    font-size: 0.88rem;
}

.header-nav a {
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--primary);
}

/* Hero */

.hero {
    padding: 120px 0 100px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 7px 13px;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border: 1px solid rgba(8, 127, 91, 0.14);
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 600;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(8, 127, 91, 0.09);
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1.25;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    max-width: 660px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 31px;
}

/* Buttons */

.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: var(--primary);
    box-shadow: 0 12px 28px rgba(8, 127, 91, 0.18);
}

.button-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 15px 34px rgba(8, 127, 91, 0.25);
}

/* Forms section */

.forms-section {
    padding: 85px 0;
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 32px;
}

.section-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.section-heading h2 {
    margin-top: 2px;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.section-heading > p {
    max-width: 450px;
    color: var(--muted);
    font-size: 0.88rem;
}

.empty-state {
    padding: 58px 25px;
    text-align: center;
    background: var(--background);
    border: 1px dashed #cbd9d2;
    border-radius: var(--radius-large);
}

.empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 18px;
}

.empty-icon svg {
    width: 29px;
    height: 29px;
}

.empty-state h3 {
    margin-bottom: 7px;
    font-size: 1.1rem;
}

.empty-state p {
    max-width: 480px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Features */

.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    padding: 27px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: 0 10px 35px rgba(25, 55, 44, 0.035);
}

.feature-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 11px;
    font-weight: 800;
}

.feature h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.feature p {
    color: var(--muted);
    font-size: 0.84rem;
}

/* Footer */

.site-footer {
    padding: 28px 0;
    color: var(--muted);
    background: var(--surface);
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content span {
    color: #d9485f;
}

.footer-version {
    direction: rtl;
}

/* Responsive */

@media (max-width: 720px) {
    .brand-text small {
        display: none;
    }

    .header-nav {
        gap: 15px;
    }

    .header-nav a:first-child {
        display: none;
    }

    .hero {
        padding: 85px 0 70px;
    }

    .hero h1 {
        letter-spacing: -1.2px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}