@charset "UTF-8";

/* ────────────────────────────────────────
   FONT
──────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url("fonts/Vazirmatn[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ────────────────────────────────────────
   DESIGN TOKENS
──────────────────────────────────────── */
:root {
  /* Palette */
  --ink:        #111110;
  --ink-2:      #3d3d3a;
  --ink-3:      #78716c;
  --paper:      #F9F8F5;
  --white:      #ffffff;
  --border:     #E8E5DF;
  --border-2:   #D6D3CC;

  /* Brand — Shiraze teal (canonical palette, see claude_design/logo/README.md) */
  --brand:      #0D6E6A;  /* Deep Teal  — primary accent, buttons, CTA   */
  --brand-hi:   #20B7B2;  /* Aqua       — highlights, glows, gradients   */
  --brand-soft: #A7E5E1;  /* Soft Aqua  — decorative only (low contrast) */
  --brand-bg:   #E4F4F2;  /* Teal tint  — chips, soft backgrounds        */
  --emerald:    #059669;
  --emerald-bg: #d1fae5;
  --red:        #dc2626;
  --red-bg:     #fef2f2;

  /* Platform brand colors */
  --doc-color:  #00ADEF;  /* Doctoreto sky blue  */
  --doc-bg:     #E0F6FE;
  --doc-dark:   #0082C4;
  --paz-color:  #6D28D9;  /* Paziresh24 purple   */
  --paz-bg:     #EDE9FE;
  --paz-dark:   #4C1D95;
  --drdr-color: #E11D48;  /* DrDr red            */
  --drdr-bg:    #FFE4E8;
  --drdr-dark:  #9F1239;

  --dark:       #0F0F0E;
  --dark-2:     #1a1917;

  /* Scale */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Layout */
  --nav-h: 74px;
  --max-w: 1280px;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t1: 150ms;
  --t2: 280ms;
  --t3: 480ms;
}

/* ────────────────────────────────────────
   RESET
──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { overflow-x: hidden; line-height: 1.6; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; }

/* ────────────────────────────────────────
   GLOBAL POLISH & A11Y
──────────────────────────────────────── */
::selection { background: rgba(32,183,178,.22); }

:focus-visible {
  outline: 2px solid var(--brand-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Anchored sections must clear the fixed header */
section[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .85rem;
  transition: top var(--t2) var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ────────────────────────────────────────
   LAYOUT UTILITY
──────────────────────────────────────── */
.wrap {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ────────────────────────────────────────
   TYPOGRAPHY UTILITY
──────────────────────────────────────── */
.text-accent {
  font-style: normal;
  color: var(--brand);
}

/* ────────────────────────────────────────
   PLATFORM DOT UTILITY
──────────────────────────────────────── */
.pd-doc  { background: var(--doc-color);  }
.pd-paz  { background: var(--paz-color);  }
.pd-drdr { background: var(--drdr-color); }

/* ────────────────────────────────────────
   CHIP / LABEL
──────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .8rem;
  background: var(--brand-bg);
  color: var(--brand);
  border-radius: 99px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .01em;
  margin-bottom: .9rem;
}

.chip-light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
}

/* ────────────────────────────────────────
   BUTTONS
──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.7rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t2) var(--ease), transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease);
  box-shadow: 0 4px 14px rgba(13,110,106,.32);
}
.btn-primary:hover {
  background: #0A5A57;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,110,106,.22);
}
.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.4rem;
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border);
  transition: all var(--t2) ease;
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Magnetic wrapper */
.magnetic {
  position: relative;
  overflow: hidden;
}
.btn-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.btn-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.45) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%,-50%);
  transition: opacity var(--t1);
  pointer-events: none;
  z-index: 1;
}
.magnetic:hover .btn-glow { opacity: 1; }


/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  z-index: 200;
  transition: background var(--t3) ease, backdrop-filter var(--t3) ease, box-shadow var(--t3) ease;
}
.site-header.scrolled {
  background: rgba(249,248,245,.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.hdr-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--ink);
  flex-shrink: 0;
}

.hdr-nav {
  display: none;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .hdr-nav { display: flex; }
}

.nav-lnk {
  position: relative;
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink-3);
  transition: color var(--t1) ease;
}
.nav-lnk::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t2) var(--ease);
}
.nav-lnk:hover { color: var(--ink); }
.nav-lnk:hover::after { transform: scaleX(1); }

.hdr-cta {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  transition: background var(--t1) ease, transform var(--t1) ease;
}
.hdr-cta:hover {
  background: var(--brand);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 0;
  overflow: hidden;
}
/* Quiet ambient light — gives the paper background depth without stealing attention */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 14% -4%, rgba(32,183,178,.10), transparent 65%),
    radial-gradient(540px 400px at 86% 30%, rgba(5,150,105,.05), transparent 60%);
}

.hero-wrap {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* — Hero Text — */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .9rem .35rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(5,150,105,.2);
}

.hero-h1 { margin-bottom: 1.2rem; }

.h1l {
  display: block;
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.28; /* Persian script needs breathing room — tight leading clips ascenders/descenders */
  letter-spacing: 0;  /* never negative-track connected Persian letterforms */
}
.h1l-a {
  color: var(--ink-3);
  font-weight: 300;
}
.h1l-b { color: var(--ink); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}


/* — Hero Visual (Before → After) — */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
}
/* Small screens: the before→after story reads top-down instead of side-by-side */
@media (max-width: 620px) {
  .hero-visual {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
  }
  .v-before, .v-after { width: 100%; max-width: 330px; }
  .v-arrow svg { transform: rotate(-90deg); }
}

/* Labels */
.v-lbl {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .6rem;
  opacity: .75;
}
.v-lbl-bad  { color: var(--red);     }
.v-lbl-good { color: var(--emerald); }
.vlbl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.vlbl-dot-red   { background: var(--red);     }
.vlbl-dot-green { background: var(--emerald); }

/* Chaos Stack */
.chaos-stack {
  position: relative;
  height: 250px;
}

.cc {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: .8rem;
  width: 170px;
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
  border: 1px solid var(--border);
  overflow: hidden;
}
/* cc-b sits on top of the pile — most populated card, fully readable;
   the other two just peek out behind it. */
.cc-a {
  top: 0; right: 0;
  transform: rotate(-3.5deg) translate(6px, 0);
  z-index: 1;
}
.cc-c {
  top: 46px; right: 26px;
  transform: rotate(2deg);
  z-index: 2;
}
.cc-b {
  top: 98px; right: 8px;
  transform: rotate(-1.5deg);
  z-index: 3;
}

.cc-bar {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.cc-bar-doc  { background: var(--doc-color);  }
.cc-bar-paz  { background: var(--paz-color);  }
.cc-bar-drdr { background: var(--drdr-color); }

.cc-hd {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .76rem;
  margin-top: .15rem;
  margin-bottom: .5rem;
}

.cc-ico {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.cc-ico-doc  { background: var(--doc-bg);  padding: 2px; }
.cc-ico-paz  { background: var(--paz-bg);  padding: 2px; }
.cc-ico-drdr { background: var(--drdr-bg); padding: 2px; }

.cc-appt {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  color: var(--ink-2);
  padding: .25rem .35rem;
  border-radius: var(--r-xs);
  margin-top: .2rem;
}
/* Arrow */
.v-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--ink-3);
  opacity: .55;
  flex-shrink: 0;
}

/* Shirazeh Card */
.shiraze-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid rgba(32,183,178,.18);
  box-shadow: 0 12px 40px rgba(13,110,106,.13), 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
}

.sc-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem .7rem;
  border-bottom: 1px solid var(--border);
}

.sc-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .8rem;
}

.sc-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-bg);
  padding: .18rem .55rem;
  border-radius: 99px;
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0   rgba(5,150,105,.5); }
  70%  { box-shadow: 0 0 0 5px rgba(5,150,105,0);  }
  100% { box-shadow: 0 0 0 0   rgba(5,150,105,0);  }
}

.sc-body { padding: .4rem .4rem; }

.sc-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: .45rem;
  padding: .5rem .55rem;
  border-radius: var(--r-xs);
  font-size: .74rem;
  transition: background var(--t1) ease;
}
.sc-row:hover   { background: rgba(0,0,0,.025); }
.sc-row-muted   { opacity: .5; }

.sc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.sc-time  { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-name  { font-weight: 600; color: var(--ink); }

.sc-tag {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-size: .6rem;
  font-weight: 700;
  padding: .12rem .4rem;
  border-radius: 4px;
  white-space: nowrap;
}
.sc-tag-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.sc-tag-doc  { background: var(--doc-bg);  color: var(--doc-dark);  }
.sc-tag-paz  { background: var(--paz-bg);  color: var(--paz-dark);  }
.sc-tag-drdr { background: var(--drdr-bg); color: var(--drdr-dark); }

.sc-ftr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1rem;
  border-top: 1px solid var(--border);
  font-size: .68rem;
  color: var(--ink-3);
}
.sc-stat {
  display: flex;
  align-items: center;
  gap: .28rem;
}
.sc-stat-good { color: var(--emerald); font-weight: 700; }

/* Platform Strip */
.hero-platforms {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.plat-lbl {
  font-size: .78rem;
  color: var(--ink-3);
  font-weight: 500;
}
.ptag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .25rem .75rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid;
}
.ptag-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.ptag-doc  { color: var(--doc-dark);  background: var(--doc-bg);  border-color: rgba(0,173,239,.18); }
.ptag-paz  { color: var(--paz-dark);  background: var(--paz-bg);  border-color: rgba(109,40,217,.18);}
.ptag-drdr { color: var(--drdr-dark); background: var(--drdr-bg); border-color: rgba(225,29,72,.18); }
.psep { color: var(--ink-3); opacity: .35; }


/* ════════════════════════════════════════
   PAIN STRIP
════════════════════════════════════════ */
.pain-strip {
  position: relative;
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 4.5rem 0;
  overflow: hidden;
}
/* Faint red bruise behind the big number — pain, felt not shouted */
.pain-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 340px at 82% 50%, rgba(220,38,38,.09), transparent 70%);
  pointer-events: none;
}

.pain-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .pain-wrap {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}

.pain-stat {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.pain-num {
  font-size: clamp(5rem, 13vw, 9rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  /* Prevent layout shift on counter animation */
  min-width: 2ch;
  display: inline-block;
}

.pain-ctx { padding-bottom: .5rem; }

.pain-unit {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-bottom: .3rem;
}
.pain-ctx p {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  max-width: 250px;
  line-height: 1.7;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  line-height: 1.7;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pain-item:last-child { border-bottom: none; }
.pain-x {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(220,38,38,.18);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features {
  padding: 7rem 0;
}

.feat-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 5rem;
}
.feat-h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: .6rem;
  text-wrap: balance;
}
.feat-intro-p {
  color: var(--ink-2);
  font-size: .95rem;
}

/* Feature Block */
.feat {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.feat:last-of-type { margin-bottom: 0; }

@media (min-width: 1024px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat-alt .feat-vis { order: -1; }
}

/* Text side */
.feat-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: .4rem;
}
.feat-h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.45;
  margin-bottom: .9rem;
  letter-spacing: 0;
}
.feat-h3 em {
  font-style: normal;
  color: var(--brand);
}
.feat-desc {
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.feat-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.feat-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--ink-2);
  font-weight: 500;
}
.feat-list li::before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--emerald-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    no-repeat center;
  flex-shrink: 0;
}

/* Visual side */
.feat-vis {
  background: linear-gradient(180deg, #FDFCFA 0%, var(--paper) 100%);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 1px 3px rgba(0,0,0,.03);
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── SYNC VISUAL (replaces old .sync-anim) ─── */
.feat-vis-sync {
  padding: 1.2rem;
  min-height: 340px;
}

.sync-vis {
  position: relative;
  width: 340px;
  height: 290px;
  max-width: 100%;
}

/* Absolutely-positioned SVG layer */
.sv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Hub (Shirazeh) */
.sv-hub {
  position: absolute;
  left: 20px;
  top: calc(50% - 35px);
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sv-hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(32,183,178,.22);
  animation: svRing 2.8s ease-out infinite;
  pointer-events: none;
}
.sv-hub-r1 { width: 70px; height: 70px; top: 0; left: 0; animation-delay: 0s;  }
.sv-hub-r2 { width: 70px; height: 70px; top: 0; left: 0; animation-delay: 1.4s;}
@keyframes svRing {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2.1); opacity: 0;  }
}

.sv-hub-body {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(32,183,178,.18);
  box-shadow: 0 4px 22px rgba(13,110,106,.18), 0 0 0 6px rgba(32,183,178,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: box-shadow .18s ease, transform .18s ease;
}
.sv-hub-body.pulse {
  box-shadow: 0 6px 32px rgba(13,110,106,.45), 0 0 0 10px rgba(32,183,178,.14);
  transform: scale(1.07);
}

.sv-hub-lbl {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  z-index: 3;
}

/* Platform node cards */
.sv-node {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .55rem .75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  width: 120px;
  transition: box-shadow .2s ease;
}
.sv-node:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.sv-node-doc  { top: 20px; }
.sv-node-paz  { top: calc(50% - 26px); }
.sv-node-drdr { bottom: 20px; }

.sv-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  padding: 3px;
  background: #fff;
}

.sv-node-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sv-node-body strong {
  font-size: .72rem;
  color: var(--ink);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-node-body span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .62rem;
  color: var(--ink-3);
}

.sv-dot {
  font-style: normal;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: svDotBlink 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes svDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}

/* Sync counter badge */
.sv-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: .7rem;
  color: var(--ink-2);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  white-space: nowrap;
}
#sv-sync-count {
  color: var(--brand);
  font-weight: 800;
  font-size: .8rem;
}
.sv-counter-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-green 1.5s infinite;
}

/* — History Visual — */
.hist-anim {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.ha-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  padding: .7rem .9rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
/* Platform identity = logo + name pill, never a bare color dot */
.ha-row .sc-tag { margin-inline-start: auto; }
.ha-name   { display: block; font-weight: 700; font-size: .82rem; }
.ha-detail { display: block; font-size: .68rem; color: var(--ink-3); }
.ha-meta {
  text-align: center;
  font-size: .72rem;
  color: var(--ink-3);
  padding: .45rem;
  background: var(--brand-bg);
  border-radius: var(--r-sm);
}
.ha-meta strong { color: var(--brand); }

/* — AI Visual — */
.ai-anim {
  width: 100%;
  max-width: 295px;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.ai-bub {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border-radius: var(--r-md);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}
.ai-bub-sys     { background: var(--white);      border: 1px solid var(--border);               color: var(--ink-2);   }
.ai-bub-alert   { background: var(--red-bg);     border: 1px solid rgba(220,38,38,.18);         color: var(--red);     }
.ai-bub-suggest { background: var(--brand-bg);  border: 1px solid rgba(32,183,178,.2);         color: var(--brand);  }
.ai-d           { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ai-d-green { background: var(--emerald); }
.ai-d-red   { background: var(--red);     }
.ai-d-blue  { background: var(--brand);  }


/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how-section {
  background: var(--white);
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-head {
  margin-bottom: 3rem;
  text-align: center;
}
.how-head .how-intro-p { margin-inline: auto; }

.how-h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: .45rem;
  text-wrap: balance;
}
.how-intro-p { max-width: 34em; }
.how-intro-p { color: var(--ink-2); font-size: .9rem; }

.steps {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.2rem;
  position: relative;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2b2a27 0%, var(--ink) 70%);
  box-shadow: 0 2px 8px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.step-line {
  position: absolute;
  top: 42px;
  right: 20px; /* RTL: right side = start side */
  width: 1px;
  bottom: 0;
  background: var(--border);
}

.step-body {
  padding-bottom: 2.25rem;
  padding-top: .55rem;
}
.step:last-child .step-body { padding-bottom: 0; }

.step-body h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
  font-weight: 800;
}
.step-body p {
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.75;
}


/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brand);
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(32,183,178,.7) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(5,150,105,.35) 0%, transparent 55%);
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-top-row { margin-bottom: 1.5rem; }

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .9rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cta-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(5,150,105,.7);
  animation: pulse-green 2s infinite;
}

.cta-h2 {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.cta-accent { opacity: .7; }

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.75;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 2rem;
  background: #fff;
  color: var(--brand);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t2) ease, transform var(--t2) ease, box-shadow var(--t2) ease;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.cta-btn:hover {
  background: var(--paper);
  color: #0A5A57;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.cta-btn:active { transform: translateY(0) scale(.985); }
.cta-btn .btn-glow {
  background: radial-gradient(circle, rgba(13,110,106,.25) 0%, transparent 70%);
}

.cta-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  margin-top: 1.1rem;
}


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.4);
  padding: 3rem 0;
}

.ftr-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .ftr-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ftr-brand {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ftr-logo { color: rgba(255,255,255,.85); }
/* Teal mark reads as white on the dark footer */
.ftr-logo img { filter: brightness(0) invert(1); opacity: .92; }
.ftr-tagline { font-size: .78rem; }

.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.ftr-lnk {
  font-size: .82rem;
  font-weight: 500;
  transition: color var(--t1) ease;
}
.ftr-lnk:hover { color: rgba(255,255,255,.85); }

.ftr-copy {
  font-size: .74rem;
  color: rgba(255,255,255,.2);
  width: 100%;
}
@media (min-width: 768px) {
  .ftr-copy { text-align: center; }
}


/* ════════════════════════════════════════
   SCROLL REVEAL TARGET (initial state)
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

/* ════════════════════════════════════════
   REDUCED MOTION
   (JS skips GSAP; this covers CSS keyframes
   and hides SMIL particles inside the SVG)
════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* SMIL ignores CSS animation rules — hide the moving dashes/particles, keep static tracks */
  .sv-bg path[stroke-dasharray],
  .sv-bg circle { display: none; }
}
