:root {
  --primary-color: #0f172a;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --pill-bg: #e0f2fe;
  --pill-text: #0369a1;
  --shadow-soft: 0 24px 60px -42px rgba(15, 23, 42, 0.45);
  --shadow-card: 0 20px 40px -30px rgba(15, 23, 42, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container-width: 1280px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-light);
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(59, 130, 246, 0.13), rgba(255, 255, 255, 0) 58%),
    radial-gradient(620px 360px at 100% 0%, rgba(16, 185, 129, 0.09), rgba(255, 255, 255, 0) 62%),
    var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img,
.site-footer img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn-lg {
  min-height: 50px;
  padding: 13px 24px;
}

.btn-cta {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 12px 28px -16px rgba(59, 130, 246, 0.8);
}

.btn-cta:hover {
  background: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 16px 34px -18px rgba(59, 130, 246, 0.9);
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.45);
}

.btn-light {
  background: #ffffff;
  color: var(--primary-color);
}

.btn-dark-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.full-width {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section {
  position: relative;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

#vanta-hero {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 3.5rem;
  align-items: center;
}

.trust-badge,
.section-pill,
.data-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  width: fit-content;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
}

.trust-badge,
.section-pill {
  padding: 8px 14px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 0.9rem;
}

.section-pill.inverse {
  background: rgba(255, 255, 255, 0.16);
  color: #dbeafe;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 1rem 0 1.15rem;
  font-size: clamp(2.6rem, 6vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color);
  padding-bottom: 0.1em;
}

.typed-word {
  display: inline-block;
  min-width: 7.8ch;
  white-space: nowrap;
}

.typed-word::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: typedCursor 0.85s steps(1) infinite;
}

@keyframes typedCursor {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

.hero-lead {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-metric {
  border: 1px solid #dbeafe;
  border-radius: 20px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.38);
}

.hero-metric strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
}

.hero-metric span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.data-badge {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.data-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.data-badge.green {
  background: #dcfce7;
  color: #166534;
}

.hero-visual-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 55px -36px rgba(15, 23, 42, 0.45);
  aspect-ratio: 3 / 2;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.dashboard-preview div {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.85rem;
}

.preview-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.dashboard-preview strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.9rem;
  line-height: 1.25;
}

.section {
  padding: 5rem 0;
}

.bg-white {
  background: #ffffff;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header .section-pill {
  margin: 0 auto 1rem;
}

.section-header h2,
.section-copy h2,
.contact-copy h2,
.cta-inner h2 {
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p,
.section-copy p,
.contact-copy p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-carousel {
  position: relative;
  padding: 0 52px;
}

.carousel-track-wrapper {
  overflow: hidden;
  padding-bottom: 2rem;
  margin-bottom: -2rem;
}

.product-grid {
  display: flex;
  gap: 1.35rem;
  padding: 0.25rem 0.25rem 0;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-color);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

.carousel-btn:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 12px 28px -14px rgba(59, 130, 246, 0.6);
  transform: translateY(calc(-50% - 2px));
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bfdbfe;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.carousel-dot.is-active {
  width: 24px;
  background: var(--accent-color);
}

.bento-card,
.product-card,
.comparison-card,
.contact-card,
.contact-form,
.timeline {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.bento-card {
  min-height: 100%;
  padding: 1.55rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 26px 48px -34px rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
}

.product-card {
  flex: 0 0 min(74vw, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 26px 48px -34px rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
}

.product-preview {
  position: relative;
  display: block;
  min-height: 290px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  text-decoration: none;
}

.screenshot-preview {
  background: #f1f5f9;
}

.screenshot-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.product-card:hover .screenshot-preview img {
  transform: scale(1.035);
}

.screenshot-preview::before,
.screenshot-preview::after {
  display: none;
}

.product-preview::before,
.product-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.72;
}

.product-preview::before {
  width: 150px;
  height: 150px;
  right: -52px;
  top: -54px;
  background: rgba(255, 255, 255, 0.32);
}

.product-preview::after {
  width: 92px;
  height: 92px;
  left: -32px;
  bottom: -28px;
  background: rgba(255, 255, 255, 0.22);
}

.theme-blue {
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
}

.theme-slate {
  background: linear-gradient(135deg, #0f172a, #64748b);
}

.theme-red {
  background: linear-gradient(135deg, #b91c1c, #fb7185);
}

.theme-green {
  background: linear-gradient(135deg, #047857, #22c55e);
}

.theme-cyan {
  background: linear-gradient(135deg, #0e7490, #67e8f9);
}

.theme-amber {
  background: linear-gradient(135deg, #b45309, #fbbf24);
}

.theme-indigo {
  background: linear-gradient(135deg, #4338ca, #a78bfa);
}

.theme-neutral {
  background: linear-gradient(135deg, #334155, #d4d4d8);
}

.browser-bar {
  position: absolute;
  inset: 14px 14px auto;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.browser-bar::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 12px 0 0 rgba(255, 255, 255, 0.62), 24px 0 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-50%);
}

.product-mark {
  position: absolute;
  left: 18px;
  top: 58px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.preview-line {
  position: absolute;
  left: 94px;
  right: 20px;
  top: 74px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.preview-line.wide {
  top: 56px;
  right: 64px;
}

.preview-chart {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 42px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 18%, transparent 18% 24%, rgba(255, 255, 255, 0.64) 24% 48%, transparent 48% 54%, rgba(255, 255, 255, 0.78) 54% 76%, transparent 76%),
    rgba(255, 255, 255, 0.2);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card h3 {
  color: var(--primary-color);
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.product-card p {
  min-height: 4.4em;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.product-link {
  margin-top: auto;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.product-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.icon-box {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.icon-box svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.icon-box.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-box.amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.icon-box.slate {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.bento-card h3,
.comparison-card h3,
.timeline-item h3,
.contact-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.bento-card p,
.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.check-list,
.x-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li,
.x-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 0.08rem;
  border-right: 2px solid var(--success-color);
  border-bottom: 2px solid var(--success-color);
  transform: rotate(45deg);
}

.x-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.38rem;
  border-radius: 999px;
  background: #ef4444;
}

.check-list.strong li {
  color: var(--primary-color);
  font-weight: 600;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 104px;
}

.section-copy .section-pill,
.contact-copy .section-pill {
  margin-bottom: 1rem;
}

.timeline {
  padding: 1.25rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 18px;
}

.timeline-item + .timeline-item {
  border-top: 1px solid var(--border-color);
  border-radius: 0;
}

.timeline-item span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.92rem;
}

.timeline-item p {
  margin: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.comparison-card {
  padding: 2rem;
}

.muted-card {
  background: #f8fafc;
}

.accent-card {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.cta-band {
  padding: 4.5rem 0;
  background: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  padding: 2.4rem;
  box-shadow: 0 30px 64px -42px rgba(15, 23, 42, 0.65);
}

.cta-inner h2 {
  color: #ffffff;
  margin-top: 1rem;
}

.cta-inner p {
  color: #dbeafe;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  padding: 1.35rem;
  margin-top: 1.5rem;
}

.contact-card dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-card dt {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-card dd {
  margin: 0;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--accent-color);
}

.contact-card a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-form {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.form-field label {
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary-color);
  font: inherit;
  font-size: 0.94rem;
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #047857;
}

.form-feedback.error {
  color: #b91c1c;
}

.site-footer {
  background: var(--primary-color);
  color: #cbd5e1;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0.6rem 0 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-meta {
  text-align: right;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-social a svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-copy {
    position: static;
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    flex-basis: min(82vw, 500px);
  }

  .product-preview {
    min-height: 250px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 66px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 1rem auto;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-shell {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .hero-metrics,
  .dashboard-preview,
  .comparison-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.7rem;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 1rem;
  }

  .trust-badge,
  .section-pill {
    font-size: 0.78rem;
  }

  .section-header h2,
  .hero-copy h1 {
    overflow-wrap: anywhere;
  }

  .card-grid-4,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-carousel {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .product-card {
    flex-basis: min(86vw, 380px);
  }

  .product-preview {
    min-height: 190px;
  }

  .product-card p {
    min-height: 0;
  }

  .section {
    padding: 3.75rem 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 0.4rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-social {
    align-items: flex-start;
  }
}

/* ── Blog ─────────────────────────────────────────────────────────────────── */

.blog-hero-section {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(59, 130, 246, 0.1), transparent 58%),
    radial-gradient(620px 360px at 100% 0%, rgba(16, 185, 129, 0.07), transparent 62%),
    var(--bg-light);
}

.blog-hero-section .section-pill {
  margin-bottom: 1.25rem;
}

.blog-hero-title {
  max-width: 640px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-color);
}

.blog-hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.blog-loading,
.blog-error {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem 0;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 26px 48px -34px rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
}

.blog-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.blog-card-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 0.65rem;
}

.blog-card-title {
  color: var(--primary-color);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.blog-card-author {
  color: var(--primary-color);
  font-size: 0.84rem;
  font-weight: 800;
  margin: -0.2rem 0 0.75rem;
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.blog-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-read-btn {
  margin-top: auto;
}

/* ── Post individual ─────────────────────────────────────────────────────── */

.blog-post-container {
  max-width: 1280px;
  margin: 0 auto;
}

.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 2rem;
  color: var(--accent-color);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.blog-back-btn:hover {
  color: var(--accent-hover);
}

.blog-back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.blog-post-cover {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 2rem;
}

.blog-post-header {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-post-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 0.85rem;
}

.blog-post-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--primary-color);
  margin: 0 0 1rem;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ── Conteúdo Markdown ───────────────────────────────────────────────────── */

.blog-content {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.blog-content p {
  margin: 0 0 1.35rem;
  color: var(--text-main);
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.35rem;
}

.blog-content li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

.blog-content strong {
  font-weight: 700;
  color: var(--primary-color);
}

.blog-content a {
  color: var(--accent-color);
  font-weight: 600;
  text-underline-offset: 3px;
}

.blog-content a:hover {
  color: var(--accent-hover);
}

.blog-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-color);
  background: #eff6ff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.blog-content blockquote p {
  margin: 0;
  color: var(--text-secondary);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.94rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.blog-content th {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 14px;
  text-align: left;
}

.blog-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.blog-content tr:last-child td {
  border-bottom: none;
}

.blog-content tr:nth-child(even) td {
  background: #f8fafc;
}

.blog-content code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.88em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 5px;
  color: #1e293b;
}

.blog-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.9rem;
}

/* ── CTA dentro de artigo ────────────────────────────────────────────────── */

.blog-content .article-cta {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: var(--radius-md);
  color: #ffffff;
}

.blog-content .article-cta h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.blog-content .article-cta p {
  color: #dbeafe;
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
}

.blog-content .article-cta a {
  display: inline-flex;
  padding: 10px 22px;
  background: var(--accent-color);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.blog-content .article-cta a:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.blog-content .article-author {
  margin-top: 2.2rem;
  color: var(--primary-color);
  font-weight: 800;
}

/* ── Navegação entre posts ───────────────────────────────────────────────── */

.blog-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.blog-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--primary-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-nav-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px -16px rgba(59, 130, 246, 0.45);
}

.blog-nav-next {
  text-align: right;
}

.blog-nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-nav-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-color);
}

/* ── Blog responsivo ─────────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-nav-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-nav-next {
    text-align: left;
  }

  .blog-post-title {
    font-size: 1.6rem;
  }
}
