:root {
  /* Colors */
  --lime: #d97857;
  --lime-strong: #c96a4a;
  --lime-soft: rgba(217, 120, 87, .08);
  --lime-soft-2: rgba(217, 120, 87, .14);
  --bg: #f5efe6;
  --bg-card: #fffaf3;
  --bg-card-up: #f8f1e8;
  --text-1: #241914;
  --text-2: #63524a;
  --text-3: #927e71;
  --border: #e1d3c4;
  --border-up: #cfbead;
  --danger: #b96552;

  /* Fonts */
  --mono: 'DM Mono', 'JetBrains Mono', monospace;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(68, 41, 27, .06);
  --shadow: 0 8px 32px rgba(68, 41, 27, .08);
  --shadow-lg: 0 20px 60px rgba(68, 41, 27, .10);

  /* Sizing */
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 60px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Arabic', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -5%, rgba(217, 120, 87, 0.08), transparent 35%);
  z-index: -2;
}

img,
svg {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mx {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Top Navigation ───────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(245, 239, 230, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-inner {
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  color: var(--text-1);
}

.nav-brand .brand-pilot {
  color: var(--lime);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: all .2s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--bg-card);
  color: var(--text-1);
  border-color: var(--border);
}

.nav-link.primary {
  background: var(--lime);
  color: #fffaf3;
  border-color: var(--lime);
}

.nav-link.primary:hover {
  background: var(--lime-strong);
  color: #fffaf3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 120, 87, 0.15);
}

@media (max-width: 480px) {
  .nav-link span:not(.icon) {
    display: none;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 16px;
  }

  .nav-link.primary span {
    display: inline;
    font-size: 12.5px;
  }
}

.brand-pre,
.brand-pilot {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.brand-pilot,
.lime,
.accent {
  color: var(--lime);
}

.hero {
  position: relative;
}

.section-first {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 88px;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 95vw);
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(217, 120, 87, 0.10) 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.hero-brand {
  margin-bottom: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 120, 87, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.hero-brand-note,
.footer-note,
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

.hero-brand-note,
.footer-note {
  margin-right: 8px;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 12px;
}

.label.center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

.hero h1,
.section-head h2,
.final-cta h2 {
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero h1 {
  font-size: clamp(34px, 6.2vw, 60px);
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-copy {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

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

.hero-meta,
.pricing-meta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-pill svg {
  width: 15px;
  height: 15px;
  color: var(--lime);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-lime {
  background: var(--lime);
  color: #fffaf3;
}

.btn-lime:hover {
  background: var(--lime-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217, 120, 87, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-up);
}

.btn-ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.btn-small {
  padding: 12px 24px;
  font-size: 13px;
}

.section,
.section-sm {
  padding: 96px 0;
}

.section-sm {
  padding-top: 18px;
  padding-bottom: 76px;
}

.narrow-box {
  max-width: 700px;
  margin: 0 auto;
}

.cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.cell:hover {
  border-color: var(--border-up);
  background: var(--bg-card-up);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(68, 41, 27, 0.06);
}

.cell-glow {
  border-color: rgba(217, 120, 87, 0.12);
  box-shadow: 0 0 60px rgba(217, 120, 87, 0.03), inset 0 1px 0 rgba(217, 120, 87, 0.06);
}

.cell-glow:hover {
  border-color: rgba(217, 120, 87, 0.22);
}

.center-box {
  text-align: center;
}

.box-copy,
.authority-box p,
.card-copy,
.small-muted,
.problem-copy,
.agent-copy,
.install-copy,
.pricing-desc,
.feature-item,
.faq-answer,
.segment-item {
  color: var(--text-2);
}

.box-copy {
  font-size: 16px;
  line-height: 1.9;
}

.box-copy strong {
  color: var(--text-1);
}

.mono {
  font-family: var(--mono);
}

.small-title {
  font-size: 12px;
  letter-spacing: 1px;
}

.mb-16 {
  margin-bottom: 16px;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-up) 50%, transparent);
}

.section-head {
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 560px;
}

.center-sub {
  margin: 0 auto;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.span-12 {
  grid-column: span 12;
}

.span-8 {
  grid-column: span 8;
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

.span-3 {
  grid-column: span 3;
}

.icon-box,
.problem-icon,
.agent-icon,
.install-badge,
.export-badge-icon,
.quote-mark,
.segment-bullet,
.feature-check,
.model-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon,
.agent-icon,
.install-badge,
.export-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.problem-icon svg,
.agent-icon svg,
.install-badge svg,
.export-badge-icon svg,
.quote-mark svg,
.segment-bullet svg,
.feature-check svg,
.model-dot svg,
.faq-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.problem-icon.danger {
  background: rgba(255, 100, 100, 0.06);
  color: var(--danger);
}

.agent-icon,
.install-badge,
.export-badge-icon,
.quote-mark,
.model-dot {
  background: rgba(217, 120, 87, 0.06);
  color: var(--lime);
}

.problem-title,
.install-title,
.pricing-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.problem-copy,
.agent-copy,
.install-copy,
.pricing-desc,
.feature-item,
.faq-answer,
.segment-item {
  font-size: 14px;
  line-height: 1.85;
}

.segment-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.seg-tab {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.seg-tab.active {
  background: rgba(217, 120, 87, 0.08);
  color: var(--lime);
  border-color: rgba(217, 120, 87, 0.15);
}

.seg-tab:hover:not(.active) {
  color: var(--text-1);
  border-color: var(--border-up);
}

.segment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.segment-badge.badge-danger {
  background: rgba(255, 100, 100, 0.08);
  color: var(--danger);
}

.segment-badge.badge-success {
  background: rgba(217, 120, 87, 0.08);
  color: var(--lime);
}

.segment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.segment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.segment-bullet {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.segment-bullet.danger {
  color: var(--danger);
}

.segment-bullet.success {
  color: var(--lime);
}

.agent-name,
.price-value,
.install-step,
.tag-num,
.intake-num {
  font-family: var(--mono);
}

.agent-name {
  font-size: 11px;
  color: var(--lime);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.export-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.export-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
}

.export-badge-text {
  font-size: 13px;
  color: var(--text-2);
}

.intake-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intake-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(217, 120, 87, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(217, 120, 87, 0.05);
}

.intake-num {
  font-size: 11px;
  color: var(--lime);
  margin-top: 3px;
  flex-shrink: 0;
}

.intake-q {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.intake-why {
  font-size: 12px;
  color: var(--text-3);
}

.model-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.model-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(217, 120, 87, 0.06);
}

.small-muted {
  font-size: 12px;
  margin-top: 16px;
  line-height: 1.8;
}

.section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 120, 87, 0.03);
  border: 1px solid rgba(217, 120, 87, 0.08);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.tag-num {
  color: var(--lime);
  font-size: 11px;
}

.tag-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.install-badge {
  background: rgba(217, 120, 87, 0.06);
  color: var(--lime);
}

.install-step {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.authority-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
}

.quote-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin: 0 auto 20px;
}

.authority-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.authority-box p {
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.9;
}

.pricing-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #fffaf3;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-head {
  margin-bottom: 20px;
}

.pricing-name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
}

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

.price-wrap {
  margin-bottom: 24px;
}

.price-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
}

.price-currency {
  font-size: 13px;
  color: var(--text-3);
  margin-right: 6px;
}

.price-features {
  flex: 1;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-check {
  color: var(--lime);
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.faq-container {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-row:hover,
.faq-row.open {
  border-color: rgba(217, 120, 87, 0.15);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq-title {
  font-size: 15px;
  font-weight: 600;
}

.faq-arrow {
  color: var(--lime);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-row.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-row.open .faq-answer-wrap {
  max-height: 240px;
}

.faq-answer {
  padding: 0 24px 18px;
}

.final-cta {
  text-align: center;
  padding: 64px 32px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(217, 120, 87, 0.08) 0%, rgba(255, 250, 243, 0.75) 72%);
  border: 1px solid rgba(217, 120, 87, 0.10);
}

.final-cta h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.35;
}

.final-cta p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.final-meta {
  margin-top: 24px;
}

.site-footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 14px;
}

.footer-nav-link {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  transition: all .2s ease;
  border: 1px solid transparent;
}

.footer-nav-link:hover {
  color: var(--lime);
  border-color: rgba(217, 120, 87, 0.2);
  background: rgba(217, 120, 87, 0.05);
}


.compatibility-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compatibility-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(217, 120, 87, 0.08);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.platform-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.platform-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}

.platform-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.platform-status.native {
  background: rgba(217, 120, 87, 0.10);
  color: var(--lime);
}

.platform-status.adaptable {
  background: rgba(36, 25, 20, 0.06);
  color: var(--text-2);
}

.platform-copy {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}

.compatibility-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 120, 87, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.65);
  color: var(--text-2);
  line-height: 1.9;
}

.compatibility-note strong {
  color: var(--text-1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .span-12,
  .span-8,
  .span-6,
  .span-4,
  .span-3 {
    grid-column: span 6;
  }

  .section,
  .section-sm {
    padding: 84px 0;
  }

  .section-first {
    padding-top: 82px;
    padding-bottom: 72px;
  }

  .cell,
  .authority-box,
  .final-cta {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .compatibility-top {
    align-items: flex-start;
  }

  .mx {
    width: calc(100% - 28px);
  }

  .section,
  .section-sm {
    padding: 68px 0;
  }

  .section-first {
    padding-top: 62px;
    padding-bottom: 56px;
  }

  .hero-brand {
    margin-bottom: 18px;
    padding: 10px 14px;
  }

  .hero h1 {
    letter-spacing: -0.6px;
    font-size: clamp(30px, 10vw, 42px);
  }

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

  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .span-12,
  .span-8,
  .span-6,
  .span-4,
  .span-3 {
    grid-column: span 1;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 15px 18px;
  }

  .hero-actions,
  .hero-meta,
  .pricing-meta,
  .footer-inner,
  .tag-actions {
    flex-direction: column;
  }

  .hero-meta,
  .pricing-meta,
  .final-meta {
    gap: 12px;
  }

  .meta-pill {
    justify-content: center;
  }

  .cell,
  .authority-box,
  .final-cta {
    padding: 22px;
    border-radius: 18px;
  }

  .segment-tabs {
    gap: 10px;
    margin-bottom: 28px;
  }

  .seg-tab {
    width: calc(50% - 5px);
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .section-tag {
    width: 100%;
    justify-content: flex-start;
  }

  .faq-question,
  .faq-answer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .price-value {
    font-size: 38px;
  }

  .hero-copy,
  .final-cta p,
  .box-copy {
    font-size: 15px;
  }

  .quote-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .mx {
    width: calc(100% - 22px);
  }

  .seg-tab {
    width: 100%;
  }

  .cell,
  .authority-box,
  .final-cta {
    padding: 18px;
  }
}