﻿:root {
    --primary: #0D47A1;
    --primary-light: #1976D2;
    --accent: #00BFA5;
    --background: #F5F7FA;
    --surface: #FFFFFF;
    --text: #172033;
    --muted: #6B7280;
    --border: #E7EBF0;
    --dark: #0D1B2A;
    --radius: 22px;
    --shadow: 0 18px 55px rgba(20, 35, 60, .08);

    --font-regular: 'IRANSansWeb', sans-serif;
    --font-bold: 'IRANSansWeb', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-regular);
    font-weight: normal;
    line-height: 1.9;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   FONTS
   ============================================================ */

body,
button,
input,
textarea,
select {
    font-family: var(--font-regular);
    font-weight: normal;
}

strong,
b {
    font-family: var(--font-bold);
    font-weight: bold;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid rgba(231, 235, 240, .9);

    backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* ============================================================
   BRAND
   ============================================================ */

.text-brand {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    justify-content: center;

    line-height: 1;
}


/*
|--------------------------------------------------------------------------
| فارسی
|--------------------------------------------------------------------------
*/

.brand-persian {
    display: block;

    font-family: var(--font-regular);

    font-size: 36px;
    font-weight: normal;

    line-height: 1.05;

    color: var(--primary);

    white-space: nowrap;

    text-shadow:
        0 2px 8px rgba(13, 71, 161, .10);
}


/*
|--------------------------------------------------------------------------
| انگلیسی
|--------------------------------------------------------------------------
*/

.brand-english {
    display: block;

    margin-top: 7px;

    font-family: Arial, sans-serif;

    font-size: 17px;
    font-weight: normal;

    letter-spacing: 2px;

    line-height: 1;

    direction: ltr;

    color: #52657A;

    white-space: nowrap;

    text-align: left;
}


/* ============================================================
   MAIN NAVIGATION
   ============================================================ */

.main-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
}

.main-nav > a,
.nav-dropdown-toggle {
    color: #3F4757;

    font-family: var(--font-regular);

    font-size: 16px;
    font-weight: normal;

    transition: .2s ease;
}

.main-nav > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--primary);
}


/* ============================================================
   DROPDOWN
   ============================================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.nav-dropdown-toggle b {
    color: var(--primary);

    font-family: Arial, sans-serif;

    font-size: 17px;

    font-weight: bold;

    line-height: 1;

    transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle b,
.nav-dropdown.is-open .nav-dropdown-toggle b {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 18px);

    right: 50%;

    width: 290px;

    padding: 10px;

    opacity: 0;

    visibility: hidden;

    transform: translate(50%, -8px);

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(255,255,255,.99);

    box-shadow:
        0 25px 60px rgba(18, 35, 60, .14);

    transition: .2s ease;
}

.nav-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -7px;
    right: 50%;

    width: 13px;
    height: 13px;

    transform: translateX(50%) rotate(45deg);

    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);

    background: white;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translate(50%, 0);
}

.nav-dropdown-menu a {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px;

    border-radius: 12px;

    transition: .2s ease;
}

.nav-dropdown-menu a:hover {
    background: #F5F8FC;
}

.nav-dropdown-menu a > span:last-child {
    display: flex;

    flex-direction: column;
}

.nav-dropdown-menu strong {
    color: var(--text);

    font-family: var(--font-regular);

    font-size: 15px;
    font-weight: normal;

    line-height: 1.6;
}

.nav-dropdown-menu small {
    margin-top: 2px;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 11px;

    line-height: 1.5;
}

.dropdown-icon {
    width: 41px;
    height: 41px;

    flex: 0 0 41px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-family: Arial, sans-serif;

    font-size: 16px;

    font-weight: 900;
}

.dropdown-icon.blue {
    color: var(--primary);
    background: #EAF1FB;
}

.dropdown-icon.teal {
    color: #008C79;
    background: #E6F8F4;
}

.dropdown-icon.orange {
    color: #D97706;
    background: #FFF2DF;
}

.dropdown-icon.purple {
    color: #7C3AED;
    background: #F1EAFE;
}


/* ============================================================
   HEADER ACTIONS
   ============================================================ */

.header-actions {
    display: flex;

    align-items: center;

    gap: 13px;
}

.login-link {
    color: #394150;

    font-family: var(--font-regular);

    font-size: 15px;

    white-space: nowrap;
}

.btn {
    min-height: 48px;

    padding: 0 21px;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    gap: 9px;

    border-radius: 13px;

    border: 1px solid transparent;

    font-family: var(--font-regular);

    font-size: 15px;

    font-weight: normal;

    transition: .22s ease;

    cursor: pointer;
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: white;

    box-shadow:
        0 12px 28px rgba(25, 118, 210, .22);
}

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

.btn-secondary {
    background: white;

    color: var(--primary);

    border-color: #DCE7F5;
}

.btn-light {
    background: white;

    color: var(--primary);
}

.btn-small {
    min-height: 42px;

    padding: 0 18px;

    border-radius: 11px;
}


/* ============================================================
   CART
   ============================================================ */

.cart-button {
    width: 43px;
    height: 43px;

    position: relative;

    display: grid;
    place-items: center;

    border: 1px solid #DDE5EF;

    border-radius: 12px;

    background: white;

    transition: .2s ease;
}

.cart-button:hover {
    border-color: #BCD0E8;

    background: #F7FAFD;

    transform: translateY(-2px);
}

.cart-icon {
    font-size: 20px;

    line-height: 1;
}

.cart-count {
    min-width: 18px;
    height: 18px;

    position: absolute;

    top: -6px;
    left: -5px;

    display: grid;
    place-items: center;

    padding: 0 4px;

    border-radius: 50px;

    background: #E53935;

    color: white;

    font-family: var(--font-regular);

    font-size: 10px;

    font-weight: bold;
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid var(--border);

    background: white;

    border-radius: 12px;

    cursor: pointer;
}

.mobile-menu-button span {
    height: 2px;

    margin: 4px 0;

    display: block;

    background: #263243;

    border-radius: 5px;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    overflow: hidden;

    padding: 86px 0 94px;

    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(0, 191, 165, .12),
            transparent 29%
        ),

        radial-gradient(
            circle at 12% 25%,
            rgba(25, 118, 210, .11),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #F8FAFD 0%,
            #F5F7FA 100%
        );
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.04fr .96fr;

    align-items: center;

    gap: 65px;
}

.eyebrow,
.section-label {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 15px;

    font-weight: normal;
}

.eyebrow span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px rgba(0, 191, 165, .11);
}

.hero h1 {
    margin: 20px 0 18px;

    max-width: 660px;

    font-family: var(--font-regular);

    font-size: clamp(44px, 5vw, 68px);

    font-weight: normal;

    line-height: 1.35;

    letter-spacing: 0;
}

.hero h1 strong {
    display: block;

    color: var(--primary);

    font-family: var(--font-bold);

    font-weight: bold;
}

.hero-description {
    max-width: 620px;

    margin: 0;

    color: #687184;

    font-family: var(--font-regular);

    font-size: 17px;

    font-weight: normal;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 30px;
}

.hero-trust {
    margin-top: 37px;

    display: flex;

    flex-wrap: wrap;

    gap: 27px;
}

.hero-trust div {
    display: flex;

    flex-direction: column;
}

.hero-trust strong {
    font-family: var(--font-bold);

    font-size: 16px;

    font-weight: bold;
}

.hero-trust span {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 13px;
}


/* ============================================================
   HERO VISUAL
   ============================================================ */

.hero-visual {
    position: relative;

    min-height: 515px;

    display: grid;

    place-items: center;
}

.hero-card-main {
    width: min(100%, 410px);

    padding: 30px;

    position: relative;

    z-index: 2;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.6);

    border-radius: 30px;

    color: white;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(0,191,165,.35),
            transparent 30%
        ),

        linear-gradient(
            150deg,
            #0D47A1,
            #123A77
        );

    box-shadow:
        0 35px 80px rgba(13, 71, 161, .28);
}

.hero-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    color: rgba(255,255,255,.72);

    font-family:
        Arial,
        sans-serif;

    font-size: 12px;

    direction: ltr;
}

.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #61E7CF;

    box-shadow:
        0 0 0 5px rgba(97, 231, 207, .14);
}

.hero-icon {
    width: 82px;
    height: 82px;

    margin-top: 35px;

    display: grid;

    place-items: center;

    border-radius: 24px;

    background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.12);

    font-family:
        Arial,
        sans-serif;

    font-size: 43px;

    font-weight: normal;
}

.hero-card-main h3 {
    margin: 25px 0 8px;

    font-family: var(--font-regular);

    font-size: 30px;

    font-weight: normal;

    line-height: 1.5;
}

.hero-card-main p {
    margin: 0;

    color: rgba(255,255,255,.72);

    font-family: var(--font-regular);

    font-size: 14px;
}

.mini-tools {
    margin-top: 28px;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.mini-tools span {
    padding: 6px 11px;

    border-radius: 9px;

    background: rgba(255,255,255,.09);

    border: 1px solid rgba(255,255,255,.09);

    color: rgba(255,255,255,.9);

    font-family: var(--font-regular);

    font-size: 12px;
}

.floating-card {
    position: absolute;

    z-index: 3;

    min-width: 190px;

    padding: 14px 16px;

    display: flex;

    align-items: center;

    gap: 11px;

    border: 1px solid rgba(231, 235, 240, .75);

    border-radius: 17px;

    background: rgba(255,255,255,.93);

    box-shadow: var(--shadow);
}

.floating-card-one {
    right: 0;
    top: 78px;
}

.floating-card-two {
    left: 0;
    bottom: 72px;
}

.floating-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: #EAF7F4;

    color: var(--accent);

    font-family: Arial, sans-serif;

    font-weight: 900;
}

.floating-card strong,
.floating-card small {
    display: block;

    font-family: var(--font-regular);
}

.floating-card strong {
    font-size: 14px;

    font-weight: bold;
}

.floating-card small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 12px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    padding: 94px 0;
}

.section-light {
    background: #FFFFFF;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 36px;
}

.section-heading h2 {
    margin: 8px 0 7px;

    font-family: var(--font-regular);

    font-size: 38px;

    font-weight: normal;

    line-height: 1.35;
}

.section-heading p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 15px;
}

.text-link {
    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 15px;

    font-weight: normal;

    white-space: nowrap;
}


/* ============================================================
   FEATURE CARDS
   ============================================================ */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: white;

    transition: .22s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    font-family: Arial, sans-serif;

    font-size: 22px;

    font-weight: 900;
}

.feature-icon.blue {
    color: var(--primary);
    background: #EAF1FB;
}

.feature-icon.teal {
    color: #008C79;
    background: #E6F8F4;
}

.feature-icon.orange {
    color: #D97706;
    background: #FFF2DF;
}

.feature-icon.purple {
    color: #7C3AED;
    background: #F1EAFE;
}

.feature-card h3 {
    margin: 20px 0 8px;

    font-family: var(--font-regular);

    font-size: 20px;

    font-weight: normal;
}

.feature-card p {
    min-height: 72px;

    margin: 0 0 16px;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}

.feature-card a {
    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 14px;

    font-weight: normal;
}


/* ============================================================
   LISTOFERYAR
   ============================================================ */

.listoferyar-section {
    background: #0B2141;
}

.listoferyar-card {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    padding: 58px;

    overflow: hidden;

    position: relative;

    border-radius: 28px;

    color: white;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(0,191,165,.17),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #0D47A1,
            #0B2141
        );

    box-shadow:
        0 35px 85px rgba(2, 22, 46, .25);
}

.listoferyar-card .section-label {
    color: #70E8D7;
}

.listoferyar-content h2 {
    margin: 12px 0 15px;

    font-family:
        Arial,
        sans-serif;

    font-size: 40px;

    font-weight: normal;

    line-height: 1.4;

    direction: ltr;

    text-align: left;
}

.listoferyar-content h2 span {
    display: block;

    color: rgba(255,255,255,.74);

    font-family: var(--font-regular);

    font-size: 21px;

    direction: rtl;

    text-align: right;
}

.listoferyar-content > p {
    max-width: 520px;

    margin: 0;

    color: rgba(255,255,255,.7);

    font-family: var(--font-regular);

    font-size: 15px;
}

.check-list {
    margin-top: 24px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 11px;
}

.check-list span {
    color: rgba(255,255,255,.88);

    font-family: var(--font-regular);

    font-size: 14px;
}

.light-link {
    color: white;
}

.listoferyar-visual {
    display: flex;

    justify-content: center;
}

.listoferyar-window {
    width: min(100%, 445px);

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.11);

    border-radius: 20px;

    background: #F7F9FC;

    color: var(--text);

    box-shadow:
        0 24px 55px rgba(0,0,0,.25);
}

.window-bar {
    height: 35px;

    padding: 0 12px;

    display: flex;

    align-items: center;

    gap: 6px;

    background: #EAEFF6;
}

.window-bar span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #C4CBD7;
}

.window-body {
    padding: 17px;
}

.window-title {
    display: flex;

    justify-content: space-between;

    margin-bottom: 17px;
}

.window-title strong {
    font-family: var(--font-bold);

    font-size: 14px;

    font-weight: bold;
}

.window-title small {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 11px;
}

.window-row {
    display: grid;

    grid-template-columns: .7fr 1fr 1fr 1fr;

    padding: 11px 9px;

    border-top: 1px solid #E6EBF1;

    font-family: var(--font-regular);

    font-size: 12px;
}

.window-row.header {
    color: var(--muted);

    background: #F1F4F8;
}

.window-total {
    margin-top: 12px;

    padding: 12px;

    display: flex;

    justify-content: space-between;

    border-radius: 12px;

    background: #EAF7F4;

    color: #006E60;

    font-family: var(--font-regular);

    font-size: 13px;
}


/* ============================================================
   COURSES
   ============================================================ */

.course-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.course-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 21px;

    background: white;

    box-shadow:
        0 8px 30px rgba(20, 35, 60, .035);
}

.course-image {
    min-height: 200px;

    padding: 20px;

    display: flex;

    align-items: flex-end;

    background-size: cover;
}

.course-image span {
    padding: 7px 11px;

    border-radius: 9px;

    background: rgba(255,255,255,.9);

    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 13px;
}

.course-image-one {
    background:
        linear-gradient(
            135deg,
            rgba(13,71,161,.85),
            rgba(25,118,210,.35)
        ),

        repeating-linear-gradient(
            45deg,
            #DCE8F8 0 14px,
            #C8D8EE 14px 28px
        );
}

.course-image-two {
    background:
        linear-gradient(
            135deg,
            rgba(0,191,165,.68),
            rgba(13,71,161,.7)
        ),

        repeating-linear-gradient(
            -45deg,
            #DDF7F2 0 15px,
            #C5EDE7 15px 30px
        );
}

.course-image-three {
    background:
        linear-gradient(
            135deg,
            rgba(108,78,160,.72),
            rgba(25,118,210,.54)
        ),

        repeating-linear-gradient(
            30deg,
            #EEE7F8 0 13px,
            #DED4ED 13px 26px
        );
}

.course-content {
    padding: 22px;
}

.course-category,
.announcement-date {
    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 12px;
}

.course-content h3 {
    margin: 9px 0;

    font-family: var(--font-regular);

    font-size: 20px;

    font-weight: normal;

    line-height: 1.6;
}

.course-content p {
    min-height: 52px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}

.course-footer {
    margin-top: 21px;

    padding-top: 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid var(--border);
}

.course-footer strong {
    color: #008C79;

    font-family: var(--font-bold);

    font-size: 14px;

    font-weight: bold;
}

.course-footer a {
    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 13px;
}


/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */

.announcements-section {
    background: var(--background);
}

.announcement-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 19px;
}

.announcement-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 19px;

    background: white;
}

.announcement-card .announcement-date {
    font-family: var(--font-bold);

    font-size: 15px;

    font-weight: bold;
}

.announcement-card h3 {
    margin: 10px 0;

    font-family: var(--font-regular);

    font-size: 24px;

    font-weight: normal;

    line-height: 1.7;
}

.announcement-card p {
    min-height: 58px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 17px;

    line-height: 2;
}

.announcement-card a {
    display: inline-block;

    margin-top: 18px;

    color: var(--primary);

    font-family: var(--font-bold);

    font-size: 17px;

    font-weight: bold;
}


/* ============================================================
   CTA
   ============================================================ */

.cta-section {
    padding: 52px 0 80px;

    background: var(--background);
}

.cta-card {
    padding: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    border: 1px solid var(--border);

    border-radius: 25px;

    background: white;

    box-shadow: var(--shadow);
}

.cta-card h2 {
    margin: 8px 0 8px;

    font-family: var(--font-regular);

    font-size: 36px;

    font-weight: normal;
}

.cta-card h2 span {
    color: var(--primary);
}

.cta-card p {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 15px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 65px 0 0;

    background: #0B1422;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.7fr 1fr 1fr 1fr;

    gap: 40px;
}

.footer-brand p {
    max-width: 350px;

    margin-top: 18px;

    color: rgba(255,255,255,.57);

    font-family: var(--font-regular);

    font-size: 14px;
}

.footer-grid h3 {
    margin: 0 0 18px;

    font-family: var(--font-regular);

    font-size: 19px;

    font-weight: normal;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-grid a:not(.brand) {
    color: rgba(255,255,255,.6);

    font-family: var(--font-regular);

    font-size: 13px;

    transition: .2s;
}

.footer-grid a:not(.brand):hover {
    color: white;
}


/* Footer brand */

.footer-brand-logo {
    margin-bottom: 5px;
}

.footer-brand-logo .brand-persian {
    color: white;

    font-size: 33px;
}

.footer-brand-logo .brand-english {
    color: rgba(255,255,255,.72);

    font-size: 16px;
}


/* ============================================================
   FOOTER MESSAGE
   ============================================================ */

.footer-message {
    margin-top: 42px;

    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,.08);

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-message strong {
    color: rgba(255,255,255,.92);

    font-family: var(--font-bold);

    font-size: 18px;

    font-weight: bold;
}


/* ============================================================
   TRUST
   ============================================================ */

.footer-trust {
    margin-top: 25px;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.trust-box {
    min-height: 125px;

    padding: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 17px;

    background: rgba(255,255,255,.035);
}

.trust-placeholder {
    width: 100%;

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    border: 1px dashed rgba(255,255,255,.17);

    border-radius: 13px;

    color: rgba(255,255,255,.52);

    text-align: center;
}

.trust-placeholder span {
    font-family: var(--font-regular);

    font-size: 12px;
}

.trust-placeholder strong {
    margin-top: 3px;

    color: rgba(255,255,255,.78);

    font-family: var(--font-bold);

    font-size: 21px;

    font-weight: bold;
}

.trust-placeholder small {
    margin-top: 3px;

    font-family: var(--font-regular);

    font-size: 10px;
}


/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.footer-bottom {
    min-height: 67px;

    margin-top: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.4);

    font-family: var(--font-regular);

    font-size: 12px;
}


/* ============================================================
   PAGE HERO
   ============================================================ */

.page-hero {
    padding: 82px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0,191,165,.10),
            transparent 28%
        ),

        linear-gradient(
            180deg,
            #F8FAFD 0%,
            #F5F7FA 100%
        );
}

.page-hero h1 {
    margin: 13px 0 10px;

    font-family: var(--font-regular);

    font-size: clamp(44px, 5vw, 60px);

    font-weight: normal;

    line-height: 1.35;
}

.page-hero p {
    max-width: 700px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 16px;
}

.dark-page-hero {
    color: white;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0,191,165,.18),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #0D47A1,
            #0B2141
        );
}

.dark-page-hero p {
    color: rgba(255,255,255,.7);
}


/* ============================================================
   ABOUT
   ============================================================ */

.about-content {
    max-width: 850px;
}

.about-content h2 {
    margin-top: 0;

    font-family: var(--font-regular);

    font-size: 34px;

    font-weight: normal;
}

.about-content p {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 16px;
}

.about-highlight {
    margin-top: 35px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    border-radius: 18px;

    background: #EAF1FB;
}

.about-highlight strong {
    color: var(--primary);

    font-family: var(--font-bold);

    font-size: 27px;

    font-weight: bold;
}

.about-highlight span {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}


/* ============================================================
   AUTH
   ============================================================ */

.auth-container {
    display: flex;

    justify-content: center;
}

.auth-card {
    width: min(100%, 470px);

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 21px;

    background: white;

    box-shadow: var(--shadow);
}

.auth-card label {
    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-family: var(--font-regular);

    font-size: 14px;

    font-weight: normal;
}

.auth-card input {
    width: 100%;

    height: 50px;

    margin-bottom: 18px;

    padding: 0 14px;

    border: 1px solid #DDE3EA;

    border-radius: 12px;

    outline: none;

    background: #FAFBFC;

    font-family: var(--font-regular);

    font-size: 14px;
}

.auth-card input:focus {
    border-color: var(--primary-light);

    background: white;
}

.auth-button {
    width: 100%;

    margin-top: 4px;
}

.auth-footer {
    margin: 20px 0 0;

    text-align: center;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);

    font-weight: normal;
}


/* ============================================================
   APPLICATION PAGES
   ============================================================ */

.app-hero {
    padding: 84px 0 96px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0,191,165,.11),
            transparent 27%
        ),

        radial-gradient(
            circle at 13% 50%,
            rgba(25,118,210,.10),
            transparent 27%
        ),

        linear-gradient(
            180deg,
            #F8FAFD 0%,
            #F5F7FA 100%
        );
}

.app-hero-grid {
    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 70px;
}

.app-hero-content h1 {
    max-width: 650px;

    margin: 18px 0 15px;

    font-family: var(--font-regular);

    font-size: clamp(44px, 5vw, 62px);

    font-weight: normal;

    line-height: 1.35;
}

.app-hero-content h1 strong {
    display: block;

    color: var(--primary);

    font-family: var(--font-bold);

    font-weight: bold;
}

.app-hero-content > p {
    max-width: 590px;

    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 16px;
}

.app-badge {
    display: inline-flex;

    padding: 8px 13px;

    border-radius: 9px;

    background: #EAF1FB;

    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 13px;
}

.download-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 11px;

    margin-top: 28px;
}

.download-btn {
    min-height: 63px;

    padding: 9px 13px;

    display: flex;

    align-items: center;

    gap: 10px;

    border: 1px solid #DDE5EF;

    border-radius: 14px;

    background: white;

    box-shadow:
        0 8px 25px rgba(20,35,60,.05);

    transition: .2s ease;
}

.download-btn:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.download-btn > span:last-child {
    display: flex;

    flex-direction: column;

    line-height: 1.35;
}

.download-btn small {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 10px;
}

.download-btn strong {
    color: var(--text);

    font-family: var(--font-bold);

    font-size: 14px;

    font-weight: bold;
}

.download-icon {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: #F1F5FA;

    color: var(--primary);

    font-family: Arial, sans-serif;

    font-size: 16px;

    font-weight: 900;
}

.primary-download {
    border-color: #C9DCF5;

    background: #F7FAFF;
}

.primary-download .download-icon {
    background: var(--primary);

    color: white;
}

.desktop-download {
    border-color: #CDE8E2;

    background: #F7FCFA;
}

.desktop-download .download-icon {
    background: var(--accent);

    color: white;
}

.download-note {
    display: block;

    margin-top: 12px;

    color: #8A93A3;

    font-family: var(--font-regular);

    font-size: 11px;
}


/* ============================================================
   PHONE MOCKUP
   ============================================================ */

.app-showcase {
    position: relative;

    min-height: 500px;

    display: grid;

    place-items: center;
}

.phone-mockup {
    width: 276px;

    padding: 10px;

    position: relative;

    border: 6px solid #162335;

    border-radius: 39px;

    background: #111B29;

    box-shadow:
        0 35px 80px rgba(13,71,161,.22);

    transform: rotate(-4deg);
}

.phone-camera {
    width: 72px;
    height: 18px;

    position: absolute;

    top: 8px;
    left: 50%;

    z-index: 2;

    transform: translateX(-50%);

    border-radius: 0 0 12px 12px;

    background: #162335;
}

.phone-screen {
    min-height: 490px;

    padding: 65px 22px 25px;

    display: flex;

    align-items: center;

    flex-direction: column;

    border-radius: 29px;

    color: white;

    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(0,191,165,.18),
            transparent 27%
        ),

        linear-gradient(
            160deg,
            #0D47A1,
            #102846
        );
}

.mockup-logo {
    width: 72px;
    height: 72px;

    margin-bottom: 17px;

    display: grid;

    place-items: center;

    border-radius: 20px;

    background: rgba(255,255,255,.11);

    border: 1px solid rgba(255,255,255,.13);

    font-size: 36px;

    font-family: Arial, sans-serif;

    direction: ltr;
}

.phone-screen h3 {
    margin: 0;

    font-family: var(--font-regular);

    font-size: 28px;

    font-weight: normal;
}

.phone-screen > span {
    margin-top: 4px;

    color: rgba(255,255,255,.63);

    font-family: var(--font-regular);

    font-size: 11px;
}

.mockup-tools {
    width: 100%;

    margin-top: 38px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 9px;
}

.mockup-tools i {
    aspect-ratio: 1;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background: rgba(255,255,255,.09);

    border: 1px solid rgba(255,255,255,.09);

    font-family: Arial, sans-serif;

    font-style: normal;

    font-weight: 900;
}

.mockup-button {
    width: 100%;

    margin-top: 32px;

    padding: 12px;

    border-radius: 12px;

    text-align: center;

    background: white;

    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 14px;
}

.app-floating-card {
    position: absolute;

    padding: 14px 17px;

    display: flex;

    flex-direction: column;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: rgba(255,255,255,.95);

    box-shadow: var(--shadow);
}

.app-floating-card strong {
    font-family: var(--font-bold);

    font-size: 13px;

    font-weight: bold;
}

.app-floating-card span {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 10px;
}

.app-floating-one {
    right: 0;
    top: 70px;
}

.app-floating-two {
    left: 0;
    bottom: 70px;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-container {
    max-width: 950px;
}

.faq-intro {
    max-width: 700px;

    margin-bottom: 33px;
}

.faq-intro h2 {
    margin: 11px 0 9px;

    font-family: var(--font-regular);

    font-size: 33px;

    font-weight: normal;

    line-height: 1.55;
}

.faq-intro p {
    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.faq-item {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: white;

    transition: .2s ease;
}

.faq-item[open] {
    border-color: #CBDCEE;

    box-shadow:
        0 12px 35px rgba(20,35,60,.05);
}

.faq-item summary {
    padding: 19px 21px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    cursor: pointer;

    list-style: none;

    font-family: var(--font-regular);

    font-size: 15px;

    font-weight: normal;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    width: 27px;
    height: 27px;

    display: grid;

    place-items: center;

    flex: 0 0 27px;

    border-radius: 8px;

    background: #EAF1FB;

    color: var(--primary);

    font-family: Arial, sans-serif;

    font-size: 17px;

    transition: .2s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;

    padding: 0 21px 21px;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 14px;
}


/* ============================================================
   INSTALLATION VIDEOS
   ============================================================ */

.video-guide-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.video-guide-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 22px;

    background: white;

    box-shadow:
        0 8px 30px rgba(20,35,60,.04);
}

.video-placeholder {
    min-height: 300px;

    padding: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(25,118,210,.16),
            transparent 32%
        ),

        linear-gradient(
            145deg,
            #F5F8FC,
            #EAF1FB
        );
}

.video-placeholder-dark {
    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(0,191,165,.17),
            transparent 30%
        ),

        linear-gradient(
            145deg,
            #102D52,
            #0D1B2A
        );

    color: white;
}

.video-play {
    width: 68px;
    height: 68px;

    margin-bottom: 17px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: white;

    color: var(--primary);

    box-shadow:
        0 17px 35px rgba(10,35,65,.14);

    font-family: Arial, sans-serif;

    font-size: 23px;
}

.video-placeholder > span {
    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 12px;
}

.video-placeholder-dark > span {
    color: rgba(255,255,255,.58);
}

.video-placeholder > strong {
    margin-top: 3px;

    font-family: var(--font-bold);

    font-size: 21px;

    font-weight: bold;
}

.video-placeholder > small {
    margin-top: 8px;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 11px;
}

.video-placeholder-dark > small {
    color: rgba(255,255,255,.52);
}

.video-guide-content {
    padding: 23px;
}

.video-guide-content > span {
    color: var(--primary);

    font-family: var(--font-regular);

    font-size: 11px;
}

.video-guide-content h3 {
    margin: 7px 0;

    font-family: var(--font-regular);

    font-size: 20px;

    font-weight: normal;
}

.video-guide-content p {
    margin: 0;

    color: var(--muted);

    font-family: var(--font-regular);

    font-size: 13px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 1050px) {

    .main-nav {
        gap: 13px;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        font-size: 13px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .header-inner {
        gap: 15px;
    }

    .brand-persian {
        font-size: 31px;
    }

    .brand-english {
        font-size: 15px;
    }
}


@media (max-width: 820px) {

    .container {
        width: min(100% - 28px, 600px);
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;

        margin-right: auto;
    }

    .header-inner.mobile-open {
        position: relative;
    }

    .header-inner.mobile-open .main-nav {
        position: absolute;

        top: 88px;

        right: 0;
        left: 0;

        padding: 17px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border: 1px solid var(--border);

        border-radius: 17px;

        background: white;

        box-shadow: var(--shadow);
    }

    .header-inner.mobile-open .main-nav > a {
        padding: 12px 10px;

        border-bottom: 1px solid #F0F2F5;

        font-size: 15px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;

        padding: 12px 10px;

        justify-content: space-between;

        font-size: 15px;
    }

    .nav-dropdown-menu {
        position: static;

        width: 100%;

        padding: 5px;

        opacity: 1;

        visibility: visible;

        display: none;

        transform: none;

        border: 0;

        border-radius: 14px;

        box-shadow: none;

        background: #F7F9FC;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;

        transform: none;
    }

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

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

    .hero-visual {
        min-height: 430px;
    }

    .listoferyar-card {
        grid-template-columns: 1fr;

        padding: 35px;
    }

    .course-grid,
    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;

        align-items: flex-start;
    }

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

    .app-hero-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .app-showcase {
        min-height: 430px;
    }

    .app-floating-one {
        right: 0;

        top: 30px;
    }

    .app-floating-two {
        left: 0;

        bottom: 30px;
    }

    .app-feature-grid {
        grid-template-columns: 1fr;
    }

    .video-guide-grid {
        grid-template-columns: 1fr;
    }

    .listoferyar-showcase {
        min-height: 400px;
    }
}


@media (max-width: 540px) {

    .section {
        padding: 70px 0;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 26px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-trust {
        gap: 18px;
    }

    .floating-card {
        min-width: 160px;
    }

    .floating-card-one {
        right: -7px;
    }

    .floating-card-two {
        left: -7px;
    }

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

    .check-list {
        grid-template-columns: 1fr;
    }

    .listoferyar-card {
        padding: 25px;
    }

    .listoferyar-content h2 {
        font-size: 33px;
    }

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

    .footer-trust {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        padding: 20px 0;
    }

    .footer-message strong {
        font-size: 16px;
    }

    .brand-persian {
        font-size: 29px;
    }

    .brand-english {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .download-actions {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .phone-mockup {
        width: 245px;
    }

    .phone-screen {
        min-height: 440px;
    }

    .app-floating-card {
        padding: 11px 13px;
    }

    .video-placeholder {
        min-height: 240px;
    }

    .announcement-card .announcement-date {
        font-size: 15px;
    }

    .announcement-card h3 {
        font-size: 22px;
    }

    .announcement-card p {
        font-size: 16px;
    }

    .announcement-card a {
        font-size: 16px;
    }
}