/* ===========================================================
   Plansoft.org — modern static redesign
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #0b0e1a;
  --bg-dark-soft: #12162a;
  --ink: #10131f;
  --ink-soft: #565c72;
  --line: #e7e8f1;
  --primary: #5b5bf6;
  --primary-2: #17c3d6;
  --primary-ink: #3730d1;
  --grad: linear-gradient(120deg, #5b5bf6 0%, #8a5bf6 45%, #17c3d6 100%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 30px 60px -30px rgba(20, 20, 60, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(20, 20, 60, 0.18);
  --container: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-ink);
  background: rgba(91, 91, 246, 0.09);
  padding: 7px 16px;
  border-radius: 100px;
}

.eyebrow.on-dark {
  color: #d9d6ff;
  background: rgba(255, 255, 255, 0.08);
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 21px; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(91, 91, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(91, 91, 246, 0.6); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-ink); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(16, 19, 31, 0.06), 0 12px 30px -22px rgba(16, 19, 31, 0.4);
}

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

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -6px rgba(91, 91, 246, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { background: var(--bg-soft); color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  background: radial-gradient(120% 120% at 15% -10%, #262b57 0%, var(--bg-dark) 45%, var(--bg-dark) 100%);
  color: #fff;
  padding: 108px 0 140px;
  overflow: hidden;
  position: relative;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
}
.hero::before {
  width: 480px; height: 480px;
  background: #5b5bf6;
  top: -160px; right: -120px;
}
.hero::after {
  width: 420px; height: 420px;
  background: #17c3d6;
  bottom: -220px; left: -140px;
  opacity: 0.35;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(120deg, #a9a4ff, #7be7f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede { color: #c3c6e0; max-width: 540px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 24px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: #a3a7c8; }

/* Abstract schedule-grid illustration (pure CSS/SVG, no fabricated screenshots) */
.hero-art {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.hero-art .grid-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.hero-art .cal-col { display: flex; flex-direction: column; gap: 8px; }
.hero-art .cal-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ea3c9;
  text-align: center;
  padding-bottom: 4px;
  font-weight: 700;
}
.hero-art .block {
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  min-height: 34px;
}
.hero-art .b1 { background: linear-gradient(135deg,#5b5bf6,#7b6ff9); }
.hero-art .b2 { background: linear-gradient(135deg,#17c3d6,#41d6c3); }
.hero-art .b3 { background: linear-gradient(135deg,#f6a15b,#f65b8f); }
.hero-art .b4 { background: rgba(255,255,255,0.08); border: 1px dashed rgba(255,255,255,0.25); color: #9ea3c9; }
.hero-art .ghost { visibility: hidden; }

.hero-art .badge-live {
  position: absolute;
  top: -14px;
  right: 22px;
  background: #10141f;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #35e08a; box-shadow: 0 0 0 4px rgba(53,224,138,0.25); }

/* ---------------- Generic sections ---------------- */

.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 72px 0; }

/* ---------------- Diagram / problem section ---------------- */

.problem-text p { color: var(--ink-soft); font-size: 16.5px; }
.problem-text p + p { margin-top: 14px; }

/* Shared "standalone framed image" card, used for both the dependency
   diagram and the mindmap — same treatment so they read as one system. */
.frame-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.frame-card img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.frame-card .cap {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

.problem-text { max-width: 760px; margin: 0 auto 48px; }
.problem-text .eyebrow { margin-bottom: 16px; }
.problem-text h2 { margin-bottom: 18px; }

.img-scroll { overflow-x: visible; }
.scroll-hint { display: none; }
.zoom-link {
  display: none;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-ink);
  text-align: center;
}

.quote-block {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--primary);
  background: rgba(91,91,246,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

/* ---------------- Benefit cards ---------------- */

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

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -18px rgba(20,20,60,0.24); }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.benefit-card h3 { font-size: 17.5px; }
.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }


/* ---------------- Wdrożenie / stepper ---------------- */

.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.step .num {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
}

.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 56px;
}

.info-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.info-box h3 { margin-bottom: 12px; }
.info-box p { color: var(--ink-soft); font-size: 15px; }
.info-box ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-box ul li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: flex-start;
}
.info-box ul li svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }

.compat-strip {
  margin-top: 26px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: #cfd2ee;
}
.compat-strip div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.compat-strip svg { color: #7be7f2; }

/* ---------------- Pobierz / downloads ---------------- */

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

.download-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.download-col h3 { margin-bottom: 4px; }
.download-col .sub { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 16px; }
.download-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.file-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color .15s ease, transform .15s ease;
}
.file-link:hover { background: var(--bg-soft); color: var(--primary-ink); transform: translateX(2px); }
.file-link svg { flex-shrink: 0; color: var(--primary); }
.file-link .grp { color: var(--ink-soft); font-weight: 700; }

.download-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--grad);
  color: #fff;
  padding: 26px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.download-banner p { margin: 0; font-weight: 700; font-size: 16px; }
.download-banner span { display: block; font-weight: 500; font-size: 13.5px; opacity: 0.9; margin-top: 4px; }

/* ---------------- Referencje ---------------- */

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pdf-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 700;
}
.pdf-chip svg { color: #e5484d; flex-shrink: 0; }
.pdf-chip:hover { border-color: var(--primary); color: var(--primary-ink); }

.uni-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.uni-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.uni-grid a:hover { color: var(--primary-ink); }
.uni-grid a::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.logo-cloud {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  align-items: center;
}
.logo-cloud .logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: grid;
  place-items: center;
  height: 74px;
}
.logo-cloud img {
  max-height: 38px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.2s ease, transform .2s ease;
}
.logo-cloud .logo-tile:hover img { filter: grayscale(0) opacity(1); transform: scale(1.04); }

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background .2s ease;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-soft);
  line-height: 1;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item p { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }

/* ---------------- Kontakt ---------------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.contact-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: var(--grad);
  filter: blur(90px);
  opacity: 0.4;
  top: -120px; right: -120px;
  border-radius: 50%;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-row .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #7be7f2;
  flex-shrink: 0;
}
.contact-row div p { margin: 0; font-size: 13px; color: #a3a7c8; }
.contact-row div strong { font-size: 16px; font-weight: 700; }

.whatsapp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.whatsapp-card .ic-lg {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: #e9fbf1;
  color: #16b364;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.whatsapp-card p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--bg-dark);
  color: #9195b8;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 14px; color: #8489ac; margin: 0; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14.5px; color: #a3a7c8; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
}
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: #cfd2ee;
}
.footer-social:hover { background: var(--grad); color: #fff; }

/* ---------------- Utilities ---------------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mt-56 { margin-top: 56px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .info-cols { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
  .uni-grid { grid-template-columns: 1fr; }
  .logo-cloud { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet nav: the full 6-link bar + CTA no longer fits comfortably —
   switch to the hamburger earlier than the mobile breakpoint. */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 14px; }
}

@media (max-width: 760px) {
  .site-header .container { gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .mark { width: 32px; height: 32px; border-radius: 9px; }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .site-header.nav-open .nav-links a { width: 100%; }
  .site-header.nav-open .nav-cta-mobile {
    display: flex;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  h2 { font-size: clamp(24px, 7vw, 32px); }

  .card-grid, .download-grid, .pdf-grid { grid-template-columns: 1fr; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Hero: stack, center, full-bleed the illustration and CTAs */
  .hero { padding: 44px 0 56px; }
  .hero .container { gap: 32px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero p.lede { max-width: none; }
  .hero-cta { width: 100%; justify-content: center; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-stats { justify-content: center; text-align: left; row-gap: 14px; }
  .hero-art { padding: 16px; }
  .hero-art .badge-live { font-size: 11px; padding: 6px 10px; right: 12px; top: -12px; }
  .hero-art .grid-cal { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hero-art .cal-col:nth-child(4), .hero-art .cal-col:nth-child(5) { display: none; }
  .hero-art .block { font-size: 10px; padding: 8px 6px; min-height: 30px; }

  .frame-card, .info-box, .download-col { padding: 18px; }

  /* The dependency diagram & mindmap have small dense labels — instead of
     scaling them down to illegible size, let them scroll horizontally
     at (near) native size like a real diagram viewer. */
  .img-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
  .diagram-card .img-scroll img { width: 640px; max-width: none; }
  .overview-card .img-scroll { max-height: 60vh; overflow-y: auto; }
  .overview-card .img-scroll img { width: 1100px; max-width: none; }
  .scroll-hint { display: block; font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }
  .zoom-link { display: inline-block; }

  .contact-card, .whatsapp-card { padding: 26px; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 32px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 18px 22px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
}
