/* ═══════════════════════════════════════════════════════════════════════════
   imoadiyar.ir - Modern Redesign
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: Vazirmatn;
    src: url('/fonts/vazir/Vazir-Black.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* YekanBakh Font for Homepage body text */
@font-face {
    font-family: 'YekanBakh';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/YekanBakh/YekanBakhFaNum-Light-1.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakh';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/YekanBakh/YekanBakhFaNum-Regular-1.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakh';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/YekanBakh/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakh';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/YekanBakh/YekanBakhFaNum-ExtraBold-1.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakh';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/fonts/YekanBakh/YekanBakhFaNum-Black-1.woff2') format('woff2');
}

.vazirmatn {
    font-family: Vazirmatn;
}

/* Homepage: headings = Vazirmatn, body text = YekanBakh */
.hero h1, .hero h2, .hero h3,
.features h1, .features h2, .features h3, .features h4,
.capabilities h1, .capabilities h2, .capabilities h3, .capabilities h4,
.steps h1, .steps h2, .steps h3, .steps h4,
.faq h1, .faq h2, .faq h3, .faq h4,
.contact h1, .contact h2, .contact h3, .contact h4,
.blog-section h1, .blog-section h2, .blog-section h3, .blog-section h4,
footer h1, footer h2, footer h3, footer h4 {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

.hero p, .hero span, .hero a, .hero li, .hero td, .hero th,
.features p, .features span, .features a, .features li, .features td, .features th,
.capabilities p, .capabilities span, .capabilities a, .capabilities li, .capabilities td, .capabilities th,
.steps p, .steps span, .steps a, .steps li, .steps td, .steps th,
.faq p, .faq span, .faq a, .faq li, .faq td, .faq th,
.contact p, .contact span, .contact a, .contact li, .contact td, .contact th,
.blog-section p, .blog-section span, .blog-section a, .blog-section li, .blog-section td, .blog-section th,
footer p, footer span, footer a, footer li, footer td, footer th {
    font-family: 'YekanBakh', 'Vazirmatn', sans-serif !important;
}

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

:root {
    /* Primary Colors */
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #7c8cf0;
    --secondary: #764ba2;
    --secondary-light: #8b5fbf;

    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-body: #94a3b8;
    --text-muted: #64748b;

    /* Background Colors */
    --bg-dark: #0c0c1d;
    --bg-darker: #0a0a15;
    --bg-card: rgba(30, 41, 59, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Border Colors */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --border-primary: rgba(102, 126, 234, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0c0c1d 0%, #1a1a3e 50%, #2d1b69 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(102, 126, 234, 0.5);

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════════════════════════ */

[data-theme="light"] {
    /* Text Colors */
    --text-white: #0f172a;
    --text-light: #1e293b;
    --text-body: #475569;
    --text-muted: #94a3b8;

    /* Background Colors */
    --bg-dark: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(0, 0, 0, 0.03);

    /* Border Colors */
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(0, 0, 0, 0.15);
    --border-primary: rgba(102, 126, 234, 0.4);

    /* Gradients */
    --gradient-dark: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    --gradient-hero: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f5f3ff 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(102, 126, 234, 0.25);
}

/* Light Theme Specific Overrides */
[data-theme="light"] body {
    background: var(--bg-dark);
    color: var(--text-body);
}

[data-theme="light"] .header {
    background: rgba(248, 250, 252, 0.9);
    border-bottom-color: var(--border-glass);
}

[data-theme="light"] .header.scrolled {
    background: rgba(248, 250, 252, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero {
    background: var(--gradient-hero);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero::after {
    background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
}

    [data-theme="light"] .hero-title {
        /*background: linear-gradient(135deg, #1e293b 0%, #c2410c 50%, #f97316 100%);*/
        background: linear-gradient(178deg, #9366cf 0%, #c2410c 50%, #f97316 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

[data-theme="light"] .hero-badge {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-image img {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .features {
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
}

[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-card:hover {
    border-color: var(--border-primary);
}

[data-theme="light"] .capabilities {
    background: var(--bg-dark);
}

[data-theme="light"] .capabilities::before {
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .capability-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .capability-visual {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-glass);
}

[data-theme="light"] .cap-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .steps {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .steps::before {
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .step-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pricing {
    background: var(--bg-dark);
}

[data-theme="light"] .pricing-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .faq {
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
}

[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .faq-item.active {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .faq-question {
    color: var(--text-white);
}

[data-theme="light"] .contact {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .contact-form {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-white);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background: #fff;
    border-color: var(--primary);
}

[data-theme="light"] .footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="light"] .footer::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

[data-theme="light"] .footer-title {
    color: #ffffff;
}

[data-theme="light"] .footer-desc {
    color: #94a3b8;
}

[data-theme="light"] .footer-links a {
    color: #94a3b8;
}

[data-theme="light"] .footer-links a:hover {
    color: #ffffff;
}

[data-theme="light"] .footer-contact li {
    color: #94a3b8;
}

[data-theme="light"] .footer-contact i {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

[data-theme="light"] .footer-copyright {
    color: #64748b;
}

[data-theme="light"] .footer-copyright a {
    color: #667eea;
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .footer-bottom-links a {
    color: #64748b;
}

[data-theme="light"] .footer-bottom-links a:hover {
    color: #ffffff;
}

[data-theme="light"] .footer-social a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}

[data-theme="light"] .footer-social a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

[data-theme="light"] .mobile-menu {
    background: rgba(248, 250, 252, 0.98);
}

[data-theme="light"] .mobile-menu a {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-white);
}

[data-theme="light"] .section-header h2 {
    color: var(--text-body);
}

[data-theme="light"] .section-header p {
    color: var(--text-muted);
}

[data-theme="light"] .section-badge {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

[data-theme="light"] .feature-card h3,
[data-theme="light"] .capability-content h3,
[data-theme="light"] .step-card h3,
[data-theme="light"] .contact-details h4 {
    color: var(--text-white);
}

[data-theme="light"] .capabilities-cta {
    background: rgba(102, 126, 234, 0.06);
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .capabilities-cta p {
    color: var(--text-white);
}

[data-theme="light"] .more-capabilities h3 {
    color: var(--text-white);
}

[data-theme="light"] .pricing-header h3 {
    color: var(--text-white);
}

[data-theme="light"] .faq-question {
    color: var(--text-white);
}

[data-theme="light"] .faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

[data-theme="light"] .back-to-top {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .back-to-top:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-body);
    font-size: 18px;
}

    .theme-toggle:hover {
        background: rgba(102, 126, 234, 0.15);
        border-color: var(--border-primary);
        color: var(--primary);
        transform: rotate(15deg);
    }

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-body);
    margin-top: 6px;
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--border-primary);
    color: var(--primary);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

.theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-dark);
    direction: rtl;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLASS CARD UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION LINKS - Active State (Scroll Spy)
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-menu li {
    position: relative;
}

.nav-menu .nav-link {
    position: relative;
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-decoration: none;
}

.nav-menu .nav-link:hover {
    color: var(--text-white);
    background: var(--bg-glass);
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: translateX(50%);
    transition: width var(--transition-base);
}

.nav-menu .nav-link.active {
    color: var(--text-white);
    font-weight: 600;
}

.nav-menu .nav-link.active::after {
    width: 60%;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
}

.nav-menu .nav-link:hover::after {
    width: 40%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE MENU Active State
   ═══════════════════════════════════════════════════════════════════════════ */

.mobile-menu .nav-link {
    position: relative;
    display: block;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border-right: 3px solid transparent;
}

.mobile-menu .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-light);
}

.mobile-menu .nav-link.active {
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-light);
    font-weight: 600;
    border-right-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 12, 29, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(12, 12, 29, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo img {
    /*height: 40px;*/
    height: 90px;
    transition: all var(--transition-base);
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.5));
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 12, 29, 0.98);
    backdrop-filter: blur(24px);
    padding: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all var(--transition-slow);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 15px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    color: var(--text-light);
    transition: all var(--transition-base);
}

.mobile-menu a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-light);
}

.mobile-menu .btn {
    margin-top: 24px;
    width: 100%;
}

.mobile-menu-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-actions .theme-toggle {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-md);
}

.mobile-menu-actions .btn {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated Orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -80px) scale(1.1); }
    50% { transform: translate(-80px, 120px) scale(0.9); }
    75% { transform: translate(-120px, -60px) scale(1.05); }
}

/* Grid Background */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slide-in-right 1s ease-out;
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-body);
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-price-note {
    margin: -24px 0 32px;
    font-size: 15px;
    color: var(--text-body);
}

.hero-price-note strong {
    color: #fdba74;
    font-weight: 800;
}

[data-theme="light"] .hero-price-note strong {
    color: #c2410c;
}

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

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-badge i {
    color: var(--accent-emerald);
    font-size: 16px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    animation: slide-in-left 1s ease-out 0.2s both;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 115% !important;
    /* transform: scale(1.05) حذف شد: scale > ۱ باعث می‌شود مرورگر تصویر LCP را overscaled بداند و هشدار Preload/unused و LCP کند بدهد */
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING OBJECTS ON HERO IMAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-image {
    position: relative;
    overflow: visible;
}

.floating-objects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

/* Floating Icons */
.float-object {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.obj-1 {
    top: 10%;
    right: -5%;
    animation: float-1 6s ease-in-out infinite;
    color: #f97316;
    background: rgba(249, 115, 22, 0.2);
}

.obj-2 {
    top: 25%;
    left: -8%;
    animation: float-2 7s ease-in-out infinite;
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.obj-3 {
    bottom: 30%;
    right: -10%;
    animation: float-3 5s ease-in-out infinite;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
}

.obj-4 {
    bottom: 15%;
    left: -5%;
    animation: float-4 8s ease-in-out infinite;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.2);
}

.obj-5 {
    top: 50%;
    right: -12%;
    animation: float-5 6.5s ease-in-out infinite;
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.2);
}

/* Floating Bubbles */
.float-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bubble-1 {
    width: 16px;
    height: 16px;
    top: 15%;
    left: 10%;
    animation: bubble-float 4s ease-in-out infinite;
}

.bubble-2 {
    width: 10px;
    height: 10px;
    top: 40%;
    right: 5%;
    animation: bubble-float 5s ease-in-out infinite 0.5s;
}

.bubble-3 {
    width: 20px;
    height: 20px;
    bottom: 25%;
    left: 15%;
    animation: bubble-float 6s ease-in-out infinite 1s;
}

.bubble-4 {
    width: 8px;
    height: 8px;
    top: 60%;
    left: -3%;
    animation: bubble-float 4.5s ease-in-out infinite 1.5s;
}

.bubble-5 {
    width: 14px;
    height: 14px;
    bottom: 40%;
    right: 10%;
    animation: bubble-float 5.5s ease-in-out infinite 2s;
}

.bubble-6 {
    width: 12px;
    height: 12px;
    top: 8%;
    right: 15%;
    animation: bubble-float 4s ease-in-out infinite 0.8s;
}

/* Float Animations */
@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, -25px) rotate(-3deg); }
    75% { transform: translate(-15px, -10px) rotate(3deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-12px, 10px) rotate(-5deg); }
    50% { transform: translate(8px, 20px) rotate(5deg); }
    75% { transform: translate(15px, 5px) rotate(-3deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, -20px) scale(1.1); }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -10px) rotate(10deg); }
    66% { transform: translate(-10px, -15px) rotate(-5deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-8px, 12px) rotate(-8deg); }
    50% { transform: translate(5px, -15px) rotate(5deg); }
    75% { transform: translate(12px, 8px) rotate(-3deg); }
}

@keyframes bubble-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SPLIT + ANIMATED GRADIENT MESH (RTL)
   Matches existing palette: #667eea / #764ba2 + cyan/emerald/amber/rose
   Vazirmatn headings, YekanBakh body, dark/light via variables
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-split {
    padding: 170px 0 100px;
    text-align: right;
    isolation: isolate;
}

.hero-split::before,
.hero-split::after {
    display: none; /* replaced by mesh blobs */
}

.hero-split-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

/* Copy side — inherits .hero-title / .hero-subtitle / .hero-buttons /
   .hero-price-note / .hero-badges from base hero styles.
   Only split-specific alignment here. */
.hero-copy {
    text-align: right;
    animation: hero-fade-up 0.9s ease-out both;
    min-width: 0;
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    margin-bottom: 22px;
}

.hero-split .hero-title {
    white-space: normal;
    font-size: 44px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-split .hero-subtitle {
    max-width: 520px;
    margin: 0 0 32px;
    font-size: 19px;
}

.hero-split .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 22px;
}

.hero-split .hero-price-note {
    margin: 0 0 28px;
    text-align: right;
}

.hero-split .hero-badges {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* Visual side */
.hero-visual {
    min-width: 0;
    /* انیمیشن با delay حذف شد: در حالت light-mode (animation-fill-mode: both) تصویر LCP
       تا ۱.۰۵ ثانیه visibility=hidden بود → LCP در لایت‌مود به ۶.۲ ثانیه می‌رفت */
}

.hero-visual-frame {
    position: relative;
    overflow: visible;
}

.hero-visual-frame > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glass stat cards floating over mockup — same glass language as badges */
.hero-stat-card {
    position: absolute;
    z-index: 11;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: right;
    animation: bubble-float 5s ease-in-out infinite;
}

.hero-stat-card i {
    font-size: 22px;
    color: var(--accent-emerald);
}

.stat-bottom i {
    color: var(--accent-amber);
}

.hero-stat-card > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-card strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    font-family: 'YekanBakh', sans-serif;
}

.hero-stat-card small {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'YekanBakh', sans-serif;
}

.stat-top {
    top: 8%;
    left: -24px;
}

.stat-bottom {
    bottom: 8%;
    right: -24px;
    animation-delay: 2.5s;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    /* بدون filter:blur تا انیمیشن‌ها non-composited نباشند (performance) */
    opacity: 0.55;
    will-change: transform, opacity;
}

.mesh-blob.blob-1 {
    width: 560px;
    height: 560px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle at 30% 30%, #667eea 0%, transparent 70%);
    animation: mesh-drift-1 22s ease-in-out infinite;
}

.mesh-blob.blob-2 {
    width: 620px;
    height: 620px;
    top: 10%;
    left: -180px;
    background: radial-gradient(circle at 60% 40%, #764ba2 0%, transparent 70%);
    opacity: 0.5;
    animation: mesh-drift-2 26s ease-in-out infinite;
}

.mesh-blob.blob-3 {
    width: 480px;
    height: 480px;
    bottom: -180px;
    right: 18%;
    background: radial-gradient(circle at 50% 50%, #06b6d4 0%, transparent 70%);
    opacity: 0.32;
    animation: mesh-drift-3 20s ease-in-out infinite;
}

.mesh-blob.blob-4 {
    width: 420px;
    height: 420px;
    bottom: -120px;
    left: 12%;
    background: radial-gradient(circle at 50% 50%, #f59e0b 0%, transparent 70%);
    opacity: 0.28;
    animation: mesh-drift-1 24s ease-in-out infinite reverse;
}

.mesh-blob.blob-5 {
    width: 380px;
    height: 380px;
    top: 32%;
    right: 38%;
    background: radial-gradient(circle at 50% 50%, #f43f5e 0%, transparent 70%);
    opacity: 0.22;
    animation: mesh-drift-2 18s ease-in-out infinite reverse;
}

@keyframes mesh-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-90px, 70px) scale(1.12); }
    66% { transform: translate(70px, -60px) scale(0.94); }
}

@keyframes mesh-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -70px) scale(1.08); }
    66% { transform: translate(-70px, 80px) scale(0.92); }
}

@keyframes mesh-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.32; }
    50% { transform: translate(60px, -90px) scale(1.15); opacity: 0.42; }
}

.mesh-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
}

.mesh-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 32%, rgba(255,255,255,0.06) 0%, transparent 70%);
}

[data-theme="light"] .hero-visual-frame > img {
    /* LCP: انیمیشن با delay روی .hero-visual حذف شد تا تصویر بلافاصله visible باشد */
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-stat-card {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Light theme: softer mesh on gradient-hero (#eef2ff → #e0e7ff → #f5f3ff) */
[data-theme="light"] .mesh-blob {
    opacity: 0.38;
}

[data-theme="light"] .mesh-blob.blob-3,
[data-theme="light"] .mesh-blob.blob-4,
[data-theme="light"] .mesh-blob.blob-5 {
    opacity: 0.22;
}

[data-theme="light"] .mesh-grid {
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.09) 1px, transparent 1px);
}

@media (max-width: 992px) {
    .hero-split {
        padding: 150px 0 70px;
        text-align: center;
    }
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-copy {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-split .hero-title {
        font-size: 38px;
    }
    .hero-split .hero-subtitle {
        margin: 0 auto 32px;
        text-align: center;
    }
    .hero-split .hero-buttons,
    .hero-split .hero-badges {
        justify-content: center;
    }
    .hero-split .hero-price-note {
        text-align: center;
    }
    .hero-visual {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-split .hero-title {
        font-size: 30px;
    }
    .hero-split .hero-subtitle {
        font-size: 16px;
    }
    .stat-top { left: -8px; }
    .stat-bottom { right: -8px; }
    .mesh-blob.blob-1 { width: 360px; height: 360px; }
    .mesh-blob.blob-2 { width: 380px; height: 380px; }
    .mesh-blob.blob-3,
    .mesh-blob.blob-4 { width: 280px; height: 280px; }
    .mesh-blob.blob-5 { display: none; } /* کاهش هزینه رسم روی موبایل */
}

@media (prefers-reduced-motion: reduce) {
    .mesh-blob {
        animation: none !important;
    }
    .hero-copy,
    .hero-visual,
    .hero-stat-card {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════════════════════════════════════════ */

.partners {
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border-glass);
}

.partners-title {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.partners-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partners-list img {
    height: 40px;
    opacity: 0.4;
    filter: grayscale(100%) brightness(200%);
    transition: all var(--transition-base);
}

.partners-list img:hover {
    opacity: 1;
    filter: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 20px;
}

.section-badge i {
    font-size: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 18px;
    line-height: 1.3;
}

.section-header p {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

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

.feature-card {
    padding: 44px 32px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(102, 126, 234, 0.15);
}

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

.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
    transition: all var(--transition-slow);
}

.feature-icon i {
    font-size: 34px;
    color: #fff;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 14px 40px rgba(102, 126, 234, 0.5);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CAPABILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.capabilities {
    padding: 40px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Grid Pattern Background */
.capabilities::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.capability-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 44px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
    overflow: hidden;
}

/* Animated Gradient Border */
.capability-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(102, 126, 234, 0.5) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(102, 126, 234, 0.15);
    border-color: transparent;
}

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

/* Capability Icon */
.capability-icon {
    position: absolute;
    top: -18px;
    right: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 26px;
    color: #fff;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.capability-icon.send {
    background: linear-gradient(135deg, #667eea, #5a67d8);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.capability-icon.edit {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.capability-icon.cancel {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
}

.capability-icon.inquiry {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.capability-icon.report {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.capability-icon.users {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.capability-content {
    padding-top: 34px;
}

.capability-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
}

.capability-content > p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 22px;
}

.capability-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.capability-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.capability-features i {
    color: var(--accent-emerald);
    font-size: 10px;
}

.capability-stats {
    display: flex;
    gap: 36px;
}

.capability-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.capability-stats .stat-number {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.capability-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Capability Visual */
.capability-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}

.visual-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 42px;
}

/* Send Animation */
.send-animation .doc-icon {
    animation: pulse-send 2s ease-in-out infinite;
}

.send-animation .arrow-flow {
    display: flex;
    gap: 6px;
    color: var(--primary);
    font-size: 16px;
}

.send-animation .arrow-flow i:nth-child(1) {
    animation: arrow-move 1.5s ease-in-out infinite;
    animation-delay: 0s;
}

.send-animation .arrow-flow i:nth-child(2) {
    animation: arrow-move 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

.send-animation .arrow-flow i:nth-child(3) {
    animation: arrow-move 1.5s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes pulse-send {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes arrow-move {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-6px); }
}

/* Edit Animation */
.edit-animation {
    position: relative;
}

.edit-animation .doc-stack {
    position: relative;
}

.edit-animation .doc.old {
    opacity: 0.4;
    transform: rotate(-10deg);
}

.edit-animation .doc.new {
    position: absolute;
    top: 0;
    right: 0;
    animation: edit-bounce 2s ease-in-out infinite;
}

.edit-animation .edit-pen {
    position: absolute;
    top: -12px;
    left: -12px;
    font-size: 26px;
    animation: pen-write 2s ease-in-out infinite;
}

@keyframes edit-bounce {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

@keyframes pen-write {
    0%, 100% { transform: translate(0, 0) rotate(-15deg); }
    25% { transform: translate(6px, 6px) rotate(-15deg); }
    50% { transform: translate(0, 12px) rotate(-15deg); }
    75% { transform: translate(-6px, 6px) rotate(-15deg); }
}

/* Cancel Animation */
.cancel-animation {
    position: relative;
}

.cancel-animation .cancel-stamp {
    position: absolute;
    font-size: 52px;
    animation: stamp-drop 2s ease-in-out infinite;
}

@keyframes stamp-drop {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(-10deg); opacity: 0.7; }
}

/* Inquiry Animation */
.inquiry-animation .search-glass {
    animation: search-move 2s ease-in-out infinite;
}

.inquiry-animation .result-docs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 26px;
}

.inquiry-animation .result-docs span {
    animation: doc-appear 2s ease-in-out infinite;
}

.inquiry-animation .result-docs span:nth-child(1) { animation-delay: 0.2s; }
.inquiry-animation .result-docs span:nth-child(2) { animation-delay: 0.4s; }
.inquiry-animation .result-docs span:nth-child(3) { animation-delay: 0.6s; }

@keyframes search-move {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-12px) rotate(-15deg); }
}

@keyframes doc-appear {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(6px); }
}

/* Report Animation */
.report-animation .chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 90px;
}

.report-animation .bar {
    width: 18px;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: bar-grow 2s ease-in-out infinite;
}

.report-animation .bar:nth-child(1) { animation-delay: 0s; }
.report-animation .bar:nth-child(2) { animation-delay: 0.1s; }
.report-animation .bar:nth-child(3) { animation-delay: 0.2s; }
.report-animation .bar:nth-child(4) { animation-delay: 0.3s; }
.report-animation .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bar-grow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.7); }
}

/* Users Animation */
.users-animation {
    position: relative;
}

.users-animation .user-icons {
    display: flex;
    gap: 8px;
}

.users-animation .user-icons span {
    animation: user-bounce 2s ease-in-out infinite;
}

.users-animation .user-icons span:nth-child(1) { animation-delay: 0s; }
.users-animation .user-icons span:nth-child(2) { animation-delay: 0.2s; }
.users-animation .user-icons span:nth-child(3) { animation-delay: 0.4s; }

.users-animation .settings-icon {
    position: absolute;
    top: -12px;
    left: -12px;
    font-size: 26px;
    animation: settings-spin 3s linear infinite;
}

@keyframes user-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes settings-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* More Capabilities */
.more-capabilities {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.more-capabilities h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 32px;
}

.capabilities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: all var(--transition-slow);
}

.cap-item i {
    color: var(--primary);
    font-size: 16px;
}

.cap-item:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cap-item:hover i {
    color: #fff;
}

/* Capabilities CTA */
.capabilities-cta {
    text-align: center;
    padding: 60px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.capabilities-cta p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════════════════════════════ */

.steps {
    padding: 120px 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

/* Grid Pattern */
.steps::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.step-card {
    position: relative;
    padding: 56px 36px 36px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-slow);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(102, 126, 234, 0.15);
}

.step-number {
    position: absolute;
    top: -28px;
    right: 36px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 10px 50px rgba(102, 126, 234, 0.7); }
}

.step-image {
    margin-bottom: 28px;
}

.step-image img {
    max-height: 180px;
    margin: 0 auto;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing {
    padding: 30px 0;
    background: var(--bg-dark);
}

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

/* حالت دو کارته (تعرفه فعلی) */
.pricing-grid.pricing-duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 44px 36px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-slow);
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.pricing-card.featured:hover {
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 18px;
}

.pricing-price .price {
    font-size: 44px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
    font-size: 14px;
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .fa-check {
    color: var(--accent-emerald);
}

.pricing-features .fa-times {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */

.faq {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-item.active {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    text-align: right;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition-base);
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 28px 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-body);
    line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════════ */

.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-primary);
    transform: translateX(-4px);
}

.contact-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 15px;
    color: var(--text-body);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL CONTACT CARDS (تلگرام / ایتا)
   ═══════════════════════════════════════════════════════════════════════════ */

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.social-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    text-decoration: none;
    transition: all var(--transition-slow);
}

.social-card::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.social-card.telegram {
    background: linear-gradient(135deg, #1d94d2 0%, #229ED9 60%, #37aee2 100%);
    box-shadow: 0 12px 32px rgba(34, 158, 217, 0.35);
}

.social-card.eita {
    background: linear-gradient(135deg, #e8641b 0%, #f59e0b 100%);
    box-shadow: 0 12px 32px rgba(232, 100, 27, 0.35);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.social-card .social-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.social-card .social-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.social-card .social-text strong {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
}

.social-card .social-text small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.social-card .social-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 16px;
    transition: all var(--transition-base);
}

.social-card:hover .social-arrow {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

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

/* نوار تلفن و ساعت کاری */
.phone-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 880px;
    margin: 24px auto 0;
    padding: 20px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
}

.phone-strip .phone-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    color: #fff;
    font-size: 20px;
}

.phone-strip .phone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-strip .phone-text a {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.phone-strip .phone-text a:hover {
    color: #10b981;
}

.phone-strip .phone-text small {
    font-size: 13px;
    color: var(--text-light);
}

.contact-form {
    padding: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-white);
    outline: none;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG / ARTICLES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.blog-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

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

/* Featured Article (Large) */
.blog-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.blog-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(102, 126, 234, 0.15);
}

.blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-featured .blog-card-image {
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.blog-card-read-time {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    border-radius: var(--radius-full);
}

.blog-card-read-time i {
    font-size: 10px;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-featured .blog-card-content {
    padding: 32px;
}

.blog-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
    line-height: 1.5;
}

.blog-card-featured .blog-card-content h3 {
    font-size: 26px;
}

.blog-card-content h3 a {
    transition: color var(--transition-base);
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-featured .blog-card-content p {
    -webkit-line-clamp: 3;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glass);
}

.blog-card-author span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-date i {
    font-size: 11px;
    color: var(--primary);
}

/* More Button */
.blog-more {
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

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

    .blog-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 0;
    }

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

    .blog-card-featured {
        grid-column: span 1;
    }

    .blog-card-content h3 {
        font-size: 18px;
    }

    .blog-card-featured .blog-card-content h3 {
        font-size: 20px;
    }
}

/* Light Theme Blog */
[data-theme="light"] .blog-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="light"] .blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .blog-card:hover {
    border-color: var(--border-primary);
}

[data-theme="light"] .blog-card-content h3 a {
    color: var(--text-body);
}

[data-theme="light"] .blog-card-content h3 a:hover {
    color: var(--primary);
}

[data-theme="light"] .blog-card-content p {
    color: var(--text-body);
}

[data-theme="light"] .blog-card-meta {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .blog-card-author span {
    color: var(--text-body);
}

[data-theme="light"] .blog-card-date {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    background: linear-gradient(180deg, #0c0c1d 0%, #070710 100%);
    color: #fff;
    position: relative;
}

/* Top Gradient Line */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 70px 0 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col.footer-brand {
    flex: 2;
    min-width: 300px;
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    /*height: 44px;*/
    height: 100px;
}

.footer-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-body);
    font-size: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-slow);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

/* دکمه متنی (مثل ایتا که آیکون FontAwesome ندارد) */
.footer-social a.social-text {
    width: auto;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE PERFORMANCE: غیرفعال کردن افکت‌های پرهزینه (backdrop-filter و
   انیمیشن‌های تزئینی) در موبایل — کاهش main-thread work و paint
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Render Delay اصلی LCP: انیمیشن‌های ورودی (fade/translate) با fill-mode both
       تا پایانشان opacity=0 نگه می‌دارند؛ در CPU کند موبایل (~4s برای لایه‌های mesh)
       یعنی متن hero دیر رنگ می‌شود. در موبایل: بدون انیمیشن ورودی */
    .hero-copy,
    .hero-visual,
    .hero-content,
    .hero-image {
        animation: none;
    }

    .header {
        /* blur روی هدر ثابت در هر فریم اسکرول دوباره محاسبه می‌شود */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(12, 12, 29, 0.96);
    }

    .hero-stat-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(30, 30, 60, 0.88);
        animation: none;
    }

    .float-object,
    .float-bubble {
        animation: none;
    }

    /* دو blob تزئینی کم‌اهمیت در موبایل حذف می‌شوند (کاهش لایه‌های compositor) */
    .mesh-blob.blob-4,
    .mesh-blob.blob-5 {
        display: none;
    }

    /* سه blob باقی‌مانده: انیمیشن هم‌زمانِ شش لایه‌ی بزرگ عامل Style&Layout 1.5s است؛
       در موبایل فقط یک لایه‌ی گرادیانی ثابت کافی است */
    .mesh-blob {
        animation: none;
        will-change: auto;
    }

    .mesh-grid {
        /* mask-image پرهزینه در موبایل حذف می‌شود */
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    transition: all var(--transition-base);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-right: 8px;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-contact i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary);
    font-size: 16px;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-copyright a {
    color: var(--primary);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE LOADER
   ═══════════════════════════════════════════════════════════════════════════ */

#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0c0c1d, #1a1a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader-content {
    text-align: center;
    color: #fff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.page-loader-logo img {
    width: 120px;
    margin-bottom: 24px;
    animation: loader-logo-pulse 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.testimonial-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
}

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

.testimonial-stars {
    color: #f97316;
    font-size: 15px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    margin: 0;
    flex-grow: 1;
    font-size: 15px;
    line-height: 2;
    color: var(--text-body);
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.testimonial-who {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-who strong {
    font-size: 14px;
    color: var(--text-white);
}

.testimonial-who small {
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

.page-loader-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary);
    animation: loader-spin 1s linear infinite;
}

.page-loader-text {
    font-size: 14px;
    color: var(--text-body);
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes loader-logo-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-grid.pricing-duo {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .capability-card {
        grid-template-columns: 1fr;
    }

    .capability-visual {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-image img {
        width: 100% !important;
        transform: none;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .footer-col {
        width: 100%;
        max-width: 100%;
    }

    .footer-col.footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

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

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 70px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .float-object {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 10px;
    }

    .float-bubble {
        transform: scale(0.7);
    }

    .section-header h2 {
        font-size: 30px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .capability-card {
        padding: 36px 28px;
        padding-top: 56px;
    }

    .capability-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        top: -14px;
        right: 28px;
    }

    .capability-content h3 {
        font-size: 19px;
    }

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

    .capability-stats {
        flex-direction: column;
        gap: 16px;
    }

    .capabilities-list {
        gap: 12px;
    }

    .cap-item {
        padding: 12px 20px;
        font-size: 13px;
    }

    .capabilities-cta {
        padding: 36px 24px;
    }

    .capabilities-cta p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-badge {
        font-size: 12px;
        padding: 8px 18px;
    }

    .capability-content h3 {
        font-size: 17px;
    }

    .capability-content > p {
        font-size: 14px;
    }

    .capability-stats .stat-number {
        font-size: 19px;
    }

    .partners-list {
        gap: 24px;
    }

    .partners-list img {
        height: 32px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
