/* =====================================================================
   Tbaark Software — tbaark.com
   Brand: orange #EE8A1F · red-orange #CB5420 · blue #008ED8 · green #86BA03 · gray #5F5F5F
   Font: Cairo (self-hosted, variable)
   ===================================================================== */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EFD-10EFF, U+1EE00-1EEFF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('../fonts/cairo-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #ee8a1f;
  --orange-deep: #e96b15;
  --amber: #f2a428;
  --red: #cb5420;
  --blue: #008ed8;
  --green: #86ba03;
  --gray: #5f5f5f;

  --ink: #1b1e24;
  --ink-2: #3a3f48;
  --muted: #6b7280;
  --line: #ece6de;
  --bg: #ffffff;
  --bg-warm: #fbf7f2;
  --dark: #12151b;
  --dark-2: #1a1e26;
  --dark-line: rgba(255, 255, 255, 0.09);

  --brand-grad: linear-gradient(135deg, #f2a428 0%, #ee8a1f 35%, #e96b15 65%, #cb5420 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 8px 30px rgba(20, 20, 30, 0.07);
  --shadow-lg: 0 30px 80px -20px rgba(18, 21, 27, 0.35);
  --wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(233, 107, 21, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(233, 107, 21, 0.75);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}
.btn-wa {
  background: #1faa53;
  color: #fff;
}
.btn-wa:hover {
  background: #17924a;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.08rem;
}

/* ---------------- header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand .on-light {
  display: none;
}
.nav {
  display: flex;
  gap: 0.25rem;
  margin-inline-start: auto;
}
.nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.header-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-btn svg {
  width: 22px;
  height: 22px;
  margin: auto;
}
.site-header.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.35);
}
.site-header.solid .brand .on-dark {
  display: none;
}
.site-header.solid .brand .on-light {
  display: block;
}
.site-header.solid .nav a {
  color: var(--ink-2);
}
.site-header.solid .nav a:hover {
  color: var(--orange-deep);
  background: rgba(238, 138, 31, 0.08);
}
.site-header.solid .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.site-header.solid .menu-btn {
  color: var(--ink);
  border-color: var(--line);
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 150px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  z-index: -2;
}
.hero .glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero .glow.g1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, #ee8a1f, transparent 65%);
  top: -220px;
  inset-inline-start: -120px;
}
.hero .glow.g2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #008ed8, transparent 65%);
  bottom: -260px;
  inset-inline-end: -160px;
  opacity: 0.35;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.since {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}
.since b {
  background: var(--brand-grad);
  color: #fff;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 1.1rem;
}
.grad-text {
  background: linear-gradient(90deg, #f2a428, #ee8a1f 45%, #e96b15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* device mockup */
.device {
  position: relative;
  perspective: 1600px;
}
.browser {
  background: #f6f7f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-origin: center;
  transition: transform 0.6s ease;
}
.device:hover .browser {
  transform: rotateY(-3deg) rotateX(2deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: #e9ebef;
  border-bottom: 1px solid #dde0e5;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfd3da;
}
.dots i:nth-child(1) {
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.url {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  color: #6b7280;
  direction: ltr;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.url svg {
  width: 12px;
  height: 12px;
  color: #28a745;
}
.app {
  display: grid;
  grid-template-columns: 1fr 132px;
  min-height: 360px;
  font-size: 11px;
  line-height: 1.5;
  color: #2b2f36;
}
.app-side {
  grid-column: 2;
  grid-row: 1;
  background: #212631;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.8rem 0.6rem;
}
.app-side .logo {
  height: 22px;
  margin: 0 auto 0.9rem;
}
.app-side .item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 2px;
}
.app-side .item i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}
.app-side .item.on {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.app-side .item.on i {
  background: var(--orange);
}
.app-main {
  grid-column: 1;
  grid-row: 1;
  padding: 0.8rem;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}
.app-top b {
  font-size: 13px;
}
.chip {
  font-size: 9.5px;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #e8f6ee;
  color: #1f8a4c;
  font-weight: 700;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}
.tile {
  background: #fff;
  border-radius: 9px;
  padding: 0.45rem 0.55rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--c, var(--orange));
}
.tile small {
  color: #7a808a;
  display: block;
  font-size: 9px;
}
.tile strong {
  font-size: 14px;
  font-weight: 800;
}
.panels {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.45rem;
}
.panel {
  background: #fff;
  border-radius: 9px;
  padding: 0.5rem 0.6rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.panel h5 {
  font-size: 10.5px;
  margin: 0 0 0.35rem;
  font-weight: 800;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  padding-top: 0.3rem;
  border-bottom: 1px solid #eef0f3;
}
.bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #f2a428, #e96b15);
  height: var(--h);
  transform-origin: bottom;
  animation: grow 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 70ms + 300ms);
}
.bars span:nth-child(odd) {
  background: linear-gradient(180deg, #33a9e6, #008ed8);
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.rows .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.28rem 0;
  border-bottom: 1px solid #f1f2f4;
  font-size: 9.8px;
}
.rows .row:last-child {
  border-bottom: 0;
}
.st {
  font-size: 8.5px;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}
.st.s1 {
  background: #fff3e3;
  color: #c2620c;
}
.st.s2 {
  background: #e5f3fc;
  color: #0b77b8;
}
.st.s3 {
  background: #ecf7dc;
  color: #5b8100;
}

.phone {
  position: absolute;
  width: 150px;
  inset-inline-start: -34px;
  bottom: -40px;
  background: #11141a;
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}
.phone .screen {
  background: #f6f7f9;
  border-radius: 19px;
  overflow: hidden;
  font-size: 9px;
  color: #2b2f36;
}
.phone .ph-top {
  background: var(--brand-grad);
  color: #fff;
  padding: 0.7rem 0.6rem 0.9rem;
  font-weight: 700;
}
.phone .ph-top small {
  display: block;
  font-weight: 500;
  opacity: 0.85;
  font-size: 8px;
}
.phone .ph-card {
  background: #fff;
  margin: 0.45rem;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.phone .ph-card b {
  display: block;
  font-size: 9.5px;
}
.progress {
  height: 5px;
  background: #eef0f3;
  border-radius: 9px;
  overflow: hidden;
  margin-top: 0.3rem;
}
.progress i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--green);
  border-radius: 9px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.badge-float {
  position: absolute;
  inset-inline-end: -18px;
  top: -26px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  animation: float 7s ease-in-out infinite reverse;
}
.badge-float .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #ecf7dc;
  color: #5b8100;
}
.badge-float .ic svg {
  width: 18px;
  height: 18px;
}
.badge-float small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ---------------- stats band ---------------- */
.stats {
  position: relative;
  margin-top: -54px;
  z-index: 2;
}
.stats-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 1.7rem 1.4rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.stat .num {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  direction: ltr;
}
.stat .lbl {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------------- sections ---------------- */
section {
  position: relative;
}
.section {
  padding: 110px 0;
}
.section.warm {
  background: var(--bg-warm);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  background: rgba(238, 138, 31, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 900;
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ---------------- products ---------------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.product {
  --c: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.product::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--c);
  opacity: 0.9;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--c) 35%, var(--line));
}
.product .p-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
  margin-bottom: 1.2rem;
}
.product .p-icon svg {
  width: 30px;
  height: 30px;
}
.product h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.product p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}
.product .p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}
.product .p-tags li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: #f4f2ef;
  color: var(--ink-2);
}
.status {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
}
.status.live {
  background: #ecf7dc;
  color: #4d7000;
}
.status.live::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-inline-end: 0.4rem;
  box-shadow: 0 0 0 0 rgba(134, 186, 3, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(134, 186, 3, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 186, 3, 0);
  }
}
.status.dev {
  background: #e5f3fc;
  color: #0b6fa6;
}
.status.soon {
  background: #f1f1f3;
  color: #5f5f5f;
}
.status.free {
  background: #fff1e2;
  color: #b8560c;
}
.product .p-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--c);
}
.product .p-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.product:hover .p-link svg {
  transform: translateX(-4px);
}
.product.featured {
  grid-row: span 1;
  background: linear-gradient(180deg, #fff, #fffaf4);
  border-color: rgba(238, 138, 31, 0.35);
}
.product.muted p {
  color: #8a8f98;
}
.product.muted .p-link {
  color: var(--ink-2);
}

/* ---------------- features ---------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature:hover {
  border-color: rgba(238, 138, 31, 0.4);
  box-shadow: var(--shadow);
}
.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-grad);
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px -10px rgba(233, 107, 21, 0.8);
}
.f-icon svg {
  width: 24px;
  height: 24px;
}
.feature:nth-child(3n + 2) .f-icon,
.module:nth-child(4n + 2) .f-icon,
.module:nth-child(4n + 3) .f-icon {
  background: linear-gradient(135deg, #33a9e6, #008ed8);
  box-shadow: 0 10px 20px -10px rgba(0, 142, 216, 0.8);
}
.feature:nth-child(3n + 3) .f-icon,
.module:nth-child(4n + 4) .f-icon {
  background: linear-gradient(135deg, #a3d12a, #86ba03);
  box-shadow: 0 10px 20px -10px rgba(134, 186, 3, 0.8);
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.feature p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

/* ---------------- legacy band ---------------- */
.legacy {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(238, 138, 31, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 70% at 90% 30%, rgba(0, 142, 216, 0.18), transparent 70%);
  z-index: -1;
}
.legacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.legacy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
}
.legacy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}
.migrate {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.m-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  text-align: center;
}
.m-box .m-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}
.m-box .m-ic svg {
  width: 32px;
  height: 32px;
}
.m-box b {
  display: block;
  font-size: 1.05rem;
}
.m-box small {
  color: rgba(255, 255, 255, 0.6);
}
.m-box.to {
  background: linear-gradient(160deg, rgba(238, 138, 31, 0.22), rgba(203, 84, 32, 0.12));
  border-color: rgba(238, 138, 31, 0.45);
}
.m-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--orange);
}
.m-arrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: flow 1.4s infinite;
}
.m-arrow span:nth-child(2) {
  animation-delay: 0.2s;
}
.m-arrow span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes flow {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(6px);
  }
  50% {
    opacity: 1;
    transform: translateX(-6px);
  }
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--green);
  margin-top: 4px;
}

/* ---------------- timeline ---------------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 50%;
  width: 3px;
  transform: translateX(50%);
  background: linear-gradient(180deg, var(--orange), var(--blue) 70%, rgba(0, 142, 216, 0.1));
  border-radius: 3px;
}
.t-item {
  position: relative;
  width: 50%;
  padding-inline-end: 3rem;
  margin-bottom: 2.4rem;
}
.t-item:nth-child(even) {
  margin-inline-start: 50%;
  padding-inline-end: 0;
  padding-inline-start: 3rem;
}
.t-item::before {
  content: '';
  position: absolute;
  top: 18px;
  inset-inline-end: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 0 0 0 6px rgba(238, 138, 31, 0.15);
}
.t-item:nth-child(even)::before {
  inset-inline-end: auto;
  inset-inline-start: -10px;
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 142, 216, 0.15);
}
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.t-year {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.t-item:nth-child(even) .t-year {
  background: linear-gradient(90deg, #33a9e6, #008ed8);
  -webkit-background-clip: text;
  background-clip: text;
}
.t-card h3 {
  font-size: 1.15rem;
}
.t-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}
.t-item.next .t-card {
  border-style: dashed;
  background: #fbfcfe;
}

/* ---------------- steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step .n {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  background: var(--brand-grad);
  box-shadow: 0 0 0 8px rgba(238, 138, 31, 0.12);
}
.step h3 {
  font-size: 1.2rem;
}
.step p {
  color: var(--muted);
  margin: 0;
}

/* ---------------- faq ---------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: rgba(238, 138, 31, 0.45);
  box-shadow: var(--shadow);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.06rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f2ef;
  color: var(--orange-deep);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(238, 138, 31, 0.12);
}
.faq details p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

/* ---------------- contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-info {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-info::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 138, 31, 0.45), transparent 65%);
  bottom: -160px;
  inset-inline-end: -140px;
  z-index: -1;
}
.contact-info h3 {
  font-size: 1.6rem;
}
.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
}
.c-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.c-list a,
.c-list div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  transition: background 0.2s, border-color 0.2s;
}
.c-list a:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(238, 138, 31, 0.5);
}
.c-list .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  flex: none;
}
.c-list .ic svg {
  width: 21px;
  height: 21px;
}
.c-list small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}
.c-list b {
  font-weight: 700;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-size: 1.5rem;
}
.form-card > p {
  color: var(--muted);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  margin: 1.4rem 0 1.4rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 700;
  font-size: 0.92rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fdfcfa;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  width: 100%;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(238, 138, 31, 0.15);
}
.field input[type='tel'] {
  direction: ltr;
  text-align: right;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.8rem 0 0;
}
.form-error {
  color: #c0392b;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0.6rem 0 0;
  min-height: 1.2em;
}

/* ---------------- cta band ---------------- */
.cta-band {
  background: var(--brand-grad);
  color: #fff;
  border-radius: 28px;
  padding: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 90px;
  inset-inline-start: -120px;
  top: -160px;
  transform: rotate(18deg);
  z-index: -1;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.3rem;
}
.cta-band p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.08rem;
}
.cta-band .btn-light {
  background: #fff;
  color: var(--red);
}
.cta-band .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4);
}

/* ---------------- footer ---------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.66);
  padding: 80px 0 30px;
  margin-top: 0;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.f-grid img {
  height: 50px;
  width: auto;
  margin-bottom: 1.1rem;
}
.f-grid h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.f-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.f-grid a:hover {
  color: var(--orange);
}
.f-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  transition: background 0.2s, color 0.2s;
}
.socials a:hover {
  background: var(--orange);
  color: #fff;
}
.socials svg {
  width: 19px;
  height: 19px;
}

/* floating whatsapp */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1faa53;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(31, 170, 83, 0.7);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.07);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ---------------- product page ---------------- */
.p-hero {
  padding: 140px 0 90px;
}
.crumbs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs span {
  margin: 0 0.4rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.module {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.module .f-icon {
  flex: none;
}
.module h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}
.module p {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}
.module ul {
  margin: 0.6rem 0 0;
  padding-inline-start: 1.1rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.rev > :first-child {
  order: 2;
}
.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
}
.split p.big {
  color: var(--muted);
  font-size: 1.08rem;
}
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem;
  font-size: 0.9rem;
}
.mock-card .mc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
}
.case-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin: 0.4rem 0 1.1rem;
}
.case-flow div {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.case-flow div i {
  display: block;
  height: 8px;
  border-radius: 9px;
  background: #eceef1;
  margin-bottom: 0.4rem;
}
.case-flow div.done i {
  background: var(--green);
}
.case-flow div.now i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(238, 138, 31, 0.2);
}
.case-flow div.done,
.case-flow div.now {
  color: var(--ink);
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1rem;
  font-size: 0.88rem;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  font-weight: 700;
}
.tooth-row {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 0.9rem 0 0.2rem;
  direction: ltr;
}
.tooth-row span {
  width: 20px;
  height: 26px;
  border-radius: 7px 7px 10px 10px;
  border: 1.5px solid #d9dce1;
  background: #fff;
}
.tooth-row span.sel {
  background: linear-gradient(180deg, #ffe3c4, #ffc888);
  border-color: var(--orange);
}
.price-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}
.price-box .trial {
  display: inline-block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-box ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem auto 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.4rem;
  text-align: start;
  max-width: 560px;
}
.price-box li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.price-box li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
  margin-top: 5px;
}

/* ---------------- reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .products,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .nav,
  .header-cta .btn-ghost {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .header-cta {
    margin-inline-start: auto;
  }
  .site-header.open {
    background: #fff;
  }
  .site-header.open .brand .on-dark {
    display: none;
  }
  .site-header.open .brand .on-light {
    display: block;
  }
  .site-header.open .menu-btn {
    color: var(--ink);
    border-color: var(--line);
  }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    flex-direction: column;
    background: #fff;
    padding: 0.8rem 20px 1.2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.3);
  }
  .site-header.open .nav a {
    color: var(--ink);
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
  }
  .hero-grid,
  .legacy-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .split.rev > :first-child {
    order: 0;
  }
  .hero {
    padding: 120px 0 110px;
  }
  .device {
    max-width: 560px;
    margin: 1rem auto 0;
  }
  .browser {
    transform: none;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3)::before {
    display: none;
  }
  .timeline::before {
    inset-inline-start: 10px;
    transform: none;
  }
  .t-item,
  .t-item:nth-child(even) {
    width: 100%;
    margin-inline-start: 0;
    padding-inline-start: 2.6rem;
    padding-inline-end: 0;
  }
  .t-item::before,
  .t-item:nth-child(even)::before {
    inset-inline-start: 1px;
    inset-inline-end: auto;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 80px 0;
  }
  .products,
  .features {
    grid-template-columns: 1fr;
  }
  .header-cta .btn-primary {
    display: none;
  }
  .brand img {
    height: 38px;
  }
  .phone {
    width: 118px;
    inset-inline-start: -8px;
    bottom: -46px;
  }
  .badge-float {
    inset-inline-end: -6px;
    top: -18px;
    font-size: 0.78rem;
  }
  .app {
    grid-template-columns: 1fr 96px;
    font-size: 9.5px;
  }
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .panels .panel:last-child {
    display: none;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .form-card,
  .contact-info,
  .cta-band,
  .price-box {
    padding: 1.6rem;
  }
  .f-grid {
    grid-template-columns: 1fr;
  }
  .migrate {
    grid-template-columns: 1fr;
  }
  .m-arrow {
    flex-direction: row;
    justify-content: center;
    transform: rotate(-90deg);
  }
  .price-box ul {
    grid-template-columns: 1fr;
  }
}

/* contact form: honeypot (hidden from people), sending state, success box */
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none !important;
}
.btn .spin {
  width: 1.1em;
  height: 1.1em;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-ok {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #f1f9e4;
  border: 1px solid #cfe7a3;
  color: #33500a;
}
.form-ok[hidden] {
  display: none;
}
.form-ok .ok-ic svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}
.form-card.sent .fields,
.form-card.sent .form-actions {
  display: none;
}

/* small notice (e.g. "username copied") */
.site-toast {
  position: fixed;
  z-index: 60;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--dark);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  max-width: min(420px, calc(100% - 32px));
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-toast b {
  color: #ffb366;
}

/* ---------------- screenshots full-screen view (site.js: img[data-zoom]) ---------------- */
img[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(10, 12, 16, 0.92); padding: 4vh 4vw; backdrop-filter: blur(6px);
}
.lightbox.show { display: flex; animation: lb-in 0.18s ease-out; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); background: #fff; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); font-weight: 700; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox .lb-x { top: 18px; inset-inline-end: 18px; }
.lightbox .lb-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; } }

/* WhatsApp row: the number opens the chat, the button copies the username */
.c-list li.wa-row{position:relative}
.c-list li.wa-row a{padding-inline-end:8.5rem}
.copy-btn{position:absolute;inset-inline-end:.7rem;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:.35rem;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;padding:.38rem .75rem;
  font:inherit;font-size:.78rem;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s}
.copy-btn svg{width:14px;height:14px}
.copy-btn:hover{background:rgba(238,138,31,.2);border-color:rgba(238,138,31,.6)}
.copy-btn.done{background:#4a9a1a;border-color:#4a9a1a}
@media (max-width:640px){.c-list li.wa-row a{padding-inline-end:1rem;padding-bottom:3rem}.copy-btn{top:auto;bottom:.6rem;transform:none;inset-inline-start:3.6rem;inset-inline-end:auto}}
