/* NF Integrada - Landing PHP 5.6 / XAMPP */
:root {
  --bg: #f7f9fc;
  --ink: #0f172a;
  --navy: #0b1f3a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --dark: #06101d;
  --radius: 1.25rem;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --container: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-muted {
  background: #f1f5f9;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #f8fafc;
}

.btn-dark {
  background: #fff;
  color: var(--navy);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.2);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--navy);
  background: rgba(11, 31, 58, 0.05);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.site-header.is-open .nav-mobile {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.nav-mobile a.is-active,
.nav-mobile a:hover {
  background: #f8fafc;
  color: var(--navy);
}

.nav-mobile-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.1), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 55%, #f4f7fb 100%);
  z-index: -2;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 1rem 0 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-meta {
  margin: 1.25rem 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.api-card {
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.75rem;
  box-shadow: 0 30px 80px -30px rgba(15, 23, 42, 0.45);
}

.api-window {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.75);
  background: var(--dark);
  color: #e2e8f0;
}

.api-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dots span:nth-child(1) { background: #fb7185; }
.dots span:nth-child(2) { background: #fcd34d; }
.dots span:nth-child(3) { background: #34d399; }

.api-endpoint {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  color: #7dd3fc;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.55rem;
  border-radius: 0.45rem;
}

.api-window pre {
  margin: 0;
  padding: 1.15rem;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

.api-window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.api-window-foot small {
  display: block;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.api-window-foot strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
}

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  animation: floatY 4.5s ease-in-out infinite;
}

.float-card.ok::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
}

.float-1 { top: 1.5rem; left: -0.4rem; }
.float-2 { top: 5.5rem; right: -0.2rem; animation-delay: 0.4s; }
.float-3 { bottom: 5.5rem; left: -0.2rem; animation-delay: 0.8s; }
.float-4 { bottom: -0.4rem; right: 1rem; animation-delay: 1.1s; }

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

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

.trust-title {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow);
}

/* Cards grids */
.cards-3,
.cards-features,
.cards-audience,
.cards-scale,
.cards-why,
.docs-grid {
  display: grid;
  gap: 1.1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  box-shadow: 0 10px 20px rgba(11, 31, 58, 0.16);
  margin-bottom: 1rem;
}

.icon-soft {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: var(--navy);
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card .sub {
  margin: 0.25rem 0 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
}

.panel {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.panel-dark {
  background: linear-gradient(135deg, var(--navy), #12325f 45%, #1d4ed8);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.panel-dark::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.18);
  filter: blur(20px);
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel .label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel .label.bad { color: #f43f5e; }
.panel .label.good { color: #bae6fd; }

.panel h3 {
  margin: 0.7rem 0 0;
  font-size: 1.4rem;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 0.92rem;
}

.panel-dark .checklist li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.check,
.cross {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

.check {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.cross {
  background: #ffe4e6;
  color: #e11d48;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(11, 31, 58, 0.2);
}

.step h3 {
  margin: 1rem 0 0;
}

.step p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Developers */
.developers {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.developers::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
}

.developers .container {
  position: relative;
}

.developers .section-head .eyebrow { color: #7dd3fc; }
.developers .section-head h2 { color: #fff; }
.developers .section-head p { color: #cbd5e1; }

.code-grid {
  display: grid;
  gap: 1rem;
}

.code-block {
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #07111f;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-label {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.75rem;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border-radius: 0.6rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.dev-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.dev-tags span {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.7rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.is-featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.price-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.price-card .desc {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 3em;
  line-height: 1.5;
}

.price-value {
  margin: 1.4rem 0 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  min-height: 2.8rem;
}

.price-value span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.75rem;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(11, 31, 58, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 0.85rem;
}

.price-card.is-featured .price-meta {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(11, 31, 58, 0.06));
  border-color: rgba(37, 99, 235, 0.22);
}

.price-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.35rem 0.45rem;
  text-align: center;
}

.price-meta-item + .price-meta-item {
  border-left: 1px solid rgba(37, 99, 235, 0.16);
}

.price-meta-item strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

.price-meta-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.price-includes {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.price-features {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.price-card .btn {
  margin-top: 1.5rem;
}

.pricing-extra {
  margin-top: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.pricing-extra h3 {
  margin: 0;
}

.pricing-extra p {
  margin: 0.6rem auto 0;
  max-width: 36rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq-question span.chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--muted);
}

.faq-item.is-open .faq-question span.chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.9rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Final CTA */
.final-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #123968 45%, #2563eb);
  box-shadow: 0 28px 60px rgba(11, 31, 58, 0.28);
}

.final-cta-box h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.final-cta-box p {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: #dbeafe;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo-mark {
  background: linear-gradient(135deg, #38bdf8, var(--accent));
}

.footer-tagline {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

/* Floating buttons */
.back-top {
  position: fixed;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, opacity 0.25s ease;
  left: 1.1rem;
  bottom: 1.1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-2px);
}

/* Contact form */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field-captcha {
  max-width: 220px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-actions {
  margin-top: 1.35rem;
  display: flex;
  justify-content: flex-end;
}

.form-alert {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
}

.form-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .float-card,
  .btn,
  .card,
  .step,
  .price-card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .docs-grid,
  .cards-features,
  .cards-audience,
  .cards-why,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .code-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .menu-toggle,
  .nav-mobile { display: none !important; }
  .nav-desktop,
  .header-actions { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .trust-grid { grid-template-columns: repeat(6, 1fr); }
  .docs-grid,
  .cards-features,
  .cards-why { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cards-audience { grid-template-columns: repeat(3, 1fr); }
  .cards-scale { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.is-featured { transform: translateY(-8px); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .price-value { font-size: 1.7rem; }
  .price-card { padding: 1.5rem; }
}

@media (max-width: 720px) {
  .float-card { font-size: 0.7rem; padding: 0.5rem 0.65rem; }
  .float-1 { left: 0; }
  .float-2 { right: 0; }
  .btn { width: 100%; }
  .hero-actions .btn,
  .final-cta-actions .btn { width: auto; min-width: min(100%, 240px); }
}
