
    

        /* ======== 1. Reset & Global Styles ======== */
        :root {
            --primary-color: #6d28d9; /* رنگ اصلی (بنفش تیره) */
            --secondary-color: #8b5cf6; /* رنگ ثانویه (بنفش روشن‌تر) */
            --dark-color: #1f2937;
            --light-color: #f9fafb;
            --text-color: #374151;
            --text-light: #6b7280;
            --white: #ffffff;
            --border-color: #e5e7eb;
            --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

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

        body {
            font-family: 'Vazirmatn', sans-serif;
            direction: rtl;
            line-height: 1.7;
            background-color: var(--white);
            color: var(--text-color);
            overflow-x: hidden; /* جلوگیری از اسکرول افقی */
        }


p,h1,h2,div,table,button,input{'Vazirmatn', sans-serif;}
        html {
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 80px 0;
        }

        h1, h2, h3 {
            font-weight: bold;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        h1 {
            font-size: 2.8rem;
            color: var(--dark-color);
        }

        h2 {
            font-size: 2.2rem;
            color: var(--dark-color);
            text-align: center;
            margin-bottom: 50px;
        }

        h2::after {
            content: '';
            display: block;
            width: 70px;
            height: 4px;
            background-color: var(--primary-color);
            margin: 15px auto 0;
            border-radius: 2px;
        }

        h3 {
            font-size: 1.5rem;
            color: var(--dark-color);
        }

        p {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: var(--text-light);
        }

        a {
            text-decoration: none;
            color: var(--primary-color);
        }

        /* ======== 2. Utility & Animation Classes ======== */
        
        /* دکمه فراخوان اصلی (CTA) */
        .cta-button {
            display: inline-block;
            padding: 15px 35px;
            font-size: 1.1rem;
            font-weight: bold;
            color: var(--white);
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(109, 40, 217, 0.5);
        }

        /* دکمه ثانویه */
        .cta-button-secondary {
            background: var(--white);
            color: var(--primary-color);
            border: 2px solid var(--border-color);
            box-shadow: none;
        }

        .cta-button-secondary:hover {
            background-color: var(--light-color);
            border-color: var(--secondary-color);
            box-shadow: none;
            transform: translateY(-2px);
        }

        /* انیمیشن محو شدن و ظاهر شدن هنگام اسکرول */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

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

        /* ======== 3. Header & Navigation ======== */
        #main-header {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            background-color: var(--white);
            padding: 15px 0;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        #main-header.scrolled {
            box-shadow: var(--shadow);
        }

        #main-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        #main-header .logo img {
            height: 45px;
        }

        #main-header nav ul {
            display: flex;
            list-style: none;
        }

        #main-header nav ul li {
            margin-right: 30px;
        }

        #main-header nav ul li a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: bold;
            transition: color 0.3s ease;
        }

        #main-header nav ul li a:hover {
            color: var(--primary-color);
        }

        /* ======== 4. Hero Section ======== */
        #hero {
            background-color: var(--light-color);
            padding-top: 150px; /* برای فضای زیر هدر */
            padding-bottom: 80px;
        }

        #hero .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        #hero .hero-text {
            flex: 1;
        }

        #hero .hero-text h1 {
            font-size: 3rem; /* کمی بزرگتر برای تاکید */
        }
        
        #hero .hero-text h1 span {
             background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        #hero .hero-text p {
            font-size: 1.25rem;
            margin: 25px 0;
        }

        #hero .hero-image {
            flex: 1;
            text-align: center;
        }

        #hero .hero-image img {
            max-width: 100%;
            height: auto;
            animation: float 3s ease-in-out infinite;
        }
        
        /* انیمیشن شناور بودن عکس */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }

        /* ======== 5. Partners Section ======== */
        #partners {
            background-color: var(--white);
            padding: 40px 0;
            border-bottom: 1px solid var(--border-color);
        }

        #partners .partners-grid {
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        #partners .partner-logo {
            text-align: center;
        }

        #partners .partner-logo img {
            height: 100px;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        #partners .partner-logo img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* ======== 6. Features Section ======== */
        #features {
            background-color: var(--light-color);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            text-align: center;
        }

        .feature-card {
            background-color: var(--white);
            padding: 40px 30px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

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

        .feature-card .icon {
            width: 70px;
            height: 70px;
            line-height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            font-size: 2rem;
            margin: 0 auto 25px;
        }

        /* ======== 7. Dual CTA Section ======== */
        #cta-split {
            background-color: var(--white);
        }

        .cta-split-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: center;
        }

        .cta-box {
            padding: 50px;
            border-radius: 12px;
            text-align: center;
        }

        .cta-box.advertiser {
            background-color: var(--dark-color);
            color: var(--white);
        }
        
        .cta-box.advertiser h3 {
            color: var(--white);
        }
        
        .cta-box.advertiser p {
            color: #d1d5db; /* خاکستری روشن */
        }

        .cta-box.publisher {
            background-color: var(--light-color);
            border: 2px solid var(--border-color);
        }

        .cta-box h3 {
            font-size: 1.8rem;
        }

        .cta-box p {
            font-size: 1.1rem;
            margin: 20px 0 30px;
        }

        /* ======== 8. Testimonials Section ======== */
        #testimonials {
            background-color: var(--light-color);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .testimonial-card {
            background-color: var(--white);
            padding: 35px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border-right: 6px solid var(--primary-color);
            position: relative;
        }

        .testimonial-card::before {
            content: '“';
            position: absolute;
            top: 10px;
            left: 25px;
            font-size: 5rem;
            color: var(--border-color);
            z-index: 1;
            line-height: 1;
        }

        .testimonial-card p {
            font-style: italic;
            position: relative;
            z-index: 2;
            font-size: 1.1rem;
            color: var(--text-color);
            margin-bottom: 25px;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .testimonial-author strong {
            font-size: 1.1rem;
            color: var(--dark-color);
        }

        .testimonial-author span {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-right: 10px;
        }

        /* ======== 9. About & Footer ======== */
        #about-footer {
            background-color: var(--dark-color);
            color: var(--light-color);
            padding: 60px 0;
            border-top: 5px solid var(--primary-color);
        }

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

        .footer-grid h3 {
            color: var(--white);
            margin-bottom: 25px;
        }
        
        .footer-grid p {
            color: #d1d5db; /* خاکستری روشن */
        }

        .footer-contact ul {
            list-style: none;
        }

        .footer-contact ul li {
            margin-bottom: 15px;
            color: #d1d5db;
            display: flex;
            align-items: center;
        }
        
        .footer-contact ul li svg {
            width: 20px;
            height: 20px;
            margin-left: 10px;
            fill: var(--secondary-color);
        }

        .copyright {
            text-align: center;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid #4b5563; /* خاکستری تیره‌تر */
            font-size: 0.9rem;
            color: #9ca3af;
        }

        /* ======== 10. Responsive Design ======== */
        @media (max-width: 992px) {
            h1 { font-size: 2.5rem; }
            h2 { font-size: 2rem; }
            section { padding: 60px 0; }

            #hero .container {
                flex-direction: column;
                text-align: center;
            }
            
            #hero { padding-top: 120px; }
            #hero .hero-image { order: -1; margin-bottom: 30px; }
            #hero .hero-image img { max-width: 70%; }

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

            .cta-split-container {
                grid-template-columns: 1fr;
            }
            
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            #main-header .container {
                flex-direction: column;
            }
            #main-header nav ul {
                margin-top: 15px;
            }
            #main-header nav ul li {
                margin: 0 10px;
            }
            
            #hero { padding-top: 180px; } /* فضای بیشتر برای هدر موبایل */

            #partners .partner-logo img {
                height: 65px;
            }
        }
