/* Yebrax SMS Relay — Public UI V8.1
   Cohesion pass: full-width navigation, balanced hero, unified visual rhythm.
   Presentation only. No SMS/Central/payment/runtime behavior is changed. */
:root{
  --sms81-ink:#0b1729;
  --sms81-ink-2:#162640;
  --sms81-muted:#64748b;
  --sms81-muted-2:#91a0b3;
  --sms81-line:#e4eaf1;
  --sms81-line-strong:#d9e1eb;
  --sms81-soft:#f7f9fc;
  --sms81-blue:#2563eb;
  --sms81-blue-dark:#174fb8;
  --sms81-navy:#0b1b31;
  --sms81-green:#159a70;
  --sms81-container:1280px;
}

/* --------------------------------------------------------------------------
   Full-width public header
   -------------------------------------------------------------------------- */
.sms-public-v81 .sms-topbar{
  position:sticky!important;
  top:0!important;
  z-index:90!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:78px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(11,23,41,.08)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 1px 0 rgba(11,23,41,.02)!important;
  backdrop-filter:blur(18px)!important;
}
.sms-public-v81 .sms-topbar-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  width:min(var(--sms81-container),calc(100% - 64px));
  min-height:78px;
  margin:0 auto;
}
.sms-public-v81 .sms-topbar-brand{flex:none;min-width:0}
.sms-public-v81 .sms-topbar-brand .brand-logo{height:42px!important;width:auto;max-width:182px!important}
.sms-public-v81 .sms-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex:1;
  min-width:0;
  gap:28px!important;
}
.sms-public-v81 .sms-nav-links{display:flex;align-items:center;gap:8px!important}
.sms-public-v81 .sms-nav a.sms-nav-link{
  min-height:42px;
  padding:10px 13px!important;
  border:0!important;
  border-radius:9px!important;
  color:#4f6078!important;
  font-size:13px!important;
  font-weight:800!important;
}
.sms-public-v81 .sms-nav a.sms-nav-link:hover,
.sms-public-v81 .sms-nav a.sms-nav-link.active{background:#f3f6fa!important;color:var(--sms81-blue-dark)!important}
.sms-public-v81 .sms-topbar-actions{display:flex;align-items:center;gap:8px!important;flex:none}
.sms-public-v81 .sms-topbar-actions .sms-btn,
.sms-public-v81 .lang-menu summary.btn{
  min-height:42px!important;
  padding:9px 15px!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:850!important;
  box-shadow:none!important;
}
.sms-public-v81 .sms-topbar-actions .sms-btn.ghost,
.sms-public-v81 .lang-menu summary.btn{background:#fff!important;border:1px solid var(--sms81-line)!important;color:#25364f!important}
.sms-public-v81 .sms-btn.primary{background:var(--sms81-navy)!important;border-color:var(--sms81-navy)!important;color:#fff!important}
.sms-public-v81 .sms-nav-toggle{margin-inline-start:auto}

/* --------------------------------------------------------------------------
   Landing canvas and hero
   -------------------------------------------------------------------------- */
.sms-home-v81{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 0 112px!important;
  overflow:hidden;
}
.sms-home-v81>.sms7-hero,
.sms-home-v81>.sms7-strip,
.sms-home-v81>.sms7-section,
.sms-home-v81>.sms7-final{
  width:min(var(--sms81-container),calc(100% - 64px));
  margin-inline:auto;
}
.sms-home-v81 .sms7-hero{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,.96fr) minmax(520px,1.04fr)!important;
  align-items:center!important;
  gap:76px!important;
  min-height:610px!important;
  padding:82px 0 64px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:visible!important;
}
.sms-home-v81 .sms7-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:40px;
  inset-inline-start:-150px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.095),rgba(37,99,235,0) 69%);
  pointer-events:none;
}
.sms-home-v81 .sms7-hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset-inline-end:-180px;
  bottom:10px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(21,154,112,.05),rgba(21,154,112,0) 72%);
  pointer-events:none;
}
.sms-home-v81 .sms7-hero-copy{max-width:610px!important;padding:0!important}
.sms-home-v81 .sms7-kicker{
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  color:#245fc9!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
}
.sms-home-v81 .sms7-kicker span{width:7px;height:7px;background:#2f6fed!important;box-shadow:0 0 0 5px rgba(47,111,237,.08)!important}
.sms-home-v81 .sms7-hero h1{
  max-width:620px!important;
  margin:18px 0 18px!important;
  color:#0b1525!important;
  font-size:clamp(47px,4.4vw,64px)!important;
  line-height:1.1!important;
  letter-spacing:-.04em!important;
  font-weight:900!important;
  text-wrap:balance;
}
[dir="rtl"] .sms-home-v81 .sms7-hero h1{line-height:1.24!important;letter-spacing:0!important}
.sms-home-v81 .sms7-hero p{
  max-width:590px!important;
  margin:0!important;
  color:#64748b!important;
  font-size:17px!important;
  line-height:1.95!important;
  text-wrap:pretty;
}
.sms-home-v81 .sms7-hero-actions{display:flex!important;gap:10px!important;margin-top:28px!important}
.sms-home-v81 .sms7-btn{min-height:48px!important;padding:11px 19px!important;border-radius:10px!important;font-size:13px!important;font-weight:850!important}
.sms-home-v81 .sms7-btn-primary{background:var(--sms81-navy)!important;box-shadow:0 10px 26px rgba(11,27,49,.14)!important}
.sms-home-v81 .sms7-btn-secondary{background:#fff!important;border-color:var(--sms81-line-strong)!important}
.sms-home-v81 .sms7-hero-meta{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px!important;
  max-width:590px!important;
  margin-top:26px!important;
  padding:0!important;
  border:0!important;
}
.sms-home-v81 .sms7-hero-meta div{
  display:flex!important;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 11px!important;
  border:1px solid #e5eaf0!important;
  border-radius:999px!important;
  background:#fbfcfe!important;
}
.sms-home-v81 .sms7-hero-meta strong{font-size:10px!important;color:#223650!important}
.sms-home-v81 .sms7-hero-meta strong::before{content:"";display:inline-block;width:5px;height:5px;margin-inline-end:6px;border-radius:50%;background:#2d67dd;vertical-align:middle}
.sms-home-v81 .sms7-hero-meta span{margin:0!important;color:#8a98aa!important;font-size:9px!important}

/* Product preview: substantial, but no longer visually heavier than the copy. */
.sms-home-v81 .sms7-product-preview{
  width:100%!important;
  max-width:590px!important;
  justify-self:start!important;
  border:1px solid #1d304b!important;
  border-radius:20px!important;
  background:#0b1728!important;
  box-shadow:0 30px 72px rgba(15,31,54,.17),0 0 0 8px rgba(244,247,251,.8)!important;
}
.sms-home-v81 .sms7-preview-body{min-height:374px!important;grid-template-columns:48px 1fr!important}
.sms-home-v81 .sms7-preview-main{padding:19px!important}
.sms-home-v81 .sms7-preview-stats article{padding:11px 12px!important}
.sms-home-v81 .sms7-preview-flow{padding:13px!important}

/* Unified capability rail instead of detached white cards. */
.sms-home-v81 .sms7-strip{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:0!important;
  margin-top:0!important;
  margin-bottom:104px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.06)!important;
  border-radius:18px!important;
  background:var(--sms81-navy)!important;
  box-shadow:0 18px 45px rgba(11,27,49,.08)!important;
}
.sms-home-v81 .sms7-strip>div{
  position:relative;
  min-height:90px!important;
  padding:22px 24px!important;
  border:0!important;
  border-inline-end:1px solid rgba(255,255,255,.09)!important;
  border-radius:0!important;
  background:transparent!important;
}
.sms-home-v81 .sms7-strip>div:last-child{border-inline-end:0!important}
.sms-home-v81 .sms7-strip>div::before{display:none!important}
.sms-home-v81 .sms7-strip strong{color:#f6f9ff!important;font-size:12px!important;font-weight:850!important}
.sms-home-v81 .sms7-strip span{margin-top:5px!important;color:#92a4bb!important;font-size:10px!important;line-height:1.55!important}
.sms-home-v81 .sms7-strip strong::before{content:"";display:inline-block;width:7px;height:7px;margin-inline-end:8px;border-radius:50%;background:#4c82f2;box-shadow:0 0 0 4px rgba(76,130,242,.11)}

/* --------------------------------------------------------------------------
   Cohesive section rhythm
   -------------------------------------------------------------------------- */
.sms-home-v81 .sms7-section{margin-top:104px!important}
.sms-home-v81 .sms7-section-label{font-size:9px!important;letter-spacing:.11em!important;color:#2860c8!important}
.sms-home-v81 .sms7-section-heading{align-items:flex-end!important;gap:70px!important;margin-bottom:34px!important}
.sms-home-v81 .sms7-section-heading>div{max-width:720px!important}
.sms-home-v81 .sms7-section-heading>p{max-width:450px!important}
.sms-home-v81 .sms7-section-heading h2,
.sms-home-v81 .sms7-section-copy h2,
.sms-home-v81 .sms7-faq-head h2{
  margin-top:10px!important;
  color:#0c1728!important;
  font-size:clamp(34px,3.6vw,50px)!important;
  line-height:1.18!important;
  letter-spacing:-.03em!important;
}
[dir="rtl"] .sms-home-v81 .sms7-section-heading h2,
[dir="rtl"] .sms-home-v81 .sms7-section-copy h2,
[dir="rtl"] .sms-home-v81 .sms7-faq-head h2{line-height:1.34!important;letter-spacing:0!important}
.sms-home-v81 .sms7-section-heading p,
.sms-home-v81 .sms7-section-copy p{color:#6a788c!important;font-size:15px!important;line-height:1.9!important}

.sms-home-v81 .sms7-intro{
  grid-template-columns:minmax(0,.86fr) minmax(540px,1.14fr)!important;
  gap:68px!important;
  padding:52px!important;
  border:1px solid var(--sms81-line)!important;
  border-radius:24px!important;
  background:#f8fafc!important;
}
.sms-home-v81 .sms7-architecture{padding:18px!important;border:0!important;background:#fff!important;box-shadow:inset 0 0 0 1px #e4e9f0!important}
.sms-home-v81 .sms7-architecture article{box-shadow:none!important}
.sms-home-v81 .sms7-feature-grid{gap:16px!important}
.sms-home-v81 .sms7-feature-card{min-height:190px!important;padding:26px!important;border-radius:18px!important;box-shadow:none!important}
.sms-home-v81 .sms7-feature-card.blue{background:#0e1d33!important}
.sms-home-v81 .sms7-feature-card.mint{background:#f1faf7!important}
.sms-home-v81 .sms7-process,
.sms-home-v81 .sms7-dev,
.sms-home-v81 .sms7-app{border-radius:24px!important}
.sms-home-v81 .sms7-final{margin-top:104px!important;border-radius:24px!important}

/* Shared public pages get the same full-width header and calmer content width. */
.sms-public-v81 .sms-site{width:min(1220px,calc(100% - 64px))!important}
.sms-public-v81 .sms-footer-inner{width:min(var(--sms81-container),calc(100% - 64px));margin-inline:auto}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:1180px){
  .sms-public-v81 .sms-topbar-inner,
  .sms-home-v81>.sms7-hero,
  .sms-home-v81>.sms7-strip,
  .sms-home-v81>.sms7-section,
  .sms-home-v81>.sms7-final,
  .sms-public-v81 .sms-footer-inner{width:min(100% - 40px,1040px)}
  .sms-home-v81 .sms7-hero{grid-template-columns:1fr!important;gap:44px!important;min-height:auto!important;padding:64px 0 54px!important}
  .sms-home-v81 .sms7-hero-copy{max-width:780px!important}
  .sms-home-v81 .sms7-hero h1,.sms-home-v81 .sms7-hero p{max-width:760px!important}
  .sms-home-v81 .sms7-product-preview{max-width:720px!important;justify-self:center!important}
  .sms-home-v81 .sms7-intro{grid-template-columns:1fr!important;padding:42px!important}
}
@media(max-width:820px){
  .sms-public-v81 .sms-topbar{min-height:66px!important}
  .sms-public-v81 .sms-topbar-inner{width:calc(100% - 28px);min-height:66px;gap:12px}
  .sms-public-v81 .sms-topbar-brand .brand-logo{height:36px!important;max-width:160px!important}
  .sms-public-v81 .sms-nav-toggle{display:flex!important}
  .sms-public-v81 .sms-nav{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    inset-inline:0!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    padding:10px!important;
    border:1px solid var(--sms81-line)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(11,27,49,.12)!important;
  }
  .sms-public-v81 .sms-topbar.nav-open .sms-nav{display:flex!important}
  .sms-public-v81 .sms-nav-links,.sms-public-v81 .sms-topbar-actions{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:5px!important}
  .sms-public-v81 .sms-nav a.sms-nav-link,.sms-public-v81 .sms-topbar-actions .sms-btn,.sms-public-v81 .lang-menu summary.btn{width:100%!important;justify-content:center!important;text-align:center!important}
  .sms-home-v81>.sms7-hero,.sms-home-v81>.sms7-strip,.sms-home-v81>.sms7-section,.sms-home-v81>.sms7-final,.sms-public-v81 .sms-footer-inner{width:calc(100% - 28px)}
  .sms-home-v81 .sms7-hero{padding:48px 0 42px!important;gap:34px!important}
  .sms-home-v81 .sms7-hero h1{font-size:clamp(38px,8.5vw,52px)!important}
  .sms-home-v81 .sms7-hero p{font-size:16px!important}
  .sms-home-v81 .sms7-strip{grid-template-columns:1fr 1fr!important;margin-bottom:78px!important}
  .sms-home-v81 .sms7-strip>div:nth-child(2){border-inline-end:0!important}
  .sms-home-v81 .sms7-strip>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.09)!important}
  .sms-home-v81 .sms7-section{margin-top:76px!important}
  .sms-home-v81 .sms7-intro{padding:30px!important;gap:32px!important}
  .sms-home-v81 .sms7-section-heading{align-items:flex-start!important;flex-direction:column!important;gap:14px!important}
  .sms-public-v81 .sms-site{width:calc(100% - 28px)!important}
}
@media(max-width:540px){
  .sms-public-v81 .sms-topbar-inner{width:calc(100% - 22px)}
  .sms-home-v81>.sms7-hero,.sms-home-v81>.sms7-strip,.sms-home-v81>.sms7-section,.sms-home-v81>.sms7-final,.sms-public-v81 .sms-footer-inner{width:calc(100% - 22px)}
  .sms-home-v81 .sms7-hero{padding:38px 0 34px!important}
  .sms-home-v81 .sms7-kicker{font-size:8px!important}
  .sms-home-v81 .sms7-hero h1{font-size:clamp(34px,10.4vw,45px)!important}
  .sms-home-v81 .sms7-hero-actions{display:grid!important;grid-template-columns:1fr!important}
  .sms-home-v81 .sms7-btn{width:100%!important}
  .sms-home-v81 .sms7-hero-meta{display:grid!important;grid-template-columns:1fr 1fr!important}
  .sms-home-v81 .sms7-hero-meta div:last-child{grid-column:1/-1}
  .sms-home-v81 .sms7-product-preview{border-radius:16px!important;box-shadow:0 16px 35px rgba(15,31,54,.15),0 0 0 5px rgba(244,247,251,.8)!important}
  .sms-home-v81 .sms7-preview-body{grid-template-columns:1fr!important;min-height:auto!important}
  .sms-home-v81 .sms7-preview-body aside{display:none!important}
  .sms-home-v81 .sms7-preview-stats{grid-template-columns:1fr!important}
  .sms-home-v81 .sms7-flow-track{grid-template-columns:1fr 1fr!important}
  .sms-home-v81 .sms7-preview-footer{grid-template-columns:1fr!important}
  .sms-home-v81 .sms7-strip{grid-template-columns:1fr!important;margin-bottom:64px!important}
  .sms-home-v81 .sms7-strip>div{min-height:auto!important;padding:17px 18px!important;border-inline-end:0!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
  .sms-home-v81 .sms7-strip>div:last-child{border-bottom:0!important}
  .sms-home-v81 .sms7-intro{padding:22px!important;border-radius:18px!important}
  .sms-home-v81 .sms7-section{margin-top:64px!important}
  .sms-public-v81 .sms-site{width:calc(100% - 22px)!important}
}
@media(prefers-reduced-motion:reduce){
  .sms-public-v81 *{scroll-behavior:auto!important}
}
