﻿@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/Vazirmatn-RD-Regular.woff2') format('woff2'), url('/fonts/Vazirmatn-RD-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* بهبود عملکرد */
}

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

:root {
    --navy: #0A0F2C;
    --navy-mid: #111733;
    --navy-light: #1A2147;
    --gold: #D4A843;
    --gold-light: #F0C35A;
    --gold-dim: rgba(212,168,67,0.15);
    --white: #FFFFFF;
    --off-white: #F8F9FF;
    --gray-100: #E8EAF5;
    --gray-400: #8B8FA8;
    --gray-600: #4A4E6B;
    --text-main: #1A1F3A;
    --text-muted: #6B7080;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(10,15,44,0.10);
    --shadow-lg: 0 16px 48px rgba(10,15,44,0.18);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --font: 'Vazirmatn', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--off-white);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    /* این سه خط جدید را اضافه کنید */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

/* ===== UTILITY ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(212,168,67,0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

    .section-label::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold);
        flex-shrink: 0;
    }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

    .btn-primary:hover {
        background: var(--gold-light);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(212,168,67,0.35);
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font);
    font-weight: 600;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10,15,44,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212,168,67,0.1);
    transition: var(--transition);
}

.nav-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 70px;
    gap: 16px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--navy);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

    .logo-text span {
        color: var(--gold);
    }

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    align-items: center;
}

    .nav-links a {
        color: rgba(255,255,255,0.75);
        font-size: 13px;
        font-weight: 500;
        transition: var(--transition);
        position: relative;
        white-space: nowrap;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            left: 0;
            height: 2px;
            background: var(--gold);
            border-radius: 2px;
            transform: scaleX(0);
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--white);
        }

            .nav-links a:hover::after {
                transform: scaleX(1);
            }

.nav-cta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

    .hamburger span {
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition);
    }

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #0D1535 50%, #0A1128 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212,168,67,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(212,168,67,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
    top: -100px;
    left: -200px;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,120,255,0.08) 0%, transparent 70%);
    bottom: 0;
    right: -100px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 100px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76,175,80,0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(76,175,80,0);
    }
}

/* H1 - main heading */
.hero-title {
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 24px;
}

    .hero-title .highlight {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-title .cursor-blink {
        display: inline-block;
        width: 3px;
        height: 0.85em;
        background: var(--gold);
        margin-right: 4px;
        vertical-align: middle;
        animation: blink 1s step-end infinite;
        -webkit-text-fill-color: initial;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
    text-align: right;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.browser-mockup {
    background: var(--navy-light);
    border-radius: 16px;
    border: 1px solid rgba(212,168,67,0.2);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: var(--transition);
}

    .browser-mockup:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

.browser-bar {
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

    .browser-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

        .browser-dots span:nth-child(1) {
            background: #FF5F56;
        }

        .browser-dots span:nth-child(2) {
            background: #FFBD2E;
        }

        .browser-dots span:nth-child(3) {
            background: #27C93F;
        }

.browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
}

.browser-body {
    padding: 24px;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.code-num {
    font-family: monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    width: 16px;
    text-align: left;
    flex-shrink: 0;
}

.code-text {
    font-family: monospace;
    font-size: 13px;
}

.c-tag {
    color: #E5C07B;
}

.c-attr {
    color: #98C379;
}

.c-val {
    color: #E06C75;
}

.c-str {
    color: #61AFEF;
}

.c-comment {
    color: rgba(255,255,255,0.25);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-seo {
    bottom: -20px;
    left: -30px;
    animation-delay: 0.5s;
}

.badge-speed {
    top: -20px;
    left: -40px;
    animation-delay: 1s;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .badge-icon.green {
        background: #E8F5E9;
    }

    .badge-icon.blue {
        background: #E3F2FD;
    }

/* ===== SERVICES ===== */
#services {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

/* H2 headings */
.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.service-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--gold-dim), transparent);
        opacity: 0;
        transition: var(--transition);
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(212,168,67,0.3);
    }

        .service-card:hover::before {
            opacity: 1;
        }

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    position: relative;
}

/* H3 headings */
.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .service-features li {
        font-size: 13px;
        color: var(--gray-600);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .service-features li::before {
            content: '✓';
            color: var(--gold);
            font-weight: 700;
            flex-shrink: 0;
        }

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

/* ===== WHY US ===== */
#why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0D1535 100%);
    position: relative;
    overflow: hidden;
}

    #why-us .hero-grid-bg {
        opacity: 0.5;
    }

.why-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-title {
    color: var(--white);
}

.why-content .section-desc {
    color: rgba(255,255,255,0.6);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(212,168,67,0.12);
    border: 1px solid rgba(212,168,67,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.why-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.why-feature-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* SEO Score Card */
.seo-score-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
}

/* H3 in why section */
.score-card-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
}

.score-circle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

    .score-circle svg {
        transform: rotate(-90deg);
    }

.score-number {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

    .score-number span {
        font-size: 12px;
        font-weight: 500;
        color: rgba(255,255,255,0.5);
        margin-top: 4px;
    }

.score-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-item-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    flex: 1;
}

.score-bar-wrap {
    flex: 2;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.score-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    width: 28px;
    text-align: left;
}

/* ===== PORTFOLIO ===== */
#portfolio {
    padding: 100px 0;
    background: var(--off-white);
}

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

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .portfolio-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

/* ===== PORTFOLIO IMAGES ===== */
.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--navy-light);
}

.portfolio-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .portfolio-img-wrap {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .portfolio-img-wrap {
        height: 160px;
    }
}

.portfolio-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,15,44,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-btn {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius);
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay-btn {
    transform: translateY(0);
}

.portfolio-body {
    padding: 24px;
}

.portfolio-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.portfolio-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid rgba(212,168,67,0.2);
}

/* H3 for portfolio */
.portfolio-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.portfolio-meta {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.portfolio-stat {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

    .portfolio-stat strong {
        color: var(--navy);
    }

/* ===== PROCESS ===== */
#process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

    .process-steps::before {
        content: '';
        position: absolute;
        top: 36px;
        right: 12.5%;
        left: 12.5%;
        height: 1px;
        background: linear-gradient(90deg, var(--gold), rgba(212,168,67,0.2));
        z-index: 0;
    }

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-dim);
    transition: var(--transition);
}

.process-step:hover .process-num {
    background: var(--gold);
    color: var(--navy);
    transform: scale(1.1);
}

/* H3 for process */
.process-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SLIDER ===== */
#testimonials {
    padding: 100px 0;
    background: var(--off-white);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonials-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        box-sizing: border-box;
        padding: 36px 40px;
        background: var(--white);
        border-radius: var(--radius-lg);
        border: 1px solid var(--gray-100);
        box-shadow: var(--shadow);
        transition: var(--transition);
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .testimonials-track .testimonial-card:hover {
            box-shadow: var(--shadow-lg);
            border-color: rgba(212, 168, 67, 0.2);
        }

/* دکمه‌های قبلی و بعدی */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-100);
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-btn:hover {
        background: var(--gold);
        color: var(--white);
        border-color: var(--gold);
        box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
    }

.slider-prev {
    left: -10px;
}

.slider-next {
    right: -10px;
}

/* نقاط نشان‌دهنده */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

    .slider-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--gray-100);
        border: none;
        cursor: pointer;
        transition: var(--transition);
        padding: 0;
    }

        .slider-dots .dot.active {
            background: var(--gold);
            width: 28px;
            border-radius: 6px;
        }

        .slider-dots .dot:hover {
            background: var(--gold-light);
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 30px;
    }

    .testimonials-track .testimonial-card {
        padding: 24px 20px;
        min-height: 220px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slider-prev {
        left: -5px;
    }

    .slider-next {
        right: -5px;
    }

    .testimonial-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        padding: 0 10px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
}

.author-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
#cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy), #0D1535);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

/* H2 for CTA */
.cta-title {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

    .cta-title span {
        color: var(--gold);
    }

.cta-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-top: 32px;
    justify-content: center;
}

/* ===== FOOTER ===== */
footer {
    background: #06091A;
    padding: 64px 0 32px;
    margin-top: auto; /* این خط جدید را اضافه کنید */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin-top: 16px;
    max-width: 280px;
}

/* H4 for footer */
.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links a {
        font-size: 13px;
        color: rgba(255,255,255,0.45);
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--gold);
        }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

    .footer-social-link:hover {
        background: var(--gold-dim);
        border-color: rgba(212,168,67,0.3);
    }

/* ===== MOBILE MENU (نسخه کشویی از بالا) ===== */

/* overlay تاریک پشت منو */
.mobile-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
}

    .mobile-overlay.active {
        display: block !important;
    }

/* ===== پنل منو - کشویی از بالا ===== */
.mobile-menu {
    position: fixed;
    top: -500px; /* شروع از خارج صفحه */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 85vh;
    background: linear-gradient(180deg, var(--navy) 0%, #0D1535 100%);
    z-index: 999;
    display: none !important;
    padding: 20px 24px 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid rgba(212, 168, 67, 0.2);
    border-radius: 0 0 24px 24px;
    overflow-y: auto;
}

    /* فقط زمانی که کلاس open اضافه شود نمایش داده می‌شود */
    .mobile-menu.open {
        top: 0;
        display: flex !important;
        flex-direction: column;
    }

/* ===== محتوای داخلی منو ===== */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    gap: 4px;
}

/* هدر منو */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .mobile-menu-header .logo {
        gap: 8px;
        text-decoration: none;
    }

    .mobile-menu-header .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .mobile-menu-header .logo-text {
        font-size: 18px;
        color: var(--white);
    }

        .mobile-menu-header .logo-text span {
            color: var(--gold);
        }

.mobile-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mobile-close:hover {
        background: rgba(212, 168, 67, 0.2);
        border-color: var(--gold);
        transform: rotate(90deg);
    }

/* ===== لینک‌های منو ===== */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 1 auto;
    overflow-y: auto;
    max-height: 50vh;
    padding: 4px 0;
}

    .mobile-menu-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        border-radius: var(--radius);
        color: rgba(255, 255, 255, 0.7);
        font-size: 15px;
        font-weight: 500;
        transition: var(--transition);
        text-decoration: none;
        flex-shrink: 0;
    }

        .mobile-menu-nav a:hover {
            background: rgba(212, 168, 67, 0.1);
            color: var(--white);
            transform: translateX(-4px);
        }

        .mobile-menu-nav a:active {
            transform: scale(0.97);
        }

.mobile-menu-icon {
    font-size: 17px;
    width: 26px;
    flex-shrink: 0;
}

/* ===== فوتر منو ===== */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

    .mobile-menu-phone:hover {
        background: rgba(212, 168, 67, 0.15);
    }

.mobile-menu-cta {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    text-decoration: none;
}

/* ===== اسکرول بار منو ===== */
.mobile-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* ===== در دسکتاپ: منوی موبایل کاملاً مخفی ===== */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }

    .mobile-overlay {
        display: none !important;
    }
}

/* ===== در موبایل ===== */
@media (max-width: 768px) {
    .mobile-menu {
        display: none !important;
        top: -500px;
    }

        .mobile-menu.open {
            display: flex !important;
            top: 0;
        }
}

/* ===== در گوشی‌های خیلی کوچک ===== */
@media (max-width: 400px) {
    .mobile-menu {
        padding: 16px 16px 24px;
    }

    .mobile-menu-header .logo-text {
        font-size: 16px;
    }

    .mobile-menu-nav a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .mobile-menu-icon {
        font-size: 15px;
        width: 22px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

        .process-steps::before {
            display: none;
        }

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

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

@media (max-width: 768px) {
    /* ===== مخفی کردن منوی دسکتاپ و نمایش همبرگر ===== */
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    /* نمایش همبرگر */
    .hamburger {
        display: flex !important;
    }

    /* ===== بقیه استایل‌های ریسپانسیو ===== */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .browser-mockup {
        transform: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

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

    /* ===== درباره ما در موبایل ===== */
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-big-number {
        font-size: 56px;
    }

    .about-floating-card {
        padding: 10px 14px;
        font-size: 13px;
    }

    .about-floating-card {
        bottom: 20px;
        right: 10px;
    }

    .about-floating-card-2 {
        top: 20px;
        left: 10px;
    }

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

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

    /* ===== بلاگ در موبایل ===== */
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== NAV FORCE FIX ===== */
nav .nav-inner,
nav .nav-links,
nav .nav-cta {
    writing-mode: horizontal-tb !important;
}

nav .nav-inner {
    flex-direction: row !important;
}

nav .nav-links {
    flex-direction: row !important;
}

    nav .nav-links li {
        display: inline-flex !important;
        align-items: center;
    }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== BLOG ===== */
.blog-section {
    padding: 80px 0;
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(212, 168, 67, 0.2);
    }

.blog-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.blog-body {
    padding: 24px 28px 28px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-category {
    background: var(--gold-dim);
    color: var(--gold);
    padding: 2px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 11px;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.5;
}

    .blog-title a {
        color: inherit;
        transition: var(--transition);
    }

        .blog-title a:hover {
            color: var(--gold);
        }

.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}

    .blog-read-more:hover {
        gap: 10px;
        color: var(--gold-light);
    }

.blog-actions {
    text-align: center;
}

/* ===== BLOG RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT US ===== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0D1535 100%);
    position: relative;
    overflow: hidden;
}

    /* افکت گرید مانند بخش why-us */
    .about-section .hero-grid-bg {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }

    /* افکت‌های تزئینی پس‌زمینه */
    .about-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
        top: -200px;
        right: -200px;
        pointer-events: none;
    }

    .about-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(100, 120, 255, 0.06) 0%, transparent 70%);
        bottom: -100px;
        left: -100px;
        pointer-events: none;
    }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===== سمت راست: تصویر ===== */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 168, 67, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

    .about-image-placeholder::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 40%, rgba(212, 168, 67, 0.1) 0%, transparent 60%), radial-gradient(circle at 70% 60%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
    }

    /* خطوط گرید تزئینی */
    .about-image-placeholder::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 168, 67, 0.03) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }

.about-image-content {
    text-align: center;
    z-index: 2;
}

.about-big-number {
    display: block;
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 60px rgba(212, 168, 67, 0.2);
}

.about-big-label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: rgb(227, 184, 80) margin-top: 8px;
}

/* کارت‌های شناور */
.about-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-about 3s ease-in-out infinite;
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.about-floating-card {
    bottom: 40px;
    right: -20px;
    animation-delay: 0s;
}

.about-floating-card-2 {
    top: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

.about-floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

@keyframes float-about {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== سمت چپ: محتوا ===== */
.about-content .section-label {
    color: var(--gold);
    background: var(--gold-dim);
    border-color: rgba(212, 168, 67, 0.3);
}

    .about-content .section-label::before {
        background: var(--gold);
    }

.about-content .section-title {
    color: var(--white);
}

    .about-content .section-title .highlight {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.about-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
    margin-bottom: 16px;
}

    .about-desc strong {
        color: var(--white);
    }

/* ویژگی‌ها */
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 32px;
}

.about-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

    .about-feature-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(212, 168, 67, 0.25);
        transform: translateY(-2px);
    }

.about-feature-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.about-feature-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* دکمه‌های اقدام */
.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    .about-actions .btn-primary {
        background: var(--gold);
        color: var(--navy);
    }

        .about-actions .btn-primary:hover {
            background: var(--gold-light);
            box-shadow: 0 8px 32px rgba(212, 168, 67, 0.35);
        }

.about-outline {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

    .about-outline:hover {
        border-color: var(--gold) !important;
        color: var(--gold) !important;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-big-number {
        font-size: 56px;
    }

    .about-floating-card {
        padding: 10px 14px;
        font-size: 13px;
    }

    .about-floating-card {
        bottom: 20px;
        right: 10px;
    }

    .about-floating-card-2 {
        top: 20px;
        left: 10px;
    }

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

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

@media (max-width: 480px) {
    .about-image-placeholder {
        height: 220px;
    }

    .about-big-number {
        font-size: 40px;
    }

    .about-big-label {
        font-size: 16px;
    }

    .about-floating-card {
        display: none;
    }
}

/* ===== Portfolio Actions ===== */
.portfolio-actions {
    text-align: center;
    margin-top: 40px;
}

    .portfolio-actions .btn-primary {
        padding: 14px 36px;
        font-size: 15px;
    }

/* ===== Portfolio Actions ===== */
.portfolio-actions {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
}

    .portfolio-actions .btn-primary {
        padding: 14px 40px;
        font-size: 16px;
        font-weight: 700;
        border-radius: var(--radius);
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--navy);
        transition: var(--transition);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .portfolio-actions .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
            gap: 14px;
        }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .portfolio-actions {
        margin-top: 32px;
        padding-top: 24px;
    }

        .portfolio-actions .btn-primary {
            padding: 12px 28px;
            font-size: 14px;
            width: 100%;
            justify-content: center;
        }
}
