@font-face {
  font-family: "Neo Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/neo-sans-arabic-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Neo Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/neo-sans-arabic-medium.ttf") format("truetype");
}
@font-face {
  font-family: "Neo Sans Arabic";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/neo-sans-arabic-bold.ttf") format("truetype");
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-0.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --madd-teal: #045BF6; /* MADD NET primary blue (legacy token name) */
  --madd-teal-deep: #1a454d;
  --madd-teal-soft: #3d7a86;
  --madd-coral: #5B92F7;
  --madd-coral-deep: #d96d42;
  --madd-ink: #1c2430;
  --madd-muted: #5b6775;
  --madd-line: #e6ebf0;
  --madd-soft: #f5f8fa;
  --madd-topbar: #f3f6f8;
  --madd-white: #ffffff;
  --madd-shadow: 0 24px 60px rgba(28, 36, 48, 0.08);
  --madd-shadow-sm: 0 10px 30px rgba(28, 36, 48, 0.06);
  --madd-max: 1180px;
  --madd-nav-h: 76px;
  --madd-radius: 999px;
  --madd-radius-box: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.maintenance-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b1f3a;
  color: #fff;
  text-align: center;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.98rem;
}
body.is-maintenance .hero,
body.is-maintenance .section,
body.is-maintenance .trust,
body.is-maintenance .cta-band,
body.is-maintenance .page-hero {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(0.35);
}

body {
  margin: 0;
  font-family: "Neo Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--madd-ink);
  background: var(--madd-white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--madd-teal); text-decoration: none; }
a:hover { color: var(--madd-coral-deep); }

.wrap {
  width: min(var(--madd-max), calc(100% - 48px));
  margin-inline: auto;
}

/* ---- Top bar ---- */
.topbar {
  background: var(--madd-topbar);
  border-bottom: 1px solid var(--madd-line);
  font-size: 0.82rem;
  color: var(--madd-teal-deep);
  font-weight: 600;
}

.topbar .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-links li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  border-inline-end: 1px solid #d5dee5;
}

.topbar-links li:last-child { border: 0; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--madd-coral-deep); }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--madd-nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--madd-line);
  backdrop-filter: blur(12px);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--madd-max), calc(100% - 48px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--madd-ink);
  font-weight: 800;
  font-size: 1.2rem;
}

.brand img {
  height: 40px;
  width: auto;
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--madd-ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--madd-teal); }

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

.lang-toggle {
  border: 1px solid var(--madd-line);
  background: #fff;
  color: var(--madd-ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--madd-teal); color: var(--madd-teal); }

.nav-toggle {
  display: none;
  border: 1px solid var(--madd-line);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--madd-ink);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  font: inherit;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--madd-radius);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--madd-teal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(4, 91, 246, 0.22);
}
.btn-primary:hover { background: var(--madd-teal-deep); color: #fff; }

.btn-secondary {
  background: var(--madd-coral);
  color: #fff;
  box-shadow: 0 12px 28px rgba(91, 146, 247, 0.22);
}
.btn-secondary:hover { background: var(--madd-coral-deep); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--madd-teal);
  border-color: var(--madd-teal);
}
.btn-outline:hover {
  background: rgba(4, 91, 246, 0.05);
  color: var(--madd-teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--madd-teal);
  border-color: rgba(4, 91, 246, 0.28);
}
.btn-ghost:hover { background: rgba(4, 91, 246, 0.05); }

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-row.center {
  justify-content: center;
}

/* ---- Hero (Foodics-like: white, centered, formal) ---- */
.hero {
  position: relative;
  background: #fff;
  text-align: center;
  padding: 56px 0 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(4, 91, 246, 0.08), transparent 60%),
    radial-gradient(700px 360px at 85% 30%, rgba(91, 146, 247, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-brand {
  width: min(180px, 46vw);
  height: auto;
  margin: 0 auto 22px;
  background: transparent;
  padding: 0;
  animation: rise .7s ease both;
}

.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--madd-ink);
  animation: rise .7s ease .06s both;
}

.hero .lead {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: 1.12rem;
  color: var(--madd-muted);
  animation: rise .7s ease .12s both;
}

.hero .btn-row {
  margin-top: 32px;
  animation: rise .7s ease .18s both;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  margin: 48px auto 0;
  animation: rise .8s ease .22s both;
}

.hero-stage .device {
  background: linear-gradient(160deg, #0346C4 0%, #045BF6 55%, #0339A8 100%);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--madd-shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stage .device-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  background: #0B1F4A;
}

.hero-stage .device.has-shot .panel {
  display: none;
}

.hero-stage .device.has-shot {
  padding-bottom: 18px;
}

.hero-stage .device-top {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.hero-stage .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

.hero-stage .panel {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  gap: 14px;
  min-height: 280px;
}

.hero-stage .pane {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px;
}

.hero-stage .line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  margin-bottom: 10px;
}
.hero-stage .line.w80 { width: 80%; }
.hero-stage .line.w60 { width: 60%; }
.hero-stage .line.w40 { width: 40%; }
.hero-stage .block {
  margin-top: 18px;
  height: 92px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 146, 247,0.55), rgba(255,255,255,0.08));
}

/* ---- Sections ---- */
.section {
  padding: 96px 0;
}

.section-soft { background: var(--madd-soft); }

.section-head {
  max-width: 44rem;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: start;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.3;
  font-weight: 800;
}

.section-head p {
  margin: 0 auto;
  color: var(--madd-muted);
  font-size: 1.06rem;
  max-width: 52ch;
}

.section-head.left p { margin-inline: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--madd-teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Trust strip */
.trust {
  border-block: 1px solid var(--madd-line);
  background: #fff;
  padding: 34px 0;
}

.trust p {
  margin: 0 0 18px;
  text-align: center;
  color: var(--madd-muted);
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.trust-pill {
  min-width: 120px;
  text-align: center;
  padding: 12px 18px;
  border: 1px solid var(--madd-line);
  border-radius: 14px;
  color: var(--madd-teal-deep);
  font-weight: 800;
  background: #fff;
  font-size: 0.92rem;
}

/* Partners — logo marks only */
.partners-section {
  background: #fff;
  border-block: 1px solid var(--madd-line);
}
.partners-head { margin-bottom: 28px; }
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 48px;
}
.partners-logos a,
.partners-logos .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 72px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--madd-soft);
  border: 1px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}
.partners-logos a:hover {
  border-color: color-mix(in srgb, var(--madd-teal) 35%, var(--madd-line));
  transform: translateY(-2px);
}
.partners-logos img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
  transition: filter .2s ease, opacity .2s ease;
}
.partners-logos a:hover img,
.partners-logos .partner-logo:hover img {
  filter: none;
  opacity: 1;
}

/* Feature cards — formal, bordered, soft */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  padding: 28px 24px;
  box-shadow: var(--madd-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 91, 246, 0.28);
  box-shadow: var(--madd-shadow);
}

.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(4, 91, 246, 0.1);
  color: var(--madd-teal);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.feature p {
  margin: 0;
  color: var(--madd-muted);
  font-size: 0.98rem;
}

/* Showcase rows like Foodics */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: inherit; }
[dir="ltr"] .showcase.reverse { direction: ltr; }

.showcase h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
}

.showcase p {
  margin: 0 0 18px;
  color: var(--madd-muted);
  max-width: 46ch;
}

.media-frame {
  background: linear-gradient(145deg, #e8f1f3, #ffffff);
  border: 1px solid var(--madd-line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--madd-shadow);
  min-height: 280px;
}

.media-frame .slot-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  background: #16343a;
}

.media-frame.has-shot .mock {
  display: none;
}

.media-frame .mock {
  height: 100%;
  min-height: 240px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(4, 91, 246,0.92), rgba(30,74,82,0.88)),
    radial-gradient(circle at 80% 20%, rgba(91, 146, 247,0.35), transparent 45%);
  padding: 20px;
  color: #fff;
}

.media-frame .mock .line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 12px;
}

.media-frame .mock .tile {
  margin-top: 28px;
  height: 110px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: #fff;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  padding: 28px 24px;
  box-shadow: var(--madd-shadow-sm);
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(91, 146, 247, 0.14);
  color: var(--madd-coral-deep);
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--madd-muted); }

/* Platforms / pricing */
.platform-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-grid-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.platform,
.price {
  background: #fff;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  padding: 30px 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--madd-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.platform:hover,
.price:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 91, 246, 0.28);
  box-shadow: var(--madd-shadow);
}

.price.featured {
  border-color: var(--madd-teal);
  box-shadow: var(--madd-shadow);
  background: linear-gradient(180deg, #fff 0%, #f2f8f9 100%);
}

.platform h3,
.price h3 { margin: 0 0 8px; font-size: 1.3rem; }

.platform .meta,
.price .amount {
  color: var(--madd-teal);
  font-weight: 800;
}

.price .amount {
  font-size: 1.85rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.price .amount small {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--madd-muted);
}

.platform p,
.price p { margin: 0 0 18px; color: var(--madd-muted); font-size: 0.95rem; }

.price ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price li {
  padding: 9px 0;
  border-top: 1px solid var(--madd-line);
  color: var(--madd-muted);
  font-size: 0.95rem;
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  box-shadow: var(--madd-shadow-sm);
  background: #fff;
}

.compare {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  text-align: start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--madd-line);
}

.compare th {
  background: var(--madd-teal);
  color: #fff;
  font-weight: 700;
}

.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  background: #fff;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  padding: 28px 24px;
  box-shadow: var(--madd-shadow-sm);
}

.quote p {
  margin: 0 0 18px;
  color: var(--madd-ink);
  font-size: 1.02rem;
  line-height: 1.75;
}

.quote .who {
  font-weight: 800;
  color: var(--madd-teal-deep);
}

.quote .role {
  color: var(--madd-muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq details {
  border: 1px solid var(--madd-line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 12px 0 0; color: var(--madd-muted); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 280px at 15% 20%, rgba(91, 146, 247,0.22), transparent 55%),
    linear-gradient(120deg, #0339A8 0%, #045BF6 55%, #0346C4 100%);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto 14px;
  max-width: 20ch;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 auto;
  max-width: 46ch;
  color: rgba(255,255,255,0.86);
}

.cta-band .btn-row { margin-top: 28px; }

.cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.cta-band .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Page hero */
.page-hero {
  padding: 72px 0 36px;
  text-align: center;
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(4, 91, 246,0.08), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--madd-line);
}

.page-hero h1 {
  margin: 0 auto 12px;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--madd-muted);
  font-size: 1.08rem;
}

.prose {
  max-width: 72ch;
  margin-inline: auto;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.prose p,
.prose li { color: var(--madd-muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--madd-line);
  border-radius: var(--madd-radius-box);
  padding: 28px 24px;
  box-shadow: var(--madd-shadow-sm);
}

.contact-block h3 { margin: 0 0 8px; }
.contact-block p { margin: 0; color: var(--madd-muted); }

/* Footer */
.site-footer {
  background: #121820;
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}

.site-footer a { color: rgba(255,255,255,0.88); }
.site-footer a:hover { color: var(--madd-coral); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer .brand { color: #fff; margin-bottom: 14px; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 4px 14px; }
  .nav-links a { font-size: 0.88rem; }
}

@media (max-width: 900px) {
  .feature-grid,
  .steps,
  .platform-grid,
  .price-grid,
  .quotes,
  .footer-grid,
  .contact-grid,
  .showcase,
  .hero-stage .panel {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions .btn { display: none; }

  .site-nav.is-open .nav-links {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: var(--madd-nav-h);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--madd-line);
    padding: 18px 22px 22px;
    gap: 14px;
  }

  .nav-toggle { display: inline-block; }
  .topbar { display: none; }
  .hero { padding-top: 40px; }
  .hero-stage { margin-top: 36px; }
}

@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-links { display: flex !important; }
  .nav-actions .btn { display: inline-flex !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
