﻿/*
Theme Name: XO CRM - Landing
Theme URI: https://xocrm.ir
Author: XO TEAM
Author URI: https://xocrm.ir
Description: قالب اختصاصی و حرفه‌ای سایت فروش XO CRM - سیستم مدیریت ارتباط با مشتریان - طراحی مدرن و واکنش‌گرا
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: witchers-crm
Domain Path: /languages
Tags: rtl-language-support, one-column, two-columns, right-sidebar, custom-header, custom-menu, featured-images, theme-options, saas, business, dark-mode
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #10b981;
  --accent-dark: #059669;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0a0f1e;
  --dark-light: #161b2c;
  --dark-card: #1e2538;
  --dark-hover: #252d44;
  --white: #ffffff;
  --text: #94a3b8;
  --text-light: #cbd5e1;
  --text-dark: #1e293b;
  --border: rgba(99, 102, 241, 0.15);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-primary: 0 4px 20px rgba(99, 102, 241, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s ease;
  --font: 'IRANSansWeb', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --font-bold: 'IRANSansWeb_Bold', 'Vazirmatn', sans-serif;
  --header-height: 80px;
}

/* =============================================
   FONTS
   ============================================= */
@font-face {
  font-family: 'IRANSansWeb';
  src: url('assets/fonts/IRANSansWeb.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansWeb_Bold';
  src: url('assets/fonts/IRANSansWeb_Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansWeb_Medium';
  src: url('assets/fonts/IRANSansWeb_Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* =============================================
   BASE STYLES
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}

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

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

section {
  position: relative;
}

/* =============================================
   GRADIENT TEXT
   ============================================= */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 15, 30, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  color: white;
  font-family: var(--font-bold);
  font-size: 18px;
  line-height: 1.2;
}

.logo-sub {
  color: var(--primary-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: white;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-family: var(--font-bold);
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
  color: white;
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
  color: white;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-overlay {
  display: none;
}

/* =============================================
   HERO SECTION - MODERN REDESIGN
   ============================================= */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.08), transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.06), transparent 40%),
    linear-gradient(180deg, #070b16 0%, #0a0f1e 40%, #0f1428 100%);
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===== Hero Layout: Two Columns ===== */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  direction: ltr;
}

/* ===== Hero Content (Right Side in RTL) ===== */
.hero-content {
  direction: rtl;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--primary-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-bold);
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(15px, 1.2vw, 18px);
  color: #b7c4d8;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Trust Row */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-trust-row span {
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Hero Visual (Left Side in RTL) ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.hero-dashboard-mock {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, rgba(30, 37, 56, 0.98), rgba(12, 18, 35, 0.96));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(129, 140, 248, 0.2);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(99, 102, 241, 0.1);
  transform: perspective(1200px) rotateY(-4deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-dashboard-mock:hover {
  transform: perspective(1200px) rotateY(0deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(99, 102, 241, 0.15);
}

.mock-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #eab308; }
.mock-dot.green { background: #22c55e; }

.mock-menu {
  display: flex;
  gap: 16px;
}

.mock-menu span {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.mock-body {
  padding: 24px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.mock-avatar.green {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.mock-avatar.purple {
  background: linear-gradient(135deg, var(--secondary), #d946ef);
}

.mock-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  flex: 1;
}

.mock-line.short {
  max-width: 60px;
  flex: none;
}

.mock-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.15);
}

.mock-chart {
  margin-top: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.mock-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), rgba(99, 102, 241, 0.3));
  min-height: 20px;
  animation: bar-rise 1s ease-out forwards;
  opacity: 0;
}

.mock-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mock-bar:nth-child(2) { height: 65%; animation-delay: 0.2s; }
.mock-bar:nth-child(3) { height: 85%; animation-delay: 0.3s; }
.mock-bar:nth-child(4) { height: 55%; animation-delay: 0.4s; }
.mock-bar:nth-child(5) { height: 90%; animation-delay: 0.5s; }
.mock-bar:nth-child(6) { height: 45%; animation-delay: 0.6s; }
.mock-bar:nth-child(7) { height: 75%; animation-delay: 0.7s; }

@keyframes bar-rise {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

/* Floating Elements */
.float-card {
  position: absolute;
  background: var(--dark-card);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: float-card 6s ease-in-out infinite;
  z-index: 3;
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  background: rgba(30, 37, 56, 0.9);
}

.float-card .icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.float-card-1 {
  top: 8%;
  right: -8%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 12%;
  left: -8%;
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ===== Hero Stats Row ===== */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  direction: rtl;
}

.hero-stat-item {
  text-align: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.hero-stat-item:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-bold);
  font-size: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

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

/* =============================================
   SECTION HEADINGS (Shared)
   ============================================= */
.section-head-modern {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 780px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  color: var(--primary-light);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-bold);
  font-size: 36px;
  color: white;
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  font-size: 15px;
  color: var(--text);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.section-padding {
  padding: 100px 0;
}

.features-section {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.06), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.04), transparent 40%);
}

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

.feature-card {
  background: linear-gradient(180deg, rgba(30, 37, 56, 0.9), rgba(17, 23, 42, 0.85));
  border: 1px solid rgba(129, 140, 248, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-icon.indigo { background: rgba(99, 102, 241, 0.15); }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); }
.feature-icon.red { background: rgba(239, 68, 68, 0.15); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); }

.feature-card h3 {
  color: white;
  font-family: var(--font-bold);
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* =============================================
   PROCESS / HOW IT WORKS SECTION
   ============================================= */
.process-section {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(16, 185, 129, 0.08), transparent 40%),
    linear-gradient(180deg, #10162a 0%, #0a0f1e 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

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

.process-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(30, 37, 56, 0.86), rgba(18, 24, 44, 0.72));
  border: 1px solid rgba(129, 140, 248, 0.13);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.25);
}

.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.18), transparent 36%);
  opacity: 0;
  transition: var(--transition);
}

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

.process-num {
  position: absolute;
  left: 28px;
  top: 24px;
  color: rgba(129, 140, 248, 0.18);
  font: 900 54px/1 var(--font-bold);
}

.process-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(99, 102, 241, 0.18);
  margin-bottom: 24px;
  position: relative;
}

.process-card h3 {
  color: white;
  font-family: var(--font-bold);
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
}

.process-card p {
  color: #aebbd0;
  font-size: 14px;
  line-height: 1.9;
  position: relative;
}

/* =============================================
   STATS / COUNTER SECTION
   ============================================= */
.stats-section {
  background:
    linear-gradient(90deg, rgba(99, 102, 241, 0.06), rgba(16, 185, 129, 0.04), rgba(139, 92, 246, 0.06));
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

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

.stat-item {
  position: relative;
  padding: 20px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(99, 102, 241, 0.15);
}

.stat-number {
  font-family: var(--font-bold);
  font-size: 42px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text);
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08), transparent 50%);
}

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

.pricing-card {
  background: linear-gradient(180deg, rgba(30, 37, 56, 0.92), rgba(17, 23, 42, 0.86));
  border: 1px solid rgba(129, 140, 248, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border-color: rgba(99, 102, 241, 0.2);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-family: var(--font-bold);
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-bold);
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 24px;
}

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

.pricing-amount {
  font-family: var(--font-bold);
  font-size: 42px;
  color: white;
}

.pricing-currency {
  font-size: 16px;
  color: var(--text);
}

.pricing-period {
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
}

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

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pricing-feature .check {
  color: var(--accent);
  font-size: 14px;
  font-weight: bold;
}

.pricing-feature .cross {
  color: var(--danger);
  font-size: 14px;
}

.pricing-feature.disabled {
  color: rgba(148, 163, 184, 0.4);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.15), transparent 45%),
    linear-gradient(135deg, #111936, #07101f);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-family: var(--font-bold);
  font-size: 36px;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-desc {
  font-size: 16px;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(99, 102, 241, 0.05), transparent 40%);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(180deg, rgba(30, 37, 56, 0.92), rgba(17, 23, 42, 0.86));
  border: 1px solid rgba(129, 140, 248, 0.1);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: white;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  transition: var(--transition);
}

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

.faq-toggle {
  font-size: 18px;
  transition: var(--transition);
  color: var(--primary-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 24px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark-light);
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  font-size: 13px;
  color: var(--text);
  margin-top: 16px;
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-bold);
  font-size: 14px;
  color: white;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-right: 4px;
}

.footer-enamad {
  min-width: 120px;
}

.footer-enamad-box {
  width: 120px;
  min-height: 120px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-enamad-box img,
.footer-enamad-box iframe {
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: rtl;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-dashboard-mock {
    transform: none;
  }
  .hero-dashboard-mock:hover {
    transform: none;
  }

  .float-card-1 {
    right: 0%;
  }
  .float-card-2 {
    left: 0%;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 60px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .hero-section {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: rtl;
  }

  .hero-content {
    order: 1;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 36px);
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 14px;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-visual {
    order: 2;
    max-width: 460px;
    margin: 0 auto;
    transform: scale(0.92);
    transform-origin: center top;
  }

  .hero-dashboard-mock {
    transform: none !important;
  }
  .hero-dashboard-mock:hover {
    transform: none !important;
  }

  .float-card {
    display: none;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .hero-stat-item {
    padding: 14px 8px;
    border-radius: 14px;
  }

  .hero-stat-value {
    font-size: 24px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .hero-trust-row span {
    font-size: 11px;
    padding: 6px 10px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 14px;
  }

  /* ===== Header Mobile ===== */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: -300px;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: rgba(22, 27, 44, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 4px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
    border-left: 1px solid rgba(99, 102, 241, 0.1);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    font-size: 15px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text);
    transition: var(--transition);
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(99, 102, 241, 0.1);
    color: white;
  }

  .main-nav a::after {
    display: none;
  }

  /* Mobile nav actions inside menu */
  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
  }

  .nav-actions-mobile .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 14px;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* در موبایل: نمایش دکمه ورود و پنل کاربری، مخفی کردن دکمه شروع کنید */
  .nav-actions {
    display: flex;
  }
  .nav-actions .guest-menu .btn.btn-outline {
    display: inline-flex;
  }
  .nav-actions .guest-menu .btn.btn-primary {
    display: none;
  }
  .nav-actions .user-menu .btn.btn-primary {
    display: inline-flex;
    padding: 8px 12px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }
  .nav-actions .user-menu span {
    display: none;
  }

  /* ===== Sections Padding ===== */
  .section-padding {
    padding: 64px 0;
  }

  .section-head-modern {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-desc {
    font-size: 14px;
    padding: 0 8px;
  }

  .section-tag {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* ===== Process ===== */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    padding: 28px 24px;
    min-height: auto;
  }

  .process-num {
    font-size: 40px;
    left: 20px;
    top: 18px;
  }

  .process-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 18px;
  }

  .process-card h3 {
    font-size: 17px;
  }

  .process-card p {
    font-size: 13px;
  }

  /* ===== Features ===== */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 12px;
  }

  /* ===== Stats ===== */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* ===== Pricing ===== */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .pricing-amount {
    font-size: 34px;
  }

  .pricing-features {
    margin-bottom: 24px;
  }

  /* ===== CTA ===== */
  .cta-section {
    padding: 64px 0;
  }

  .cta-title {
    font-size: 24px;
    padding: 0 16px;
  }

  .cta-desc {
    font-size: 14px;
    padding: 0 16px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ===== FAQ ===== */
  .faq-grid {
    padding: 0 4px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 13px;
  }

  .faq-answer {
    font-size: 12px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 16px;
  }

  /* ===== Footer ===== */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }

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

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

  /* ===== Mockup ===== */
  .mock-body {
    padding: 16px;
  }

  .mock-row {
    gap: 8px;
    padding: 10px;
    min-height: auto;
  }

  .mock-avatar {
    width: 32px;
    height: 32px;
  }

  .mock-tag,
  .mock-line.short {
    display: none;
  }

  .mock-chart {
    height: 90px;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero-section {
    padding: 88px 0 36px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 12px;
  }

  .hero-trust-row {
    gap: 6px;
  }

  .hero-trust-row span {
    width: 100%;
    text-align: center;
    font-size: 10px;
    padding: 5px 8px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-visual {
    transform: scale(0.85);
    margin-bottom: -20px;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .hero-stat-item {
    padding: 10px 6px;
    border-radius: 12px;
  }

  .hero-stat-value {
    font-size: 20px;
  }

  .hero-stat-label {
    font-size: 10px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 13px;
  }

  .section-padding {
    padding: 48px 0;
  }

  .section-head-modern {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 20px;
    padding: 0 4px;
  }

  .section-desc {
    font-size: 13px;
  }

  .process-card {
    padding: 24px 20px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-amount {
    font-size: 30px;
  }

  .popular-badge {
    font-size: 10px;
    padding: 4px 16px;
  }

  .stat-number {
    font-size: 24px;
  }

  .cta-title {
    font-size: 20px;
  }

  .cta-desc {
    font-size: 13px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .mock-body {
    padding: 12px;
  }

  .mock-row {
    padding: 8px;
  }

  .mock-line {
    height: 8px;
  }

  .mock-chart {
    height: 70px;
    gap: 8px;
    padding: 10px;
  }
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* =============================================
   SELECTION
   ============================================= */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}
