﻿:root {
    --primary: #0c8f72;
    --primary-dark: #056b55;
    --primary-light: #e9f8f3;
    --blue: #2196f3;
    --blue-light: #eaf5ff;
    --text: #18332d;
    --muted: #71847e;
    --bg: #f5f8f7;
    --card: #ffffff;
    --border: #e4ece8;
    --shadow: 0 10px 35px rgba(20, 60, 50, 0.08);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    font-size: 20px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top right, rgba(32, 150, 243, .08), transparent 35%), radial-gradient(circle at top left, rgba(12, 143, 114, .10), transparent 30%), var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================
           Layout
        ========================= */

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 35px 0 60px;
}

/* =========================
           Hero
        ========================= */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f1fbf7 55%, #edf7ff 100%);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 28px;
    padding: 38px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        background: rgba(12, 143, 114, .08);
        top: -120px;
        left: -100px;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(33, 150, 243, .07);
        bottom: -150px;
        right: -100px;
    }

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text {
    flex: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    box-shadow: 0 8px 18px rgba(12,143,114,.18);
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
    max-width: 760px;
}

/* =========================
           Wizard button
        ========================= */

.hero-action {
    flex-shrink: 0;
}

.wizard-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    min-width: 190px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #10a983);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 12px 25px rgba(12,143,114,.23);
    transition: .25s ease;
    overflow: hidden;
}

    .wizard-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 110deg, transparent 20%, rgba(255,255,255,.25), transparent 80% );
        transition: .55s;
    }

    .wizard-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(12,143,114,.28);
    }

        .wizard-btn:hover::before {
            left: 100%;
        }

.wizard-icon {
    font-size: 25px;
    line-height: 1;
}

.wizard-subtitle {
    margin-top: 8px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

/* =========================
           Download
        ========================= */

.download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: 0 7px 20px rgba(20, 60, 50, .05);
}

.download-text {
    display: flex;
    align-items: center;
    gap: 13px;
}

.download-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 23px;
}

.download-text strong {
    display: block;
    margin-bottom: 2px;
}

.download-text span {
    color: var(--muted);
    font-size: 15px;
}

.download-btn {
    flex-shrink: 0;
    padding: 10px 17px;
    border-radius: 12px;
    color: var(--blue);
    background: var(--blue-light);
    font-weight: 600;
    transition: .2s ease;
}

    .download-btn:hover {
        background: #dceeff;
        transform: translateY(-1px);
    }

/* =========================
           Steps
        ========================= */

.steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 25px rgba(20, 60, 50, .05);
    transition: .25s ease;
}

    .step-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 35px rgba(20, 60, 50, .08);
    }

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.step-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #13ad89);
    box-shadow: 0 8px 18px rgba(12,143,114,.18);
}

.step-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.step-description {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.step-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    transition: .2s ease;
}

    .action-link:hover {
        background: #d8f2e9;
        transform: translateY(-2px);
    }

    .action-link .arrow {
        font-size: 15px;
    }

/* =========================
           Irrigation category
        ========================= */

.irrigation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.irrigation-card {
    border: 1px solid var(--border);
    background: #fbfdfc;
    border-radius: 16px;
    padding: 18px;
    transition: .2s ease;
}

    .irrigation-card:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(20, 60, 50, .06);
    }

.irrigation-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    color: var(--primary-dark);
    font-size: 23px;
    font-weight: 700;
}

    .irrigation-title span {
        display: inline-flex;
        width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--primary-light);
    }

.irrigation-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 12px;
}

.system-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .system-list li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 7px 9px;
        border-radius: 9px;
        transition: .18s ease;
        color: #264840;
    }

        .system-list li a::before {
            content: "‹";
            color: var(--primary);
            font-weight: 700;
            transition: .18s ease;
        }

        .system-list li a:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
            padding-right: 13px;
        }

            .system-list li a:hover::before {
                transform: translateX(-2px);
            }

/* =========================
           Important notice
        ========================= */

.notice {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    padding: 15px 17px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f8ff, #f8fcff);
    border: 1px solid #dbeeff;
    color: #3f637c;
    line-height: 1.8;
}

.notice-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: white;
    box-shadow: 0 4px 10px rgba(33,150,243,.08);
}

/* =========================
           Footer
        ========================= */

.footer {
    margin-top: 28px;
    padding-top: 20px;
    text-align: center;
    color: #8a9994;
    font-size: 15px;
    border-top: 1px solid var(--border);
}

/* =========================
           Responsive
        ========================= */

@media (max-width: 900px) {

    .hero-content {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-action {
        width: 100%;
    }

    .wizard-btn {
        width: 100%;
    }

    .wizard-subtitle {
        text-align: right;
    }

    .irrigation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    html {
        font-size: 18px;
    }

    .page {
        width: min(100% - 20px, 1180px);
        padding-top: 10px;
    }

    .hero {
        padding: 24px 20px;
        border-radius: 20px;
    }

        .hero h1 {
            font-size: 31px;
        }

    .download-box {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        text-align: center;
    }

    .step-card {
        padding: 17px;
    }

    .step-title {
        font-size: 23px;
    }

    .step-number {
        width: 43px;
        height: 43px;
    }
}
