/* ========================================
   === FONTS ===
   ======================================== */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/Vazirmatn-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/Vazirmatn-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/Vazirmatn-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/Vazirmatn-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
}

/* ========================================
   === RESET & BASE ===
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --purple: #a855f7;
    --purple-dark: #9333ea;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;

    --text: #1e293b;
    --text-light: #475569;
    --muted: #64748b;
    --border: #e2e8f0;

    --gradient-primary: linear-gradient(135deg, #6366f1, #a855f7);
    --gradient-success: linear-gradient(135deg, #22c55e, #16a34a);
    --gradient-danger: linear-gradient(135deg, #ef4444, #dc2626);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-purple: 0 20px 60px rgba(99, 102, 241, 0.25);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   === LAYOUT ===
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ========================================
   === TYPOGRAPHY ===
   ======================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #eef2ff, #faf5ff);
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-danger {
    color: var(--danger);
}

/* ========================================
   === BUTTONS ===
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 13px;
}

/* ========================================
   === NAVBAR ===
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
}

.nav-logo-icon {
    font-size: 24px;
    animation: blink 5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    92%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }

    98% {
        transform: scaleY(1);
    }
}

.nav-logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease);
}

.nav-menu a:hover {
    color: var(--primary-dark);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========================================
   === HAMBURGER BUTTON ===
   ======================================== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease);
    z-index: 1001;
}

.nav-hamburger:hover {
    background: var(--bg-alt);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   === MOBILE MENU ===
   ======================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1200;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.mobile-menu-close:hover {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
    transform: rotate(90deg);
}

.mobile-menu-list {
    list-style: none;
    padding: 16px 0;
    flex: 1;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s var(--ease);
}

.mobile-menu-list a:hover {
    background: linear-gradient(135deg, #eef2ff, #faf5ff);
    color: var(--primary-dark);
    padding-right: 32px;
}

.mobile-menu-cta {
    margin: 16px 24px 24px;
    text-align: center;
}

/* لایت‌باکس باز = همبرگر مخفی */
.lightbox.active~.nav .nav-hamburger,
body.lightbox-open .nav-hamburger {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   === HERO ===
   ======================================== */
.hero {
    padding: 160px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 15s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #a855f7, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #22c55e, transparent 70%);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-eye {
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    animation: blink 5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-title-line {
    display: block;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 19px);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.9;
}

.hero-subtitle strong {
    color: var(--text);
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

/* === Hero Image === */
.hero-image-wrap {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 24px;
}

.hero-image-glow {
    position: absolute;
    top: 20%;
    left: 5%;
    right: 5%;
    bottom: 0;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
    border-radius: var(--radius-lg);
}

.hero-image-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    padding: 20px;
    box-shadow: var(--shadow-purple);
    transition: transform 0.5s var(--ease);
}

.hero-image-placeholder:hover {
    transform: translateY(-10px);
}

.hero-image-placeholder span {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.hero-image-placeholder small {
    font-size: 12px;
    color: var(--muted);
}

/* ========================================
   === PROBLEM SECTION ===
   ======================================== */
.problem {
    background: linear-gradient(180deg, #fff, #fef2f2);
}

.problem-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.problem-questions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.problem-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--danger);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.problem-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.problem-conclusion {
    text-align: center;
    background: var(--bg-dark);
    color: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
}

.problem-conclusion p {
    font-size: 16px;
    opacity: 0.8;
    margin: 6px 0;
}

.problem-conclusion-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--danger);
    margin: 12px 0;
}

.problem-conclusion strong {
    color: var(--warning);
}

/* ========================================
   === SOLUTION ===
   ======================================== */
.solution {
    text-align: center;
    background: linear-gradient(180deg, #fef2f2, #fff);
}

.solution-inner {
    max-width: 700px;
    margin: 0 auto;
}

.solution-icon-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.solution-icon {
    font-size: 72px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    animation: blink 5s ease-in-out infinite;
}

.solution-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.solution-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 32px;
}

.solution-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.solution-tag {
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s var(--ease);
}

.solution-tag:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}

/* ========================================
   === FEATURES (Big) ===
   ======================================== */
.features {
    background: #fff;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-reverse {
    direction: ltr;
}

.feature-reverse .feature-content {
    direction: rtl;
}

.feature-content {
    direction: rtl;
}

.feature-number {
    display: inline-block;
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-right: 12px;
}

.feature-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.feature-desc strong {
    color: var(--text);
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.feature-highlight {
    padding: 14px 18px;
    background: linear-gradient(135deg, #fefce8, #fff7ed);
    border-right: 4px solid var(--warning);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #78350f;
    font-weight: 600;
}

.feature-image {
    direction: rtl;
}

.feature-image-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: var(--radius);
    border: 2px dashed var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
}

.feature-image-placeholder:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.feature-image-placeholder span {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.feature-image-placeholder small {
    font-size: 11px;
    color: var(--muted);
}

/* ========================================
   === تصاویر واقعی (جایگزین placeholder) ===
   ======================================== */

/* Hero Image */
.hero-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: inherit;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-purple);
    transition: transform 0.5s var(--ease);
}

.hero-image:hover {
    transform: translateY(-10px);
}

/* Feature Images */
.feature-img {
    width: 100%;
    /* aspect-ratio: 16 / 10; */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--border);
}

.feature-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Video Container */
.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-purple);
    background: var(--bg-dark);
}

.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   === VIDEO SECTION ===
   ======================================== */
.video-section {
    background: linear-gradient(180deg, #fff, #f8fafc);
    position: relative;
    overflow: hidden;
}

.video-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.video-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.video-glow {
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
    bottom: 0;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
    border-radius: var(--radius-lg);
}

/* Placeholder موقت ویدیو */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
}

.video-play-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
    animation: video-pulse 2s ease-in-out infinite;
    padding-right: 4px;
}

@keyframes video-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 12px 40px rgba(99, 102, 241, 0.7);
    }
}

.video-placeholder span {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.video-placeholder small {
    font-size: 12px;
    opacity: 0.7;
}

/* Video Features (پایین ویدیو) */
.video-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all 0.3s var(--ease);
}

.video-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.video-feature span {
    font-size: 22px;
}

.video-feature strong {
    font-size: 14px;
    color: var(--text);
    font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .video-features {
        gap: 12px;
    }

    .video-feature {
        padding: 10px 18px;
        font-size: 13px;
    }

    .video-feature span {
        font-size: 18px;
    }
}

/* === Mini Funnel === */
.feature-mini {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.mini-funnel {
    font-size: 13px;
    line-height: 2;
    color: var(--text);
}

.mini-funnel div {
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    margin: 4px 0;
    font-weight: 700;
}

.mini-funnel small {
    display: block;
    text-align: center;
    color: var(--danger);
    font-weight: 600;
    font-size: 11px;
    padding: 4px 0;
}

/* === UTM Mini Table === */
.utm-mini-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 13px;
}

.utm-mini-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.utm-mini-row:last-child {
    border-bottom: none;
}

.utm-mini-header {
    background: var(--bg-alt);
    font-weight: 800;
    font-size: 11px;
    color: var(--muted);
}

.utm-mini-row .money {
    color: var(--success);
    font-weight: 800;
    font-size: 12px;
}

/* === Touch Story === */
.touch-story {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.touch-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--border);
}

.touch-step span {
    font-size: 24px;
}

.touch-step div {
    flex: 1;
    font-size: 13px;
}

.touch-step strong {
    color: var(--text);
}

.touch-step small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.touch-step-win {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border-right-color: var(--success);
}

.touch-step-win small {
    color: var(--success);
    font-weight: 700;
}

/* === Search Tags === */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}

.search-tag {
    padding: 6px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s var(--ease);
    cursor: default;
}

.search-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.search-tag-combo {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fde68a;
    font-weight: 700;
}

/* ========================================
   === FEATURES GRID (Small) ===
   ======================================== */
.features-grid-section {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-mini-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.feature-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-mini-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.feature-mini-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}

.feature-mini-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

/* ========================================
   === WHY US ===
   ======================================== */
.why-us {
    background: #fff;
}

.why-us-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.why-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, #eef2ff, #faf5ff);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.why-card code {
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--primary-dark);
}

/* ========================================
   === ROI ===
   ======================================== */
.roi {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.roi-inner {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.roi-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid #86efac;
    transition: all 0.4s var(--ease);
}

.roi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.2);
}

.roi-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.roi-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.roi-value {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-success);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
}

.roi-conclusion {
    font-size: 18px;
    color: #166534;
    margin-top: 20px;
}

/* ========================================
   === FAQ ===
   ======================================== */
.faq {
    background: var(--bg-alt);
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    text-align: right;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-q:hover {
    background: var(--bg-alt);
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-a p {
    padding-top: 16px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
}

.faq-a code {
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--primary-dark);
}

/* ========================================
   === CTA ===
   ======================================== */
.cta {
    background: var(--bg-dark);
    overflow: hidden;
}

.cta-inner {
    position: relative;
    background: var(--gradient-primary);
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-bg-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.cta-eye {
    display: block;
    font-size: 72px;
    margin-bottom: 24px;
    animation: blink 5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 17px;
    line-height: 2;
    opacity: 0.95;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-subtitle strong {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 8px;
    margin-top: 6px;
}

.cta-note {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   === FOOTER ===
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #334155;
}

.footer-brand p {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.7;
}

.footer-brand .nav-logo-text {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.footer-quote {
    text-align: left;
    font-style: italic;
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.8;
}

.footer-quote strong {
    color: #fff;
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 13px;
    opacity: 0.6;
}

/* ========================================
   === GALLERY ===
   ======================================== */
.gallery-section {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* تب‌ها */
.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-tab {
    padding: 10px 22px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: inherit;
}

.gallery-tab:hover {
    color: var(--primary-dark);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.gallery-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* پنل‌ها */
.gallery-panels {
    position: relative;
}

.gallery-panel {
    display: none;
    animation: galleryFadeIn 0.4s var(--ease);
}

.gallery-panel.active {
    display: block;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* گرید تصاویر */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
    transition: transform 0.4s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* هاور overlay + hint */
.gallery-item-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: background 0.3s var(--ease);
}

.gallery-item:hover .gallery-item-hint {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.7) 100%);
}

/* ========================================
   === LIGHTBOX ===
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s var(--ease);
    transform: scale(0.9);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(99, 102, 241, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

/* اطلاعات پایین لایت‌باکس */
.lightbox-info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.lightbox-tab-name {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Vazirmatn', sans-serif;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
}

/* ========================================
   === ANIMATIONS ===
   ======================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   === RESPONSIVE ===
   ======================================== */
@media (max-width: 1024px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-reverse {
        direction: rtl;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-questions {
        grid-template-columns: 1fr;
    }

    .roi-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero {
        padding: 130px 0 40px;
    }

    .hero-stats {
        gap: 24px;
        padding: 16px;
    }

    .hero-stat strong {
        font-size: 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-quote {
        text-align: center;
    }

    .cta-inner {
        padding: 60px 24px;
    }

    .container {
        padding: 11px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-tab {
        padding: 8px 16px;
        font-size: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        right: 10px;
    }

    .lightbox-next {
        left: 10px;
    }

    .lightbox-close {
        top: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .lightbox-info {
        padding: 8px 16px;
        gap: 10px;
    }

    .lightbox-tab-name,
    .lightbox-counter {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}