:root {
  --ink: #101820;
  --ink-soft: #3d4a57;
  --paper: #f3f5f8;
  --paper-2: #e8edf3;
  --accent: #ff8c00;
  --accent-deep: #e06a00;
  --line: rgba(16, 24, 32, 0.12);
  --font: "Rubik", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(255, 140, 0, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 40%, rgba(16, 24, 32, 0.06), transparent 50%),
    linear-gradient(180deg, #f7f8fb 0%, var(--paper) 40%, #eef1f6 100%);
  direction: rtl;
  overflow-x: hidden;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { inset-inline-start: 12px; }

/* —— Audience switch (business ↔ personal) —— */
.audience-bar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 45;
  display: flex;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(16, 24, 32, 0.92);
  backdrop-filter: blur(8px);
}

.audience-switch {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.audience-switch:hover {
  color: #ffd9a0;
  border-bottom-color: #ffd9a0;
}

.audience-personal .audience-bar {
  background: rgba(20, 55, 48, 0.94);
}
.audience-personal .audience-switch:hover {
  color: #b8f0d8;
  border-bottom-color: #b8f0d8;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 40px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(243, 245, 248, 0.92), rgba(243, 245, 248, 0.55) 70%, transparent);
  backdrop-filter: blur(10px);
}

.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

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

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  color: var(--ink-soft);
}

.nav-cta {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding:
    calc(128px + env(safe-area-inset-top, 0px))
    clamp(18px, 4vw, 48px)
    calc(72px + env(safe-area-inset-bottom, 0px));
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #1a222c;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.04);
}

.motion-on .hero-media img {
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.25) 0%, rgba(10, 14, 20, 0.15) 35%, rgba(10, 14, 20, 0.78) 100%),
    linear-gradient(270deg, rgba(255, 140, 0, 0.18), transparent 42%);
}

.hero-copy {
  width: min(720px, 100%);
}

.brand-mark {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
}

.hero-scroll-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-scroll:hover .hero-scroll-circle,
.hero-scroll:focus-visible .hero-scroll-circle {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(2px);
}

.motion-on .hero-scroll-circle {
  animation: scrollHint 1.8s var(--ease) infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-circle { animation: none !important; }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #111;
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: #ff9f2a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.motion-on .hero-copy {
  animation: riseIn 0.9s var(--ease) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.section {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 18ch;
}

.section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 42ch;
}

.motion-on .section,
.motion-on .steps li {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.motion-on .section.in,
.motion-on .steps li.in {
  opacity: 1;
  transform: translateY(0);
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  grid-row: 1 / span 2;
  align-self: start;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  padding-top: 2px;
}

.steps strong {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps li > span:last-child {
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.section-trust {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 48px);
  background:
    linear-gradient(135deg, #121a24 0%, #1c2836 55%, #243142 100%);
  color: #fff;
}

.section-trust .section-kicker { color: #ffb04a; }
.section-trust h2 { color: #fff; max-width: 16ch; }
.section-trust p { color: rgba(255, 255, 255, 0.78); }

.trust-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: clamp(64px, 10vw, 112px) 0;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.trust-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.trust-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.section-close {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.section-close h2 {
  max-width: 14ch;
  text-align: center;
}

.section-close p {
  text-align: center;
}

.section-close .btn-primary {
  margin-top: 8px;
  color: #111;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-foot a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-foot a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .steps li {
    grid-template-columns: 56px 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    align-items: end;
    min-height: 92svh;
  }
  .hero h1 { max-width: none; }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .hero-cta { width: 100%; }
  .nav-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-on .hero-media img { animation: none; }
  .motion-on .hero-copy { animation: none; }
  html { scroll-behavior: auto; }
}

/* —— Personal audience theme —— */
.audience-personal {
  --accent: #3d9b7a;
  --accent-deep: #2f6f5e;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(61, 155, 122, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 40%, rgba(16, 24, 32, 0.05), transparent 50%),
    linear-gradient(180deg, #f4f8f6 0%, #eef4f1 40%, #e8eee9 100%);
}

.audience-personal .nav-cta {
  background: var(--accent-deep);
}
.audience-personal .nav-cta:hover {
  background: #245548;
}

.audience-personal .hero-veil {
  background:
    linear-gradient(180deg, rgba(12, 28, 24, 0.28) 0%, rgba(12, 28, 24, 0.12) 35%, rgba(10, 26, 22, 0.8) 100%),
    linear-gradient(270deg, rgba(61, 155, 122, 0.22), transparent 45%);
}

.audience-personal .hero-media img {
  object-position: 50% 45%;
}

.audience-personal .section-trust {
  background:
    linear-gradient(135deg, #14362f 0%, #1c4a3f 55%, #245a4c 100%);
}

.audience-personal .section-trust .section-kicker {
  color: #8fd9b8;
}

.audience-personal .btn-primary {
  background: var(--accent);
  color: #0b1a15;
}
.audience-personal .btn-primary:hover {
  background: #4aad8a;
}
