/* ==========================================================================
   SurgFlow Landing Page
   Paleta derivada do app (resources/css/app.css do produto):
   navy hsl(220 80% 12%), teal hsl(170 55% 40-50%), bg hsl(220 20% 97%)
   ========================================================================== */

:root {
  --navy: hsl(220 80% 12%);
  --navy-2: hsl(220 70% 16%);
  --navy-3: hsl(220 60% 22%);
  --teal: hsl(170 55% 40%);
  --teal-bright: hsl(170 55% 50%);
  --teal-soft: hsl(170 55% 95%);
  --bg: hsl(220 20% 97%);
  --surface: #ffffff;
  --ink: hsl(220 60% 8%);
  --ink-soft: hsl(220 15% 38%);
  --line: hsl(220 20% 90%);
  --green: hsl(160 60% 45%);
  --amber: hsl(38 92% 45%);
  --orange: hsl(25 85% 55%);
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --shadow-card: 0 1px 2px hsl(220 60% 8% / 0.06), 0 4px 16px hsl(220 60% 8% / 0.06);
  --shadow-elevated: 0 4px 12px hsl(220 60% 8% / 0.08), 0 16px 40px hsl(220 60% 8% / 0.12);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }

h3 { font-size: 1.1rem; font-weight: 700; }

a { color: inherit; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px hsl(170 55% 40% / 0.35);
}

.btn-primary:hover {
  background: hsl(170 55% 34%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px hsl(170 55% 40% / 0.4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: hsl(0 0% 100% / 0.35);
}

.btn-ghost:hover { background: hsl(0 0% 100% / 0.1); border-color: hsl(0 0% 100% / 0.6); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(220 80% 12% / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled { box-shadow: 0 2px 20px hsl(220 60% 8% / 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.7rem; color: hsl(220 20% 75%); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }

.main-nav > a:not(.btn) {
  color: hsl(220 20% 82%);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav > a:not(.btn):hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid hsl(0 0% 100% / 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, hsl(170 55% 40% / 0.22), transparent),
    radial-gradient(ellipse 60% 50% at 10% 90%, hsl(220 70% 30% / 0.5), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, hsl(200 60% 14%) 100%);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding-block: 5.5rem 6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: hsl(170 55% 50% / 0.1);
  border: 1px solid hsl(170 55% 50% / 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(170 55% 50% / 0.5); }
  50% { box-shadow: 0 0 0 6px hsl(170 55% 50% / 0); }
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-bright);
}

.hero-sub {
  font-size: 1.1rem;
  color: hsl(220 20% 80%);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-sub strong { color: #fff; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.hero-tags li {
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(220 20% 80%);
  background: hsl(0 0% 100% / 0.07);
  border: 1px solid hsl(0 0% 100% / 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* Mock cards do hero */

.hero-visual { position: relative; }

.mock-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 1.25rem;
}

.mock-main { position: relative; z-index: 1; }

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mock-title { font-weight: 700; font-size: 0.95rem; }

.chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}

.chip-teal { background: var(--teal-soft); color: hsl(170 55% 28%); }
.chip-green { background: hsl(160 60% 94%); color: hsl(160 60% 26%); }
.chip-amber { background: hsl(38 92% 93%); color: hsl(38 92% 28%); }

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.5rem;
  border-top: 1px solid var(--line);
}

.mock-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.mock-info { flex: 1; min-width: 0; }
.mock-info strong { display: block; font-size: 0.85rem; font-weight: 600; }
.mock-info small { display: block; font-size: 0.72rem; color: var(--ink-soft); }

.mock-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  animation: float 5s ease-in-out infinite;
}

.mock-float strong { display: block; font-size: 0.82rem; font-weight: 700; }
.mock-float small { display: block; font-size: 0.7rem; color: var(--ink-soft); }

.mock-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0.55rem;
  background: var(--teal-soft);
  color: var(--teal);
  flex-shrink: 0;
}

.mock-icon svg { width: 19px; height: 19px; }

.mock-opme { top: -1.75rem; right: -0.5rem; }
.mock-repasse { bottom: -1.75rem; left: -0.5rem; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Facts strip ---------- */

.facts {
  background: var(--navy);
  border-top: 1px solid hsl(220 60% 25%);
  color: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 1.6rem;
}

.fact { text-align: center; }
.fact strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--teal-bright); }
.fact span { font-size: 0.8rem; color: hsl(220 20% 75%); }

/* ---------- Seções genéricas ---------- */

.section { padding-block: 5rem; }

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

.section-head p { color: var(--ink-soft); margin-top: 0.9rem; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ---------- Dor ---------- */

.pain { background: var(--bg); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.pain-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: hsl(25 85% 95%);
  color: var(--orange);
  margin-bottom: 1rem;
}

.pain-icon svg { width: 22px; height: 22px; }

.pain-card h3 { margin-bottom: 0.5rem; }
.pain-card p { font-size: 0.92rem; color: var(--ink-soft); }

.pain-punch {
  text-align: center;
  font-size: 1.15rem;
  margin-top: 3rem;
  color: var(--ink-soft);
}

.pain-punch strong { color: var(--ink); }

/* ---------- Funcionalidades ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: hsl(170 55% 40% / 0.4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: #fff;
  margin-bottom: 1rem;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.87rem; color: var(--ink-soft); }

/* ---------- Como funciona ---------- */

.how { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal-bright);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Split (financeiro / CTA) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-copy h2 { margin-bottom: 1rem; }
.split-copy > p { color: var(--ink-soft); margin-bottom: 1.5rem; font-size: 1.02rem; }

.check-list { list-style: none; margin-bottom: 2rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.check-list li strong { color: var(--ink); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9c8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Card financeiro */

.finance-card { max-width: 26rem; margin-inline: auto; }

.finance-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.finance-line span { color: var(--ink-soft); }
.finance-line strong { font-variant-numeric: tabular-nums; font-weight: 600; }
.finance-line strong.pos { color: var(--green); }

.finance-line.total {
  border-top: 2px solid var(--ink);
  margin-top: 0.4rem;
  font-size: 1rem;
}

.finance-line.total strong { font-weight: 800; }

.finance-bar {
  height: 8px;
  background: var(--line);
  border-radius: 100px;
  margin-block: 1rem 0.5rem;
  overflow: hidden;
}

.finance-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: 100px;
}

.finance-note { color: var(--ink-soft); font-size: 0.75rem; }

/* ---------- Segurança ---------- */

.security { background: var(--bg); }

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.sec-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: var(--navy);
  color: var(--teal-bright);
  margin-bottom: 1rem;
}

.sec-icon svg { width: 22px; height: 22px; }

.sec-card h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.sec-card p { font-size: 0.87rem; color: var(--ink-soft); }

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

.faq-container { max-width: 46rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] { border-color: hsl(170 55% 40% / 0.5); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron { transform: rotate(-135deg); }

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- CTA final ---------- */

.cta-final {
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, hsl(170 55% 40% / 0.18), transparent),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, hsl(200 60% 14%) 100%);
  color: #fff;
}

.cta-final h2 em { font-style: normal; color: var(--teal-bright); }
.cta-final .split-copy > p { color: hsl(220 20% 80%); }

.check-list.light li { color: hsl(220 20% 82%); }
.check-list.light li::before { background-color: hsl(170 55% 50% / 0.18); }

/* Formulário */

.demo-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 2rem;
}

.demo-form h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px hsl(170 55% 40% / 0.15);
}

.form-field input.invalid { border-color: var(--orange); }

.demo-form .btn { margin-top: 0.5rem; }

.form-note {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
  text-align: center;
}

.form-feedback {
  display: none;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: hsl(160 60% 94%);
  color: hsl(160 60% 22%);
}

.form-feedback.error {
  display: block;
  background: hsl(25 85% 95%);
  color: hsl(25 85% 35%);
}

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

.site-footer {
  background: var(--navy);
  color: hsl(220 20% 78%);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 20rem; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.footer-nav a {
  display: block;
  font-size: 0.88rem;
  color: hsl(220 20% 72%);
  text-decoration: none;
  margin-bottom: 0.55rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: var(--teal-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid hsl(220 60% 22%);
  padding-block: 1.4rem;
  font-size: 0.8rem;
}

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px hsl(145 70% 40% / 0.45);
  transition: transform 0.15s ease;
}

.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */

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

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-float { animation: none; }
  .pulse-dot { animation: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 3.5rem 4.5rem; }
  .hero-visual { max-width: 30rem; margin-inline: auto; width: 100%; }
  .mock-opme { top: -1.5rem; right: 0; }
  .mock-repasse { bottom: -1.5rem; left: 0; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-2);
    border-top: 1px solid hsl(220 60% 25%);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
    box-shadow: 0 16px 30px hsl(220 60% 8% / 0.4);
  }

  .main-nav.open { display: flex; }

  .main-nav > a:not(.btn) { padding: 0.8rem 0.25rem; border-bottom: 1px solid hsl(220 60% 22%); }
  .main-nav > .btn { margin-top: 1rem; }

  .section { padding-block: 3.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .demo-form { padding: 1.5rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
