@font-face {
  font-family: 'Rubik';
  src: url('/fonts/Rubik-VariableFont_wght.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik';
  src: url('/fonts/Rubik-Italic-VariableFont_wght.woff2') format('woff2');
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #002f49;
  --navy-deep: #001f31;
  --blue: #669bbb;
  --blue-dark: #4f88a9;
  --blue-soft: #e8f2f6;
  --ink: #153044;
  --muted: #617b8b;
  --line: #dbe7ec;
  --surface: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 47, 73, 0.15);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 4%, rgba(102, 155, 187, 0.13), transparent 25rem),
    linear-gradient(180deg, #fbfdfe 0, #fff 42rem);
  font-family: 'Rubik', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }

.en { display: none !important; }
html[lang='en'] .ar { display: none !important; }
html[lang='en'] .en { display: initial !important; }

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(207, 222, 230, 0.75);
  position: relative;
  z-index: 20;
  direction: ltr;
}

html[dir='rtl'] .site-header { flex-direction: row-reverse; }
html[dir='rtl'] .main-nav,
html[dir='rtl'] .header-actions { direction: rtl; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  flex-shrink: 0;
}

.brand-mark { width: 34px; height: 34px; }

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  direction: ltr;
  letter-spacing: -0.035em;
  font-size: 20px;
}

.brand-name strong { color: var(--navy); font-weight: 760; }
.brand-name span { color: var(--blue); font-weight: 560; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  color: var(--muted);
}

.main-nav a { transition: color 160ms ease; }
.main-nav a:hover { color: var(--navy); }

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

.language-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.language-button:hover { background: var(--blue-soft); border-color: #bfd5df; transform: translateY(-1px); }
.language-button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.language-button span { font-size: 11px; font-weight: 650; }

.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 590;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
html[dir='rtl'] .button svg { transform: scaleX(-1); }

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 11px;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
}

.button-small:hover { box-shadow: 0 10px 24px rgba(0, 47, 73, 0.18); }

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 13px 26px rgba(0, 47, 73, 0.18);
}

.button-primary:hover { background: #003b5b; box-shadow: 0 17px 32px rgba(0, 47, 73, 0.22); }

.button-ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.button-ghost:hover { border-color: #b8d0dc; background: #fff; }

.hero {
  min-height: 690px;
  padding: 92px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(600px, 1.18fr);
  align-items: center;
  gap: 58px;
}

.hero-copy { position: relative; z-index: 3; }

.eyebrow,
.section-kicker {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(102, 155, 187, 0.12); }

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 5vw, 73px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 680;
}

.hero h1 em { color: var(--blue); font-style: normal; font-weight: 560; }

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 390;
}

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 11px; }

.provider-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #8a9ea9;
  direction: ltr;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.provider-row i { width: 3px; height: 3px; border-radius: 50%; background: #b8c8cf; }

.product-stage { position: relative; min-width: 0; direction: ltr; }

.glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { width: 420px; height: 420px; inset: -70px auto auto -25px; background: rgba(102, 155, 187, 0.14); }
.glow-two { width: 230px; height: 230px; inset: auto -25px -80px auto; background: rgba(0, 47, 73, 0.09); }

.app-window {
  width: 760px;
  max-width: 100%;
  height: 485px;
  position: relative;
  border: 1px solid #d5e3e9;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, 0.45);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}

html[dir='rtl'] .app-window { transform: perspective(1400px) rotateY(3deg) rotateX(1deg); }

.window-bar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1eaee;
  background: #fff;
}

.window-brand { display: flex; align-items: center; gap: 7px; color: var(--navy); font-size: 12px; font-weight: 750; }
.window-brand svg { width: 21px; height: 21px; }
.window-brand b { color: var(--blue); font-weight: 600; }
.window-controls { display: flex; gap: 6px; }
.window-controls span { width: 7px; height: 7px; border-radius: 50%; background: #d5e1e6; }
.window-controls span:nth-child(2) { background: #aec9d6; }
.window-controls span:nth-child(3) { background: var(--blue); }

.mail-layout { height: calc(100% - 48px); display: grid; grid-template-columns: 172px 228px 1fr; background: #f3f7f9; }

.mail-sidebar { padding: 14px 10px; border-right: 1px solid #e0eaee; background: #fff; overflow: hidden; }

.compose-preview {
  width: 100%;
  height: 35px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-dark);
  color: white;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  cursor: default;
}
.compose-preview svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.nav-preview {
  min-height: 31px;
  margin-top: 4px;
  padding: 0 7px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #50697a;
  font-size: 9px;
  white-space: nowrap;
}

.nav-preview.active { margin-top: 12px; background: #e8f1f5; color: var(--navy); }
.nav-preview b { margin-left: auto; min-width: 20px; border-radius: 9px; padding: 2px 5px; color: #fff; background: var(--blue-dark); text-align: center; font-size: 8px; }
.nav-icon, .stack-icon { width: 13px; text-align: center; color: var(--blue-dark); }
.domain-dot { width: 7px; height: 7px; border: 1.5px solid var(--blue-dark); border-radius: 50%; }
.preview-label { margin: 14px 7px 4px; color: #9aabb4; font-size: 7px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }

.message-list-preview { border-right: 1px solid #e0eaee; background: #f9fbfc; overflow: hidden; }
.search-preview { height: 44px; margin: 10px; border: 1px solid #dce7ec; border-radius: 8px; background: #fff; color: #a0afb7; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 8px; }

.message-preview { height: 77px; padding: 13px 10px; border-bottom: 1px solid #e8eff2; display: grid; grid-template-columns: 29px 1fr auto; align-items: start; gap: 8px; color: #617686; position: relative; }
.message-preview.selected { background: #e8f1f5; box-shadow: inset 3px 0 var(--blue-dark); color: var(--navy); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 650; }
.avatar.cyan { background: #4f91b3; }.avatar.navy { background: #164f6b; }.avatar.teal { background: #3a9b9a; }.avatar.sky { background: #62a8cc; }
.message-preview strong { display: block; font-size: 9px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.message-preview p { margin: 5px 0 0; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #8295a1; }
.message-preview time { font-size: 7px; color: #91a1aa; white-space: nowrap; }

.message-pane-preview { padding: 13px; min-width: 0; }
.message-toolbar { height: 26px; display: flex; justify-content: flex-end; gap: 8px; color: #8298a5; font-size: 10px; }
.open-message { background: #fff; border: 1px solid #dde8ed; border-radius: 11px; padding: 18px; box-shadow: 0 8px 22px rgba(0, 47, 73, .06); }
.open-message-heading { display: flex; align-items: center; gap: 9px; }
.open-message-heading strong { display: block; color: var(--navy); font-size: 10px; }
.open-message-heading small { display: block; margin-top: 2px; color: #91a2ab; font-size: 7px; }
.open-message h3 { margin: 24px 0 10px; color: var(--navy); font-size: 14px; line-height: 1.5; }
.open-message p { margin: 0; color: #647e8d; font-size: 9px; line-height: 1.8; }
.message-card-line { height: 5px; width: 94%; border-radius: 4px; background: #e5edf1; margin-top: 22px; }
.message-card-line.short { width: 63%; margin-top: 8px; }

.trust-strip {
  min-height: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.trust-strip > div { padding: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; border-inline-end: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.trust-strip > div:last-child { border-inline-end: 0; }
.trust-strip strong { color: var(--blue); font-size: 11px; letter-spacing: .08em; }

.features { padding-block: 130px; }
.section-heading { max-width: 700px; margin-inline: auto; text-align: center; }
.section-heading h2, .final-cta h2 { margin: 14px 0 0; color: var(--navy); font-size: clamp(34px, 4vw, 51px); line-height: 1.17; letter-spacing: -.045em; font-weight: 650; }
.section-heading p { margin: 18px auto 0; max-width: 590px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.feature-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 265px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #fff, #f7fafb); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #bed3dd; box-shadow: 0 20px 45px rgba(0, 47, 73, .08); }
.feature-wide { grid-column: 1 / -1; min-height: 310px; padding-inline-end: 42%; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; background: linear-gradient(110deg, #fff 0%, #f5fafc 66%, #e8f3f7 100%); }
.feature-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--navy); background: var(--blue-soft); border: 1px solid #d5e7ee; margin-bottom: 28px; }
.feature-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 0; color: var(--navy); font-size: 22px; letter-spacing: -.025em; font-weight: 620; }
.feature-card p { max-width: 510px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.account-orbit { position: absolute; inset-inline-end: 8%; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); border: 1px dashed rgba(102,155,187,.45); border-radius: 50%; }
.orbit-center, .orbit-item { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 18px; box-shadow: 0 13px 30px rgba(0,47,73,.13); }
.orbit-center { width: 74px; height: 74px; left: 73px; top: 73px; color: #fff; background: var(--navy); font-size: 30px; font-weight: 600; }
.orbit-item { width: 48px; height: 48px; color: var(--navy); background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 650; }
.orbit-item.one { left: -8px; top: 87px; }.orbit-item.two { right: 14px; top: 2px; }.orbit-item.three { right: 0; bottom: 13px; }

.workflow-section { color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.workflow-section::before { content: ''; position: absolute; width: 580px; height: 580px; border: 1px solid rgba(102,155,187,.2); border-radius: 50%; inset: -310px -120px auto auto; box-shadow: 0 0 0 95px rgba(102,155,187,.035), 0 0 0 190px rgba(102,155,187,.025); }
.workflow-inner { padding-block: 120px; position: relative; z-index: 1; }
.section-heading.light h2 { color: #fff; }.section-heading.light .section-kicker { color: #8dc0db; }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden; }
.step { min-height: 245px; padding: 34px; border-inline-end: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.step:last-child { border-inline-end: 0; }
.step-number { color: #8dc0db; font-size: 12px; letter-spacing: .1em; }
.step h3 { margin: 46px 0 12px; color: #fff; font-size: 21px; font-weight: 580; }
.step p { margin: 0; color: #afc3ce; font-size: 13px; line-height: 1.8; }

.final-cta { margin-block: 120px; min-height: 270px; padding: 52px 58px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 30px; border: 1px solid #d4e3e9; border-radius: 26px; background: linear-gradient(120deg, #f5fafc, #e8f3f7); position: relative; overflow: hidden; }
.final-cta::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; inset: -150px auto auto 24%; background: rgba(102,155,187,.12); }
.cta-mark { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 17px; color: #fff; background: var(--navy); font-size: 21px; }
.final-cta h2 { font-size: clamp(29px, 3vw, 42px); }
.final-cta p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.final-cta > * { position: relative; z-index: 1; }

.site-footer { min-height: 120px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: #8095a1; font-size: 12px; }
.footer-brand { justify-self: start; }.footer-brand .brand-mark { width: 27px; }.footer-brand .brand-name { font-size: 16px; }
.site-footer p { margin: 0; text-align: center; }.copyright { justify-self: end; direction: ltr; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-delay { transition-delay: 120ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; gap: 64px; }
  .hero-copy { max-width: 760px; margin-inline: auto; text-align: center; }
  .eyebrow, .hero-actions, .provider-row { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .product-stage { width: min(820px, 100%); margin-inline: auto; }
  .app-window { margin-inline: auto; transform: none !important; }
}

@media (max-width: 800px) {
  .section-shell, .site-header { width: min(100% - 28px, 1180px); }
  .main-nav { display: none; }
  .site-header { height: 72px; }
  .hero { min-height: auto; padding: 64px 0 70px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-lead { font-size: 16px; }
  .mail-layout { grid-template-columns: 150px 1fr; }
  .message-pane-preview { display: none; }
  .app-window { height: 430px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(2) { border-inline-end: 0; }
  .trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .features { padding-block: 90px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; padding-inline-end: 32px; padding-bottom: 270px; }
  .account-orbit { top: auto; bottom: 20px; inset-inline-end: 50%; transform: translateX(50%) scale(.82); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 180px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .step:last-child { border-bottom: 0; }
  .step h3 { margin-top: 28px; }
  .workflow-inner { padding-block: 90px; }
  .final-cta { margin-block: 80px; padding: 40px 30px; grid-template-columns: 1fr; text-align: center; }
  .cta-mark { margin-inline: auto; }
  .final-cta .button { justify-self: center; }
  .site-footer { padding-block: 28px; grid-template-columns: 1fr; justify-items: center; }
  .footer-brand, .copyright { justify-self: center; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 17px; }
  .brand-mark { width: 31px; height: 31px; }
  .button-small { display: none; }
  .hero { padding-top: 50px; gap: 48px; }
  .hero h1 { font-size: 40px; letter-spacing: -0.045em; }
  .hero-lead { overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .provider-row { gap: 7px; }
  .app-window { height: 390px; border-radius: 14px; }
  .window-bar { height: 43px; }
  .mail-layout { height: calc(100% - 43px); grid-template-columns: 115px 1fr; }
  .mail-sidebar { padding-inline: 7px; }
  .compose-preview { justify-content: center; padding: 0; }
  .compose-preview span { display: none !important; }
  .nav-preview { padding-inline: 4px; gap: 5px; }
  .nav-preview b { min-width: 18px; padding-inline: 4px; }
  .search-preview { margin: 7px; }
  .trust-strip > div { padding: 21px 10px; flex-direction: column; gap: 5px; font-size: 11px; }
  .features { padding-block: 76px; }
  .section-heading h2 { font-size: 34px; }
  .feature-card { padding: 26px; min-height: 245px; }
  .feature-wide { padding-bottom: 250px; }
  .final-cta { border-radius: 20px; }
}
