  /* -------------------------------------------------------------------------- */
  /* GLOBAL DESIGN SYSTEM (Dark Mode Native)                                    */
  /* -------------------------------------------------------------------------- */
  :root {
            --bg-deep: #050508;
            --bg-card: #0f0f14;
            --primary: #6c5ce7;
            --primary-glow: rgba(108, 92, 231, 0.4);
            --secondary: #00d2ff;
            --secondary-glow: rgba(0, 210, 255, 0.3);
            --accent: #f1c40f;
            --text-bright: #ffffff;
            --text-dim: #a0a0b0;
            --border: rgba(255, 255, 255, 0.07);
            --glass: rgba(255, 255, 255, 0.02);
            --vazir: 'Vazirmatn', sans-serif;
            --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg-deep);
  }
  /* -------------------------------------------------------------------------- */
/* NAVBAR MOBILE / DESKTOP RESPONSIVE SWITCH                                  */
/* -------------------------------------------------------------------------- */

/* در حالت عادی (دسکتاپ) */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: inline-flex !important;
}

/* آیکون منوی همبرگری */
.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-bright, #ffffff);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* انیمیشن تبدیل آیکون همبرگری به ضربدر هنگام باز شدن منو */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary, #8a2be2);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary, #8a2be2);
}

/* -------------------------------------------------------------------------- */
/* MOBILE / ANDROID BREAKPOINT (۷۶۸px و کوچکتر)                              */
/* -------------------------------------------------------------------------- */
#mainNav
{
          z-index: 99;
}
@media screen and (max-width: 768px) {
    /* پنهان کردن دکمه مشاوره و نمایش دکمه همبرگری */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* منوی کشویی موبایل */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 15, 26, 0.96);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
        padding: 40px 20px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.1rem;
    }
}
/* -------------------------------------------------------------------------- */
/* MOBILE / ANDROID NAVBAR FIX                                                */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* کنترل دکمه‌ها */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* تنظیمات دکمه همبرگری */
    .hamburger-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        padding: 0;
        z-index: 100001; /* بالاتر از همه عناصر برای کلیک‌پذیری */
        position: relative;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* انیمیشن آیکون همبرگری هنگام باز شدن */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
        background-color: var(--primary, #8a2be2);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
        background-color: var(--primary, #8a2be2);
    }

    /* منوی کشویی */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #0f0f1a !important; /* پس‌زمینه تیره و ثابت */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 25px !important;
        transition: right 0.4s ease-in-out !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 100;
        padding: 40px 20px !important;
        margin: 0 !important;
    }

    /* حالت باز شده منو */
    .nav-links.active {
        right: 0 !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .nav-links li a {
        font-size: 1.15rem;
        color: #ffffff;
        text-decoration: none;
        display: block;
        padding: 8px 0;
        transition: color 0.3s ease;
    }

    .nav-links li a:hover {
        color: var(--primary, #8a2be2);
    }
}
/* -------------------------------------------------------------------------- */
/* ANIMATED LOGO STYLES (MC -> MADCODE) - LTR & COLOR FIXED                   */
/* -------------------------------------------------------------------------- */
.logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
    direction: ltr; /* جهت چپ‌به‌راست برای چیدمان صحیح کلمه انگلیسی */
}

/* حرف M (سفید) */
.logo-m {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* حرف C (بنفش) */
.logo-c {
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary-glow);
}

/* بخش‌های مخفی لوگو (AD و ODE) */
.logo-expand {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.4s ease, 
                transform 0.4s ease;
    transform: translateX(-8px); /* حرکت نرم به سمت راست در حالت LTR */
}

/* رنگ بخش تکمیلی AD (سفید) */
.logo-ad {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* رنگ بخش تکمیلی ODE (بنفش) */
.logo-ode {
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary-glow);
}

/* -------------------------------------------------------------------------- */
/* HOVER ACTION                                                               */
/* -------------------------------------------------------------------------- */
.logo:hover .logo-expand {
    max-width: 80px; /* فضای کافی برای باز شدن کامل کلمات */
    opacity: 1;
    transform: translateX(0);
}

/* درخشش در زمان هاور */
.logo:hover .logo-c,
.logo:hover .logo-ode {
    text-shadow: 0 0 18px var(--primary-glow);
}
  body {
            font-family: var(--vazir);
            background-color: var(--bg-deep);
            color: var(--text-bright);
            line-height: 1.7;
            overflow-x: hidden;
            direction: rtl;
  }

  .ambient-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 50% -20%, #1e1e3f 0%, #050508 100%);
            z-index: -1;
  }

  /* -------------------------------------------------------------------------- */
  /* NAVIGATION                                                                 */
  /* -------------------------------------------------------------------------- */
  nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 2000;
            padding: 25px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--border);
  }

  nav.sticky {
            padding: 15px 8%;
            background: rgba(5, 5, 8, 0.85);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .logo {
            font-size: 1.8rem;
            font-weight: 900;
            color: white;
            text-decoration: none;
  }

  .logo span {
            text-shadow: 0 0 10px var(--primary-glow);
  }

  .nav-links {
            display: flex;
            gap: 35px;
            list-style: none;
  }

  .nav-links a {
            text-decoration: none;
            color: var(--text-dim);
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.95rem;
  }

  .nav-links a:hover {
            color: var(--secondary);
  }

  /* -------------------------------------------------------------------------- */
  /* HERO SECTION                                                               */
  /* -------------------------------------------------------------------------- */
  .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 350px 50px;
  }

  .hero-tag {
            background: var(--glass);
            border: 1px solid var(--border);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--secondary);
            margin-bottom: 25px;
            letter-spacing: 1px;
  }

  .hero h1 {
            font-size: clamp(2.5rem, 8vw, 5.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 25px;
            background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
  }

  .hero p {
            color: var(--text-dim);
            max-width: 750px;
            font-size: 1.2rem;
            margin-bottom: 40px;
  }

  /* -------------------------------------------------------------------------- */
  /* SERVICES & TEAM SHARED STYLES                                              */
  /* -------------------------------------------------------------------------- */
  .section {
            padding: 40px 8%;
            position: relative;
  }

  .section-title {
            text-align: center;
            margin-bottom: 70px;
  }

  .section-title h2 {
            font-size: 2.8rem;
            margin-bottom: 15px;
  }

  .section-title span {
            color: var(--primary);
  }

  .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
  }

  .card-base {
            background: var(--bg-card);
            border-radius: 35px;
            border: 1px solid var(--border);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(5px);
  }

  .card-base:hover {
            transform: translateY(-15px);
            border-color: var(--primary);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
  }
/* -------------------------------------------------------------------------- */
/* PORTFOLIO SECTION STYLES                                                  */
/* -------------------------------------------------------------------------- */
.portfolio-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important; /* پدینگ از طریق محتوای داخلی تنظیم می‌شود */
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #121218;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.85);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.badge-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.badge-dev {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.4);
}

.portfolio-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-cat {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-portfolio:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    color: white;
}

.btn-portfolio i {
    font-style: normal;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-portfolio:hover i {
    transform: translate(-3px, -3px);
}

/* پروگرس بار پروژه در حال ساخت */
.dev-progress {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.progress-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.dev-progress span {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
  /* Service Specific */
  .service-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 40px 30px;
            height: 100%;
  }

  .service-icon {
            width: 65px;
            height: 65px;
            background: rgba(108, 92, 231, 0.08);
            border: 1px solid var(--border);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: var(--secondary);
            transition: var(--transition);
  }

  .service-card:hover .service-icon {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 0 20px var(--primary-glow);
            transform: scale(1.05);
  }

  .service-card h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--text-bright);
  }

  .service-card p {
            color: var(--text-dim);
            font-size: 0.92rem;
            line-height: 1.7;
            margin-bottom: 25px;
  }

  .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: auto;
  }

  .tech-tags span {
            font-size: 0.75rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            color: var(--secondary);
            padding: 4px 10px;
            border-radius: 8px;
            font-weight: 500;
  }
/* -------------------------------------------------------------------------- */
/* WHY MADCODE SECTION STYLES                                                 */
/* -------------------------------------------------------------------------- */
.why-card {
    padding: 35px 25px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--secondary);
    color: #050508;
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
    transform: scale(1.05);
}

.why-card h3 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}
  /* Team Specific */
  .team-card {
            padding: 40px 30px;
            text-align: center;
  }

  .member-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 3px solid var(--primary);
            padding: 5px;
            object-fit: cover;
            filter: grayscale(100%);
            transition: var(--transition);
  }

  .team-card:hover .member-img {
            filter: grayscale(0%);
            transform: scale(1.05);
            border-color: var(--secondary);
            box-shadow: 0 0 25px var(--secondary-glow);
  }

  .team-card h3 {
            margin-bottom: 8px;
            font-size: 1.5rem;
  }

  .team-card span {
            color: var(--secondary);
            display: block;
            margin-bottom: 20px;
            font-weight: 300;
            font-size: 0.95rem;
  }

  .social-mini {
            display: flex;
            justify-content: center;
            gap: 15px;
  }

  .social-mini a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.9rem;
            padding: 5px 12px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.03);
            transition: var(--transition);
  }

  .social-mini a:hover {
            color: var(--text-bright);
            background: var(--primary);
  }

  /* -------------------------------------------------------------------------- */
  /* CALCULATOR                                                                 */
  /* -------------------------------------------------------------------------- */
  .calc-container {
            background: linear-gradient(145deg, #0f0f14 0%, #0a0a0e 100%);
            border: 1px solid var(--border);
            border-radius: 45px;
            padding: 60px;
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 50px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }

  .calc-form h3 {
            font-size: 2rem;
            margin-bottom: 35px;
            color: var(--secondary);
  }

  .input-group {
            margin-bottom: 30px;
  }

  .input-group label {
            display: block;
            margin-bottom: 12px;
            font-weight: 600;
            color: #ccc;
  }

  select {
            width: 100%;
            padding: 18px;
            background: #16161d;
            border: 1px solid #2a2a35;
            border-radius: 15px;
            color: white;
            font-family: var(--vazir);
            font-size: 1rem;
            cursor: pointer;
            appearance: none;
  }

  .price-box {
            background: rgba(108, 92, 231, 0.05);
            border: 1px dashed var(--primary);
            border-radius: 35px;
            padding: 40px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
  }

  .total-price {
            font-size: 4.5rem;
            font-weight: 900;
            color: white;
            line-height: 1;
  }

  .total-price span {
            font-size: 1.2rem;
            color: var(--text-dim);
            display: block;
            margin-top: 10px;
  }

  /* -------------------------------------------------------------------------- */
  /* BUTTONS & FOOTER                                                           */
  /* -------------------------------------------------------------------------- */
  .btn {
            padding: 5px 30px;
            border-radius: 50px;
            border: none;
            font-family: var(--vazir);
            font-weight: 800;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-block;
            font-size: 1.05rem;
            text-align: center;
  }

  .btn-glow {
            background: var(--primary);
            color: white;
            box-shadow: 0 10px 30px var(--primary-glow);
  }

  .btn-glow:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px var(--primary-glow);
  }

  footer {
            padding: 80px 8% 40px;
            border-top: 1px solid var(--border);
            text-align: center;
  }

  /* -------------------------------------------------------------------------- */
  /* FAQ STYLES                                                                 */
  /* -------------------------------------------------------------------------- */
  .faq-container {
            max-width: 850px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
  }

  .faq-item {
            padding: 0;
            /* مدیریت پدینگ داخلی از طریق تایتل و انسر */
            border-radius: 20px !important;
  }

  .faq-trigger {
            display: none;
            /* پنهان کردن چک‌باکس واقعی */
  }

  .faq-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 30px;
            cursor: pointer;
            user-select: none;
            transition: var(--transition);
  }

  .faq-title h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-bright);
            transition: var(--transition);
  }

  .faq-icon {
            font-size: 1.6rem;
            font-weight: 300;
            color: var(--text-dim);
            transition: var(--transition);
            line-height: 1;
  }

  .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
            padding: 0 30px;
  }

  .faq-answer p {
            color: var(--text-dim);
            font-size: 0.95rem;
            line-height: 1.8;
            padding-bottom: 25px;
  }

  /* -------------------------------------------------------------------------- */
  /* FAQ INTERACTION (CSS Logic)                                               */
  /* -------------------------------------------------------------------------- */
  .faq-trigger:checked~.faq-title h3 {
            color: var(--secondary);
  }

  .faq-trigger:checked~.faq-title .faq-icon {
            transform: rotate(45deg);
            color: var(--secondary);
  }

  .faq-trigger:checked~.faq-answer {
            max-height: 200px;
            /* فضای کافی برای باز شدن متن */
  }

  .faq-item:hover {
            transform: translateY(-4px) !important;
            /* پاپ‌آپ ملایم‌تر برای سوالات */
  }

  /* -------------------------------------------------------------------------- */
  /* RESPONSIVE                                                                 */
  /* -------------------------------------------------------------------------- */
  /* -------------------------------------------------------------------------- */
  /* MODERN FOOTER STYLES                                                       */
  /* -------------------------------------------------------------------------- */
  .modern-footer {
            background: linear-gradient(to top, #020204 0%, #050508 100%);
            border-top: 1px solid var(--border);
            padding: 90px 8% 30px;
            margin-top: 50px;
            position: relative;
  }

  .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
            gap: 40px;
            margin-bottom: 60px;
  }

  .footer-col h4 {
            color: var(--text-bright);
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
  }

  /* خط دکوراتیو بنفش زیر عنوان ستون‌ها */
  .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 0;
            width: 30px;
            height: 2px;
            background: var(--primary);
            box-shadow: 0 0 8px var(--primary-glow);
  }

  .brand-col .brand-desc {
            color: var(--text-dim);
            font-size: 0.95rem;
            margin-top: 20px;
            margin-bottom: 25px;
            max-width: 340px;
            text-align: justify;
  }

  .footer-socials {
            display: flex;
            gap: 12px;
  }

  .footer-socials a {
            width: 42px;
            height: 42px;
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.1rem;
            transition: var(--transition);
  }

  .footer-socials a:hover {
            background: var(--primary);
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px var(--primary-glow);
  }

  .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
  }

  .footer-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.95rem;
            transition: var(--transition);
            display: inline-block;
  }

  .footer-links a:hover {
            color: var(--secondary);
            transform: translateX(-5px);
            /* حرکت ملایم به سمت چپ در هاور به خاطر RTL */
  }

  /* کارت وضعیت آنلاین استودیو */
  .status-card {
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid var(--border);
            padding: 20px;
            border-radius: 20px;
            margin-bottom: 15px;
  }

  .status-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
  }

  /* انیمیشن پالس نقطه سبز رنگ */
  .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #2ecc71;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
            animation: pulse 1.6s infinite;
  }

  .status-text {
            font-size: 0.9rem;
            color: #2ecc71;
            font-weight: 600;
  }

  .status-card p {
            font-size: 0.85rem;
            color: var(--text-dim);
  }

  .status-card strong {
            color: var(--secondary);
  }

  .footer-email {
            font-size: 0.9rem;
            color: var(--text-dim);
            direction: ltr;
            text-align: right;
  }

  /* بخش امضای آخر فوتر */
  .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 30px;
            text-align: center;
            color: var(--text-dim);
            font-size: 0.9rem;
  }

  .footer-bottom span {
            color: white;
            font-weight: bold;
  }

  @keyframes pulse {
            0% {
                      transform: scale(0.95);
                      box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
            }

            70% {
                      transform: scale(1);
                      box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
            }

            100% {
                      transform: scale(0.95);
                      box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
            }
  }

  /* هوشمندسازی ریسپانسیو فوتر */
  @media (max-width: 992px) {
            .footer-grid {
                      grid-template-columns: 1fr 1fr;
                      gap: 30px;
            }
  }

  @media (max-width: 600px) {
            .modern-footer {
                      padding: 60px 5% 30px;
            }

            .footer-grid {
                      grid-template-columns: 1fr;
                      gap: 35px;
            }

            .brand-col .brand-desc {
                      max-width: 100%;
            }
  }

  @media (max-width: 992px) {
            .calc-container {
                      grid-template-columns: 1fr;
                      padding: 40px;
            }

            .hero h1 {
                      font-size: 3.5rem;
            }
  }

  /* -------------------------------------------------------------------------- */
  /* CONTACT & FORM TRANSITIONS                                                 */
  /* -------------------------------------------------------------------------- */
  .contact-transition {
            transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 1;
            transform: scale(1);
  }

  .contact-transition.hidden {
            opacity: 0;
            transform: scale(0.95);
            pointer-events: none;
            position: absolute;
            left: 0;
            right: 0;
            margin: auto;
            visibility: hidden;
  }

  .form-container {
            max-width: 650px;
            margin: 0 auto;
            background: linear-gradient(145deg, #0f0f14 0%, #0a0a0e 100%);
            border: 1px solid var(--border);
            border-radius: 35px;
            padding: 50px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
            text-align: right;
  }

  .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
  }

  .form-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
  }

  .form-group label {
            font-size: 0.9rem;
            color: #ccc;
            font-weight: 600;
  }

  .form-group input,
  .form-group textarea {
            width: 100%;
            padding: 16px;
            background: #16161d;
            border: 1px solid #2a2a35;
            border-radius: 15px;
            color: white;
            font-family: var(--vazir);
            font-size: 0.95rem;
            transition: var(--transition);
  }

  .form-group input:focus,
  .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  }
/* -------------------------------------------------------------------------- */
/* PROCESS SECTION STYLES                                                    */
/* -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    position: relative;
}

.process-card {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.step-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    opacity: 0.8;
    line-height: 1;
    transition: var(--transition);
}

.process-card:hover .step-num {
    color: var(--primary);
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 15px var(--primary-glow);
    opacity: 1;
}

.process-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.process-card:hover .process-icon {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: rotate(-5deg) scale(1.05);
}

.process-card h3 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.process-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}
  @media (max-width: 600px) {
            .form-grid {
                      grid-template-columns: 1fr;
            }

            .form-container {
                      padding: 30px 20px;
            }
  }

  @media (max-width: 600px) {
            nav .nav-links {
                      display: none;
            }

            .section {
                      padding: 80px 5%;
            }

            .total-price {
                      font-size: 3rem;
            }
  }