/* ========================================
   GLOBAL STYLES
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    --secondary-color: #f59e0b;
    --accent-color: #ea580c;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   LOADING SCREEN
======================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 1.5s forwards;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: pulse 0.5s ease-in-out infinite;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(245, 158, 11, 0.2);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* ========================================
   HEADER STYLES
======================================== */

.header {
    background-color: var(--primary-color);
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1300px;
    border-radius: 16px;
    padding: 0.8rem 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.6s ease-out;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    animation: fadeInScale 0.8s ease-out 0.2s backwards;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--bg-light);
    font-weight: 400;
}

/* Desktop Nav */
.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    animation: slideInRight 0.5s ease-out backwards;
}

.nav-menu li:nth-child(1) {
    animation-delay: 0.3s;
}

.nav-menu li:nth-child(2) {
    animation-delay: 0.4s;
}

.nav-menu li:nth-child(3) {
    animation-delay: 0.5s;
}

.nav-menu li:nth-child(4) {
    animation-delay: 0.6s;
}

.nav-menu li:nth-child(5) {
    animation-delay: 0.7s;
}

.nav-menu li:nth-child(6) {
    animation-delay: 0.8s;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* CTA Button */
.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    animation: fadeInScale 0.8s ease-out 0.8s backwards, pulse 2s ease-in-out 1.5s infinite;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    /* پیش فرض در دسکتاپ */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    animation: fadeInScale 0.6s ease-out 0.4s backwards;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    z-index: 999;
    transition: right 0.4s ease;
    padding-top: 120px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    padding: 2rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.mobile-menu-overlay.active .mobile-menu li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--secondary-color);
    padding-right: 10px;
}

/* ========================================
   BOTTOM NAVIGATION (Mobile)
======================================== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 92%;
    max-width: 400px;
    animation: slideUpBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bottom-nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    padding: 0.6rem 0.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    list-style: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
    animation: popIn 0.5s backwards;
}

.bottom-nav-item:nth-child(1) {
    animation-delay: 0.2s;
}

.bottom-nav-item:nth-child(2) {
    animation-delay: 0.3s;
}

.bottom-nav-item:nth-child(3) {
    animation-delay: 0.4s;
}

.bottom-nav-item:nth-child(4) {
    animation-delay: 0.5s;
}

.bottom-nav-item:nth-child(5) {
    animation-delay: 0.6s;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.3rem;
}

.bottom-nav-link i {
    font-size: 1.1rem;
    margin-bottom: 2px;
    transition: 0.3s;
}

.bottom-nav-link span {
    font-size: 0.6rem;
    font-weight: 500;
}

.bottom-nav-link.active {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.bottom-nav-link.active i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
======================================== */
@media (max-width: 992px) {

    .nav-menu,
    .btn-cta {
        display: none !important;
        /* Force hide desktop menu */
    }

    .hamburger {
        display: flex !important;
        /* Force show hamburger */
    }

    .bottom-nav {
        display: block !important;
    }

    .header {
        width: 92%;
        top: 20px;
        padding: 0.6rem 0;
    }

    .logo h1 {
        font-size: 1.4rem;
    }
}

/* ========================================
   KEYFRAME ANIMATIONS
======================================== */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpBounce {
    0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }

    80% {
        transform: translateX(-50%) translateY(5px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }

    50% {
        transform: scale(1.1) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

    50% {
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    }
}


/* ========================================
   HERO SECTION
======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Background Blobs */
.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.1;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -50px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    animation-delay: 5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    animation-delay: 10s;
}

@keyframes blob-float {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(50px, -50px) rotate(90deg);
    }

    50% {
        border-radius: 30% 70% 50% 50% / 50% 60% 40% 60%;
        transform: translate(0, 50px) rotate(180deg);
    }

    75% {
        border-radius: 70% 30% 60% 40% / 40% 70% 50% 60%;
        transform: translate(-50px, 0) rotate(270deg);
    }
}

/* Container */
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Content Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text Content */
.hero-text {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0f172a;
}

.title-line-1 {
    display: block;
    color: #f59e0b;
    font-size: 4rem;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.5s forwards;
}

.title-line-2 {
    display: block;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.7s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    border-color: #f1860b;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(-5px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-radius: 50% 40% 60% 50% / 50% 60% 40% 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {

    0%,
    100% {
        border-radius: 50% 40% 60% 50% / 50% 60% 40% 60%;
    }

    50% {
        border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    color: #f59e0b;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Hero Image */
.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeInLeft 1s ease-out 0.5s forwards;
}

.image-blob {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-blob svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(15, 23, 42, 0.2));
}

/* Hero Icons Container */
.hero-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero-icon-container i {
    font-size: 4rem;
    color: #f59e0b;
    opacity: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

.hero-icon-container i:nth-child(1) {
    animation-delay: 0s;
}

.hero-icon-container i:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-icon-container i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

/* Decorative Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.05;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    background: #f59e0b;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: shape-float 15s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 15%;
    background: #0f172a;
    border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
    animation: shape-float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 20%;
    background: #ea580c;
    border-radius: 48% 52% 37% 63% / 48% 60% 40% 52%;
    animation: shape-float 18s ease-in-out infinite;
}

@keyframes shape-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   ABOUT SECTION - STABLE & RESPONSIVE
======================================== */

.about-section {
    position: relative;
    padding: 80px 20px;
    background: #ffffff;
    overflow: hidden;
    /* جلوگیری از اسکرول افقی ناخواسته در کل صفحه */
    direction: rtl;
}

/* --- DECORATIONS (پس زمینه) --- */
.about-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.blob-4 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -150px;
    background: #0f172a;
}

.blob-5 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: #f59e0b;
}

/* --- HEADER --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #fff7ed;
    color: #ea580c;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid #ffedd5;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

/* --- CONTENT WRAPPER --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- IMAGE SIDE --- */
.about-image {
    position: relative;
    text-align: center;
}

.about-image-blob {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image-blob svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(245, 158, 11, 0.2));
}

.about-image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: #ffffff;
    font-weight: bold;
}

/* Stats Cards Floating */
.floating-stat {
    position: absolute;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.stat-1 {
    top: 0;
    right: 0;
}

.stat-2 {
    bottom: 20px;
    left: 0;
}

.floating-stat-icon {
    width: 40px;
    height: 40px;
    background: #fff7ed;
    color: #ea580c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-stat-text strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}

.floating-stat-text span {
    font-size: 0.75rem;
    color: #64748b;
}

/* --- FEATURES (DESKTOP DEFAULT) --- */
.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #e2e8f0;
    /* حذف انیمیشن برای جلوگیری از محو شدن */
    opacity: 1;
    transform: none;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

.feature-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.swipe-hint {
    display: none;
}

/* ========================================
   MOBILE & TABLET RESPONSIVE (FIXED)
======================================== */

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Image Adjustments */
    .about-image-blob {
        max-width: 250px;
        margin-bottom: 40px;
    }

    .about-image-content {
        font-size: 3rem;
    }

    /* 
       SLIDER LOGIC (The Important Part)
       برای سایز 320 تا 768 پیکسل
    */
    .about-features {
        display: flex;
        /* تبدیل گرید به فلکس */
        flex-direction: row;
        /* چیدمان افقی */
        flex-wrap: nowrap;
        /* جلوگیری از شکستن خط */
        overflow-x: auto;
        /* فعال کردن اسکرول */

        scroll-snap-type: x mandatory;
        /* حالت آهنربایی */

        gap: 15px;
        padding-bottom: 20px;
        /* فضا برای راحتی تاچ */

        /* کشیدن به کناره‌ها */
        width: 100vw;
        margin-right: -30px;
        /* جبران پدینگ کانتینر اصلی */
        padding-right: 15px;
        /* شروع محتوا از لبه */
        padding-left: 15px;
    }

    .feature-card {
        /* سایز کارت برای موبایل */
        width: 85vw;
        /* 85 درصد عرض صفحه */
        min-width: 280px;
        /* حداقل عرض برای گوشی‌های خیلی کوچک مثل 320 */

        /* !!! این خط حیاتی است !!! */
        flex: 0 0 auto;
        /* رشد نکند، جمع نشود، سایز خودکار */

        scroll-snap-align: center;
        /* وسط چین شدن */

        flex-direction: column;
        /* چیدمان عمودی داخل کارت */
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        margin-bottom: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .swipe-hint {
        display: block;
        text-align: center;
        font-size: 0.8rem;
        color: #94a3b8;
        margin-bottom: 10px;
    }
}
#chrama {
    color: black !important;
}

/* ========================================
   SERVICES SECTION - STACKING EFFECT
======================================== */

.services-section {
    position: relative;
    padding: 80px 20px 120px;
    /* فضای پایین برای اسکرول راحت */
    background: #0f172a;
    /* تم تیره */
    direction: rtl;
    /* overflow: visible !important; برای کارکرد sticky حیاتی است */
}

/* Background */
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    width: 100%;
    height: 100%;
}

/* Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.section-badge {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    color: #000000cf;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-description {
    color: #94a3b8;
    line-height: 1.8;
}

/* --- STACKING CARDS LOGIC --- */

.stacking-cards-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stack-card {
    /* STICKY MAGIC */
    position: sticky;
    top: 100px;
    /* فاصله‌ای که کارت از بالای صفحه گیر می‌کند */

    /* هر کارت کمی پایین‌تر از قبلی گیر کند تا حالت پله‌ای پیدا کند */
    margin-top: 40px;
    margin-bottom: 40px;
    /* فاصله برای اسکرول */

    /* Appearance */
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    overflow: hidden;
    transform-origin: center top;
    transition: transform 0.3s ease;
}

/* افکت پلکانی با استفاده از ایندکس */
.stack-card:nth-child(1) {
    top: 100px;
}

.stack-card:nth-child(2) {
    top: 120px;
}

.stack-card:nth-child(3) {
    top: 140px;
}

.stack-card:nth-child(4) {
    top: 160px;
}

.card-content {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    min-height: 250px;
    /* ارتفاع مناسب */
}

.card-left {
    flex: 1;
    padding-left: 20px;
}

.card-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.card-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-left: 15px;
    margin-bottom: 5px;
}

.card-features li i {
    color: #f59e0b;
}

.card-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 120px;
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.btn-card-action {
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-card-action:hover {
    background: #f59e0b;
    color: #fff;
}

/* CTA Wrapper at bottom */
.services-cta-wrapper {
    text-align: center;
    margin-top: 100px;
    position: relative;
    z-index: 10;
}

.btn-final-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.btn-final-cta:hover {
    transform: scale(1.05);
}

/* --- MODAL UPDATES --- */
.service-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.service-modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    color: #fff;
}

.modal-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.modal-col h4 {
    color: #f59e0b;
    margin-bottom: 10px;
    border-bottom: 1px solid #334155;
    padding-bottom: 5px;
}

.modal-list-custom,
.modal-process-custom {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.8;
}

.modal-list-custom li {
    list-style: none;
    margin-bottom: 5px;
}

.process-step {
    margin-bottom: 10px;
}

/* ========================================
   RESPONSIVE (MOBILE FIXES)
======================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .stack-card {
        top: 80px;
        /* در موبایل بالاتر بچسبد */
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .stack-card:nth-child(1) {
        top: 80px;
    }

    .stack-card:nth-child(2) {
        top: 95px;
    }

    /* فاصله کمتر در موبایل */
    .stack-card:nth-child(3) {
        top: 110px;
    }

    .stack-card:nth-child(4) {
        top: 125px;
    }

    .card-content {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
    }

    .card-left {
        padding-left: 0;
        margin-bottom: 20px;
    }

    .card-right {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 15px;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-desc {
        font-size: 0.9rem;
    }

    .card-number {
        font-size: 2.5rem;
    }

    .modal-columns {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   PINNED SCROLL STORY (DESKTOP FIXED)
   ========================================= */

/* 1. ارتفاع سکشن برای اسکرول */
.pinned-story {
    height: 350vh;
    position: relative;
    background-color: #0f172a;
}

/* 2. ویوپورت ثابت */
.sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.story-grid {
    display: flex;
    flex-direction: row !important;
    /* اجبار به افقی بودن در دسکتاپ */
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* --- ستون گرافیک --- */
.visual-col {
    width: 40%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    /* جلوگیری از فشرده شدن */
}

.server-rack-container {
    background: rgba(30, 41, 59, 0.7);
    /* کمی تیره‌تر برای خوانایی */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* استایل داخلی سرور بدون تغییر */
.server-unit {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s;
    opacity: 0.5;
}

.server-unit.active {
    opacity: 1;
    border-color: #f59e0b;
    background: #0f172a;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #64748b;
    border-radius: 50%;
}

.server-unit.active .status-dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.server-info .val {
    color: #fff;
    font-size: 0.95rem;
}

/* --- ستون متن (اصلاح شده برای جلوگیری از شکستن خطوط) --- */
.content-col {
    width: 50%;
    min-width: 500px;
    /* مهم: جلوگیری از یک کلمه‌ای شدن متن */
    height: auto;
    min-height: 400px;
    /* ارتفاع امن */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* متن از راست شروع شود */
}

.story-text-card {
    position: absolute;
    width: 100%;
    /* پس‌زمینه سالید برای جلوگیری از تداخل متون */
    background-color: #0f172a;
    padding: 20px;
    text-align: right;
    /* راست‌چین کردن متن */

    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
}

.story-text-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    z-index: 10;
}

.story-text-card h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    white-space: nowrap;
    /* جلوگیری از شکستن تیتر */
}

.story-text-card p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.step-idx {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    position: absolute;
    top: -50px;
    left: 20px;
    /* انتقال به چپ برای زیبایی */
    z-index: -1;
}

/* =========================================
   MOBILE RESPONSIVE (بدون تغییر)
   ========================================= */
@media (max-width: 992px) {
    .story-grid {
        flex-direction: column !important;
        /* در موبایل عمودی */
        justify-content: center;
        gap: 30px;
        width: 100%;
        padding: 0 15px;
    }

    .visual-col,
    .content-col {
        width: 100%;
        min-width: 0;
        /* ریست کردن عرض در موبایل */
    }

    .content-col {
        height: 250px;
        align-items: flex-start;
        justify-content: center;
    }

    .story-text-card {
        background-color: transparent;
        text-align: center;
        padding: 0;
        position: absolute;
    }

    .story-text-card h3 {
        white-space: normal;
    }

    /* در موبایل تیتر بشکند */
    .server-rack-container {
        flex-direction: row;
        padding: 10px;
    }

    .server-unit {
        flex-direction: column;
        text-align: center;
    }

    .indicator-cube {
        display: none;
    }
}

/* =========================================
   SECTION: DASHBOARD DATA INTELLIGENCE
   ========================================= */

.dashboard-story {
    background-color: #0b1120;
    position: relative;
    font-family: inherit;
    z-index: 10;
}

/* ----------------------------------------------------
   DESKTOP STYLES (Scrollytelling) - UNTOUCHED
   دقیقاً کدی که دادید بدون تغییر
   ---------------------------------------------------- */
@media (min-width: 993px) {
    .dashboard-story {
        height: 500vh;
    }

    .dash-sticky-viewport {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dash-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 90%;
        max-width: 1400px;
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .dash-grid.layout-reverse {
        flex-direction: row-reverse;
    }

    .dash-visual-col {
        width: 50%;
        display: flex;
        justify-content: center;
        perspective: 1200px;
    }

    .monitor-frame {
        width: 100%;
        max-width: 700px;
        background: #1e293b;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7);
        transform: rotateX(2deg) scale(0.95);
        transition: transform 0.5s;
        border: 1px solid #334155;
    }

    .monitor-screen {
        width: 100%;
        aspect-ratio: 16/9;
        background: #020617;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
    }

    .dash-screen-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: fill;
        opacity: 0;
        transition: opacity 0.6s ease, transform 0.8s ease;
        transform: scale(1.05);
    }

    .dash-screen-img.active {
        opacity: 1;
        transform: scale(1);
    }

    .monitor-stand {
        width: 120px;
        height: 25px;
        background: #1e293b;
        margin: 0 auto;
        border-radius: 0 0 12px 12px;
        box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .dash-content-col {
        width: 40%;
        height: 500px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 20;
    }

    .dash-card {
        position: absolute;
        width: 100%;
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.6s ease;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 40px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.4);
        text-align: right;
        direction: rtl;
        pointer-events: none;
    }

    .dash-card.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .mobile-only {
        display: none !important;
    }
}

/* ----------------------------------------------------
   MOBILE STYLES (HORIZONTAL SLIDER) - FIXED
   این بخش کاملاً برای اسلایدر افقی تنظیم شد
   ---------------------------------------------------- */
@media (max-width: 992px) {
    .dashboard-story {
        height: auto;
        padding: 60px 0;
        background: #0b1120;
        /* رنگ پس‌زمینه ساده و تیره */
        overflow: hidden;
    }

    .dash-sticky-viewport {
        height: auto;
        display: block;
        position: relative;
    }

    .dash-grid {
        width: 100%;
        margin: 0;
        display: block;
    }

    .desktop-only {
        display: none !important;
    }

    /* کانتینر اسلایدر (مهم) */
    .dash-content-col {
        display: flex;
        flex-direction: row;
        /* چینش افقی */
        overflow-x: auto;
        /* اسکرول افقی فعال */
        scroll-snap-type: x mandatory;
        /* قفل شدن روی هر کارت */
        gap: 15px;
        padding: 0 20px 40px 20px;
        /* پدینگ پایین برای سایه */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* مخفی کردن اسکرول بار فایرفاکس */
    }

    .dash-content-col::-webkit-scrollbar {
        display: none;
    }

    /* مخفی کردن اسکرول بار کروم */

    /* استایل کارت در موبایل */
    .dash-card {
        flex: 0 0 85vw;
        /* عرض ثابت: 85 درصد عرض صفحه */
        width: 85vw;
        max-width: 400px;
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        /* حذف ترنسفرم‌های دسکتاپ */
        background: #1e293b;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        scroll-snap-align: center;
        /* کارت همیشه وسط می‌ایستد */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
    }

    /* عکس موبایل */
    .mobile-dash-view {
        width: 100%;
        height: 200px;
        background: #0f172a;
        position: relative;
    }

    .mobile-dash-view img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.9;
    }

    /* بج شماره مرحله */
    .mobile-card-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        background: rgba(56, 189, 248, 0.9);
        color: #fff;
        border-radius: 50%;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        z-index: 5;
    }

    /* متن کارت موبایل */
    .card-body-inner {
        padding: 20px;
        text-align: right;
        direction: rtl;
        flex-grow: 1;
    }

    .dash-card h3 {
        color: #fff;
        font-size: 1.3rem;
        margin: 10px 0;
        font-weight: 700;
    }

    .dash-card p {
        color: #cbd5e1;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

    .card-icon {
        font-size: 2rem;
        display: block;
        margin-bottom: 5px;
    }
}

/* عمومی */
.screen-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.dash-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.dash-card p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
}


/* ========================================
   BLOG TEASER STYLES
======================================== */
.latest-insights {
    padding: 100px 0;
    background-color: #f9f9f9;
    /* یا رنگ پس‌زمینه متناسب با تم */
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 ستون در دسکتاپ */
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* تصویر */
.blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-cat {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* محتوا */
.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.blog-meta i {
    margin-left: 5px;
    color: #0d6efd;
    /* رنگ برند */
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #0d6efd;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* باعث میشه دکمه‌ها هم‌تراز بشن */
}

.read-more-btn {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 12px;
}

/* ========================================
   RESPONSIVE (MOBILE)
======================================== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* حالت اسلایدر افقی برای موبایل (مثل بخش های قبلی) */
    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        /* فضا برای اسکرول بار */
    }

    .blog-card {
        min-width: 85%;
        /* عرض هر کارت در موبایل */
        scroll-snap-align: center;
    }

    .latest-insights {
        padding: 60px 0;
    }
}


/* ===============================================
   FAQ SECTION - COLOR SCHEME UPDATE
   =============================================== */

.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* FAQ Header */
.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(238, 110, 77, 0.1);
    border-radius: 50px;
    color: #EE6E4D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #20201F;
    margin-bottom: 15px;
    line-height: 1.3;
}

.faq-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-btn:hover {
    border-color: #EE6E4D;
    color: #EE6E4D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 110, 77, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #EE6E4D 0%, #d85a3a 100%);
    border-color: #EE6E4D;
    color: white;
    box-shadow: 0 4px 15px rgba(238, 110, 77, 0.3);
}

.category-btn i {
    font-size: 16px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.faq-item.active {
    border-color: #EE6E4D;
    box-shadow: 0 8px 24px rgba(238, 110, 77, 0.15);
}

/* Hidden Items */
.faq-item.hidden {
    display: none;
}

/* FAQ Question - کل بخش قابل کلیک */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    gap: 15px;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.question-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #20201F 0%, #3a3a38 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(32, 32, 31, 0.3);
}

.faq-item.active .question-icon {
    background: linear-gradient(135deg, #EE6E4D 0%, #d85a3a 100%);
    box-shadow: 0 4px 12px rgba(238, 110, 77, 0.4);
    animation: bounceIn 0.5s ease;
}

.question-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #20201F;
    line-height: 1.5;
    margin: 0;
    text-align: right;
}

/* Toggle Button */
.toggle-btn {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toggle-btn i {
    font-size: 16px;
    color: #EE6E4D;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-btn {
    background: #EE6E4D;
}

.faq-item.active .toggle-btn i {
    color: white;
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px 25px;
}

.answer-content {
    padding-top: 10px;
}

.answer-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 15px 0;
    text-align: right;
}

.answer-content p strong {
    color: #EE6E4D;
    font-weight: 700;
}

/* Answer Features */
.answer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #EE6E4D 0%, #d85a3a 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.feature-tag.warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

/* Answer Highlight */
.answer-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border-right: 4px solid #EE6E4D;
    margin-top: 15px;
}

.answer-highlight i {
    color: #EE6E4D;
    font-size: 18px;
}

.answer-highlight span {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Animations */
@keyframes bounceIn {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .question-content h3 {
        font-size: 15px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}




/* --- Main Footer Styles --- */
.main-footer {
    background-color: #111827;
    /* سرمه‌ای خیلی تیره (مشابه لکه تصویر) */
    color: #9ca3af;
    /* خاکستری روشن برای متون */
    padding-top: 80px;
    font-family: inherit;
    /* ارث‌بری از فونت اصلی سایت */
    position: relative;
    overflow: hidden;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ردیف بندی */
.main-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4,
.col-lg-2,
.col-md-6,
.col-md-12 {
    padding: 0 15px;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-2 {
    width: 16.666%;
}

.col-md-6 {
    width: 50%;
}

.col-md-12 {
    width: 100%;
}

/* واکنش‌گرا (موبایل) */
@media (max-width: 992px) {

    .col-lg-4,
    .col-lg-2 {
        width: 50%;
    }
}

@media (max-width: 768px) {

    .col-lg-4,
    .col-lg-2,
    .col-md-6 {
        width: 100%;
    }

    .footer-widget {
        margin-bottom: 40px;
    }
}

/* ویجت‌ها */
.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #f59e0b;
    /* رنگ نارنجی برند */
    border-radius: 2px;
}

/* لوگو و توضیحات */
.footer-logo h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
}

.footer-logo span {
    color: #f59e0b;
    /* نارنجی */
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* شبکه‌های اجتماعی */
.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-btn:hover {
    background-color: #f59e0b;
    /* نارنجی در هاور */
    color: #ffffff;
    transform: translateY(-3px);
}

/* لینک‌ها */
.links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-widget ul li {
    margin-bottom: 12px;
}

.links-widget ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.links-widget ul li a:hover {
    color: #f59e0b;
    padding-right: 5px;
    /* حرکت جزئی به راست */
}

/* تماس با ما */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #d1d5db;
}

.contact-list li i {
    color: #f59e0b;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* فوتر پایین */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 20px;
}

.footer-bottom .row {
    align-items: center;
    /* تراز عمودی */
}

.copyright-text p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    text-align: left;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #f59e0b;
}

.separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.2);
}

/* اصلاح برای موبایل در بخش کپی رایت */
@media (max-width: 768px) {

    .copyright-text,
    .footer-legal {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* --- Trust Badges Styles --- */
.trust-area {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.trust-title {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.trust-badges {
    display: flex;
    gap: 15px;
}

.trust-item {
    background-color: #fff;
    /* پس زمینه سفید برای دیده شدن بهتر لوگوها */
    border-radius: 8px;
    padding: 5px;
    width: 80px;
    /* سایز باکس */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    /* افکت حرکت بالا هنگام هاور */
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
    /* سایه نارنجی */
}

.trust-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- AHP Section Styling --- */
.ahp-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ahp-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ahp-visual {
    margin-bottom: 25px;
}

.ahp-main-icon {
    font-size: 4.5rem;
    color: #4b5563;
    background: rgba(75, 85, 99, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.ahp-text h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ahp-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 30px;
}

/* استایل برچسب "به‌زودی" */
.coming-soon-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    animation: pulseBadge 2s infinite;
    transform: translateY(-2px);
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* دکمه باز کردن مودال */
.btn-ahp-trigger {
    background-color: #374151;
    /* رنگ طوسی تیره */
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn';
}

.btn-ahp-trigger:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
}

/* --- Modal Styling --- */
.custom-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    animation: fadeInModal 0.3s ease-out;
}

.custom-modal-box {
    background-color: #fff;
    width: 90%;
    max-width: 650px;
    margin: 8vh auto;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideDownModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #9ca3af;
    cursor: pointer;
    z-index: 10;
}

.modal-close-btn:hover {
    color: #ef4444;
}

.modal-header {
    background: #f9fafb;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-header i {
    color: #f59e0b;
    font-size: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1f2937;
}

.modal-scroll-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.lead-text {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.7;
}

.step-item {
    background: #f8fafc;
    border-right: 3px solid #94a3b8;
    padding: 12px 15px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 15px;
}

.step-item h4 {
    margin: 0 0 5px 0;
    color: #334155;
    font-size: 1rem;
}

.step-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.ahp-conclusion {
    background-color: #fffbeb;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #f59e0b;
    text-align: center;
    margin-top: 20px;
}

.ahp-conclusion strong {
    display: block;
    color: #d97706;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.ahp-conclusion p {
    margin: 0;
    font-size: 0.85rem;
    color: #92400e;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDownModal {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .ahp-text h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
    }

    .custom-modal-box {
        width: 95%;
        margin: 5vh auto;
    }
}
/* ================================
   CONTACT SECTION STYLES - Orange/Blue Theme (Complete Version)
================================ */
.agh-contact-section {
  position: relative;
  background: linear-gradient(135deg, #fff8f0 0%, #f8fafc 100%);
  padding: 80px 0;
  overflow: hidden;
}

.agh-contact-section .agh-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.agh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.agh-contact-info {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(242, 146, 0, 0.08);
  border: 1px solid #ffe4cc;
}

.agh-contact-info h3 {
  font-size: 20px;
  margin-bottom: 25px;
  color: #ea580c;
  border-bottom: 2px solid #f59e0b;
  padding-bottom: 10px;
}

.agh-contact-info .agh-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.agh-contact-info .agh-info-item i {
  color: #0f172a;
  font-size: 20px;
  margin-left: 10px;
  margin-top: 3px;
}

.agh-contact-info a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.3s;
}

.agh-contact-info a:hover {
  color: #ea580c;
}

.agh-contact-info .agh-contact-extra {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.agh-contact-info .agh-contact-extra h4 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.agh-contact-extra .agh-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.agh-contact-extra .agh-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    color: #0f172a;
    font-size: 18px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    text-decoration: none;
}

.agh-contact-extra .agh-social-links a:hover {
    background: #f59e0b;
    color: #fff;
    transform: translateY(-2px);
}

.agh-contact-extra .agh-qr-block {
    text-align: center;
    padding: 15px;
    border: 2px dashed #f59e0b;
    border-radius: 8px;
    background: #fffdf9;
}

.agh-contact-extra .agh-qr-block img {
    max-width: 250px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.agh-contact-extra .agh-qr-block p {
    font-size: 13px;
    color: #334155;
    margin: 0;
}

.agh-contact-form-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.agh-contact-form-wrapper h3 {
  font-size: 20px;
  margin-bottom: 25px;
  color: #0f172a;
  border-bottom: 2px solid #f59e0b;
  padding-bottom: 10px;
}

.agh-contact-form-wrapper .agh-form-group {
  margin-bottom: 20px;
}

.agh-contact-form-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #334155;
}

.agh-contact-form-wrapper input,
.agh-contact-form-wrapper select,
.agh-contact-form-wrapper textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  transition: all 0.25s;
}

.agh-contact-form-wrapper input:focus,
.agh-contact-form-wrapper select:focus,
.agh-contact-form-wrapper textarea:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.agh-btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.agh-btn-submit:hover {
  background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.agh-btn-submit:active {
  transform: translateY(0);
}

.agh-alert-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  display: block;
  font-weight: 500;
  line-height: 1.6;
}

.agh-alert-success {
  background: #dcfce7;
  border: 1px solid #22c55e;
  color: #166534;
}

.agh-alert-error {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
}

.agh-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.agh-toast {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid;
  animation: aghSlideIn 0.3s ease-out;
}

.agh-toast-success {
  border-left-color: #22c55e;
  background: #f0fdf4;
}

.agh-toast-error {
  border-left-color: #ef4444;
  background: #fef2f2;
}

@keyframes aghSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .agh-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .agh-contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .agh-contact-info,
  .agh-contact-form-wrapper {
    padding: 20px;
  }
  
  .agh-contact-section {
    padding: 40px 0;
  }
}
/* ========================================
   🤖 AI ATRINA SECTION
======================================== */
.ai-intro-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.ai-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="ai-dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23ai-dots)"/></svg>');
    opacity: 1;
}

.ai-intro-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* محتوا */
.ai-intro-content {
    color: white;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 140, 66, 0.15);
    border: 2px solid rgba(255, 140, 66, 0.3);
    color: #ff8c42;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.coming-soon-pulse {
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 140, 66, 0);
    }
}

.ai-intro-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.brand-highlight {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-intro-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.ai-intro-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
}

.btn-ai-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.4);
}

.btn-ai-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.6);
}

.ai-mini-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.mini-feat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.mini-feat i {
    color: #10b981;
    font-size: 1.1rem;
}

/* گرافیک AI */
.ai-intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 0 60px rgba(255, 140, 66, 0.6);
    animation: brain-float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes brain-float {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -55%) scale(1.05);
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 50%;
    animation: rotate-ring 20s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

.ring-2 {
    width: 270px;
    height: 270px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 340px;
    height: 340px;
    animation-duration: 25s;
}

@keyframes rotate-ring {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.floating-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 140, 66, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff8c42;
    animation: float-icon 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    background: rgba(255, 140, 66, 0.2);
    transform: scale(1.2);
}

.icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========================================
   🤖 AI MODAL - HEADER کوچک، محتوا بزرگ
======================================== */
.ai-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.ai-modal-container {
    background: white;
    width: 90%;
    max-width: 950px;
    max-height: 90vh;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-modal-overlay.active .ai-modal-container {
    transform: scale(1);
}

.ai-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
    z-index: 100;
}

.ai-modal-close:hover {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    transform: rotate(90deg);
}

/* 🔥 HEADER کوچک شده */
.ai-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1.5rem 2rem; /* کاهش پدینگ */
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #ff8c42; /* تأکید با بوردر */
}

.ai-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="modal-dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23modal-dots)"/></svg>');
}

.modal-header-icon {
    width: 50px; /* کوچک‌تر */
    height: 50px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem; /* فاصله کمتر */
    font-size: 1.5rem; /* آیکون کوچک‌تر */
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.5);
    position: relative;
    z-index: 2;
}

.ai-modal-header h3 {
    font-size: 1.4rem; /* کوچک‌تر */
    font-weight: 800;
    margin-bottom: 0.3rem; /* فاصله کمتر */
    position: relative;
    z-index: 2;
}

.modal-subtitle {
    font-size: 0.9rem; /* کوچک‌تر */
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 2;
}

/* 🔥 BODY بزرگ‌تر برای محتوا */
.ai-modal-body {
    padding: 2.5rem 2rem; /* پدینگ بهینه */
    max-height: calc(90vh - 160px); /* ارتفاع بیشتر */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff8c42 #f1f5f9;
}

.ai-modal-body::-webkit-scrollbar {
    width: 8px;
}

.ai-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.ai-modal-body::-webkit-scrollbar-thumb {
    background: #ff8c42;
    border-radius: 10px;
}

/* 🔥 حذف یا کوچک کردن Intro Block */
.modal-intro-block {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border-right: 4px solid #ff8c42;
    padding: 1.2rem 1.5rem; /* کوچک‌تر */
    border-radius: 12px;
    margin-bottom: 2rem; /* فاصله کمتر */
}

.intro-icon {
    font-size: 1.8rem; /* کوچک‌تر */
    margin-bottom: 0.6rem;
}

.intro-text {
    font-size: 0.95rem; /* متن کوچک‌تر */
    line-height: 1.6;
    color: #334155;
}

/* 🔥 قابلیت‌ها بزرگتر و واضح‌تر */
.section-heading {
    font-size: 1.5rem; /* بزرگتر */
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-heading i {
    color: #ff8c42;
    font-size: 1.8rem; /* بزرگتر */
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem; /* فاصله بیشتر */
    margin-bottom: 3rem;
}

.capability-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem; /* پدینگ بیشتر */
    transition: all 0.3s ease;
}

.capability-item:hover {
    border-color: #ff8c42;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.2);
}

.cap-icon {
    width: 60px; /* بزرگتر */
    height: 60px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* بزرگتر */
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

.capability-item h5 {
    font-size: 1.2rem; /* بزرگتر */
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.8rem;
}

.capability-item p {
    font-size: 1rem; /* بزرگتر */
    line-height: 1.7;
    color: #64748b;
}

.example-questions {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.example-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-q:hover {
    border-color: #ff8c42;
    background: rgba(255, 140, 66, 0.05);
}

.example-q i {
    color: #ff8c42;
    font-size: 1.3rem;
}

.example-q p {
    margin: 0;
    font-size: 1rem;
    color: #334155;
    font-weight: 600;
}

.modal-launch {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    padding: 2rem; /* کوچک‌تر */
    border-radius: 16px;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.8rem; /* کوچک‌تر */
    border-radius: 50px;
    margin-bottom: 1rem; /* فاصله کمتر */
}

.launch-badge i {
    font-size: 1.5rem;
}

.launch-text strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.launch-year {
    font-size: 1.3rem;
    font-weight: 900;
}

.launch-desc {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #ff8c42;
    color: white;
    border-color: #ff8c42;
}

.ai-modal-footer {
    background: #f8fafc;
    padding: 1.5rem 2rem; /* کوچک‌تر */
    display: flex;
    justify-content: center;
}

.btn-modal-action {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.4);
}

/* ========================================
   📱 RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .ai-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .ai-intro-visual {
        order: -1;
    }
    
    .ai-brain-container {
        width: 280px;
        height: 280px;
    }
    
    .brain-core {
        width: 100px;
        height: 100px;
        font-size: 2.8rem;
    }
    
    .ai-mini-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-intro-section {
        padding: 5rem 0;
    }
    
    .ai-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .ai-modal-body {
        padding: 2rem 1.5rem;
        max-height: calc(95vh - 150px);
    }
    
    .ai-modal-header {
        padding: 1.2rem 1.5rem;
    }
    
    .modal-intro-block {
        padding: 1rem 1.2rem;
    }
}
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
