/* =========================================================
   ELIZA — Corporate Startup Theme
   Cloudflare Pages ready
========================================================= */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — refined corporate startup */
  --bg:        #ffffff;
  --bg-alt:    #f7f7f5;
  --surface:   #ffffff;
  --ink:       #0a0e1a;        /* near-black navy */
  --ink-2:     #2d3142;
  --ink-3:     #5b6172;
  --ink-4:     #9ca3af;

  /* Primary accent — warm orange (startup energy) */
  --accent:    #ff5a1f;
  --accent-2:  #ff7a47;
  --accent-soft: #fff1ea;

  /* Supporting */
  --blue:      #2563eb;
  --green:     #10b981;

  /* Lines & surfaces */
  --line:      #e8e8e3;
  --line-2:    #d7d7d1;

  /* Effects */
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10,14,26,0.04), 0 1px 3px rgba(10,14,26,0.06);
  --shadow:    0 8px 24px -8px rgba(10,14,26,0.12);
  --shadow-lg: 0 20px 60px -20px rgba(10,14,26,0.2);

  --sans-fa:   'Vazirmatn', 'Inter', system-ui, sans-serif;
  --sans-en:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans-fa);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-weight: 400;
  font-size: 15.5px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

img { font-style: italic; color: var(--ink-3); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.text-accent { color: var(--accent); }
.text-orange { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(8px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover { background: #1a1f2e; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: white; }

.btn-light {
  background: white;
  color: var(--ink);
}
.btn-light:hover { background: var(--bg-alt); transform: translateY(-1px); }

.btn .arrow { transition: transform 0.3s; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 18px;
  transition: gap 0.25s;
}
.link-arrow svg { transition: transform 0.25s; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }
.link-arrow-light { color: white; }
.link-arrow-light:hover { color: var(--accent); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.95); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--sans-en);
  border-radius: 9px;
  transition: transform 0.3s;
}
.logo:hover .logo-mark { transform: rotate(-6deg); }

.nav-links {
  display: flex; gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content:''; position: absolute;
  bottom: 0; right: 50%; left: 50%;
  height: 2px; background: var(--accent);
  transition: all 0.25s;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; left: 0; }

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

.lang-btn {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--sans-en);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.lang-btn:hover { background: var(--ink); color: white; border-color: var(--ink); }

.nav-cta { padding: 10px 18px; font-size: 0.85rem; }

.mobile-toggle {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 9px;
  align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position: absolute;
  width: 700px; height: 700px;
  top: -300px; right: -300px;
  background: radial-gradient(circle, rgba(255,90,31,0.08), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero::after {
  content:'';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -200px; left: -200px;
  background: radial-gradient(circle, rgba(37,99,235,0.05), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: white;
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { transform: scale(0.85); opacity: 0.7; } }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 26px;
  letter-spacing: -0.035em;
}
.hero-title .text-accent { display: inline-block; }

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-3);
  margin-bottom: 38px;
  max-width: 540px;
  line-height: 1.75;
}

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex; align-items: center; gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust-stat span {
  font-size: 0.82rem;
  color: var(--ink-3);
}
.trust-divider {
  width: 1px; height: 36px;
  background: var(--line);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/4.5;
  max-width: 540px;
  margin: 0 auto;
}
.hero-image-wrap {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,14,26,0.3) 100%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY { 50% { transform: translateY(-8px); } }

.fc-1 { top: 8%; left: -12%; animation-delay: 0s; }
.fc-2 { bottom: 12%; right: -10%; animation-delay: 1.5s; }
[dir="ltr"] .fc-1 { left: auto; right: -12%; }
[dir="ltr"] .fc-2 { right: auto; left: -10%; }

.fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.icon-grow { background: var(--accent-soft); color: var(--accent); }
.icon-shield { background: rgba(37,99,235,0.1); color: var(--blue); }

.fc-label {
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-bottom: 2px;
  font-weight: 500;
}
.fc-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  font-family: var(--sans-en);
  letter-spacing: -0.01em;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(40px);
  opacity: 0.5;
}
.shape-1 {
  width: 200px; height: 200px;
  background: var(--accent);
  top: -40px; right: -40px;
}
.shape-2 {
  width: 150px; height: 150px;
  background: var(--blue);
  bottom: -30px; left: -30px;
}

/* Logo cloud */
.logo-cloud {
  display: flex; align-items: center; justify-content: center;
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.logo-cloud-label {
  font-size: 0.85rem;
  color: var(--ink-3);
  white-space: nowrap;
}
.logo-cloud-items {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-cloud-items span {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.logo-cloud-items span:hover { opacity: 1; }
.dot-sep {
  width: 4px !important; height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 auto 70px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-lead {
  color: var(--ink-3);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(.2,.7,.3,1);
  display: flex; flex-direction: column;
  grid-column: span 2;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.service-card-lg {
  grid-column: span 4;
  grid-row: span 2;
  flex-direction: row;
}
.service-card-lg .service-image {
  width: 50%;
  aspect-ratio: auto;
  height: auto;
}
.service-card-lg .service-body {
  width: 50%;
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}

.service-card-dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  grid-column: span 2;
  grid-row: span 2;
  flex-direction: column;
}
.service-card-dark .service-image { height: 50%; }
.service-card-dark .service-body { padding: 28px; }
.service-card-dark h3 { color: white; }
.service-card-dark p { color: rgba(255,255,255,0.7); }

.service-card-compact { grid-column: span 2; padding: 28px; }

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-image img { transform: scale(1.05); }

.service-body { padding: 28px; }

.service-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.service-card-lg h3 { font-size: 1.7rem; }
.service-card p {
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-features {
  list-style: none;
  margin-top: 20px;
  display: grid; gap: 8px;
}
.service-features li {
  position: relative;
  padding-right: 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
[dir="ltr"] .service-features li { padding-right: 0; padding-left: 22px; }
.service-features li::before {
  content:'';
  position: absolute;
  right: 0; top: 9px;
  width: 14px; height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  border-radius: 1px;
}
[dir="ltr"] .service-features li::before { right: auto; left: 0; transform: rotate(-45deg); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--ink);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content:'';
  position: absolute;
  top: 0; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,90,31,0.15), transparent 70%);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  text-align: center;
}
.stat-item {
  padding: 20px 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
[dir="ltr"] .stat-item { border-right: 1px solid rgba(255,255,255,0.1); border-left: none; }
[dir="ltr"] .stat-item:first-child { border-right: none; }

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: white;
}
.stat-num .plus {
  color: var(--accent);
  font-size: 2.2rem;
  margin-right: 4px;
}
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/4.5;
  box-shadow: var(--shadow-lg);
}
.about-image-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  z-index: 2;
}
[dir="ltr"] .about-badge { left: auto; right: -24px; }
.badge-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--sans-en);
}
.badge-label { font-weight: 700; font-size: 0.95rem; }
.badge-sub { font-size: 0.78rem; color: var(--ink-3); }

.about-content .eyebrow { margin-bottom: 18px; }
.about-content .section-title {
  text-align: start;
  margin-bottom: 18px;
}
.about-content > p {
  color: var(--ink-3);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.feature-list { display: grid; gap: 24px; }
.feature-item {
  display: flex; gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
}
.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.feature-item p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content:'';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}
.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  width: 56px; height: 56px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 auto 20px;
  font-family: var(--sans-en);
  position: relative;
  z-index: 1;
  border: 4px solid var(--bg);
  transition: all 0.25s;
}
.process-step:hover .step-num { background: var(--accent); }
.section-alt .step-num { border-color: var(--bg-alt); }
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.client-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.client-flag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 10px;
  background: var(--bg-alt);
  color: var(--ink-3);
  font-weight: 600;
  border: 1px solid var(--line);
}
.client-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.client-name.en { font-family: var(--sans-en); letter-spacing: -0.01em; }
.client-cat {
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
}
.testimonial:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-rating {
  display: flex; gap: 2px;
  color: var(--accent);
  margin-bottom: 18px;
}
.testimonial p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--ink-2);
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}
.author-mono {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--line);
}
.mono-1 { background: linear-gradient(135deg, #ff5a1f, #ff8c4a); }
.mono-2 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.mono-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.author-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.author-role { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- CTA ---------- */
.cta-section { padding: 60px 0 110px; }
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 90px 60px;
  text-align: center;
  color: white;
}
.cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92), rgba(10,14,26,0.78));
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content .eyebrow { margin-bottom: 22px; }
.cta-content h2 {
  color: white;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cta-content h2 span { display: block; }
.cta-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  background: var(--accent);
  color: white;
}
.cta-buttons .btn-primary:hover { background: var(--accent-2); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.contact-info {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content:'';
  position: absolute;
  width: 300px; height: 300px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,90,31,0.15), transparent 70%);
  border-radius: 50%;
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: white;
  position: relative;
}
.contact-info > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 0.95rem;
  position: relative;
}
.contact-list {
  list-style: none;
  display: grid; gap: 20px;
  position: relative;
}
.contact-list li {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.ci-ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
}
.ci-l {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.ci-v { font-weight: 500; font-size: 0.95rem; }

.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: grid; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(255,90,31,0.1);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.7;
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
[dir="rtl"] .field select {
  background-position: 13px center, 18px center;
}
.form-submit {
  background: var(--accent);
  color: white;
  justify-content: center;
  padding: 14px 24px;
  margin-top: 4px;
  position: relative;
}
.form-submit:hover { background: var(--accent-2); transform: translateY(-1px); }
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.form-submit.loading .btn-text::after {
  content: '...';
  display: inline-block;
  animation: dots 1.4s infinite;
}
@keyframes dots {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.form-status {
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
.form-status.show {
  padding: 12px 16px;
  max-height: 80px;
  opacity: 1;
}
.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---------- Knowledge Base (SEO + AEO) ---------- */
.kb-section {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}

.kb-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
}
.kb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.kb-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.kb-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
}
.kb-card p:last-child { margin-bottom: 0; }
.kb-card strong { color: var(--ink); font-weight: 700; }
.kb-card a { color: var(--accent); font-weight: 500; }
.kb-card a:hover { text-decoration: underline; }

.kb-list {
  list-style: none;
  display: grid; gap: 10px;
}
.kb-list li {
  position: relative;
  padding-right: 22px;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.7;
}
[dir="ltr"] .kb-list li { padding-right: 0; padding-left: 22px; }
.kb-list li::before {
  content: '◆';
  position: absolute;
  right: 0; top: 2px;
  color: var(--accent);
  font-size: 0.7rem;
}
[dir="ltr"] .kb-list li::before { right: auto; left: 0; }

.kb-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.kb-dl dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.kb-dl dd {
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.kb-dl dd:last-of-type { border-bottom: none; padding-bottom: 0; }

.kb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kb-tags span {
  background: var(--bg-alt);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.kb-tags span:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* FAQ */
.kb-faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.kb-faq-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}
.kb-faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.kb-faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}
.kb-faq-item[open] {
  border-color: var(--accent);
  background: var(--bg-alt);
}
.kb-faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
  padding-left: 50px;
}
[dir="rtl"] .kb-faq-item summary {
  padding-left: 22px;
  padding-right: 50px;
}
.kb-faq-item summary::-webkit-details-marker { display: none; }
.kb-faq-item summary::after {
  content: '+';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s;
}
[dir="rtl"] .kb-faq-item summary::after {
  left: auto;
  right: 22px;
}
.kb-faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.kb-faq-item summary:hover { color: var(--accent); }
.kb-faq-item p {
  padding: 0 22px 22px;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 1024px) {
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .kb-grid { grid-template-columns: 1fr; }
  .kb-faq { padding: 32px 24px; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 32px;
  background: var(--ink);
  color: white;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 56px;
}
.footer-about .logo { color: white; margin-bottom: 16px; }
.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.85;
  max-width: 340px;
}

.footer-col h5 {
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: white;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.socials { display: flex; gap: 8px; margin-top: 24px; }
.social-ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  transition: all 0.2s;
  color: rgba(255,255,255,0.7);
}
.social-ic:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-design {
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-design a {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer-design a:hover { opacity: 0.8; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- LTR overrides ---------- */
[dir="ltr"] body { font-family: var(--sans-en); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card-lg,
  .service-card-dark,
  .service-card-compact { grid-column: span 1; grid-row: auto; }
  .service-card-lg { flex-direction: column; }
  .service-card-lg .service-image,
  .service-card-lg .service-body { width: 100%; }
  .service-card-lg .service-image { height: 240px; }
  .service-card-lg .service-body { padding: 28px; }
  .service-card-lg h3 { font-size: 1.4rem; }

  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  [dir="ltr"] .stat-item:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: white;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }

  .hero-visual { max-width: 440px; }
  .fc-1 { left: -4%; }
  .fc-2 { right: -4%; }
  [dir="ltr"] .fc-1 { left: auto; right: -4%; }
  [dir="ltr"] .fc-2 { right: auto; left: -4%; }

  .about-badge { left: 16px; bottom: -16px; padding: 16px 18px; }
  [dir="ltr"] .about-badge { left: auto; right: 16px; }
  .badge-num { font-size: 2rem; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 50px; }
  .cta-banner { padding: 60px 32px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 120px 0 60px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-divider { display: none; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; }

  .contact-info, .contact-form { padding: 32px 24px; }
  .testimonial { padding: 28px 22px; }
  .cta-banner { padding: 50px 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
