
        @font-face { font-family: 'Vazirmatn'; src: url('../fonts/hardsub/Vazirmatn-Regular.ttf') format('truetype'); font-weight: 100 500; font-display: swap; }
        @font-face { font-family: 'Vazirmatn'; src: url('../fonts/hardsub/vazirmatn-Bold.ttf') format('truetype'); font-weight: 600 900; font-display: swap; }
        :root {
            --bg: #080D1A;
            --bg-soft: #0F1729;
            --card: rgba(30, 41, 59, 0.55);
            --border: rgba(148, 163, 184, 0.12);
            --text: #F1F5F9;
            --text-dim: #8896AB;
            --text-dim-strong: #A8B4C6;

            --orange: #F97316;
            --orange-glow: rgba(249, 115, 22, 0.5);
            --teal: #2DD4BF;
            --teal-glow: rgba(45, 212, 191, 0.4);
            --purple: #8B5CF6;
            --purple-glow: rgba(139, 92, 246, 0.5);
            --green: #10B981;
            --red: #EF4444;

            --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.5);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.5;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

        :focus-visible {
            outline: 2px solid var(--purple);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

        /* پس‌زمینه Grid */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
            z-index: 0;
            -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
        }

        /* اورب‌ها */
        .orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.3;
            pointer-events: none;
            z-index: 0;
            will-change: transform;
        }
        .orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #F97316, transparent 70%); top: -150px; right: -100px; animation: float1 20s ease-in-out infinite; }
        .orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #3B82F6, transparent 70%); top: 30%; left: -200px; animation: float2 25s ease-in-out infinite; }
        .orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #2DD4BF, transparent 70%); bottom: 15%; right: 30%; animation: float1 30s ease-in-out infinite reverse; }
        .orb-4 { width: 450px; height: 450px; background: radial-gradient(circle, #8B5CF6, transparent 70%); top: 45%; right: 10%; animation: float2 28s ease-in-out infinite; }

        @keyframes float1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px, 50px) scale(1.1); } }
        @keyframes float2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px, -60px) scale(1.15); } }

        /* هدر */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            background: rgba(8, 13, 26, 0.7);
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 72px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #fff 0%, var(--orange) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        .landing-brand { display: flex; align-items: center; flex-shrink: 0; }
        .landing-brand img { display: block; width: auto; height: clamp(22px, 3vw, 28px); }

        .nav-links { display: flex; gap: 32px; }
        .nav-links a {
            color: var(--text-dim-strong);
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.2s;
            position: relative;
        }
        .nav-links a:hover { color: var(--text); }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--purple);
            transition: width 0.3s;
        }
        .nav-links a:hover::after { width: 100%; }

        .header-actions { display: flex; align-items: center; gap: 16px; }
        .login-link { color: var(--text-dim-strong); font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
        .login-link:hover { color: var(--text); }

        /* دکمه‌ها */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            cursor: pointer;
            position: relative;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--orange) 0%, #EA580C 100%);
            color: #fff;
            box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3), 0 8px 24px -8px var(--orange-glow);
            overflow: hidden;
        }
        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }
        .btn-primary:hover::before { transform: translateX(100%); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(249,115,22,0.5), 0 12px 32px -8px var(--orange-glow); }
        .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .btn-primary:disabled::before { display: none; }

        .btn-purple {
            background: linear-gradient(135deg, var(--purple) 0%, #7C3AED 100%);
            color: #fff;
            box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3), 0 8px 24px -8px var(--purple-glow);
            overflow: hidden;
        }
        .btn-purple::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }
        .btn-purple:hover::before { transform: translateX(100%); }
        .btn-purple:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(139,92,246,0.5), 0 12px 32px -8px var(--purple-glow); }
        .btn-purple:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .btn-purple:disabled::before { display: none; }

        .btn-ghost {
            background: rgba(148, 163, 184, 0.08);
            color: var(--text);
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .btn-ghost:hover { background: rgba(148,163,184,0.15); border-color: rgba(139,92,246,0.4); transform: translateY(-2px); }

        /* ===================== HERO ===================== */
        .hero {
            padding: 70px 0 80px;
            position: relative;
            z-index: 1;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        @media (min-width: 1101px) {
            .hero { padding: 44px 0 var(--hero-bottom-space, 44px); }
            .hero-text h1 { margin-bottom: 16px; }
            .hero-text .hero-sub { margin-bottom: 22px; }
            .hero-features { gap: 10px; margin-bottom: 26px; }
            .hero .upload-panel { padding: 20px; }
            .hero .drop-zone { padding: 28px 24px; }
            .marquee-logos { padding-top: 34px; }
            .marquee-logos .marquee-logos-label { margin-bottom: 22px; }
        }

        .hero-text { text-align: right; }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-radius: 100px;
            font-size: 0.85rem;
            color: #C4B5FD;
            margin-bottom: 24px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .hero-badge-dot {
            width: 6px; height: 6px;
            background: var(--purple);
            border-radius: 50%;
            box-shadow: 0 0 12px var(--purple);
            animation: pulse 2s infinite;
        }
        @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

        .hero-text h1 {
            font-size: clamp(1.8rem, 3.2vw, 3rem);
            font-weight: 900;
            line-height: 1.25;
            letter-spacing: -1.5px;
            margin-bottom: 20px;
        }
        .hero-text h1 .gradient-text {
            background: linear-gradient(135deg, #F97316 0%, #FB923C 35%, #2DD4BF 100%);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 6s ease infinite;
        }
        @keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

        .hero-text .hero-sub {
            font-size: 1.05rem;
            color: var(--text-dim-strong);
            margin-bottom: 28px;
            line-height: 1.75;
            max-width: 480px;
        }

        .hero-features {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 32px;
        }
        .hero-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            color: var(--text);
        }
        .hero-features li svg { width: 20px; height: 20px; stroke: var(--teal); stroke-width: 3; fill: none; flex-shrink: 0; }

        .hero-cta-row {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        /* پنل آپلود */
        .upload-panel-wrap { position: relative; }

        .upload-panel-wrap::before {
            content: '';
            position: absolute;
            inset: -20px;
            background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.25), transparent 70%);
            filter: blur(50px);
            z-index: -1;
        }

        .upload-panel {
            background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 41, 0.85));
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 24px;
            padding: 24px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 40px -20px var(--purple-glow);
            position: relative;
            overflow: hidden;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .upload-panel:hover {
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 60px -20px var(--purple-glow);
        }

        .upload-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--purple), var(--teal), transparent);
        }

        .panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }
        .panel-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text);
        }
        .panel-title-dot {
            width: 8px; height: 8px;
            background: var(--green);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--green);
            animation: pulse 2s infinite;
        }
        .panel-badge {
            font-size: 0.7rem;
            padding: 4px 10px;
            background: rgba(16, 185, 129, 0.12);
            color: var(--green);
            border-radius: 100px;
            font-weight: 700;
        }

        /* Drop Zone */
        .drop-zone {
            border: 2px dashed rgba(139, 92, 246, 0.4);
            border-radius: 18px;
            padding: 36px 24px;
            text-align: center;
            transition: border-color 0.3s, background 0.3s, transform 0.3s;
            cursor: pointer;
            background: rgba(139, 92, 246, 0.04);
            position: relative;
            display: block;
            width: 100%;
            color: inherit;
            font-family: inherit;
        }
        .drop-zone:hover, .drop-zone.dragover {
            border-color: var(--purple);
            background: rgba(139, 92, 246, 0.08);
            transform: translateY(-2px);
        }
        .drop-zone:focus-visible {
            border-color: var(--purple);
            outline: none;
            box-shadow: var(--focus-ring);
        }

        .drop-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 16px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(45, 212, 191, 0.15));
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }
        .drop-icon svg { width: 28px; height: 28px; stroke: var(--purple); stroke-width: 2; fill: none; }

        .drop-zone h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--text);
        }
        .drop-zone .upload-select-label { margin-top:18px;padding:11px 28px;font-size:.9rem; }
        .drop-zone .upload-drop-hint { margin:14px 0 0;font-size:.78rem; }
        .drop-zone p {
            font-size: 0.8rem;
            color: var(--text-dim-strong);
            margin-bottom: 18px;
        }
        .drop-formats {
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 16px;
        }
        .format-tag {
            font-size: 0.7rem;
            padding: 4px 10px;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text-dim-strong);
            font-weight: 600;
        }

        /* پیام خطای فایل */
        .file-error {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            margin-top: 12px;
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 10px;
            font-size: 0.8rem;
            color: #FCA5A5;
            text-align: right;
        }
        .file-error.active { display: flex; }
        .file-error svg { width: 16px; height: 16px; stroke: #FCA5A5; stroke-width: 2; fill: none; flex-shrink: 0; }

        /* فایل انتخاب شده */
        .file-selected { display: none; }
        .file-selected.active { display: block; animation: fadeIn 0.4s ease; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .file-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px;
            background: rgba(15, 23, 41, 0.6);
            border: 1px solid var(--border);
            border-radius: 14px;
            margin-bottom: 16px;
        }
        .file-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--purple), #7C3AED);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .file-icon svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; }
        .file-info { flex: 1; min-width: 0; }
        .file-name {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
        .file-meta { font-size: 0.75rem; color: var(--text-dim-strong); }
        .file-remove {
            width: 32px; height: 32px;
            border-radius: 8px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s;
            flex-shrink: 0;
        }
        .file-remove:hover { background: rgba(239, 68, 68, 0.2); }
        .file-remove svg { width: 14px; height: 14px; stroke: #EF4444; stroke-width: 2.5; fill: none; }

        /* پیشرفت */
        .progress-wrap { display: none; margin-bottom: 16px; }
        .progress-wrap.active { display: block; }
        .progress-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-dim-strong);
            margin-bottom: 8px;
        }
        .progress-info span:last-child { color: var(--purple); font-weight: 700; }
        .progress-bar {
            height: 6px;
            background: rgba(148, 163, 184, 0.1);
            border-radius: 100px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, var(--purple), var(--teal));
            border-radius: 100px;
            transition: width 0.3s ease;
            position: relative;
        }
        .progress-fill::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: shimmer 1.5s infinite;
        }
        @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

        /* تنظیمات سریع */
        .quick-settings {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 16px;
        }
        .quick-setting {
            display: block;
            padding: 12px 14px;
            background: rgba(15, 23, 41, 0.6);
            border: 1px solid var(--border);
            border-radius: 12px;
            transition: border-color 0.2s;
            position: relative;
        }
        .quick-setting:hover, .quick-setting:focus-within { border-color: rgba(139, 92, 246, 0.4); }
        .quick-setting-label {
            display: block;
            font-size: 0.7rem;
            color: var(--text-dim-strong);
            margin-bottom: 4px;
        }
        .quick-setting-value {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
        }
        .quick-setting-select {
            appearance: none;
            -webkit-appearance: none;
            background: transparent;
            border: none;
            color: var(--text);
            font-family: inherit;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            padding: 0;
            width: 100%;
            direction: rtl;
        }
        .quick-setting-select:focus { outline: none; }
        .quick-setting-select option { background: #0F1729; color: var(--text); }
        .quick-setting-value svg { width: 12px; height: 12px; stroke: var(--text-dim-strong); stroke-width: 2; fill: none; pointer-events: none; flex-shrink: 0; }

        /* سوییچ هارد ساب */
        .hardsub-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            background: rgba(15, 23, 41, 0.6);
            border: 1px solid var(--border);
            border-radius: 12px;
            margin-bottom: 16px;
            transition: border-color 0.2s;
        }
        .hardsub-row:hover { border-color: rgba(249, 115, 22, 0.4); }
        .hardsub-text { display: flex; flex-direction: column; gap: 2px; }
        .hardsub-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text);
        }
        .hardsub-desc {
            font-size: 0.7rem;
            color: var(--text-dim-strong);
        }
        .switch {
            position: relative;
            width: 42px;
            height: 24px;
            flex-shrink: 0;
            cursor: pointer;
        }
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
            position: absolute;
        }
        .switch-slider {
            position: absolute;
            inset: 0;
            background: rgba(148, 163, 184, 0.2);
            border-radius: 100px;
            transition: background 0.3s;
        }
        .switch-slider::before {
            content: '';
            position: absolute;
            height: 18px;
            width: 18px;
            right: 3px;
            top: 3px;
            background: #fff;
            border-radius: 50%;
            transition: transform 0.3s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        .switch input:checked + .switch-slider {
            background: linear-gradient(135deg, var(--orange), #EA580C);
        }
        .switch input:checked + .switch-slider::before {
            transform: translateX(-18px);
        }
        .switch input:focus-visible + .switch-slider {
            box-shadow: var(--focus-ring);
        }

        .panel-footer-note {
            text-align: center;
            font-size: 0.72rem;
            color: var(--text-dim-strong);
            margin-top: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .panel-footer-note svg { width: 12px; height: 12px; stroke: var(--green); stroke-width: 2.5; fill: none; }

        /* ===================== MODAL ===================== */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(8, 13, 26, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .modal-overlay.active { display: flex; opacity: 1; }

        .modal {
            background: linear-gradient(160deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 41, 0.98));
            border: 1px solid rgba(139, 92, 246, 0.4);
            border-radius: 24px;
            padding: 32px;
            max-width: 440px;
            width: 100%;
            position: relative;
            box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 60px -20px var(--purple-glow);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 90vh;
            overflow-y: auto;
        }
        .modal-overlay.active .modal { transform: scale(1); }

        .modal::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--purple), var(--teal), transparent);
            border-radius: 24px 24px 0 0;
        }

        .modal-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 16px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(45, 212, 191, 0.15));
            border: 1px solid rgba(139, 92, 246, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .modal-icon svg { width: 26px; height: 26px; stroke: var(--purple); stroke-width: 2; fill: none; }

        .modal h3 {
            font-size: 1.3rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 8px;
            color: var(--text);
        }
        .modal p.modal-desc {
            font-size: 0.9rem;
            color: var(--text-dim-strong);
            text-align: center;
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .phone-input-wrap { margin-bottom: 16px; }
        .phone-input-label {
            font-size: 0.8rem;
            color: var(--text-dim-strong);
            margin-bottom: 8px;
            display: block;
            font-weight: 600;
        }
        .phone-input {
            width: 100%;
            padding: 16px;
            background: rgba(15, 23, 41, 0.8);
            border: 1px solid var(--border);
            border-radius: 12px;
            color: var(--text);
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 700;
            text-align: center;
            direction: ltr;
            letter-spacing: 3px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .phone-input:focus {
            outline: none;
            border-color: var(--purple);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
        }
        .phone-input.error {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
        }

        .phone-error {
            font-size: 0.75rem;
            color: #FCA5A5;
            margin-top: 6px;
            display: none;
            text-align: center;
        }
        .phone-error.active { display: block; }

        .consent-row {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 20px;
            font-size: 0.78rem;
            color: var(--text-dim-strong);
            line-height: 1.6;
        }
        .consent-row input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--purple);
            margin-top: 2px;
            flex-shrink: 0;
            cursor: pointer;
        }

        .modal-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .modal-actions .btn { width: 100%; }

        .skip-link {
            font-size: 0.8rem;
            color: var(--text-dim-strong);
            text-align: center;
            cursor: pointer;
            text-decoration: underline;
            transition: color 0.2s;
            margin-top: 6px;
            background: none;
            border: none;
            padding: 8px;
            font-family: inherit;
            width: 100%;
        }
        .skip-link:hover { color: var(--text); }

        .modal-close {
            position: absolute;
            top: 16px;
            left: 16px;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(148, 163, 184, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
            padding: 0;
        }
        .modal-close:hover { background: rgba(148, 163, 184, 0.15); }
        .modal-close svg { width: 14px; height: 14px; stroke: var(--text-dim-strong); stroke-width: 2.5; fill: none; }

        /* ===================== پیش‌نمایش ===================== */
        .preview-modal { max-width: 640px; }
        .preview-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }
        .preview-header h3 { font-size: 1.1rem; text-align: right; margin-bottom: 0; }
        .preview-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            padding: 4px 12px;
            background: rgba(16, 185, 129, 0.12);
            color: var(--green);
            border-radius: 100px;
            font-weight: 700;
        }
        .preview-status-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }

        .preview-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 14px;
            background: rgba(15, 23, 41, 0.6);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 4px;
        }
        .preview-tab {
            flex: 1;
            padding: 9px 12px;
            border-radius: 9px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-dim-strong);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            font-family: inherit;
        }
        .preview-tab[aria-selected="true"] {
            background: linear-gradient(135deg, var(--purple), #7C3AED);
            color: #fff;
        }
        .preview-tab:hover:not([aria-selected="true"]) { color: var(--text); }
        .preview-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

        .video-preview {
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #1a1f35, #0a0e1a);
            border-radius: 14px;
            position: relative;
            overflow: hidden;
            margin-bottom: 16px;
            border: 1px solid var(--border);
        }
        .video-preview::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.3), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(45, 212, 191, 0.2), transparent 50%);
        }
        .video-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s, transform 0.3s;
            z-index: 2;
            padding: 0;
        }
        .video-play:hover { background: rgba(255, 255, 255, 0.25); transform: translate(-50%, -50%) scale(1.1); }
        .video-play svg { width: 22px; height: 22px; fill: #fff; margin-right: -3px; }

        .video-subtitle {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 10px 20px;
            border-radius: 8px;
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            white-space: nowrap;
            z-index: 2;
            max-width: 90%;
            text-align: center;
            border: 1px solid rgba(139, 92, 246, 0.3);
            animation: subtitleFade 8s ease-in-out infinite;
        }

        .video-preview.hardsub-mode .video-subtitle {
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border: none;
            padding: 0;
            font-weight: 900;
            font-size: 1.05rem;
            color: #fff;
            text-shadow:
                -2px -2px 0 #000,
                 2px -2px 0 #000,
                -2px  2px 0 #000,
                 2px  2px 0 #000,
                 0 0 12px rgba(0,0,0,0.9);
        }
        .video-preview.hardsub-mode .video-subtitle::before {
            content: '🔥 هارد ساب';
            position: absolute;
            top: -32px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--orange), #EA580C);
            color: #fff;
            padding: 4px 12px;
            border-radius: 100px;
            box-shadow: 0 4px 12px -4px var(--orange-glow);
            white-space: nowrap;
            text-shadow: none;
        }

        @keyframes subtitleFade {
            0%, 15% { opacity: 0; transform: translateX(-50%) translateY(10px); }
            25%, 75% { opacity: 1; transform: translateX(-50%) translateY(0); }
            85%, 100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
        }

        .video-timeline {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
        }
        .video-timeline-fill {
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, var(--orange), var(--purple));
            animation: timelinePlay 8s linear infinite;
        }
        @keyframes timelinePlay { 0% { width: 0%; } 100% { width: 100%; } }

        .preview-subtitles {
            background: rgba(15, 23, 41, 0.6);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
            max-height: 120px;
            overflow-y: auto;
        }
        .preview-subtitle-line {
            display: flex;
            gap: 12px;
            padding: 6px 0;
            font-size: 0.85rem;
            color: var(--text-dim-strong);
            transition: filter 0.3s, opacity 0.3s;
        }
        .preview-subtitle-time {
            color: var(--purple);
            font-weight: 700;
            font-size: 0.75rem;
            flex-shrink: 0;
            font-family: monospace;
            direction: ltr;
        }
        .preview-subtitle-text { color: var(--text); }

        .preview-subtitle-line.locked {
            filter: blur(4px);
            user-select: none;
            pointer-events: none;
            opacity: 0.5;
        }

        .preview-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .preview-actions .btn { flex: 1; min-width: 140px; }

        .preview-locked {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(139, 92, 246, 0.1));
            border: 1px solid rgba(249, 115, 22, 0.3);
            border-radius: 12px;
            margin-top: 12px;
        }
        .preview-locked svg { width: 20px; height: 20px; stroke: var(--orange); stroke-width: 2; fill: none; flex-shrink: 0; }
        .preview-locked-text {
            font-size: 0.8rem;
            color: var(--text-dim-strong);
            line-height: 1.5;
        }
        .preview-locked-text strong { color: var(--text); }

        /* ===================== Marquee Logos ===================== */
        .marquee-logos {
            direction: ltr;
            padding: 50px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            overflow: hidden;
            position: relative;
            z-index: 1;
            -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
        }

        .marquee-logos-label {
            direction: rtl;
            text-align: center;
            font-size: clamp(0.9rem, 1.2vw, 1.05rem);
            font-weight: 600;
            line-height: 2;
            color: var(--text-dim-strong);
            margin: 0 auto 28px;
            padding: 0 24px;
            max-width: 760px;
            letter-spacing: 0;
        }
        .marquee-brand-name { font-weight: 700; color: var(--text); }

        .marquee-track {
            display: flex;
            gap: 0;
            direction: ltr;
            animation: marquee 53.333333s linear infinite;
            width: max-content;
            will-change: transform;
        }

        .marquee-track:hover { animation-play-state: paused; }
        .marquee-track:focus-within { animation-play-state: paused; }
        .marquee-group { display:flex;gap:20px;padding-right:20px;flex-shrink:0; }

        @keyframes marquee {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .logo-card {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 22px;
            min-width: 200px;
            height: 76px;
            background: rgba(30, 41, 59, 0.4);
            border: 1px solid var(--border);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: border-color 0.3s, background 0.3s;
            direction: rtl;
        }

        .logo-card:hover {
            border-color: rgba(139, 92, 246, 0.35);
            background: rgba(30, 41, 59, 0.7);
        }

        .logo-placeholder {
            width: 44px;
            height: 44px;
            flex-shrink: 0;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(45, 212, 191, 0.1));
            border: 1px dashed rgba(139, 92, 246, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .logo-placeholder.has-image {
            border: 1px solid var(--border);
            background: #fff;
            padding: 4px;
        }

        .logo-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 6px;
        }

        .logo-placeholder svg {
            width: 22px;
            height: 22px;
            stroke: rgba(139, 92, 246, 0.7);
            stroke-width: 1.8;
            fill: none;
        }

        .logo-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
        }

        .logo-name {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 140px;
        }

        .logo-tag {
            font-size: 0.68rem;
            color: var(--text-dim);
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 140px;
        }

        /* ===================== بخش‌ها ===================== */
        .section { padding: 100px 0; position: relative; z-index: 1; }
        .section-head { text-align: center; margin-bottom: 60px; }
        .section-tag { display: inline-block; font-size: 0.8rem; color: var(--purple); font-weight: 700; letter-spacing: 3px; margin-bottom: 14px; }
        .section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 900; letter-spacing: -1px; line-height: 1.3; max-width: 700px; margin: 0 auto; }

        /* ===================== Steps (روند کار) ===================== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            position: relative;
        }

        /* خط اتصال افقی — زیر کارت‌ها */
        .steps-grid::before {
            content: '';
            position: absolute;
            top: 88px;
            left: 14%;
            right: 14%;
            height: 2px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(249, 115, 22, 0.45) 18%,
                rgba(45, 212, 191, 0.45) 50%,
                rgba(139, 92, 246, 0.45) 82%,
                transparent 100%);
            z-index: 0;
            pointer-events: none;
        }

        /* نقطه متحرک — روی خط، از راست به چپ */
        .steps-grid::after {
            content: '';
            position: absolute;
            top: 82px;                      /* 88 - 6 = مرکز نقطه روی خط */
            right: 14%;                     /* نقطه شروع (مرحله ۱) */
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #8B5CF6;
            box-shadow:
                0 0 0 5px rgba(139, 92, 246, 0.25),
                0 0 24px 2px rgba(139, 92, 246, 0.85);
            z-index: 0;
            pointer-events: none;
            will-change: right, opacity, transform;
            animation: stepTravel 7s ease-in-out infinite;
        }

        @keyframes stepTravel {
            /* ==== ظاهر شدن روی مرحله ۱ (راست) ==== */
            0% {
                right: 14%;
                opacity: 0;
                transform: scale(0.4);
                background: #8B5CF6;
                box-shadow:
                    0 0 0 5px rgba(139, 92, 246, 0.25),
                    0 0 24px 2px rgba(139, 92, 246, 0.85);
            }
            6% {
                right: 14%;
                opacity: 1;
                transform: scale(1);
            }

            /* ==== مکث روی مرحله ۱ ==== */
            22% {
                right: 14%;
                opacity: 1;
                transform: scale(1);
                background: #8B5CF6;
                box-shadow:
                    0 0 0 5px rgba(139, 92, 246, 0.25),
                    0 0 24px 2px rgba(139, 92, 246, 0.85);
            }

            /* ==== عبور از زیر کارت وسط و رسیدن به مرحله ۲ (رنگ: تیل) ==== */
            42% {
                right: 50%;
                opacity: 1;
                transform: scale(1);
                background: #2DD4BF;
                box-shadow:
                    0 0 0 5px rgba(45, 212, 191, 0.25),
                    0 0 24px 2px rgba(45, 212, 191, 0.85);
            }

            /* ==== مکث روی مرحله ۲ ==== */
            55% {
                right: 50%;
                opacity: 1;
                transform: scale(1);
            }

            /* ==== عبور از زیر کارت آخر و رسیدن به مرحله ۳ (رنگ: نارنجی) ==== */
            78% {
                right: 86%;
                opacity: 1;
                transform: scale(1);
                background: #F97316;
                box-shadow:
                    0 0 0 5px rgba(249, 115, 22, 0.25),
                    0 0 24px 2px rgba(249, 115, 22, 0.85);
            }

            /* ==== مکث روی مرحله ۳ ==== */
            90% {
                right: 86%;
                opacity: 1;
                transform: scale(1);
            }

            /* ==== محو شدن و آماده چرخه بعدی ==== */
            100% {
                right: 86%;
                opacity: 0;
                transform: scale(0.4);
            }
        }

        .step-card {
            --accent: 139, 92, 246;
            --accent-hex: #8B5CF6;
            --accent-2: 139, 92, 246;

            background: linear-gradient(135deg,
                rgba(30, 41, 59, 0.5) 0%,
                rgba(15, 23, 41, 0.7) 100%);
            backdrop-filter: blur(24px) saturate(140%);
            -webkit-backdrop-filter: blur(24px) saturate(140%);
            border: 1px solid rgba(148, 163, 184, 0.15);
            border-radius: 24px;
            padding: 34px 28px 30px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: border-color 0.4s, box-shadow 0.4s;
            isolation: isolate;
            z-index: 1;
        }

        .step-card::before {
            content: '';
            position: absolute;
            top: -1px;
            right: -1px;
            width: 54px;
            height: 54px;
            border-top: 2px solid rgba(var(--accent), 0.6);
            border-right: 2px solid rgba(var(--accent), 0.6);
            border-radius: 0 24px 0 36px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 2;
        }

        .step-card::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: -1px;
            width: 54px;
            height: 54px;
            border-bottom: 2px solid rgba(var(--accent-2), 0.6);
            border-left: 2px solid rgba(var(--accent-2), 0.6);
            border-radius: 0 36px 0 24px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 2;
        }

        .step-card:hover {
            border-color: rgba(var(--accent), 0.3);
            box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.6);
        }
        .step-card:hover::before,
        .step-card:hover::after {
            width: 88px;
            height: 88px;
        }

        .step-card:nth-child(1) { --accent: 139, 92, 246; --accent-hex: #8B5CF6; --accent-2: 139, 92, 246; }
        .step-card:nth-child(2) { --accent: 45, 212, 191; --accent-hex: #2DD4BF; --accent-2: 45, 212, 191; }
        .step-card:nth-child(3) { --accent: 249, 115, 22; --accent-hex: #F97316; --accent-2: 249, 115, 22; }

        .step-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 22px;
            position: relative;
            z-index: 1;
        }

        .step-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(var(--accent), 0.1);
            border: 1px solid rgba(var(--accent), 0.3);
            flex-shrink: 0;
            transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
        }
        .step-icon svg {
            width: 26px;
            height: 26px;
            stroke: var(--accent-hex);
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .step-card:hover .step-icon {
            background: rgba(var(--accent), 0.16);
            border-color: rgba(var(--accent), 0.5);
            box-shadow: 0 0 24px -6px rgba(var(--accent), 0.7);
        }

        .step-badge {
            font-size: 2.4rem;
            font-weight: 900;
            line-height: 1;
            letter-spacing: -2px;
            background: linear-gradient(180deg,
                rgba(var(--accent), 0.75) 0%,
                rgba(var(--accent), 0.15) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-feature-settings: "tnum";
        }

        .step-card h3 {
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 10px;
            color: #fff;
            letter-spacing: -0.3px;
            line-height: 1.35;
            position: relative;
            z-index: 1;
        }
        .step-card p {
            font-size: 0.9rem;
            color: var(--text-dim-strong);
            line-height: 1.75;
            position: relative;
            z-index: 1;
            font-weight: 400;
        }

        /* ===================================================== */
        /* ============ Bento — Style 5 (گوشه‌های تزئینی) ======= */
        /* ===================================================== */
        .bento {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 1fr;
            gap: 20px;
        }

        .bento-item {
            --accent: 139, 92, 246;
            --accent-hex: #8B5CF6;
            --accent-2: 139, 92, 246;

            background: linear-gradient(135deg,
                rgba(30, 41, 59, 0.5) 0%,
                rgba(15, 23, 41, 0.7) 100%);
            backdrop-filter: blur(24px) saturate(140%);
            -webkit-backdrop-filter: blur(24px) saturate(140%);
            border: 1px solid rgba(148, 163, 184, 0.15);
            border-radius: 24px;
            padding: 30px 28px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 230px;
            position: relative;
            overflow: hidden;
            transition: border-color 0.4s, box-shadow 0.4s;
            isolation: isolate;
        }

        .bento-item::before {
            content: '';
            position: absolute;
            top: -1px;
            right: -1px;
            width: 60px;
            height: 60px;
            border-top: 2px solid rgba(var(--accent), 0.6);
            border-right: 2px solid rgba(var(--accent), 0.6);
            border-radius: 0 24px 0 40px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 2;
        }

        .bento-item::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: -1px;
            width: 60px;
            height: 60px;
            border-bottom: 2px solid rgba(var(--accent-2), 0.6);
            border-left: 2px solid rgba(var(--accent-2), 0.6);
            border-radius: 0 40px 0 24px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 2;
        }

        .bento-item:hover {
            border-color: rgba(var(--accent), 0.3);
            box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.6);
        }
        .bento-item:hover::before,
        .bento-item:hover::after {
            width: 90px;
            height: 90px;
        }

        .bento-item.accent-purple { --accent: 139, 92, 246; --accent-hex: #8B5CF6; --accent-2: 139, 92, 246; }
        .bento-item.accent-orange { --accent: 249, 115, 22; --accent-hex: #F97316; --accent-2: 249, 115, 22; }
        .bento-item.accent-teal   { --accent: 45, 212, 191; --accent-hex: #2DD4BF; --accent-2: 45, 212, 191; }
        .bento-item.accent-green  { --accent: 16, 185, 129; --accent-hex: #10B981; --accent-2: 16, 185, 129; }
        .bento-item.hardsub      { --accent: 249, 115, 22; --accent-hex: #F97316; --accent-2: 139, 92, 246; }

        .bento-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .bento-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid rgba(148, 163, 184, 0.18);
            flex-shrink: 0;
            transition: border-color 0.4s, background 0.4s;
        }
        .bento-item:hover .bento-icon {
            border-color: rgba(var(--accent), 0.4);
            background: rgba(var(--accent), 0.08);
        }
        .bento-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--accent-hex);
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
            transition: stroke 0.3s;
        }

        .bento-tag {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 5px 11px;
            border-radius: 100px;
            background: rgba(148, 163, 184, 0.1);
            border: 1px solid rgba(148, 163, 184, 0.15);
            color: var(--text-dim-strong);
            white-space: nowrap;
            transition: all 0.3s;
        }
        .bento-item:hover .bento-tag {
            background: rgba(var(--accent), 0.1);
            border-color: rgba(var(--accent), 0.3);
            color: var(--accent-hex);
        }

        .bento-content { position: relative; z-index: 1; }
        .bento-content h3 {
            font-size: 1.2rem;
            font-weight: 800;
            margin-bottom: 10px;
            letter-spacing: -0.3px;
            line-height: 1.35;
            color: #fff;
        }
        .bento-content p {
            font-size: 0.88rem;
            color: var(--text-dim-strong);
            line-height: 1.75;
            font-weight: 400;
        }

        .bento-item.full {
            grid-column: span 2;
            min-height: 200px;
            padding: 36px 40px;
            background: linear-gradient(115deg,
                rgba(249, 115, 22, 0.08) 0%,
                rgba(139, 92, 246, 0.05) 40%,
                rgba(15, 23, 41, 0.85) 100%);
        }

        .bento-item.full::before {
            border-radius: 0 24px 0 60px;
        }
        .bento-item.full::after {
            border-radius: 0 60px 0 24px;
        }

        .hardsub-inner {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 26px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .bento-item.hardsub .bento-icon {
            width: 76px;
            height: 76px;
            border-radius: 20px;
            background: linear-gradient(135deg,
                rgba(249, 115, 22, 0.15),
                rgba(139, 92, 246, 0.08));
            border: 1px solid rgba(249, 115, 22, 0.35);
        }
        .bento-item.hardsub .bento-icon svg {
            width: 34px;
            height: 34px;
            stroke: var(--orange);
        }
        .bento-item.hardsub .bento-content h3 {
            font-size: 1.45rem;
            margin-bottom: 8px;
        }
        .bento-item.hardsub .bento-content p {
            font-size: 0.92rem;
            max-width: 720px;
        }

        .bento-new-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 0.65rem;
            font-weight: 900;
            letter-spacing: 1.5px;
            padding: 5px 12px;
            background: linear-gradient(135deg, #F97316, #EA580C);
            color: #fff;
            border-radius: 100px;
            box-shadow: 0 6px 16px -4px rgba(249, 115, 22, 0.6);
            z-index: 3;
            animation: badgePulse 2.4s ease-in-out infinite;
        }
        @keyframes badgePulse {
            0%, 100% { box-shadow: 0 6px 16px -4px rgba(249, 115, 22, 0.6), 0 0 0 0 rgba(249, 115, 22, 0.6); }
            50%      { box-shadow: 0 6px 16px -4px rgba(249, 115, 22, 0.6), 0 0 0 8px rgba(249, 115, 22, 0); }
        }

        /* ===================== تعرفه ===================== */
        .pricing-section {
            padding: 100px 0;
            position: relative;
            z-index: 1;
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .pricing-header-tag {
            display: inline-block;
            padding: 6px 18px;
            background: #fff;
            color: #4B5563;
            font-size: 0.8rem;
            font-weight: 700;
            border-radius: 100px;
            margin-bottom: 24px;
            box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3);
        }

        .pricing-header h2 {
            font-size: clamp(1.8rem, 3.5vw, 2.75rem);
            font-weight: 900;
            line-height: 1.3;
            letter-spacing: -1px;
            margin-bottom: 18px;
            color: #C7D0DD;
        }

        .pricing-header h2 .highlight {
            background: linear-gradient(135deg, #818CF8 0%, #6366F1 50%, #8B5CF6 100%);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 6s ease infinite;
        }

        .pricing-header p {
            font-size: 0.95rem;
            color: var(--text-dim-strong);
            max-width: 640px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .pricing-tabs {
            display: flex;
            justify-content: center;
            margin: 40px 0 50px;
        }

        .pricing-tabs-inner {
            display: inline-flex;
            background: #fff;
            border-radius: 100px;
            padding: 6px;
            gap: 4px;
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
        }

        .pricing-tab {
            padding: 14px 40px;
            border-radius: 100px;
            font-size: 0.95rem;
            font-weight: 700;
            color: #4B5563;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
            white-space: nowrap;
            font-family: inherit;
        }

        .pricing-tab:disabled { opacity: .45; cursor: not-allowed; }
        .pricing-tab:hover:not(:disabled):not([aria-selected="true"]) {
            color: #1F2937;
            background: rgba(0,0,0,0.04);
        }

        .pricing-tab[aria-selected="true"] {
            background: #1F2937;
            color: #fff;
            box-shadow: 0 4px 12px -2px rgba(0,0,0,0.3);
        }

        .pricing-tab:focus-visible {
            outline: 2px solid #6366F1;
            outline-offset: 2px;
        }

        .pricing-panel {
            display: none;
            animation: fadeIn 0.4s ease;
        }
        .pricing-panel.active { display: block; }

        .plans-grid {
            display: grid;
            gap: 18px;
            align-items: stretch;
        }
        .plans-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
        .plans-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

        .plan-card {
            background: #fff;
            border-radius: 24px;
            padding: 36px 26px 26px;
            display: flex;
            flex-direction: column;
            text-align: center;
            position: relative;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 20px -8px rgba(0,0,0,0.4);
        }

        .plan-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
        }

        .plan-card.soft-tint {
            background: linear-gradient(180deg, #F7F8FB 0%, #EFF1F5 100%);
            box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.5);
        }

        .plan-card.soft-tint:hover {
            box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55);
        }

        .plan-card.featured {
            box-shadow: 0 0 0 2px rgba(99,102,241,0.4), 0 20px 40px -12px rgba(99,102,241,0.3);
        }

        .plan-badge {
            position: absolute;
            top: -16px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #818CF8, #8B5CF6);
            color: #fff;
            padding: 8px 20px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 700;
            white-space: nowrap;
            box-shadow: 0 8px 20px -6px rgba(99,102,241,0.6);
            z-index: 2;
        }

        .plan-tier {
            font-size: 1.05rem;
            font-weight: 700;
            color: #1F2937;
            margin-bottom: 6px;
        }

        .plan-volume {
            font-size: 0.82rem;
            color: #6B7280;
            margin-bottom: 24px;
            font-weight: 500;
        }

        .plan-price-row {
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 6px;
            margin-bottom: 8px;
            direction: rtl;
        }

        .plan-price-num {
            font-size: clamp(1.8rem, 2.4vw, 2.4rem);
            font-weight: 900;
            color: #111827;
            letter-spacing: -1px;
            line-height: 1;
        }

        .plan-price-num.custom {
            font-size: 1.9rem;
            letter-spacing: 0;
        }

        .plan-price-unit {
            font-size: 0.82rem;
            color: #6B7280;
            font-weight: 500;
        }

        .plan-per-minute {
            font-size: 0.78rem;
            color: #6B7280;
            margin-bottom: 22px;
            padding-bottom: 22px;
            border-bottom: 1px solid #E5E7EB;
        }

        .plan-features {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 26px;
            flex-grow: 1;
            list-style: none;
            padding: 0;
        }

        .plan-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.85rem;
            color: #374151;
            text-align: right;
            font-weight: 500;
            line-height: 1.5;
        }

        .plan-features li svg {
            width: 18px;
            height: 18px;
            stroke: #6366F1;
            stroke-width: 3;
            fill: none;
            flex-shrink: 0;
            order: 2;
        }
        .plan-features li span { order: 1; flex: 1; }

        .plan-features li.highlight-feature span {
            color: #C2410C;
            font-weight: 700;
        }
        .plan-features li.highlight-feature svg {
            stroke: #F97316;
        }

        .plan-cta {
            width: 100%;
            padding: 15px 20px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.9rem;
            font-family: inherit;
            border: 1px solid #E5E7EB;
            background: #fff;
            color: #1F2937;
            cursor: pointer;
            transition: all 0.25s;
        }

        .plan-cta:hover {
            border-color: #6366F1;
            color: #6366F1;
            background: #F5F3FF;
        }

        .plan-cta.primary {
            background: #1F2937;
            color: #fff;
            border-color: #1F2937;
        }
        .plan-cta.primary:hover {
            background: #0F1729;
            border-color: #0F1729;
            color: #fff;
        }

        .plan-cta:focus-visible {
            outline: 2px solid #6366F1;
            outline-offset: 2px;
        }

        /* فوتر */
        footer { border-top: 1px solid var(--border); padding: 60px 0 30px; position: relative; z-index: 1; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 32px; margin-bottom: 40px; }
        .footer-brand p { color: var(--text-dim-strong); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; max-width: 320px; }
        .footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col a { color: var(--text-dim-strong); font-size: 0.9rem; transition: color 0.2s; }
        .footer-col a:hover { color: var(--purple); }
        .copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-dim-strong); font-size: 0.85rem; }

        /* نوار موبایل */
        .mobile-nav {
            display: none; position: fixed; bottom: 16px; left: 16px; right: 16px;
            background: rgba(15, 23, 41, 0.9); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid var(--border); border-radius: 20px; padding: 10px 12px;
            z-index: 200; justify-content: space-between; align-items: center;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
        }
        .mob-item {
            display: flex; flex-direction: column; align-items: center; gap: 3px;
            color: var(--text-dim-strong); font-size: 0.65rem; font-weight: 600;
            padding: 6px 10px; border-radius: 12px; transition: color 0.2s, background 0.2s; cursor: pointer;
            background: none; border: none; font-family: inherit;
        }
        .mob-item svg { width: 20px; height: 20px; stroke-width: 2; fill: none; stroke: currentColor; }
        .mob-item.active { color: var(--purple); background: rgba(139, 92, 246, 0.1); }
        .mob-cta {
            background: linear-gradient(135deg, var(--orange), #EA580C); color: #fff;
            padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 0.8rem;
            display: flex; align-items: center; gap: 6px;
            box-shadow: 0 8px 20px -8px var(--orange-glow);
        }

        .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
        .reveal.in { opacity: 1; transform: translateY(0); }

        @keyframes spin { to { transform: rotate(360deg); } }
        .spinner {
            display: inline-block;
            width: 16px; height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        /* ===================== ریسپانسیو ===================== */
        @media (max-width: 1100px) {
            .plans-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; gap: 40px; }
            .hero-text { text-align: center; }
            .hero-text .hero-sub { margin-left: auto; margin-right: auto; }
            .hero-features { align-items: center; }
            .hero-cta-row { justify-content: center; }
        }

        @media (max-width: 900px) {
            .nav-links, .header-actions { display: none; }
            .orb { filter: blur(80px); opacity: 0.25; }
            .plans-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .steps-grid::before,
            .steps-grid::after { display: none; }
            .step-card { padding: 26px 22px; }
            .step-badge { font-size: 1.9rem; }
            .step-icon { width: 48px; height: 48px; border-radius: 14px; }
            .step-icon svg { width: 22px; height: 22px; }
            .step-card h3 { font-size: 1.1rem; }
        }

        @media (max-width: 768px) {
            body { padding-bottom: 100px; }
            .hero { padding: 40px 0 40px; }
            .hero-text h1 { letter-spacing: -0.5px; }
            .hero-cta-row { flex-direction: column; width: 100%; }
            .hero-cta-row .btn { width: 100%; }

            .upload-panel { padding: 20px; border-radius: 20px; }
            .drop-zone { padding: 28px 16px; }
            .quick-settings { grid-template-columns: 1fr; }

            .section { padding: 60px 0; }
            .section-head { margin-bottom: 36px; }

            .bento {
                grid-template-columns: 1fr;
                grid-auto-rows: auto;
                gap: 16px;
            }
            .bento-item,
            .bento-item.full {
                grid-column: span 1;
                padding: 26px 22px;
                min-height: auto;
            }
            .bento-item.full { min-height: 180px; padding: 26px 22px; }
            .hardsub-inner {
                grid-template-columns: 1fr;
                gap: 16px;
                text-align: right;
            }
            .bento-item.hardsub .bento-icon {
                width: 60px;
                height: 60px;
                border-radius: 16px;
            }
            .bento-item.hardsub .bento-icon svg { width: 28px; height: 28px; }
            .bento-item.hardsub .bento-content h3 { font-size: 1.2rem; }
            .bento-content h3 { font-size: 1.08rem; }

            .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
            .mobile-nav { display: flex; }

            .modal { padding: 24px; }
            .preview-modal { max-width: 100%; }

            .orb { display: none; }
            .upload-panel-wrap::before { display: none; }

            .logo-card {
                min-width: 170px;
                height: 66px;
                padding: 12px 18px;
                gap: 12px;
            }
            .logo-placeholder { width: 36px; height: 36px; }
            .logo-placeholder svg { width: 18px; height: 18px; }
            .logo-name { font-size: 0.82rem; max-width: 110px; }
            .logo-tag { font-size: 0.62rem; max-width: 110px; }
        }

        @media (max-width: 640px) {
            .pricing-section { padding: 60px 0; }
            .plans-grid.cols-3,
            .plans-grid.cols-4 {
                grid-template-columns: 1fr;
            }
            .pricing-tab { padding: 12px 22px; font-size: 0.85rem; }
            .pricing-tabs-inner { width: 100%; }
            .pricing-tab { flex: 1; }
            .plan-card { padding: 32px 22px 22px; }
        }

        @media (max-width: 480px) {
            .footer-grid { grid-template-columns: 1fr; }
            .panel-header { flex-wrap: wrap; }
        }

        /* ===================== 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;
                scroll-behavior: auto !important;
            }
            .orb { animation: none !important; }
            .marquee-track { animation: none !important; }
            .reveal { opacity: 1 !important; transform: none !important; }
            .progress-fill::after { animation: none !important; }
            .video-timeline-fill { animation: none !important; width: 35%; }
            .video-subtitle { animation: none !important; opacity: 1; }
            .steps-grid::after { animation: none !important; opacity: 0.6; }
        }

/* Live onboarding additions, confined to this standalone landing. */
[hidden]{display:none!important} .sample-option{width:100%;margin:14px 0;padding:12px;border:1px solid var(--border);border-radius:12px;color:var(--teal)}
.trial-note{color:var(--text-dim-strong);font-size:.78rem;margin:12px 0;line-height:1.9}
.quick-setting-select option{color:#f1f5f9;background:#0f1729} .phone-error.active{display:block}
.demo-wrap{width:100%;margin-top:20px}.demo-frame{background:#080d1a;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.demo-bar{display:flex;justify-content:space-between;padding:10px;color:var(--text-dim);font-size:12px}.demo-dots{display:flex;gap:5px}.demo-dot{width:8px;height:8px;border-radius:50%;background:var(--purple)}
.demo-video{position:relative}.landing-demo-player{display:block;width:100%;aspect-ratio:16/9}.demo-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:#0008;width:50px;height:50px;display:grid;place-items:center}.is-playing .demo-play{opacity:0}.demo-video:hover .demo-play{opacity:1}
.demo-play svg,.demo-control-button svg{width:20px;height:20px}.demo-controls{display:flex;align-items:center;gap:10px;padding:12px;direction:ltr}.demo-progress{flex:1;position:relative}.demo-progress input{width:100%;accent-color:var(--purple)}.demo-time{font-size:12px}.demo-selectors{margin-top:16px}.demo-selector-label{display:block;margin:12px 0;font-size:13px;color:var(--text-dim-strong)}.demo-buttons{display:flex;flex-wrap:wrap;gap:8px}.demo-btn{padding:8px 14px;border:1px solid var(--border);border-radius:10px}.demo-btn.active{background:var(--purple)}.demo-loading{display:none}.demo-progress-fill{display:none}.demo-frame.is-fullscreen{display:flex;flex-direction:column;justify-content:center}.demo-frame.is-fullscreen .demo-video{flex:1;min-height:0}.demo-frame.is-fullscreen video{height:100%;object-fit:contain}
#demoError{color:var(--red);margin-top:12px}.logo-card img{max-width:100px;max-height:40px;object-fit:contain}.plan-features svg{width:16px;height:16px}.plans-grid{align-items:stretch}.phone-input-wrap label{display:block}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1!important;transform:none!important}}

.landing-language-trigger{width:100%;text-align:right;background:transparent;color:var(--text);font-size:.85rem;font-weight:700;padding:0;min-height:24px}.landing-language-trigger:disabled{opacity:.55;cursor:wait}
.landing-language-menu{position:fixed;z-index:1500;direction:rtl;overflow:auto;padding:7px;background:#131d30;border:1px solid #6751a080;border-radius:13px;box-shadow:0 18px 45px #0006;opacity:0;visibility:hidden;transform:translateY(-7px);transition:opacity .18s ease,transform .18s ease,visibility .18s;scrollbar-width:thin;scrollbar-color:#62617e #131d30}
.landing-language-menu.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.landing-language-menu button{display:block;width:100%;text-align:right;border-radius:8px;padding:10px 12px;background:transparent;color:#dce5f5;font-size:.82rem;line-height:1.6}
.landing-language-menu button:hover,.landing-language-menu button:focus-visible{background:#8b5cf622;outline:none}.landing-language-menu button[aria-selected=true]{background:linear-gradient(110deg,#8b5cf633,#6c43c433);color:#cdbbff;font-weight:700}
@media(prefers-reduced-motion:reduce){.landing-language-menu{transition:none}}

.landing-trust{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;padding:0;border:0;text-align:center}.landing-trust h4{font-size:.9rem;font-weight:700;margin-bottom:8px}.landing-trust p{font-size:.8rem;color:var(--text-dim-strong)}.landing-trust-seal{display:inline-flex;padding:0;background:transparent;border:0}.landing-trust-seal a{display:block}
