/* =========================================================
   Aitomat — AI & Automation for Freight Forwarders
   See Further. Work Smarter.   |   EN / HE · LTR / RTL
   ========================================================= */

:root {
  --copper: #c77b3b;
  --copper-2: #e0913f;
  --copper-soft: rgba(199, 123, 59, 0.14);
  --ink: #0b0b0d;
  --ink-2: #121216;
  --ink-3: #18181d;

  --text: #ece9e4;
  --text-dim: #9a978f;

  --line: rgba(255, 255, 255, 0.08);
  --wa: #25d366;

  --grad: linear-gradient(100deg, var(--copper-2), var(--copper));
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --shadow-copper: 0 20px 60px -20px rgba(199, 123, 59, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* Hebrew fonts */
body.lang-he { --font-head: "Rubik", system-ui, sans-serif; --font-body: "Heebo", system-ui, sans-serif; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.container.narrow { max-width: 820px; }

/* ---------- Background ---------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; background: #f7f3ec; border-radius: 10px;
  padding: 4px; box-shadow: inset 0 0 0 1px rgba(199,123,59,.35), 0 2px 10px -4px rgba(0,0,0,.5); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
/* "AI" is set in copper so the wordmark reads "AI·tomate", not "Altomate". */
.brand-ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; padding: 13px 22px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-copper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -18px rgba(199,123,59,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--copper); color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* WhatsApp icon */
.wa-ico { width: 18px; height: 18px; flex: 0 0 auto; background: var(--wa);
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm5.8 14.04c-.24.68-1.42 1.32-1.95 1.36-.5.04-1.13.21-3.8-.79-3.2-1.26-5.24-4.49-5.4-4.7-.16-.21-1.3-1.72-1.3-3.28s.82-2.33 1.11-2.65c.29-.32.63-.4.84-.4.21 0 .42 0 .6.01.19.01.45-.07.7.54.24.61.83 2.11.9 2.26.07.15.12.32.02.53-.1.21-.15.32-.29.49-.15.17-.31.39-.44.52-.15.15-.3.31-.13.61.17.3.76 1.25 1.63 2.03 1.12 1 2.06 1.31 2.36 1.46.3.15.47.13.64-.08.17-.21.74-.86.94-1.16.2-.3.39-.25.66-.15.27.1 1.71.81 2.01.96.3.15.5.22.57.34.07.12.07.71-.17 1.39z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm5.8 14.04c-.24.68-1.42 1.32-1.95 1.36-.5.04-1.13.21-3.8-.79-3.2-1.26-5.24-4.49-5.4-4.7-.16-.21-1.3-1.72-1.3-3.28s.82-2.33 1.11-2.65c.29-.32.63-.4.84-.4.21 0 .42 0 .6.01.19.01.45-.07.7.54.24.61.83 2.11.9 2.26.07.15.12.32.02.53-.1.21-.15.32-.29.49-.15.17-.31.39-.44.52-.15.15-.3.31-.13.61.17.3.76 1.25 1.63 2.03 1.12 1 2.06 1.31 2.36 1.46.3.15.47.13.64-.08.17-.21.74-.86.94-1.16.2-.3.39-.25.66-.15.27.1 1.71.81 2.01.96.3.15.5.22.57.34.07.12.07.71-.17 1.39z'/%3E%3C/svg%3E"); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11,11,13,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.95rem; color: var(--text-dim); transition: color .2s; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav a.btn-primary { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; border: 0; color: var(--text-dim); font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 7px 12px; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button.active { background: var(--grad); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 60px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -10%; inset-inline-start: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(199,123,59,.22), transparent 70%); filter: blur(20px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--copper-2); padding: 7px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--copper-soft); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-2); box-shadow: 0 0 12px var(--copper-2); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; margin: 22px 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--text-dim); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin: 34px 0 24px; flex-wrap: wrap; }
.hero-trust .tagline { font-family: var(--font-head); font-weight: 600; color: var(--text); }

/* Hero visual */
.hero-visual { position: relative; }
.orb { position: absolute; inset: -40px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(199,123,59,.35), transparent 60%); filter: blur(40px); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.panel { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line);
  border-radius: 24px; padding: 26px; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-dim); font-family: var(--font-head); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #36d27a; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(54,210,122,.55)} 70%{box-shadow:0 0 0 12px rgba(54,210,122,0)} 100%{box-shadow:0 0 0 0 rgba(54,210,122,0)} }
.flow { display: flex; align-items: center; gap: 8px; margin: 22px 0; }
.node { flex: 1; text-align: center; padding: 16px 6px; border-radius: 14px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  display: flex; flex-direction: column; gap: 6px; align-items: center; }
.node span { font-size: 1.4rem; }
.node em { font-style: normal; }
.node-ai { background: var(--copper-soft); border-color: rgba(199,123,59,.4); color: var(--copper-2); }
.wire { flex: 0 0 22px; height: 2px; background: linear-gradient(90deg, var(--copper), transparent); position: relative; }
.wire::after { content:""; position:absolute; top:50%; inset-inline-start:0; width:6px; height:6px; border-radius:50%; background: var(--copper-2); transform: translateY(-50%); animation: run 2.2s linear infinite; }
@keyframes run { from{inset-inline-start:0;opacity:0} 10%{opacity:1} 90%{opacity:1} to{inset-inline-start:100%;opacity:0} }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { text-align: center; padding: 14px 4px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.metric b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: #fff; }
.metric small { color: var(--text-dim); font-size: .72rem; }

/* ---------- Marquee ---------- */
.marquee { margin-top: 64px; border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: scroll 34s linear infinite; direction: ltr; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); font-size: 1.05rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-2); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 14px 0 16px; }
.section-head p { color: var(--text-dim); font-size: 1.08rem; }

/* ---------- Problem ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.pain { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .3s var(--ease), border-color .3s; }
.pain:hover { transform: translateY(-4px); border-color: rgba(199,123,59,.35); }
.pain-ico { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 12px; background: var(--copper-soft); border: 1px solid rgba(199,123,59,.3); }
.pain p { color: var(--text); font-size: 1rem; }

/* ---------- How it works (3 steps) ---------- */
.steps3 { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step3 { flex: 1 1 240px; max-width: 320px; text-align: center; padding: 32px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); position: relative; }
.step3-no { position: absolute; top: -16px; inset-inline-start: 50%; transform: translateX(-50%); width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; box-shadow: var(--shadow-copper); }
.step3-ico { width: 62px; height: 62px; margin: 10px auto 16px; display: grid; place-items: center;
  border-radius: 16px; background: var(--copper-soft); border: 1px solid rgba(199,123,59,.3); }
.step3 h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step3 p { color: var(--text-dim); font-size: .96rem; }
.step3-arrow { display: flex; align-items: center; color: var(--copper); font-size: 1.6rem; font-weight: 700; }

.demo { margin-top: 50px; max-width: 880px; margin-inline: auto; text-align: center; }
.demo-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(199,123,59,.12), rgba(0,0,0,.5)); display: grid; place-items: center;
  overflow: hidden; box-shadow: var(--shadow); }
.demo-frame::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .4; }
.demo-play { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-copper); display: grid; place-items: center; transition: transform .25s var(--ease); }
.demo-play span { font-size: 1.6rem; margin-inline-start: 4px; }
.demo-play:hover { transform: scale(1.08); }
.demo-label { position: absolute; bottom: 18px; inset-inline-start: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 600; color: var(--text-dim); font-size: .9rem; }
.demo-caption { margin-top: 16px; color: var(--text-dim); }

/* hero watch link */
.hero-watch { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-family: var(--font-head); font-weight: 600; transition: color .2s; }
.hero-watch:hover { color: var(--copper-2); }
.hw-play { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper-2); font-size: .7rem; padding-inline-start: 2px; }
[dir="rtl"] .hw-play { transform: scaleX(-1); }

/* ---------- Selling videos ---------- */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { display: flex; flex-direction: column; }
.video-card h3 { font-size: 1.1rem; margin: 16px 0 4px; }
.video-card p { color: var(--text-dim); font-size: .92rem; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(199,123,59,.12), rgba(0,0,0,.55)); display: grid; place-items: center; cursor: pointer; }
.video-frame::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .35; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff;
  box-shadow: var(--shadow-copper); display: grid; place-items: center; transition: transform .2s var(--ease); }
.video-play span { font-size: 1.3rem; margin-inline-start: 3px; }
.video-frame:hover .video-play { transform: scale(1.08); }
.video-soon { position: absolute; bottom: 12px; inset-inline-start: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--text-dim); }
[dir="rtl"] .video-play span { margin-inline-start: 0; margin-inline-end: 3px; transform: scaleX(-1); }

/* ---------- ROI stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: .92rem; }

/* ---------- Use cases ---------- */
.uc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.uc-flag { padding: 34px 32px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(199,123,59,.16), rgba(255,255,255,.02));
  border: 1px solid rgba(199,123,59,.35); position: relative; box-shadow: var(--shadow); }
.uc-badge { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: var(--grad); padding: 6px 14px; border-radius: 999px; }
.uc-flag h3 { font-size: 1.6rem; margin: 16px 0 18px; }
.uc-list { display: grid; gap: 12px; }
.uc-list li { position: relative; padding-inline-start: 30px; color: var(--text); }
.uc-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--copper-2); font-weight: 800; }
.uc-more { display: grid; gap: 14px; }
.uc-more-head { margin-bottom: 2px; }
.uc-more-head h3 { font-size: 1.25rem; margin-bottom: 4px; }
.uc-more-head p { color: var(--text-dim); font-size: .95rem; }
.uc-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .3s var(--ease), background .3s; }
.uc-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); }
.uc-card-ico { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; font-size: 1.3rem;
  border-radius: 12px; background: var(--copper-soft); border: 1px solid rgba(199,123,59,.3); }
.uc-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.uc-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 16px; }
.about-copy p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 14px; }
.about-points { display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 1rem; }
.about-points li > span:first-child { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 8px; background: var(--copper-soft); color: var(--copper-2); font-weight: 800; }

/* ---------- Social proof ---------- */
.big-quote { text-align: center; padding: 0 10px; }
.big-quote p { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 500; margin-bottom: 24px; }
.big-quote p::before { content: "“"; color: var(--copper); }
.big-quote p::after { content: "”"; color: var(--copper); }
.big-quote footer { display: flex; flex-direction: column; gap: 2px; }
.big-quote footer b { font-family: var(--font-head); font-size: 1.05rem; }
.big-quote footer span { color: var(--text-dim); font-size: .9rem; }
.proof-note { text-align: center; margin-top: 28px; color: var(--copper-2); font-family: var(--font-head); font-weight: 500; }

/* ---------- Trust / security band ---------- */
.trust { padding: clamp(50px, 7vw, 80px) 0; background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.trust-item { padding: 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.trust-ico { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 12px;
  background: var(--copper-soft); border: 1px solid rgba(199,123,59,.3); margin-bottom: 16px; }
.trust-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.trust-item p { color: var(--text-dim); font-size: .95rem; }

/* ---------- CTA / contact ---------- */
.cta { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at 30% 0%, rgba(199,123,59,.18), transparent 55%); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 16px; }
.cta-copy p { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 22px; }
.cta-points { display: grid; gap: 10px; }
.cta-form { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line);
  border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; margin-bottom: 7px; color: var(--text-dim); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.3); color: var(--text); font-family: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft); }
.field input::placeholder { color: #6c6960; }
/* Honeypot: hidden from humans without creating layout/scroll overflow
   (no -9999px offset — that expanded the RTL document width and pushed
   header/FAB buttons off-screen on mobile). Standard visually-hidden clip. */
.hp-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.cf-slot:empty { display: none; }
.cf-slot { margin: 6px 0 2px; }
.form-or { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: .85rem; margin: 16px 0 4px; }
.form-or::before, .form-or::after { content:""; flex:1; height:1px; background: var(--line); }
.form-note { margin-top: 14px; text-align: center; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-tag { font-family: var(--font-head); font-weight: 600; color: var(--copper-2); margin: 16px 0 8px; }
.footer-desc { color: var(--text-dim); max-width: 340px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-cols h4 { font-size: .95rem; margin-bottom: 14px; color: #fff; }
.footer-cols a { display: block; color: var(--text-dim); padding: 5px 0; font-size: .94rem; transition: color .2s; }
.footer-cols a:hover { color: var(--copper-2); }
.footer-legal-row { display: flex; flex-wrap: wrap; gap: 18px; padding: 18px 0 0; }
.footer-legal-row a { color: var(--text-dim); font-size: .88rem; transition: color .2s; }
.footer-legal-row a:hover { color: var(--copper-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 22px; margin-top: 12px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: .85rem; flex-wrap: wrap; gap: 8px; }

/* ---------- Chatbot ---------- */
.chat-fab { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 200; width: 60px; height: 60px;
  border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff; font-size: 1.6rem;
  box-shadow: var(--shadow-copper); display: grid; place-items: center; transition: transform .25s var(--ease); }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab .ico-close { display: none; }
.chat-fab.open .ico-open { display: none; }
.chat-fab.open .ico-close { display: block; }

.chat-window { position: fixed; bottom: 96px; inset-inline-end: 24px; z-index: 200; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px)); background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.98); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.chat-window.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, rgba(199,123,59,.2), transparent); border-bottom: 1px solid var(--line); }
.chat-head .brand-mark { width: 34px; height: 34px; }
.chat-head .ct { display: flex; flex-direction: column; line-height: 1.2; }
.chat-title { font-family: var(--font-head); font-weight: 700; }
.chat-sub { font-size: .76rem; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.chat-sub::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #36d27a; }
.chat-close { margin-inline-start: auto; background: none; border: 0; color: var(--text-dim); font-size: 1.3rem; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .94rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-bottom-inline-start-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-inline-end-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-quick button { font-family: var(--font-head); font-size: .82rem; padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(199,123,59,.4); background: var(--copper-soft); color: var(--copper-2); cursor: pointer; transition: background .2s, color .2s; }
.chat-quick button:hover { background: var(--grad); color: #fff; }
.chat-foot { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-foot input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font-family: inherit; font-size: .92rem; }
.chat-foot input:focus { outline: none; border-color: var(--copper); }
.chat-foot button { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; font-size: 1.1rem; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; inset-inline-start: 50%; top: -60px; transform: translateX(-50%); z-index: 300;
  background: var(--grad); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; font-family: var(--font-head); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; outline: 2px solid #fff; }

/* ---------- Accessibility widget ---------- */
.a11y-fab { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 200; width: 56px; height: 56px;
  border-radius: 50%; border: 2px solid #fff; cursor: pointer; background: #1457b8; color: #fff; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s var(--ease); }
.a11y-fab:hover, .a11y-fab:focus-visible { transform: scale(1.08); outline: 2px solid var(--copper-2); }
.a11y-panel { position: fixed; bottom: 90px; inset-inline-start: 24px; z-index: 200; width: min(290px, calc(100vw - 32px));
  background: #fff; color: #16161a; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: none; }
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-size: 1.05rem; color: #16161a; margin-bottom: 12px; text-align: center; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { font-family: var(--font-head); font-weight: 500; font-size: .82rem; padding: 10px 8px; border-radius: 10px;
  border: 1px solid #d8d3cb; background: #f5f2ed; color: #16161a; cursor: pointer; transition: background .2s, border-color .2s; text-align: center; }
.a11y-grid button:hover, .a11y-grid button.on { background: #1457b8; color: #fff; border-color: #1457b8; }
.a11y-grid button.full { grid-column: 1 / -1; }
.a11y-reset { background: #fbeae0 !important; color: #b04a1a !important; border-color: #f0c9b0 !important; }
.a11y-link { display: block; text-align: center; margin-top: 10px; font-size: .82rem; color: #1457b8; text-decoration: underline; }

/* Accessibility states (applied to <html>) */
html.a11y-fs1 { font-size: 112.5%; }
html.a11y-fs2 { font-size: 125%; }
html.a11y-fs3 { font-size: 140%; }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .section-alt, html.a11y-contrast .trust, html.a11y-contrast .site-footer,
html.a11y-contrast .site-header.scrolled, html.a11y-contrast .band { background: #000 !important; }
html.a11y-contrast .card, html.a11y-contrast .pain, html.a11y-contrast .stat, html.a11y-contrast .step3,
html.a11y-contrast .uc-card, html.a11y-contrast .uc-flag, html.a11y-contrast .about-points li,
html.a11y-contrast .trust-item, html.a11y-contrast .cta-form, html.a11y-contrast .panel,
html.a11y-contrast .legal-card { background: #000 !important; border-color: #fff !important; }
html.a11y-contrast p, html.a11y-contrast span, html.a11y-contrast li, html.a11y-contrast small,
html.a11y-contrast .hero-sub, html.a11y-contrast .section-head p { color: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4,
html.a11y-contrast .grad, html.a11y-contrast .stat b, html.a11y-contrast .kicker { color: #ffd400 !important; -webkit-text-fill-color: #ffd400 !important; }
html.a11y-contrast a:not(.btn) { color: #4dd2ff !important; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-readable, html.a11y-readable body, html.a11y-readable * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: normal !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1.5' d='M4 2l16 9-7 1.5L9 20z'/%3E%3C/svg%3E") 4 4, auto !important; }
html.a11y-stop *, html.a11y-stop *::before, html.a11y-stop *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 210; max-width: 720px; margin-inline: auto;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
  display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie.show { display: flex; }
body.chat-open .cookie { display: none; }
.cookie p { flex: 1 1 280px; font-size: .9rem; color: var(--text-dim); margin: 0; }
.cookie p a { color: var(--copper-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 130px clamp(20px,5vw,48px) 80px; }
.legal-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-updated { color: var(--text-dim); font-size: .9rem; margin-bottom: 32px; }
.legal-card { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,4vw,40px); }
.legal-card h2 { font-size: 1.3rem; margin: 28px 0 12px; color: var(--copper-2); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.legal-card p, .legal-card li { color: var(--text-dim); margin-bottom: 12px; }
.legal-card ul { list-style: disc; padding-inline-start: 22px; }
.legal-card a { color: var(--copper-2); text-decoration: underline; }
.legal-card .ph { color: var(--copper-2); background: var(--copper-soft); padding: 1px 6px; border-radius: 5px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--text-dim); font-family: var(--font-head); }
.legal-back:hover { color: var(--copper-2); }

/* ---------- 404 ---------- */
.nf-wrap { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.nf-card { max-width: 560px; }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-card h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 10px 0 14px; }
.nf-card p { color: var(--text-dim); margin-bottom: 26px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RTL adjustments ---------- */
[dir="rtl"] .btn .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .step3-arrow { transform: scaleX(-1); }
[dir="rtl"] .demo-play span { margin-inline-start: 0; margin-inline-end: 4px; transform: scaleX(-1); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .cta-inner, .footer-inner, .uc-layout { grid-template-columns: 1fr; }
  /* Lead with the value prop on mobile: copy first, decorative panel below it. */
  .hero-copy { order: 0; }
  .hero-visual { order: 1; max-width: 460px; margin-inline: auto; }
  .pain-grid, .trust-grid, .videos-grid, .uc-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .step3-arrow { display: none; }
}
@media (max-width: 680px) {
  .nav { position: fixed; inset-block-start: 76px; inset-inline: 0; bottom: auto; flex-direction: column; align-items: stretch;
    background: rgba(11,11,13,.97); backdrop-filter: blur(14px); padding: 18px 24px 26px; border-bottom: 1px solid var(--line); gap: 4px;
    transform: translateY(-130%); transition: transform .35s var(--ease); pointer-events: none; }
  .nav.open { transform: none; pointer-events: auto; }
  .nav a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .nav a.btn-primary { margin-top: 10px; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .pain-grid, .trust-grid, .stats-grid, .footer-cols, .videos-grid, .uc-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  /* keep the cookie banner clear of the floating chat / accessibility buttons */
  .cookie { inset-inline: 12px; bottom: 92px; }
}

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

/* ---------- Icon system (custom line icons, brand copper) ---------- */
/* One inline-SVG set replaces every emoji. Stroke + size cascade into the
   <use>-referenced <symbol>; detail paths carry fill="none" so only outlines show. */
.ico { width: 24px; height: 24px; display: inline-block; flex: 0 0 auto;
  fill: none; stroke: var(--copper-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.uc-card-ico .ico, .trust-ico .ico, .pain-ico .ico, .why-ico .ico { width: 26px; height: 26px; }
.step3-ico .ico { width: 30px; height: 30px; }
.node .ico { width: 28px; height: 28px; }

/* ---------- Focus / active / disabled states (a11y + polish) ---------- */
.btn:focus-visible, .nav a:focus-visible, .lang-switch button:focus-visible,
.chat-fab:focus-visible, .chat-quick button:focus-visible, .chat-foot button:focus-visible,
.faq-q:focus-visible, .footer-cols a:focus-visible, .footer-legal-row a:focus-visible,
.video-play:focus-visible, .demo-play:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--copper-2); outline-offset: 3px; }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.chat-fab:active, .video-play:active, .demo-play:active { transform: scale(.96); }

/* ---------- Why AItomate (differentiator band) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255,255,255,.03); transition: transform .3s var(--ease), border-color .3s; }
.why-card:hover { transform: translateY(-4px); border-color: rgba(199,123,59,.35); }
.why-ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: var(--copper-soft); border: 1px solid rgba(199,123,59,.3); margin-bottom: 16px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: var(--text-dim); font-size: .95rem; }

/* ---------- FAQ (objection handling + FAQPage schema) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.03); overflow: hidden; }
.faq-q { width: 100%; text-align: start; background: none; border: 0; color: var(--text); cursor: pointer;
  font: 600 1.05rem/1.4 var(--font-head); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .chev { flex: 0 0 auto; color: var(--copper-2); transition: transform .25s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s var(--ease), opacity .25s; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 360px; opacity: 1; padding-block: 0 20px; }
.faq-a p { color: var(--text-dim); line-height: 1.6; }

@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
