:root{
  --bg:#071426;
  --bg2:#0c2039;
  --ink:#0b1727;
  --muted:#607089;
  --line:rgba(13,31,53,.12);
  --surface:#ffffff;
  --surface2:#f4f8fc;
  --brand:#1c8cff;
  --brand2:#00d0a4;
  --gold:#f5c66b;
  --danger:#ff647c;
  --white:#ffffff;
  --shadow:0 30px 80px rgba(7,20,38,.15);
  --shadow2:0 16px 50px rgba(7,20,38,.10);
  --radius:28px;
  --container:1180px;
}

/* Base */
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--surface);
  line-height:1.6;
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

button{
  cursor:pointer;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--container),calc(100% - 40px));
  margin:0 auto;
}

.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background-image:radial-gradient(rgba(28,140,255,.06) 1px,transparent 1px);
  background-size:22px 22px;
  opacity:.5;
}

/* Language */
.en,
.ar{
  display:inline;
}

.ar{
  display:none;
}

html[dir="ltr"] .en{
  display:inline !important;
}

html[dir="ltr"] .ar{
  display:none !important;
}

html[dir="rtl"] .en{
  display:none !important;
}

html[dir="rtl"] .ar{
  display:inline !important;
}

html[dir="rtl"] body{
  font-family:"Tahoma","Segoe UI",Arial,sans-serif;
}

html[dir="rtl"] .pipeline-step,
html[dir="rtl"] .workflow-card div,
html[dir="rtl"] .process-card,
html[dir="rtl"] .risk-card{
  text-align:right;
}

/* Desktop / mobile text variants */
.mobile-copy{
  display:none !important;
}

html[dir="ltr"] .desktop-copy.en{
  display:inline !important;
}

html[dir="rtl"] .desktop-copy.ar{
  display:inline !important;
}

html[dir="ltr"] .mobile-copy.en,
html[dir="rtl"] .mobile-copy.ar{
  display:none !important;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(13,31,53,.08);
}

.nav-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-weight:900;
  color:var(--ink);
  letter-spacing:-.03em;
  white-space:nowrap;
}

.brand-symbol{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 16px 34px rgba(28,140,255,.25);
  position:relative;
  overflow:hidden;
}

.brand-symbol span{
  width:22px;
  height:22px;
  border:4px solid rgba(255,255,255,.95);
  border-top-color:transparent;
  border-radius:50%;
  transform:rotate(-40deg);
}

.brand-name{
  font-size:23px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
  color:#52627a;
  font-size:14px;
  font-weight:800;
}

.nav-links a:hover{
  color:var(--brand);
}

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

.lang-toggle{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
}

.mobile-menu{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.mobile-menu span{
  width:18px;
  height:2px;
  background:var(--ink);
  border-radius:4px;
}

.mobile-panel{
  display:none;
  position:fixed;
  top:78px;
  left:20px;
  right:20px;
  z-index:75;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  box-shadow:var(--shadow2);
}

.mobile-panel.open{
  display:grid;
  gap:10px;
}

.mobile-panel a{
  padding:12px;
  border-radius:14px;
  background:var(--surface2);
  font-weight:800;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:14px 22px;
  color:#fff;
  background:linear-gradient(135deg,var(--brand),#0065d4);
  font-weight:900;
  box-shadow:0 18px 38px rgba(28,140,255,.24);
  transition:.22s transform,.22s box-shadow,.22s background;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 50px rgba(28,140,255,.32);
}

.btn-secondary{
  background:#fff;
  color:var(--ink);
  border:1px solid rgba(13,31,53,.12);
  box-shadow:0 14px 32px rgba(7,20,38,.08);
}

.btn-small{
  padding:10px 15px;
  font-size:14px;
}

.btn-large{
  padding:16px 24px;
}

.btn-full{
  width:100%;
}

/* Typography */
h1,
h2,
h3,
p{
  margin-top:0;
}

h1{
  font-size:clamp(48px,5.1vw,74px);
  line-height:1.02;
  letter-spacing:-.065em;
  margin-bottom:24px;
  color:var(--ink);
  text-wrap:balance;
  word-break:normal;
  overflow-wrap:normal;
}

h2{
  font-size:clamp(31px,4vw,52px);
  line-height:1.04;
  letter-spacing:-.045em;
  margin-bottom:16px;
  color:var(--ink);
  text-wrap:balance;
}

h3{
  font-size:22px;
  line-height:1.18;
  margin-bottom:9px;
  color:var(--ink);
}

p{
  color:var(--muted);
}

section[id]{
  scroll-margin-top:105px;
}

/* General sections */
.premium-section{
  padding:92px 0;
}

.section-head{
  max-width:840px;
  margin-bottom:38px;
}

.section-head.centered{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.section-head p{
  font-size:18px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  color:var(--brand);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  word-spacing:.08em;
  font-weight:950;
}

.eyebrow.light{
  color:#9bd0ff;
}

.pulse-dot{
  width:10px;
  height:10px;
  border-radius:99px;
  background:var(--brand2);
  box-shadow:0 0 0 8px rgba(0,208,164,.15);
}

/* Hero */
.hero{
  padding:64px 0 84px;
  background:
    radial-gradient(circle at 15% 12%,rgba(28,140,255,.22),transparent 36%),
    radial-gradient(circle at 86% 18%,rgba(0,208,164,.18),transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#ffffff 88%);
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}

.hero-copy{
  padding-top:0;
}

.hero-copy h1{
  max-width:720px;
}

.hero-sub{
  font-size:18px;
  line-height:1.65;
  max-width:660px;
  text-wrap:pretty;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin:32px 0 28px;
}

.assurance-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  max-width:700px;
}

.assurance-row > span{
  display:grid;
  gap:2px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  border-radius:20px;
  padding:14px;
  box-shadow:0 10px 30px rgba(7,20,38,.05);
}

.assurance-row strong{
  font-size:14px;
}

.assurance-row small{
  color:var(--muted);
  font-weight:700;
}

/* Hero visual */
.orbit-card{
  position:relative;
}

.orbit-glow{
  position:absolute;
  inset:-28px;
  border-radius:42px;
  background:linear-gradient(135deg,rgba(28,140,255,.25),rgba(0,208,164,.13),rgba(245,198,107,.15));
  filter:blur(4px);
}

.command-card{
  position:relative;
  border:1px solid rgba(255,255,255,.66);
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(18px);
  border-radius:34px;
  padding:20px;
  box-shadow:var(--shadow);
}

.command-top{
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
  margin-bottom:18px;
}

.command-top strong{
  margin-inline-start:auto;
  color:var(--ink);
}

.window-dot{
  width:12px;
  height:12px;
  border-radius:99px;
  background:#d9e3ef;
}

.command-body{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:16px;
}

.phone-mock{
  border:9px solid #101c2c;
  border-radius:30px;
  background:#f2f7fb;
  padding:18px 12px 16px;
  min-height:360px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
  overflow:hidden;
}

.phone-top{
  width:76px;
  height:6px;
  border-radius:8px;
  background:#1b2b41;
  margin:0 auto 18px;
}

.chat-row{
  display:flex;
  margin:12px 0;
}

.chat-row span{
  padding:10px 12px;
  border-radius:15px;
  font-size:13px;
  line-height:1.35;
}

.chat-row.inbound{
  justify-content:flex-start;
}

.chat-row.inbound span{
  background:#fff;
  color:#1b2b41;
}

.chat-row.outbound{
  justify-content:flex-end;
}

.chat-row.outbound span{
  background:#dcfff6;
  color:#074a3c;
}

.pipeline-mock{
  display:grid;
  gap:12px;
}

.lead-score{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--bg),var(--bg2));
  color:#fff;
}

.lead-score small{
  display:block;
  color:#9bb5cf;
}

.lead-score strong{
  display:block;
  font-size:44px;
  line-height:1;
  margin:8px 0;
}

.status-hot{
  display:inline-flex;
  color:#ffd88b;
  font-size:13px;
  font-weight:900;
}

.pipeline-step{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  background:#fff;
}

.pipeline-step > span{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#edf5ff;
  color:var(--brand);
  font-weight:900;
}

.pipeline-step.done > span{
  background:#e8fff8;
  color:#088b70;
}

.pipeline-step.active{
  border-color:rgba(28,140,255,.35);
  box-shadow:0 8px 26px rgba(28,140,255,.12);
}

.pipeline-step p{
  margin:0;
}

.pipeline-step small{
  display:block;
  color:var(--muted);
}

.command-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:15px;
}

.command-metrics div{
  background:var(--surface2);
  border-radius:18px;
  padding:14px;
  text-align:center;
}

.command-metrics strong{
  display:block;
  font-size:19px;
  color:var(--ink);
}

.command-metrics span{
  font-size:12px;
  color:var(--muted);
  font-weight:800;
}

/* Logo strip */
.logo-strip{
  padding:18px 0;
  background:var(--bg);
  color:#fff;
}

.logo-strip-inner{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  align-items:center;
  justify-content:center;
}

.logo-strip span{
  color:#8aa3bd;
}

.logo-strip strong{
  font-size:14px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.04);
}

/* Shared cards */
.risk-card,
.feature-card,
.process-card,
.price-card,
.industry-card,
.roi-card,
.safe-card,
.sector-panel,
.workflow-card,
.lead-form,
.demo-checklist{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
}

/* Problem section */
.risk-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.risk-card{
  padding:24px;
  min-height:240px;
}

.risk-card > span,
.process-card > span{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#fff;
  font-weight:950;
  margin-bottom:22px;
}

.risk-card p{
  margin:0;
}

/* Dark sections */
.dark-section{
  background:
    radial-gradient(circle at 10% 0,rgba(28,140,255,.22),transparent 34%),
    radial-gradient(circle at 90% 5%,rgba(0,208,164,.15),transparent 28%),
    linear-gradient(135deg,var(--bg),#0a1f39);
  color:#fff;
}

.dark-section h2,
.dark-section h3{
  color:#fff;
}

.dark-section p{
  color:#b6c7da;
}

.muted-section{
  background:linear-gradient(180deg,#f4f8fc,#eef5fb);
}

/* Blueprint */
.blueprint{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.blueprint-step{
  position:relative;
  padding:26px;
  border-radius:26px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  min-height:285px;
  overflow:hidden;
}

.blueprint-step > span{
  width:50px;
  height:50px;
  border-radius:18px;
  display:grid !important;
  place-items:center;
  background:rgba(28,140,255,.22);
  color:#8fd3ff;
  font-weight:950;
  margin-bottom:20px;
}

.blueprint-step h3{
  font-size:24px;
}

.blueprint-step p{
  margin:0;
  font-size:15px;
  line-height:1.65;
}

/* System stack */
.system-stack{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-top:24px;
  position:relative;
  z-index:2;
}

.system-stack > div{
  min-height:92px;
  display:grid;
  place-items:center;
  align-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.13);
  border-radius:20px;
  padding:18px;
  text-align:center;
}

.system-stack strong{
  display:block;
  color:#fff;
}

.system-stack span{
  color:#a9bdd1;
  font-size:13px;
}

/* Workflow visual showcase */
.workflow-showcase{
  background:linear-gradient(180deg,#ffffff 0%,#f4f8fc 100%);
}

.workflow-visual-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:20px;
  align-items:stretch;
}

.workflow-visual-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  box-shadow:var(--shadow2);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.workflow-visual-card.featured{
  grid-row:span 2;
  background:linear-gradient(180deg,#fff,#f7fbff);
}

.workflow-visual-card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-bottom:1px solid var(--line);
  background:#eef5fb;
}

.workflow-visual-card.featured img{
  aspect-ratio:16/11;
}

.workflow-visual-card .visual-copy{
  padding:22px 24px 24px;
  display:grid;
  gap:8px;
}

.workflow-visual-card small{
  color:var(--brand);
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.workflow-visual-card h3{
  margin:0;
  font-size:23px;
}

.workflow-visual-card p{
  margin:0;
}

.workflow-visual-card strong{
  color:var(--brand);
  font-size:14px;
}

.workflow-img{
  width:100%;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:0 18px 55px rgba(7,20,38,.12);
  background:#f4f8fc;
  margin-bottom:18px;
}

.dark-section .workflow-img{
  border-color:rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(0,0,0,.25);
}

.workflow-card.with-image{
  background:rgba(255,255,255,.07);
  padding:16px;
}

.workflow-card.with-image .workflow-img{
  margin-bottom:12px;
  border-radius:20px;
}

.workflow-card.with-image div{
  padding:10px 8px;
  border-top:1px solid rgba(255,255,255,.08);
}

/* Industries */
.industry-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:18px;
}

.industry-card{
  display:block;
  padding:28px;
  transition:.22s transform,.22s box-shadow,.22s border-color;
}

.industry-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:rgba(28,140,255,.25);
}

.industry-card.featured{
  background:linear-gradient(135deg,#fff,#f4faff);
  border-color:rgba(28,140,255,.25);
}

.industry-icon{
  font-size:38px;
  display:inline-grid;
  width:68px;
  height:68px;
  place-items:center;
  background:var(--surface2);
  border-radius:22px;
  margin-bottom:16px;
}

.industry-card small{
  display:block;
  color:var(--brand);
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}

.industry-card strong{
  color:var(--brand);
}

/* ROI */
.roi-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:50px;
  align-items:center;
}

.check-list{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  display:grid;
  gap:12px;
}

.check-list li{
  display:flex;
  gap:10px;
  align-items:center;
  color:#31445f;
  font-weight:800;
}

.check-list li:before{
  content:"✓";
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:99px;
  background:#e8fff8;
  color:#079b79;
  font-weight:950;
  flex:0 0 auto;
}

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

.roi-card{
  padding:28px;
}

.roi-card label,
.lead-form label{
  display:grid;
  gap:8px;
  margin-bottom:14px;
  color:#31445f;
  font-weight:850;
}

.roi-card input,
.lead-form input,
.lead-form textarea,
.lead-form select{
  width:100%;
  border:1px solid rgba(13,31,53,.14);
  border-radius:16px;
  padding:13px 14px;
  background:#f8fbff;
  color:var(--ink);
  outline:none;
}

.roi-card input:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus{
  border-color:rgba(28,140,255,.55);
  box-shadow:0 0 0 4px rgba(28,140,255,.10);
}

.roi-result{
  margin-top:16px;
  border-radius:22px;
  padding:22px;
  background:linear-gradient(135deg,var(--bg),var(--bg2));
  color:#fff;
}

.roi-result small{
  display:block;
  color:#9eb5cf;
}

.roi-result strong{
  font-size:44px;
  line-height:1;
  display:block;
  margin-top:6px;
}

.mini-note{
  font-size:13px;
  color:#7a8aa0;
  margin:12px 0 0;
}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.price-card{
  position:relative;
  padding:28px;
}

.price-card.popular{
  border-color:rgba(28,140,255,.35);
  transform:translateY(-8px);
}

.popular-badge{
  position:absolute;
  top:18px;
  right:18px;
  background:#e8fff8;
  color:#07866b;
  border-radius:99px;
  padding:7px 10px;
  font-size:12px;
  font-weight:950;
}

html[dir="rtl"] .popular-badge{
  right:auto;
  left:18px;
}

.price-top{
  display:grid;
  gap:2px;
  margin-bottom:22px;
}

.price-top small{
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:950;
}

.price-top strong{
  font-size:24px;
  color:var(--ink);
}

.price-card ul{
  padding:0;
  margin:20px 0 0;
  display:grid;
  gap:12px;
  list-style:none;
}

.price-card li{
  display:flex;
  gap:9px;
  color:var(--muted);
  font-weight:700;
}

.price-card li:before{
  content:"✓";
  color:var(--brand2);
  font-weight:950;
}

/* Demo */
.demo-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:46px;
  align-items:center;
}

.demo-checklist{
  padding:28px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
}

.demo-checklist ul{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:14px;
}

.demo-checklist li{
  display:flex;
  gap:10px;
  color:#dbe9f7;
}

.demo-checklist li:before{
  content:"→";
  color:var(--brand2);
  font-weight:950;
}

/* Process */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.process-card{
  padding:26px;
}

/* Safe section */
.safe-card{
  display:grid;
  grid-template-columns:1fr .7fr;
  gap:30px;
  align-items:center;
  padding:34px;
}

/* FAQ */
.faq-grid{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:40px;
}

.faq-list{
  display:grid;
  gap:12px;
}

.faq-list details{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  padding:0 20px;
  box-shadow:0 8px 24px rgba(7,20,38,.05);
}

.faq-list summary{
  padding:18px 0;
  font-weight:950;
  cursor:pointer;
  color:var(--ink);
}

.faq-list p{
  padding-bottom:18px;
  margin:0;
}

/* Contact */
.contact-section{
  background:
    radial-gradient(circle at 15% 0,rgba(28,140,255,.18),transparent 35%),
    linear-gradient(135deg,var(--bg),#0d2746);
  color:#fff;
}

.contact-section h2{
  color:#fff;
}

.contact-section p{
  color:#b7c8d9;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr .86fr;
  gap:48px;
  align-items:start;
}

.contact-methods{
  display:grid;
  gap:10px;
  margin-top:24px;
}

.contact-methods a{
  display:inline-flex;
  color:#fff;
  font-weight:900;
}

.contact-section .lead-form{
  background:#fff;
  border-color:rgba(255,255,255,.22);
  box-shadow:0 30px 70px rgba(0,0,0,.24);
  padding:26px;
}

.contact-section .lead-form label{
  color:#26384f;
  font-weight:900;
}

.contact-section .lead-form input,
.contact-section .lead-form textarea,
.contact-section .lead-form select{
  background:#f7fbff;
  border:1px solid #d9e5f0;
  color:#0b1727;
  min-height:48px;
}

.contact-section .lead-form input::placeholder,
.contact-section .lead-form textarea::placeholder{
  color:#8394a8;
}

.contact-section .lead-form .mini-note{
  color:#6d7e92;
}

.contact-section .lead-form textarea{
  resize:vertical;
  min-height:120px;
}

.lead-form option{
  color:#111;
}

/* Inner pages */
.page-hero{
  padding:80px 0 92px;
  background:
    radial-gradient(circle at 15% 12%,rgba(28,140,255,.19),transparent 36%),
    linear-gradient(180deg,#f8fbff,#fff);
}

.page-hero-grid{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:52px;
  align-items:center;
}

.page-hero h1{
  max-width:820px;
}

.sector-panel{
  padding:28px;
  overflow:hidden;
}

.sector-panel .workflow-img{
  margin:-6px 0 18px;
}

.sector-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0;
}

.sector-list span{
  display:inline-flex;
  padding:8px 11px;
  border-radius:999px;
  background:#eef7ff;
  color:#164064;
  font-weight:850;
  font-size:13px;
}

.agent-card{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--bg),var(--bg2));
  color:#fff;
}

.agent-card small{
  display:block;
  color:#9cb4cd;
  margin-bottom:6px;
}

.agent-card strong{
  color:#fff;
}

.split-premium{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:48px;
  align-items:center;
}

.workflow-card{
  padding:26px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
  display:grid;
  gap:14px;
}

.workflow-card div{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:14px;
  align-items:center;
}

.workflow-card strong{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(28,140,255,.23);
  color:#9bd0ff;
}

.workflow-card span{
  color:#e5f0fa;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.feature-card{
  padding:26px;
}

.feature-card p{
  margin:0;
}

/* Footer */
.site-footer{
  background:#050d18;
  color:#fff;
  padding:54px 0 22px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .7fr .7fr;
  gap:40px;
  padding-bottom:34px;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-grid p{
  color:#9eb0c3;
}

.footer-grid div{
  display:grid;
  align-content:start;
  gap:10px;
}

.footer-grid a{
  color:#c8d8e8;
}

.footer-grid a:hover{
  color:#fff;
}

.footer-brand .brand-name{
  color:#fff;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding-top:20px;
  color:#8da1b8;
}

.footer-bottom button{
  background:transparent;
  border:0;
  color:#c7d7e6;
  font-weight:900;
}

/* Animation */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.delay-1{
  transition-delay:.1s;
}

.delay-2{
  transition-delay:.18s;
}

.delay-3{
  transition-delay:.26s;
}

/* Prevent bilingual spans from breaking design */
.assurance-row .en,
.assurance-row .ar,
.blueprint-step .en,
.blueprint-step .ar,
.system-stack .en,
.system-stack .ar,
.command-metrics .en,
.command-metrics .ar,
.sector-list .en,
.sector-list .ar{
  width:auto;
  height:auto;
  border-radius:0;
  padding:0;
  margin:0;
  background:transparent;
  box-shadow:none;
  border:0;
  color:inherit;
  font-size:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
  text-transform:none;
  place-items:initial;
}

/* Tablet */
@media (max-width:1050px){
  .nav-links{
    display:none;
  }

  .mobile-menu{
    display:flex;
  }

  .hero-grid,
  .page-hero-grid,
  .roi-grid,
  .demo-grid,
  .contact-grid,
  .faq-grid,
  .safe-card,
  .split-premium{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:54px;
  }

  .hero-grid{
    gap:44px;
  }

  .hero-copy h1{
    max-width:760px;
    font-size:clamp(42px,8vw,64px);
  }

  .hero-sub{
    max-width:720px;
  }

  .command-card{
    max-width:680px;
  }

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

  .industry-grid,
  .pricing-grid{
    grid-template-columns:1fr;
  }

  .price-card.popular{
    transform:none;
  }

  .command-body{
    grid-template-columns:1fr;
  }

  .phone-mock{
    min-height:auto;
  }

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

  .workflow-visual-grid{
    grid-template-columns:1fr 1fr;
  }

  .workflow-visual-card.featured{
    grid-row:auto;
    grid-column:span 2;
  }

  .blueprint-step{
    min-height:auto;
  }
}

/* Mobile */
@media (max-width:680px){
  .container{
    width:min(100% - 28px,var(--container));
  }

  .premium-section,
  .page-hero{
    padding:64px 0;
  }

  .hero{
    padding:34px 0 50px;
  }

  .nav-wrap{
    min-height:70px;
  }

  .mobile-panel{
    top:70px;
  }

  .nav-actions .btn{
    display:none;
  }

  .brand-name{
    font-size:20px;
  }

  .brand-symbol{
    width:42px;
    height:42px;
    border-radius:15px;
  }

  .hero-grid{
    gap:34px;
  }

  .hero-copy h1{
    font-size:40px !important;
    line-height:1.05 !important;
    letter-spacing:-.045em !important;
    max-width:100%;
  }

  h2{
    font-size:31px;
  }

  .hero-sub{
    font-size:16px;
    line-height:1.55;
  }

  .eyebrow{
    font-size:11px;
    letter-spacing:.08em;
    margin-bottom:16px;
  }

  html[dir="ltr"] .desktop-copy.en,
  html[dir="rtl"] .desktop-copy.ar{
    display:none !important;
  }

  html[dir="ltr"] .mobile-copy.en,
  html[dir="rtl"] .mobile-copy.ar{
    display:inline !important;
  }

  .hero-actions{
    display:grid;
    gap:10px;
  }

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

  .assurance-row,
  .risk-grid,
  .blueprint,
  .process-grid,
  .feature-grid,
  .pricing-grid,
  .command-metrics,
  .check-list.compact,
  .system-stack{
    grid-template-columns:1fr;
  }

  .assurance-row{
    gap:10px;
  }

  .logo-strip-inner{
    justify-content:flex-start;
  }

  .command-card{
    border-radius:24px;
    padding:14px;
  }

  .command-top strong{
    font-size:14px;
  }

  .phone-mock{
    border-width:7px;
    border-radius:26px;
  }

  .pipeline-step{
    grid-template-columns:38px 1fr;
  }

  .pipeline-step > span{
    width:38px;
    height:38px;
  }

  .popular-badge{
    position:static;
    display:inline-flex;
    margin-bottom:10px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    display:grid;
  }

  .workflow-card div{
    grid-template-columns:44px 1fr;
  }

  .workflow-card strong{
    width:44px;
    height:44px;
  }

  .safe-card{
    padding:24px;
  }

  .roi-result strong{
    font-size:36px;
  }

  .workflow-visual-grid{
    grid-template-columns:1fr;
  }

  .workflow-visual-card.featured{
    grid-column:auto;
  }

  .workflow-visual-card img,
  .workflow-visual-card.featured img{
    aspect-ratio:4/3;
  }

  .blueprint-step p{
    font-size:14px;
  }

  .contact-section .lead-form{
    padding:20px;
  }
}

/* Small mobile */
@media (max-width:420px){
  .container{
    width:min(100% - 24px,var(--container));
  }

  .hero{
    padding-top:28px;
  }

  .hero-copy h1{
    font-size:36px !important;
    line-height:1.06 !important;
  }

  .hero-sub{
    font-size:15.5px;
  }

  .btn{
    padding-left:18px;
    padding-right:18px;
  }

  .command-card{
    padding:12px;
  }
}
/* ===== FIX: phone chat bubble text issue ===== */

/* Prevent accidental blue text selection look inside the mockup */
.hero-visual,
.command-card,
.phone-mock{
  user-select: none;
  -webkit-user-select: none;
}

/* Style only the outer bubble, not every nested language span */
.chat-row > span{
  display: inline-block !important;
  max-width: 92%;
  padding: 10px 12px !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Inbound bubble */
.chat-row.inbound > span{
  background: #ffffff !important;
  color: #1b2b41 !important;
}

/* Outbound bubble */
.chat-row.outbound > span{
  background: #dcfff6 !important;
  color: #074a3c !important;
}

/* Reset nested English/Arabic spans inside chat bubbles */
.chat-row .en,
.chat-row .ar{
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* Keep language switching correct inside chat bubbles */
html[dir="ltr"] .chat-row .en{
  display: inline !important;
}

html[dir="ltr"] .chat-row .ar{
  display: none !important;
}

html[dir="rtl"] .chat-row .en{
  display: none !important;
}

html[dir="rtl"] .chat-row .ar{
  display: inline !important;
}

/* Better spacing inside the phone */
.phone-mock{
  padding-top: 22px !important;
}

.phone-mock .chat-row:first-of-type{
  margin-top: 20px !important;
}