:root {
    --primary: #2E8B57;
    --primary-dark: #237347;

    --background: #FDFDFD;
    --surface: #FFFFFF;

    --text-primary: #171717;
    --text-secondary: #666666;

    --border: #EAEAEA;

    --max-width: 1180px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(253, 253, 253, 0.92);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);
}


.nav-container {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;

    color: var(--primary);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}


.nav-links a {
    transition: color 0.2s ease;
}


.nav-links a:hover {
    color: var(--primary);
}


/* HERO */

.hero {
    padding: 110px 0 120px;
}


.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 80px;
}


.hero-label {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.hero h1 {
    max-width: 720px;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;

    letter-spacing: -3px;
}


.hero h1 span {
    color: var(--primary);
}


.hero-content > p {
    max-width: 650px;

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 19px;
    line-height: 1.7;
}


.hero-actions {
    margin-top: 38px;
}


.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 26px;

    border-radius: 14px;

    background: var(--primary);
    color: white;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
}


.mascot-placeholder {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 40px;

    background: var(--surface);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.06);
}


.arabic-letter {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 32px;

    background: var(--primary);
    color: white;

    font-family: Arial, sans-serif;
    font-size: 82px;
    font-weight: 700;
}


.mascot-placeholder p {
    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 18px;
    font-weight: 600;
}


/* FEATURES */

.features {
    padding: 110px 0;

    background: #F7F8F7;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.section-heading {
    max-width: 650px;

    margin-bottom: 55px;
}


.section-heading span {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.1em;
}


.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;

    letter-spacing: -1.5px;
}


.section-heading p {
    margin-top: 17px;

    color: var(--text-secondary);

    font-size: 17px;
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


.feature-card {
    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);
}


.feature-number {
    margin-bottom: 44px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}


.feature-card h3 {
    margin-bottom: 12px;

    font-size: 20px;
}


.feature-card p {
    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.7;
}


/* FOOTER */

.site-footer {
    padding: 65px 0 30px;

    background: var(--surface);
}


.footer-container {
    display: flex;
    justify-content: space-between;

    gap: 40px;
}


.footer-container strong {
    color: var(--primary);

    font-size: 22px;
}


.footer-container p {
    margin-top: 8px;

    color: var(--text-secondary);
}


.footer-links {
    display: flex;
    gap: 28px;

    color: var(--text-secondary);

    font-size: 14px;
}


.footer-links a:hover {
    color: var(--primary);
}


.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 13px;
}


/* MOBILE */

@media (max-width: 700px) {

    .hero {
        padding: 75px 0 90px;
    }


    .hero-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .hero h1 {
        letter-spacing: -2px;
    }


    .hero-visual {
        justify-content: flex-start;
    }


    .mascot-placeholder {
        width: 100%;
        max-width: 420px;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .nav-container {
        min-height: 64px;
    }


    .nav-links {
        gap: 16px;

        font-size: 13px;
    }


    .brand {
        font-size: 21px;
    }


    .hero h1 {
        font-size: 46px;
    }


    .hero-content > p {
        font-size: 17px;
    }


    .features {
        padding: 80px 0;
    }


    .footer-container {
        flex-direction: column;
    }


    .footer-links {
        flex-direction: column;

        gap: 12px;
    }

}


/* =========================================================
   LEGAL PAGES
   ========================================================= */

.active-link {
    color: var(--primary);
}


.legal-page {
    min-height: 70vh;
}


.legal-hero {
    padding: 90px 0 65px;

    border-bottom: 1px solid var(--border);

    background: #F7F8F7;
}


.legal-container {
    max-width: 860px;
}


.legal-label {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.1em;
}


.legal-hero h1 {
    margin-top: 14px;

    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.1;

    letter-spacing: -2px;
}


.legal-intro {
    max-width: 720px;

    margin-top: 22px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.75;
}


.legal-updated {
    margin-top: 22px;

    color: var(--text-secondary);

    font-size: 14px;
}


.legal-content {
    padding: 35px 0 110px;
}


.legal-section {
    padding: 45px 0;

    border-bottom: 1px solid var(--border);
}


.legal-section:last-child {
    border-bottom: 0;
}


.legal-section h2 {
    margin-bottom: 20px;

    font-size: 28px;
    line-height: 1.25;

    letter-spacing: -0.6px;
}


.legal-section h3 {
    margin-top: 32px;
    margin-bottom: 12px;

    font-size: 19px;
}


.legal-section p {
    margin-top: 14px;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.8;
}


.legal-section ul {
    margin-top: 18px;
    margin-left: 24px;

    color: var(--text-secondary);
}


.legal-section li {
    margin-bottom: 10px;

    padding-left: 5px;

    line-height: 1.7;
}


.legal-contact-card {
    margin-top: 25px;

    padding: 24px 26px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #F7F8F7;
}


.legal-contact-card strong {
    color: var(--primary);

    font-size: 18px;
}


.legal-contact-card p {
    margin-top: 8px;
}


.contact-email {
    color: var(--primary);
    font-weight: 700;
}


.contact-email:hover {
    text-decoration: underline;
}


@media (max-width: 600px) {

    .legal-hero {
        padding: 65px 0 50px;
    }


    .legal-content {
        padding-bottom: 80px;
    }


    .legal-section {
        padding: 35px 0;
    }


    .legal-section h2 {
        font-size: 24px;
    }


    .legal-section p {
        font-size: 15px;
    }

}


/* =========================================================
   404 PAGE
   ========================================================= */

.error-page {
    min-height: calc(100vh - 300px);

    display: flex;
    align-items: center;

    padding: 110px 0;
}


.error-container {
    max-width: 760px;

    text-align: center;
}


.error-code {
    display: block;

    margin-bottom: 15px;

    color: var(--primary);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.12em;
}


.error-container h1 {
    font-size: clamp(46px, 7vw, 72px);
    line-height: 1.05;

    letter-spacing: -2.5px;
}


.error-container p {
    max-width: 590px;

    margin: 25px auto 35px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.75;
}


@media (max-width: 600px) {

    .error-page {
        min-height: calc(100vh - 260px);

        padding: 80px 0;
    }


    .error-container h1 {
        font-size: 46px;
    }


    .error-container p {
        font-size: 16px;
    }

}