:root {
  --primary: var(--color-primary, #e84118);
  --primary-dark: var(--color-primary, #c23010);
  --secondary: var(--color-primary, #ff6b35);
  --dark-bg: var(--color-secondary, #1a1a2e);
  --dark-section: var(--color-secondary, #111827);
  --text-dark: var(--color-title, #1f2937);
  --text-muted: var(--color-text, #6b7280);
  --surface: #fff;
  --soft-surface: #f8fafc;
  --site-radius: var(--radius, 16px);
  --site-shadow: var(--box-shadow, 0 20px 50px rgba(0, 0, 0, 0.1));
  --orange-gradient: var(--primary);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--site-font-family, "IRANSans", system-ui);
  direction: rtl;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #1f2937;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: #e84118;
  border-radius: var(--site-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1f2937 !important;
  padding: 6px 14px !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: #e84118 !important;
}

.btn-login {
  border: 1.5px solid #d1d5db;
  color: #1f2937;
  border-radius: var(--site-radius);
  padding: 6px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.2s;
}

.btn-login:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.btn-demo-nav {
  background: #e84118;
  color: #fff !important;
  border-radius: var(--site-radius);
  padding: 7px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  transition: opacity 0.2s;
}

.btn-demo-nav:hover {
  background: #ff6b35;
  color: #fff !important;
  opacity: 1;
}

/* ─── HERO ─── */
.hero-section {
  background-color: var(--dark-bg);
  min-height: 600px;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
}

.hero-title span {
  color: var(--secondary);
}

.hero-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.8;
  margin: 20px 0 36px;
}

.btn-primary-hero {
  background: var(--orange-gradient);
  color: var(--text-dark);
  border: none;
  border-radius: var(--site-radius);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    opacity 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  background: var(--dark-bg);
  color: var(--text-dark);
}

.btn-outline-hero {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--site-radius);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-hero:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  z-index: 1;
}

.mockup-laptop {
  background: var(--dark-bg);
  border-radius: var(--site-radius);
  padding: 12px;
  box-shadow: var(--site-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-screen {
  background: var(--dark-section);
  border-radius: var(--site-radius);
  padding: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mockup-bar span:nth-child(1) {
  background: #ff5f57;
}

.mockup-bar span:nth-child(2) {
  background: #ffbd2e;
}

.mockup-bar span:nth-child(3) {
  background: #28c840;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--site-radius);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-stat {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.mockup-label {
  color: #94a3b8;
  font-size: 0.72rem;
  margin-top: 2px;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
  margin-top: 6px;
}

.mockup-chart div {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--orange-gradient);
  opacity: 0.7;
}

/* ─── MINI FEATURES STRIP ─── */
.mini-features {
  background: var(--dark-bg);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 0 20px;
}

.mini-feat-icon {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border-radius: var(--site-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.mini-feat-img {
  width: 450px;
  height: 550px;
  border-radius: var(--site-radius);
  flex-shrink: 0;
}

.mini-feat-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.mini-feat-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ─── FEATURES CARDS ─── */
.features-section {
  padding: 80px 0;
  background: var(--soft-surface);
}

.section-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text-dark);
  padding: 4px 16px;
  border-radius: var(--site-radius);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feat-card {
  background: var(--surface);
  border-radius: var(--site-radius);
  padding: 32px 24px;
  height: 100%;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  text-align: center;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--site-shadow);
}

.feat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--site-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.feat-icon-orange {
  background: var(--primary);
  color: var(--primary);
}

.feat-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.feat-icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.feat-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.feat-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ─── ALL IN ONE ─── */
.allinone-section {
  background: var(--dark-section);
  padding: 80px 0;
}

.allinone-section .section-title {
  color: var(--text-dark);
}

.allinone-section .section-subtitle {
  color: var(--text-muted);
}

.allinone-section ul {
  color: var(--text-muted) !important;
}

.allinone-section p {
  color: var(--text-muted) !important;
  margin-bottom: 32px;
}
.allinone-section .section-badge {
  background: var(--primary);
  color: var(--text-dark);
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.feat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.dashboard-preview {
  background: var(--dark-bg);
  border-radius: var(--site-radius);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--site-shadow);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.dash-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-header span:nth-child(1) {
  background: #ff5f57;
}

.dash-header span:nth-child(2) {
  background: #ffbd2e;
}

.dash-header span:nth-child(3) {
  background: #28c840;
}

.dash-stat-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--site-radius);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.dash-stat-lbl {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 3px;
}

.dash-chart-area {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--site-radius);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.dash-bars div {
  flex: 1;
  border-radius: 4px 4px 0 0;
}

/* ─── STATS ─── */
.stats-section {
  background: var(--orange-gradient);
  padding: 50px 0;
}

.stat-item {
  text-align: center;
  color: var(--text-dark);
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
  height: 60px;
  margin: 0 auto;
}

/* ─── CLIENTS ─── */
.clients-section {
  padding: 70px 0;
  background: var(--surface);
}

.clients-section .section-title {
  font-size: 1.6rem;
}

.client-logo {
  background: var(--soft-surface);
  border-radius: var(--site-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.2s;
  height: 64px;
  width: 150px;
}

.client-logo:hover {
  background: var(--primary);
  color: var(--text-dark);
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  padding: 80px 0;
  background: var(--soft-surface);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--site-radius);
  padding: 32px;
  height: 100%;
  border: 1px solid #e5e7eb;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--orange-gradient);
  padding: 70px 0;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.btn-cta-white {
  background: var(--primary);
  color: var(--text-dark);
  border: none;
  border-radius: var(--site-radius);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  background: var(--dark-bg);
  color: var(--text-dark);
}

.btn-cta-outline {
  background: var(--primary);
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--site-radius);
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  border-color: var(--dark-bg);
  background: var(--dark-bg);
  color: var(--text-dark);
}

/* ─── FOOTER ─── */
footer {
  background: #111827;
  color: #94a3b8;
  padding: 60px 0 30px;
}

footer .brand-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

footer .footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 12px;
}

footer h6 {
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: #ff6b35;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 36px 0 24px;
}

.footer-bottom {
  font-size: 0.82rem;
  text-align: center;
  color: #64748b;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: #e84118;
  color: #fff;
}

.template-title,
.template-text,
.hero-title,
.mini-feat-title,
.section-title,
.feat-card h5,
.stat-num,
.stat-desc,
.clients-section .section-title,
.testimonial-text,
.author-name {
  color: var(--text-dark) !important;
}

.template-subtitle,
.hero-desc,
.mini-feat-sub,
.section-subtitle,
.feat-card p,
.author-role {
  color: var(--text-muted) !important;
}

footer .brand-name.template-title {
  color: #fff !important;
}

footer h6.template-title {
  color: #e2e8f0 !important;
}

footer .template-text {
  color: #94a3b8 !important;
}

.dynamic-bg-image {
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-card,
.card-icon-wrap,
.card-arrow {
  border-radius: var(--site-radius);
}

.page-card,
.testimonial-card,
.feat-card {
  box-shadow: var(--site-shadow);
}

a.btn-primary-hero,
a.btn-cta-white,
a.btn-cta-outline,
.page-card:hover .card-arrow {
  background: var(--primary);
  color: var(--text-dark) !important;
}

a.btn-primary-hero:hover,
a.btn-cta-white:hover,
a.btn-cta-outline:hover {
  background: var(--dark-bg);
  color: var(--text-dark) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .mini-feat-item {
    padding: 10px;
  }
}
/* other */
