        :root {
            --primary: #7C3AED;
            --primary-light: #A855F7;
            --accent: #F59E0B;
            --accent-pink: #EC4899;
            --accent-cyan: #06B6D4;
            --dark: #0A0A0F;
            --dark-2: #12121A;
            --dark-3: #1A1A2E;
            --glass: rgba(124, 58, 237, 0.08);
            --glass-border: rgba(168, 85, 247, 0.2);
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--dark);
            color: var(--text-primary);
            overflow-x: hidden;
        }

        /* ===== ANIMATED BACKGROUND ===== */
        .bg-orbs {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
            animation: orbFloat 8s ease-in-out infinite;
        }

        .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, #7C3AED, #A855F7);
            top: -200px;
            right: -100px;
            animation-delay: 0s;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, #EC4899, #F59E0B);
            bottom: 20%;
            left: -100px;
            animation-delay: -3s;
        }

        .orb-3 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, #06B6D4, #7C3AED);
            top: 50%;
            left: 40%;
            animation-delay: -5s;
        }

        @keyframes orbFloat {
            0%, 100% { transform: translateY(0) scale(1); }
            33% { transform: translateY(-30px) scale(1.05); }
            66% { transform: translateY(20px) scale(0.95); }
        }

        /* Grid lines background */
        .grid-bg {
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        /* ===== NAVBAR ===== */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 10, 15, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            transition: all 0.3s ease;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .logo-icon {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2));
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, #A855F7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--text-primary);
        }

        .nav-cta {
            background: linear-gradient(135deg, #7C3AED, #A855F7);
            color: white !important;
            padding: 0.6rem 1.4rem;
            border-radius: 50px;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.6) !important;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 120px 2rem 80px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(124, 58, 237, 0.15);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 50px;
            padding: 0.4rem 1rem;
            font-size: 0.85rem;
            color: #A855F7;
            margin-bottom: 2rem;
            animation: fadeDown 0.8s ease forwards;
        }

        .badge-dot {
            width: 6px;
            height: 6px;
            background: #A855F7;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }

        .hero-title {
            font-size: clamp(2.5rem, 7vw, 5.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            animation: fadeUp 0.8s ease 0.2s both;
        }

        .gradient-text {
            background: linear-gradient(135deg, #A855F7 0%, #EC4899 40%, #F59E0B 80%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--text-secondary);
            max-width: 650px;
            margin: 0 auto 3rem;
            line-height: 1.8;
            animation: fadeUp 0.8s ease 0.4s both;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeUp 0.8s ease 0.6s both;
        }

        .btn-primary {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            border: none;
            border-radius: 50px;
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 80px rgba(236, 72, 153, 0.2);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #A855F7, #F59E0B);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 0 60px rgba(124, 58, 237, 0.7), 0 0 100px rgba(236, 72, 153, 0.3);
        }

        .btn-primary span {
            position: relative;
            z-index: 1;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            color: var(--text-primary);
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(124, 58, 237, 0.15);
            border-color: rgba(168, 85, 247, 0.5);
            transform: translateY(-2px);
        }

        /* ===== FLOATING PREVIEW ===== */
        .hero-preview {
            position: relative;
            margin-top: 5rem;
            animation: fadeUp 1s ease 0.8s both;
        }

        .preview-browser {
            position: relative;
            width: min(900px, 90vw);
            background: #12121A;
            border-radius: 16px;
            border: 1px solid rgba(168, 85, 247, 0.2);
            overflow: hidden;
            box-shadow:
                0 0 0 1px rgba(168, 85, 247, 0.1),
                0 30px 100px rgba(124, 58, 237, 0.3),
                0 50px 150px rgba(0, 0, 0, 0.5);
        }

        .browser-bar {
            background: #1A1A2E;
            padding: 0.75rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-bottom: 1px solid rgba(168, 85, 247, 0.1);
        }

        .browser-dots {
            display: flex;
            gap: 0.4rem;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .dot-red { background: #FF5F57; }
        .dot-yellow { background: #FEBC2E; }
        .dot-green { background: #28C840; }

        .browser-url {
            flex: 1;
            background: rgba(124, 58, 237, 0.1);
            border: 1px solid rgba(168, 85, 247, 0.15);
            border-radius: 6px;
            padding: 0.25rem 0.75rem;
            font-size: 0.75rem;
            color: var(--text-secondary);
            text-align: center;
            margin: 0 1rem;
        }

        .browser-content {
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #0F0F1A, #1A0A2E);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .mock-website {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .mock-nav {
            background: rgba(10, 10, 20, 0.9);
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        }

        .mock-logo {
            width: 60px;
            height: 8px;
            background: linear-gradient(90deg, #7C3AED, #EC4899);
            border-radius: 4px;
        }

        .mock-links {
            display: flex;
            gap: 0.5rem;
        }

        .mock-link {
            width: 30px;
            height: 5px;
            background: rgba(148, 163, 184, 0.3);
            border-radius: 3px;
        }

        .mock-hero-area {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
        }

        .mock-h1 {
            width: 60%;
            height: 12px;
            background: linear-gradient(90deg, rgba(248,250,252,0.8), rgba(168,85,247,0.6));
            border-radius: 6px;
        }

        .mock-h2 {
            width: 40%;
            height: 8px;
            background: rgba(148, 163, 184, 0.3);
            border-radius: 4px;
        }

        .mock-cta-btn {
            margin-top: 0.5rem;
            width: 80px;
            height: 16px;
            background: linear-gradient(90deg, #7C3AED, #EC4899);
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
        }

        /* Floating UI Elements on preview */
        .floating-card {
            position: absolute;
            background: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 1rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            white-space: nowrap;
            animation: cardFloat 4s ease-in-out infinite;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .card-left {
            left: -80px;
            top: 30%;
            animation-delay: -2s;
        }

        .card-right {
            right: -80px;
            top: 25%;
        }

        .card-bottom {
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            animation-delay: -1s;
        }

        @keyframes cardFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .card-bottom {
            animation: cardFloatBottom 4s ease-in-out infinite;
            animation-delay: -1s;
        }

        @keyframes cardFloatBottom {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-10px); }
        }

        .card-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .card-icon-ai { background: linear-gradient(135deg, #7C3AED, #A855F7); }
        .card-icon-speed { background: linear-gradient(135deg, #F59E0B, #EF4444); }
        .card-icon-users { background: linear-gradient(135deg, #06B6D4, #3B82F6); }

        .card-text {
            text-align: right;
        }

        .card-label {
            font-size: 0.7rem;
            color: var(--text-secondary);
            margin-bottom: 0.1rem;
        }

        .card-value {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        /* ===== STATS BAR ===== */
        .stats-section {
            position: relative;
            z-index: 1;
            padding: 4rem 2rem;
        }

        .stats-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1px;
            background: var(--glass-border);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            overflow: hidden;
        }

        .stat-item {
            background: var(--dark-2);
            padding: 2rem;
            text-align: center;
            transition: background 0.3s;
        }

        .stat-item:hover {
            background: var(--dark-3);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #A855F7, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 0.85rem;
            margin-top: 0.25rem;
        }

        /* ===== FEATURES SECTION ===== */
        .section {
            position: relative;
            z-index: 1;
            padding: 6rem 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-tag {
            display: inline-block;
            background: rgba(124, 58, 237, 0.15);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 50px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            color: #A855F7;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .section-title {
            font-size: clamp(1.8rem, 4vw, 3rem);
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .section-desc {
            color: var(--text-secondary);
            font-size: 1rem;
            max-width: 550px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* ===== FEATURES BENTO GRID ===== */
        .features-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: auto;
            gap: 1.5rem;
        }

        .feature-card {
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: default;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(124, 58, 237, 0.1), transparent 60%);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-card:hover {
            border-color: rgba(168, 85, 247, 0.4);
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
        }

        .card-col-8 { grid-column: span 8; }
        .card-col-4 { grid-column: span 4; }
        .card-col-5 { grid-column: span 5; }
        .card-col-7 { grid-column: span 7; }
        .card-col-6 { grid-column: span 6; }

        .feature-icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .icon-purple { background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(168,85,247,0.3)); border: 1px solid rgba(168,85,247,0.3); }
        .icon-pink { background: linear-gradient(135deg, rgba(236,72,153,0.3), rgba(245,158,11,0.3)); border: 1px solid rgba(236,72,153,0.3); }
        .icon-cyan { background: linear-gradient(135deg, rgba(6,182,212,0.3), rgba(59,130,246,0.3)); border: 1px solid rgba(6,182,212,0.3); }
        .icon-amber { background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(239,68,68,0.3)); border: 1px solid rgba(245,158,11,0.3); }
        .icon-green { background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(6,182,212,0.3)); border: 1px solid rgba(34,197,94,0.3); }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }

        .feature-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* Big feature card specific styles */
        .feature-card.big-card {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .big-card-content {
            flex: 1;
        }

        .big-card-visual {
            flex: 1;
            height: 200px;
            background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(236,72,153,0.1));
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        .big-card-visual::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.2), transparent 60%);
        }

        /* AI Visual */
        .ai-visual {
            position: relative;
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ai-ring {
            position: absolute;
            border-radius: 50%;
            border: 1px solid;
            animation: spin linear infinite;
        }

        .ai-ring-1 {
            width: 120px;
            height: 120px;
            border-color: rgba(168, 85, 247, 0.3);
            animation-duration: 8s;
        }

        .ai-ring-2 {
            width: 80px;
            height: 80px;
            border-color: rgba(236, 72, 153, 0.4);
            animation-duration: 5s;
            animation-direction: reverse;
        }

        .ai-core {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            position: relative;
            z-index: 1;
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Tags */
        .feature-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tag {
            background: rgba(124, 58, 237, 0.1);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 50px;
            padding: 0.2rem 0.7rem;
            font-size: 0.75rem;
            color: #A855F7;
        }

        /* ===== TEMPLATES SECTION ===== */
        .templates-section {
            position: relative;
            z-index: 1;
            padding: 6rem 0;
            overflow: hidden;
        }

        .templates-track {
            display: flex;
            gap: 1.5rem;
            animation: scrollTemplates 25s linear infinite;
            width: max-content;
            margin-top: 3rem;
        }

        .templates-track:hover {
            animation-play-state: paused;
        }

        @keyframes scrollTemplates {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        .template-card {
            width: 280px;
            height: 200px;
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .template-card:hover {
            transform: scale(1.05);
            border-color: rgba(168, 85, 247, 0.5);
            box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
        }

        .template-bg {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
        }

        .template-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(10, 10, 15, 0.9);
            padding: 0.75rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .template-type {
            font-size: 0.7rem;
            color: #A855F7;
            background: rgba(124, 58, 237, 0.15);
            padding: 0.1rem 0.5rem;
            border-radius: 50px;
        }

        /* ===== AI SECTION ===== */
        .ai-section {
            position: relative;
            z-index: 1;
            padding: 6rem 2rem;
        }

        .ai-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .ai-features-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .ai-feature-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: 1.25rem;
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            transition: all 0.3s;
            cursor: default;
        }

        .ai-feature-item:hover {
            border-color: rgba(168, 85, 247, 0.4);
            background: var(--dark-3);
            transform: translateX(-5px);
        }

        .ai-item-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .ai-item-text h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }

        .ai-item-text p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .ai-visual-box {
            background: linear-gradient(135deg, #12121A, #1A0A2E);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .ai-visual-box::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 60%);
        }

        .chat-demo {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .chat-msg {
            display: flex;
            gap: 0.75rem;
            align-items: flex-start;
        }

        .chat-msg.user {
            flex-direction: row-reverse;
        }

        .chat-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .avatar-ai { background: linear-gradient(135deg, #7C3AED, #A855F7); }
        .avatar-user { background: linear-gradient(135deg, #06B6D4, #3B82F6); }

        .chat-bubble {
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 0.75rem 1rem;
            font-size: 0.85rem;
            line-height: 1.6;
            max-width: 80%;
        }

        .chat-msg.user .chat-bubble {
            background: rgba(124, 58, 237, 0.2);
            border-color: rgba(168, 85, 247, 0.3);
        }

        .typing-indicator {
            display: flex;
            gap: 0.25rem;
            padding: 0.75rem 1rem;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            background: #A855F7;
            border-radius: 50%;
            animation: typingBounce 1.2s ease-in-out infinite;
        }

        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typingBounce {
            0%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-6px); }
        }

        /* ===== PRICING SECTION ===== */
        .pricing-section {
            position: relative;
            z-index: 1;
            padding: 6rem 2rem;
        }

        .pricing-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .toggle-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .toggle-switch {
            position: relative;
            width: 56px;
            height: 28px;
            background: rgba(124, 58, 237, 0.3);
            border-radius: 50px;
            cursor: pointer;
            border: 1px solid rgba(168, 85, 247, 0.3);
            transition: all 0.3s;
        }

        .toggle-switch.active {
            background: linear-gradient(135deg, #7C3AED, #A855F7);
        }

        .toggle-thumb {
            position: absolute;
            top: 3px;
            right: 3px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }

        .toggle-switch.active .toggle-thumb {
            right: auto;
            left: 3px;
        }

        .save-badge {
            background: linear-gradient(135deg, #F59E0B, #EF4444);
            color: white;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.15rem 0.6rem;
            border-radius: 50px;
        }

        .pricing-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            align-items: start;
        }

        .pricing-card {
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
        }

        .pricing-card.popular {
            background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(236,72,153,0.1));
            border-color: rgba(168, 85, 247, 0.4);
            transform: scale(1.03);
        }

        .pricing-card.popular:hover {
            transform: scale(1.03) translateY(-8px);
        }

        .popular-badge {
            position: absolute;
            top: -1px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.25rem 1rem;
            border-radius: 0 0 12px 12px;
        }

        .pricing-plan {
            font-size: 0.85rem;
            color: #A855F7;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .pricing-price {
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 0.25rem;
        }

        .pricing-price sup {
            font-size: 1rem;
            vertical-align: top;
            margin-top: 0.5rem;
            display: inline-block;
        }

        .pricing-period {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .pricing-features {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }

        .pricing-features li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .pricing-features li .check {
            color: #A855F7;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .pricing-features li.active {
            color: var(--text-primary);
        }

        .pricing-btn {
            width: 100%;
            padding: 0.85rem;
            border-radius: 12px;
            border: none;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }

        .pricing-btn-outline {
            background: transparent;
            border: 1px solid var(--glass-border);
            color: var(--text-primary);
        }

        .pricing-btn-outline:hover {
            background: var(--glass);
            border-color: rgba(168, 85, 247, 0.4);
        }

        .pricing-btn-primary {
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            color: white;
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
        }

        .pricing-btn-primary:hover {
            box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
            transform: translateY(-2px);
        }

        /* ===== CTA SECTION ===== */
        .cta-section {
            position: relative;
            z-index: 1;
            padding: 6rem 2rem;
        }

        .cta-box {
            max-width: 800px;
            margin: 0 auto;
            background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(236,72,153,0.15));
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 32px;
            padding: 4rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 60%);
        }

        .cta-title {
            font-size: clamp(1.8rem, 4vw, 3rem);
            font-weight: 900;
            margin-bottom: 1rem;
            position: relative;
        }

        .cta-subtitle {
            color: var(--text-secondary);
            font-size: 1rem;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .cta-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            position: relative;
        }

        /* ===== FOOTER ===== */
        footer {
            position: relative;
            z-index: 1;
            background: var(--dark-2);
            border-top: 1px solid var(--glass-border);
            padding: 4rem 2rem 2rem;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.7;
            margin-top: 1rem;
        }

        .footer-col h4 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #A855F7;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid var(--glass-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-bottom p {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 36px;
            height: 36px;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .social-link:hover {
            background: rgba(124, 58, 237, 0.2);
            border-color: rgba(168, 85, 247, 0.4);
            transform: translateY(-2px);
        }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .card-col-8, .card-col-4, .card-col-5, .card-col-7, .card-col-6 {
                grid-column: span 12;
            }

            .feature-card.big-card {
                flex-direction: column;
            }

            .pricing-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
            }

            .pricing-card.popular {
                transform: scale(1);
                order: -1;
            }

            .pricing-card.popular:hover {
                transform: translateY(-8px);
            }

            .ai-grid {
                grid-template-columns: 1fr;
            }

            .stats-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .card-left, .card-right {
                display: none;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 1rem;
            }

            .nav-links {
                display: none;
            }

            .cta-box {
                padding: 2.5rem 1.5rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

         /* â”€â”€â”€ Form Elements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .form-label {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            display: block;
        }



        
        .custom-check input{
            width: 30px;
            height: 30px;
            border-radius: 15px !important;
            margin: 0px !important;
        } 
        .custom-check{
              width: 100%;
            background: var(--dark-3);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 14px;
            /* color: var(--text-primary); */
            color: #d2d2d2;
            padding: 0.85rem 1.1rem;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
                align-content: center;
        }


        .custom-input {
            width: 100%;
            background: var(--dark-3);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 14px;
            /* color: var(--text-primary); */
            color: #d2d2d2;
            padding: 0.85rem 1.1rem;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .custom-input:focus {
            border-color: var(--dark-2);
                color: #d2d2d2;
            background: rgba(124, 58, 237, 0.08);
            box-shadow: 0 0 0 3px rgba(124,58,237,0.15), 0 0 25px rgba(124,58,237,0.2);
        }

        .custom-input::placeholder { color: rgba(148,163,184,0.5); }

        .custom-input.is-invalid {
            border-color: rgba(239,68,68,0.6);
            box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
        }
        .custom-input option {
            background-color: var(--dark-2);
            color: var(--text-primary);
        }
        .input-icon-wrapper {
            position: relative;
        }

        .input-icon-wrapper .input-icon {
            position: absolute;
            top: 50%;
            right: 1rem;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 1.1rem;
            pointer-events: none;
            transition: color 0.3s ease;
        }
      
        .input-icon-wrapper .form-control-auth {
            padding-right: 3rem;
        }

        .input-icon-wrapper:focus-within .input-icon {
            color: #A855F7;
        }

        /* â”€â”€â”€ Error Message â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .error-msg {
            font-size: 0.82rem;
            color: #F87171;
            margin-top: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* â”€â”€â”€ Primary Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .btn-auth-primary {
            width: 100%;
            padding: 0.95rem;
            background: linear-gradient(135deg, #7C3AED, #EC4899);
            border: none;
            border-radius: 50px;
            color: #fff;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 40px rgba(124,58,237,0.4), 0 0 80px rgba(236,72,153,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
        }

        .btn-auth-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #EC4899, #7C3AED);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn-auth-primary:hover::before { opacity: 1; }
        .btn-auth-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 60px rgba(124,58,237,0.6), 0 0 100px rgba(236,72,153,0.25);
        }

        .btn-auth-primary:active { transform: translateY(0); }

        .btn-auth-primary span { position: relative; z-index: 1; }

        .btn-auth-primary.loading {
            pointer-events: none;
            opacity: 0.8;
        }

        /* â”€â”€â”€ Secondary Link â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .auth-link {
            color: #A855F7;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        .auth-link:hover { color: #EC4899; }

        /* â”€â”€â”€ Divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .auth-divider {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin: 1.5rem 0;
            color: var(--text-secondary);
            font-size: 0.82rem;
        }
        .auth-divider::before, .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(168,85,247,0.15);
        }

        /* â”€â”€â”€ Alert â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        .auth-alert {
            padding: 0.85rem 1.1rem;
            border-radius: 12px;
            font-size: 0.88rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .auth-alert-error {
            background: rgba(239,68,68,0.1);
            border: 1px solid rgba(239,68,68,0.25);
            color: #FCA5A5;
        }

        .auth-alert-success {
            background: rgba(34,197,94,0.1);
            border: 1px solid rgba(34,197,94,0.25);
            color: #86EFAC;
        }
/* plans modal in user website index */


    /* بدنه اصلی مودال شیشه‌ای */
    .custom-modal-content {
        background: var(--dark-2); /* بک‌گراند تیره از ریشه استایل شما */
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
    }

    /* کارت‌های پلن در حالت عادی */
    .plan-card {
        background: var(--dark-3);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        transition: all 0.3s ease;
    }

    /* هاور شدن کارت‌های پلن */
    .plan-card:hover {
        border-color: var(--primary-light);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.2);
    }

    /* استایل متمایز برای پلن فعال */
    .active-plan-card {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(10, 10, 15, 0) 100%);
        border-color: var(--primary);
        position: relative;
        overflow: hidden;
    }
    
    /* یک افکت نوری ملایم در پس زمینه پلن فعال */
    .active-plan-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to left, var(--primary), var(--accent-pink));
    }

    /* بج (Badge) سبز/آبی رنگ برای وضعیت پلن فعال */
    .badge-active {
        background-color: rgba(6, 182, 212, 0.15); /* هماهنگ با --accent-cyan */
        color: var(--accent-cyan);
        border: 1px solid rgba(6, 182, 212, 0.3);
        font-size: 0.85rem;
        font-weight: 500;
    }
    .btn-close{
        margin:0 !important
    }

/* Global: center all alerts and notifications */
.alert,
.fv-form-summary,
.auth-alert,
.toast,
.toast-body {
    text-align: center !important;
}

.alert ul,
.alert ol {
    text-align: center;
    list-style-position: inside;
    padding-right: 0;
    margin-bottom: 0;
}

.alert.alert-dismissible {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.fv-form-summary,
.auth-alert {
    justify-content: center;
    align-items: center;
}

.auth-alert {
    flex-direction: column;
}

.toast .d-flex {
    justify-content: center;
}

.toast-container {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
}