/* ==========================================================
   صهبات - Sahbot Landing Page Stylesheet
   Theme: Light / RTL / Tech-AI
   Font: IranSans
   ========================================================== */

/* ---------- FONT ---------- */
@font-face {
  font-family: 'IranSans';
  src: url('../fonts/iransans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- VARIABLES ---------- */
:root {
  --color-bg:         #f0f4ff;
  --color-surface:    #ffffff;
  --color-primary:    #0066ff;
  --color-primary-d:  #0052cc;
  --color-secondary:  #00b4d8;
  --color-accent:     #ff6b00;
  --color-text:       #0f1941;
  --color-text-2:     #4a5568;
  --color-muted:      #718096;
  --color-border:     #dde6f7;
  --color-card:       #ffffff;
  --grad-primary:     linear-gradient(135deg, #0066ff 0%, #00b4d8 100%);
  --grad-hero:        linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 50%, #e8fff4 100%);
  --shadow-sm:        0 2px 8px rgba(0,102,255,0.08);
  --shadow-md:        0 4px 20px rgba(0,102,255,0.12);
  --shadow-lg:        0 8px 40px rgba(0,102,255,0.16);
  --radius:           12px;
  --radius-lg:        20px;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.6; font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text-2);
  font-family: 'IranSans', Tahoma, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 {
  color: var(--color-text);
  font-family: 'IranSans', Tahoma, sans-serif;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p  { margin-top: 0; margin-bottom: 1.25rem; }
ul, ol { margin: 0 0 1.5rem 0; padding-right: 1.5rem; padding-left: 0; }
strong { font-weight: 700; }

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--color-border), transparent);
  margin: 2rem 0;
}

/* ---------- LAYOUT HELPERS ---------- */
.container, .container-sm {
  width: 100%;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}
.container    { max-width: 1160px; }
.container-sm { max-width: 880px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-24 { margin-top: 1.5rem; }
.list-reset { list-style: none; padding: 0; margin: 0; }
.m-0 { margin: 0; }
.text-sm  { font-size: 0.95rem; line-height: 1.7; }
.text-xs  { font-size: 0.875rem; line-height: 1.6; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.has-top-divider    { border-top: 1px solid var(--color-border); }
.has-bottom-divider { border-bottom: 1px solid var(--color-border); padding-bottom: 3.5rem; margin-bottom: 0; }

/* Screen reader */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ---------- BUTTONS ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'IranSans', Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 14px 28px;
  height: 50px;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: #e8eef8;
  color: var(--color-text) !important;
}
.button:hover { background: #d8e4f4; text-decoration: none; }

.button-primary {
  background: var(--grad-primary);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,102,255,0.3);
}
.button-primary:hover {
  background: linear-gradient(135deg, #0052cc 0%, #0099bb 100%);
  box-shadow: 0 6px 20px rgba(0,102,255,0.4);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--color-surface);
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}
.button-secondary:hover { background: #e8f0ff; }

.button-outline {
  background: transparent;
  color: var(--color-text) !important;
  border: 2px solid var(--color-border);
}
.button-outline:hover { border-color: var(--color-primary); color: var(--color-primary) !important; background: #e8f0ff; }

.button-shadow { box-shadow: var(--shadow-md); }
.button-sm { padding: 8px 20px; height: 38px; font-size: 0.875rem; }
.button-lg { padding: 18px 40px; height: 58px; font-size: 1.05rem; }
.button-block { display: flex; width: 100%; }

/* ---------- BODY WRAP ---------- */
.is-boxed { background: var(--color-bg); }
.body-wrap {
  background: var(--color-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-shadow: var(--shadow-lg);
}
.boxed-container { max-width: 1440px; margin: 0 auto; }
main { flex: 1 0 auto; }

/* ---------- SECTION ---------- */
.section-inner {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-title { margin-bottom: 1.5rem; }
.section-paragraph { color: var(--color-text-2); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-brand h1 { margin: 0; }
.header-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-links li { display: inline-flex; }
.header-links a:not(.button) {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.header-links a:not(.button):hover {
  color: var(--color-primary);
  background: #e8f0ff;
  text-decoration: none;
}
nav { flex-shrink: 0; }

/* ---------- HERO ---------- */
.hero {
  background: var(--grad-hero);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,102,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,180,216,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 0 60px;
}
.hero-copy {
  flex: 0 0 520px;
  max-width: 520px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--color-text-2);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-paragraph {
  font-size: 1.1rem;
  color: var(--color-text-2);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-gift {
  display: inline-block;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #ffd54f;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #5d4037;
  margin-top: 0.5rem;
}
.hero-app {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-network { width: 100%; max-width: 500px; }
.network-svg { width: 100%; height: auto; }

/* ---------- FEATURES ---------- */
.features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.features-wrap-2 { justify-content: center; }
.feature {
  flex: 1 1 300px;
  max-width: 360px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(0,102,255,0.25);
}
.feature-lg {
  flex: 1 1 400px;
  max-width: 520px;
}
.feature-icon { margin-bottom: 1.25rem; }
.feature-icon svg { border-radius: 14px; }
.feature-title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-inner { height: 100%; }

/* ---------- MEDIA / HOW IT WORKS ---------- */
.media { background: linear-gradient(135deg, #e8f4ff 0%, #f0e8ff 100%); }
.media-header { margin-bottom: 3rem; }
.media-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,102,255,0.3);
}
.step-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; color: var(--color-muted); margin: 0; }
.step-arrow {
  font-size: 1.6rem;
  color: var(--color-primary);
  align-self: center;
  padding: 0 8px;
  opacity: 0.5;
  line-height: 1;
  margin-top: -20px;
}

/* ---------- DEMO FEATURES ---------- */
.demo-features { background: var(--color-bg); }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}
.demo-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.demo-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(0,102,255,0.2);
}
.demo-icon { margin-bottom: 1rem; }
.demo-item h4 { font-size: 1rem; margin-bottom: 0.6rem; color: var(--color-text); }
.demo-item p { font-size: 0.9rem; color: var(--color-text-2); margin: 0; line-height: 1.7; }

/* ---------- ACCORDION ---------- */
.bot-types { background: linear-gradient(135deg, #f8f0ff 0%, #f0f4ff 100%); }
.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 2.5rem;
}
.accordion-col { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: 'IranSans', Tahoma, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-text);
  transition: background 0.2s;
}
.accordion-header:hover { background: #f0f4ff; }
.acc-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  margin-right: 8px;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-top 0.2s;
  padding: 0 20px;
}
.accordion-body p {
  font-size: 0.92rem;
  color: var(--color-text-2);
  line-height: 1.8;
  padding-bottom: 16px;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { background: var(--color-surface); }
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 2.5rem; }
.faq-list .accordion-item { border-radius: var(--radius-lg); }
.faq-list .accordion-header { padding: 20px 24px; font-size: 1.05rem; }
.faq-list .acc-icon { font-size: 1.4rem; }
.faq-list .accordion-body { padding: 0 24px; }
.faq-list .accordion-body p { font-size: 0.97rem; padding-bottom: 20px; }

/* ---------- MESSENGER BUTTONS ---------- */
.messengers { background: var(--color-bg); }
.messenger-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-family: 'IranSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none !important;
  transition: all 0.25s;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  justify-content: center;
}
.messenger-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none !important; }
.messenger-btn-bale     { background: linear-gradient(135deg, #1a73e8, #0052cc); }
.messenger-btn-telegram { background: linear-gradient(135deg, #0088cc, #0055aa); }
.messenger-btn-eitaa    { background: linear-gradient(135deg, #e84040, #c01010); }

/* ---------- NEWSLETTER / CTA ---------- */
.newsletter {
  background: linear-gradient(135deg, #0f1941 0%, #1a3a6e 50%, #0f2a5e 100%);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(0,180,216,0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(0,102,255,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.newsletter-inner { position: relative; z-index: 1; }
.newsletter-header .section-title { color: white; }
.newsletter-header .section-paragraph { color: rgba(255,255,255,0.8); }
.newsletter-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-cta .button-outline {
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.3);
  background: transparent;
}
.newsletter-cta .button-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0a1020;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: white; text-decoration: none; }
.site-footer-inner { padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 2.5rem;
}
.footer-about p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-top: 1rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  -webkit-text-fill-color: white;
  color: white;
}
.footer-col-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links li, .footer-contact li {
  margin-bottom: 0.6rem;
}
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ---------- ANIMATIONS (ScrollReveal) ---------- */
.sr .has-animations .is-revealing {
  visibility: hidden;
}

/* ---------- INPUTS ---------- */
.input, .textarea {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: 'IranSans', Tahoma, sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  height: 50px;
  width: 100%;
  max-width: 100%;
  outline: none;
  transition: border 0.2s;
  text-align: right;
}
.input:focus { border-color: var(--color-primary); }
.input::placeholder { color: var(--color-muted); }

.field-grouped { display: flex; gap: 10px; }
.control { flex-shrink: 0; }
.control-expanded { flex: 1 1 auto; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 0 40px;
  }
  .hero-copy { flex: unset; max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-app { width: 100%; max-width: 420px; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .accordion-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .step-arrow { display: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; }
  .demo-grid { grid-template-columns: 1fr; }
  .features-wrap { flex-direction: column; }
  .feature, .feature-lg { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .messenger-buttons { flex-direction: column; }
  .messenger-btn { min-width: unset; width: 100%; }
  .header-links a:not(.button) { display: none; }
  .media-steps { flex-direction: column; align-items: center; }
  .newsletter-cta { flex-direction: column; align-items: center; }
  .section-inner { padding-top: 3rem; padding-bottom: 3rem; }
}

@media (min-width: 640px) {
  .container, .container-sm { padding-right: 32px; padding-left: 32px; }
}
