/* ============================================================
   FaraPlus — design tokens
   Navy   #13205C  primary brand / header / dark text
   Navy-d #0E1742   darker navy for gradients/banner
   Orange #F08A1E  CTA / accent
   Orange-d #DB7610 hover state
   Cream  #FBF6EE  warm section background
   Paper  #FFFFFF  cards / base
   Ink    #1C2340  heading text
   Slate  #5F6480  body text
   Line   #E7E2D6  hairline borders on cream
   ============================================================ */

:root {
    --navy: #13205c;
    --navy-deep: #0e1742;
    --navy-soft: #1b2c72;
    --orange: #f08a1e;
    --orange-deep: #d87510;
    --cream: #fbf6ee;
    --paper: #ffffff;
    --ink: #1c2340;
    --slate: #5f6480;
    --line: #e9e3d6;
    --line-navy: rgba(255, 255, 255, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 14px 34px -18px rgba(19, 32, 92, 0.28);
    --shadow-soft: 0 8px 22px -12px rgba(19, 32, 92, 0.18);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

:focus-visible {
    outline: 2.5px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ============================== Buttons ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}
.btn .arrow {
    font-size: 1.1em;
    line-height: 1;
    transform: rotate(180deg);
}

.btn-cta {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(240, 138, 30, 0.55);
}
.btn-cta:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(240, 138, 30, 0.6);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

/* ============================== Header ============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    border-bottom: 1px solid var(--line-navy);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-image {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #e7e9f5;
}
.main-nav a {
    position: relative;
    padding: 4px 0;
    transition: color 0.15s ease;
}
.main-nav a:hover {
    color: var(--orange);
}

.header-cta {
    padding: 11px 22px;
    font-size: 0.9rem;
}

/* ============================== Hero ============================== */
.hero {
    background: radial-gradient(
        ellipse 900px 600px at 75% 0%,
        var(--navy-soft) 0%,
        var(--navy) 55%,
        var(--navy-deep) 100%
    );
    padding: 72px 0 96px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 1.4px,
        transparent 1.4px
    );
    background-size: 26px 26px;
    opacity: 0.5;
    mask-image: linear-gradient(to left, black 0%, transparent 55%);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
}

.hero-copy h1 {
    font-size: 2.5rem;
    line-height: 1.42;
    font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
    letter-spacing: -0.3px;
    text-align: justify;
}
.hero-lead {
    color: #c7cbe3;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 560px;
    margin: 0 0 36px;
    text-align: justify;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-art {
    position: relative;
}
.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.hero-box {
    position: absolute;
    bottom: -40px;
    left: -70px;
    width: 200px;
    border-radius: 14px;
}

/* ============================== About / What is FaraPlus ============================== */
.about {
    background: var(--cream);
    padding: 76px 0;
}
.about-inner {
    display: grid;
    grid-template-columns: 0.62fr 1.5fr 0.62fr;
    align-items: center;
    gap: 36px;
}
.about-img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.about-copy {
    text-align: center;
}
.about-copy h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 18px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.about-copy h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--orange);
}
.about-copy p {
    color: var(--slate);
    font-size: 1.02rem;
    line-height: 2;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================== Section title (shared) ============================== */
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 50px;
}

/* ============================== Features ============================== */
.features {
    background: var(--paper);
    padding: 88px 0 90px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px 26px 28px;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
    background: #fff;
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 18px;
}
.icon-navy {
    background: rgba(19, 32, 92, 0.09);
    color: var(--navy);
}
.icon-orange {
    background: rgba(240, 138, 30, 0.13);
    color: var(--orange-deep);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.5;
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.85;
    margin: 0;
}

/* ============================== Process ============================== */
.process {
    background: var(--cream);
    padding: 90px 0 96px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-line {
    position: absolute;
    top: 26px;
    left: 9%;
    right: 9%;
    height: 0;
    border-top: 2.5px dashed rgba(240, 138, 30, 0.55);
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 8px;
}
.process-node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 10px 22px -8px rgba(19, 32, 92, 0.45);
}
.process-step h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.5;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 230px;
}

/* ============================== Why FaraPlus ============================== */
.why {
    background: var(--paper);
    padding: 90px 0 96px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    text-align: center;
    border: 1px solid var(--line);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}
.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    color: var(--navy);
    margin-bottom: 14px;
    box-shadow: 0 4px 14px -6px rgba(19, 32, 92, 0.25);
}
.why-card h3 {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.5;
}
.why-card p {
    font-size: 0.86rem;
    color: var(--slate);
    line-height: 1.75;
    margin: 0;
}

/* ============================== CTA Banner ============================== */
.cta-banner {
    background: linear-gradient(
        120deg,
        var(--navy-deep) 0%,
        var(--navy) 60%,
        var(--navy-soft) 100%
    );
    padding: 54px 0;
}
.cta-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}
.cta-art img {
    width: 200px;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}
.cta-copy h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.5;
    text-align: center;
}
.cta-copy p {
    font-size: 0.95rem;
    color: #c7cbe3;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}
.cta-banner .btn-cta {
    flex-shrink: 0;
}

/* ============================== Footer ============================== */
.site-footer {
    background: var(--navy-deep);
    padding: 30px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #c7cbe3;
    font-size: 0.92rem;
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease;
}
.footer-contact a:hover {
    color: var(--orange);
}
.ficon {
    color: var(--orange);
    font-size: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
}
.logo-image-footer {
    height: 44px;
}
.footer-brand p {
    margin: 0;
    font-size: 0.82rem;
    color: #8e93b5;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding-right: 20px;
}

/* ============================== Responsive ============================== */
@media (max-width: 1080px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 940px) {
    .main-nav {
        display: none;
    }
    .header-inner {
        justify-content: space-between;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-lead {
        margin-inline: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-art {
        order: -1;
        max-width: 480px;
        margin: 0 auto 12px;
    }
    .about-inner {
        grid-template-columns: 1fr;
    }
    .about-img {
        max-width: 160px;
    }
    .process-track {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }
    .process-line {
        display: none;
    }
    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cta-art {
        order: -1;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand p {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 48px 0 64px;
    }
    .hero-copy h1 {
        font-size: 1.7rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .process-track {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 34px;
    }
    .cta-copy h2 {
        font-size: 1.2rem;
    }
    .header-cta {
        padding: 9px 16px;
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}
