:root {
  --font-sans: "Inter", sans-serif;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --background: #ffffff;
  --foreground: #111827;
  --muted: #64748b;
  --muted-strong: #475569;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-dark: #020617;
  --surface-dark-soft: #0f172a;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #375dfb;
  --primary-dark: #114ea9;
  --primary-soft: rgba(55, 93, 251, 0.1);
  --primary-softer: rgba(55, 93, 251, 0.05);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 80px rgba(55, 93, 251, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1520px;
  --header-height: 96px;
}

html {
  scroll-behavior: smooth;
}

html.dark {
  --background: #020617;
  --foreground: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --surface: #020617;
  --surface-alt: #0b1220;
  --surface-dark: #000000;
  --surface-dark-soft: #0f172a;
  --border: #1e293b;
  --border-strong: #334155;
  --primary: #60a5fa;
  --primary-dark: #60a5fa;
  --primary-soft: rgba(96, 165, 250, 0.14);
  --primary-softer: rgba(96, 165, 250, 0.08);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 25px 80px rgba(96, 165, 250, 0.18);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

button {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

svg {
  width: 100%;
  height: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 20px 0;
  transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

html.dark .site-header.scrolled {
  background: rgba(2, 6, 23, 0.72);
  border-bottom-color: rgba(30, 41, 59, 0.95);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.brand-text span {
  color: var(--foreground);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav > a:not(.button),
.mobile-nav a:not(.button) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-strong);
}

.desktop-nav > a.is-active:not(.button),
.mobile-nav a.is-active:not(.button) {
  color: var(--primary);
}

.desktop-nav > a:not(.button):hover,
.mobile-nav a:not(.button):hover,
.site-footer a:hover {
  color: var(--primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--muted-strong);
  border-radius: 999px;
}

.theme-toggle:hover {
  background: var(--surface-alt);
}

.theme-icon {
  width: 20px;
  height: 20px;
}

.theme-icon-sun {
  display: none;
}

html.dark .theme-icon-sun {
  display: block;
}

html.dark .theme-icon-moon {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
}

.button-pill {
  border-radius: 999px;
  min-height: 56px;
  padding: 0 32px;
}

.button-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}

.button-primary:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.button-secondary {
  color: var(--foreground);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

html.dark .button-secondary {
  background: var(--surface-alt);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: var(--surface-alt);
}

.button-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-actions,
.mobile-nav {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--muted-strong);
  position: relative;
}

.menu-toggle:hover {
  background: var(--surface-alt);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 20px;
}

.menu-toggle span:nth-child(3) {
  top: 26px;
}

.menu-toggle.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 16px;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

html.dark .mobile-nav {
  background: #020617;
  border-top-color: rgba(30, 41, 59, 0.95);
  border-bottom-color: rgba(30, 41, 59, 0.95);
}

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

.mobile-nav a {
  padding: 8px;
  border-radius: 8px;
}

.mobile-nav a:hover {
  background: var(--surface-alt);
}

.mobile-cta {
  margin-top: 6px;
}

.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 28px) 0 64px;
  overflow: hidden;
  background: var(--surface);
}

.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  transform: skewX(-6deg);
  transform-origin: top right;
}

.hero-accent-base {
  width: 55%;
  background: var(--surface-alt);
}

.hero-accent-overlay {
  width: 52%;
  background: var(--primary-softer);
}

.hero-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 160px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.6;
}

.hero-grid,
.contact-grid,
.differentials-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.differentials h2,
.contact h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  margin: 0 0 24px;
  max-width: 780px;
  font-size: clamp(3.2rem, 5vw, 5.1rem);
  line-height: 1.05;
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--primary);
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 12px;
  background: rgba(55, 93, 251, 0.15);
  transform: skewX(2deg);
  z-index: -1;
}

html.dark .highlight::after {
  background: rgba(96, 165, 250, 0.18);
}

.hero-description,
.section-heading p,
.differentials-aside p,
.contact-copy p,
.site-footer p,
.service-card p,
.feature-card p,
.differential-item p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-description {
  max-width: 600px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 0 32px;
}

.feature-card,
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

html.dark .feature-card,
html.dark .contact-card,
html.dark .growth-card {
  background: var(--surface-alt);
  border-color: var(--border);
}

.feature-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card h3,
.service-card h3,
.differential-item h3,
.contact-card a,
.contact-card p {
  margin: 0 0 4px;
  color: var(--foreground);
}

.feature-card h3,
.service-card h3,
.differential-item h3 {
  font-size: 0.96rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.78rem;
}

.feature-icon,
.service-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.feature-icon svg,
.service-icon svg,
.contact-icon svg {
  width: 20px;
  height: 20px;
}

.feature-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.feature-icon.indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.feature-icon.violet {
  background: #f5f3ff;
  color: #7c3aed;
}

.feature-icon.sky {
  background: #ecfeff;
  color: #0284c7;
}

html.dark .feature-icon.blue,
html.dark .feature-icon.indigo,
html.dark .feature-icon.violet,
html.dark .feature-icon.sky,
html.dark .service-icon,
html.dark .contact-icon {
  background: rgba(96, 165, 250, 0.12);
  color: var(--primary);
}

.dot-grid,
.contact-dots {
  position: absolute;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.dot-grid {
  right: -20px;
  bottom: -18px;
  grid-template-columns: repeat(5, 1fr);
  opacity: 0.2;
}

.contact-dots {
  right: 32px;
  top: 48px;
  grid-template-columns: repeat(6, 1fr);
  opacity: 0.1;
}

.dot-grid span,
.contact-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.dot-grid span {
  background: var(--primary);
}

.contact-dots span {
  background: #ffffff;
}

.section-dark {
  position: relative;
  padding: 96px 0;
  background: var(--surface-dark);
  overflow: hidden;
}

.section-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.section-heading h2,
.differentials h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.section-heading h2,
.contact h2 {
  color: #ffffff;
}

.section-heading h2 span,
.differentials h2 span,
.contact h2 span {
  color: var(--primary);
}

.section-heading p,
.contact-copy p {
  max-width: 390px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 24px;
  background: var(--surface-dark-soft);
  border: 1px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55, 93, 251, 0), rgba(55, 93, 251, 0));
  transition: background 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 93, 251, 0.5);
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(55, 93, 251, 0.08), rgba(55, 93, 251, 0));
}

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

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon,
.contact-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.service-card:hover .service-icon,
.contact-card:hover .contact-icon {
  color: #ffffff;
  background: var(--primary);
}

.service-card-head span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
}

.service-card h3,
.service-card p,
.contact-card small,
.contact-card a,
.contact-card p {
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.differentials {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--surface);
}

.section-vertical-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(55, 93, 251, 0.3), transparent);
}

.differentials-aside {
  position: sticky;
  top: 108px;
  align-self: start;
}

.differentials h2 {
  margin-bottom: 24px;
  color: var(--foreground);
}

.differentials-aside p {
  margin: 0 0 40px;
  max-width: 520px;
}

.growth-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.growth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.growth-card-head small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.growth-card-head strong {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
}

.growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.chart {
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.bar {
  flex: 1;
  height: var(--height);
  border-radius: 4px 4px 0 0;
  background: rgba(55, 93, 251, 0.25);
  transform-origin: bottom;
  animation: growBar 0.7s ease both;
}

.bar-active {
  background: var(--primary);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.differentials-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid transparent;
}

.differential-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.differential-item:first-child {
  padding-top: 0;
}

.differential-item > span {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;
  color: #e2e8f0;
}

html.dark .differential-item > span {
  color: #1e293b;
}

.differential-item:hover > span {
  color: rgba(55, 93, 251, 0.2);
}

.differential-item:hover h3 {
  color: var(--primary);
}

.differential-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.differential-item p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.contact-copy p {
  margin: 0 0 36px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--surface-dark-soft);
  border-color: #1e293b;
  padding: 20px;
}

.contact-card small {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-card a,
.contact-card p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

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

.site-footer {
  padding: 64px 0 32px;
  color: #cbd5e1;
  background: var(--surface-dark);
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-mark {
  margin-bottom: 18px;
}

.site-footer .brand-text,
.site-footer h4 {
  color: #ffffff;
}

.site-footer .brand-text span {
  color: #ffffff;
}

.footer-brand p {
  max-width: 420px;
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #e2e8f0;
  background: #0f172a;
  border: 1px solid #1e293b;
}

.social-links a:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 12px;
}

.site-footer li a {
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}

.page-main {
  padding-top: 112px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 48px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(55, 93, 251, 0.06));
}

html.dark .page-hero {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(96, 165, 250, 0.08));
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 6%;
  width: 32%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-8deg);
}

html.dark .page-hero::before {
  background: rgba(255, 255, 255, 0.03);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 40px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-hero h1 {
  margin: 0 0 20px;
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 700px;
  margin: 0 0 32px;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.8;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

html.dark .page-hero-panel {
  background: rgba(15, 23, 42, 0.92);
  border-color: var(--border);
}

.page-hero-panel h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--foreground);
}

.page-hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.7;
}

.page-hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.page-section {
  padding: 88px 0;
}

.page-section.alt {
  background: var(--surface-alt);
}

html.dark .page-section.alt {
  background: #0b1220;
}

.page-intro {
  max-width: 800px;
  margin-bottom: 48px;
}

.page-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

html.dark .content-card {
  background: #0f172a;
  border-color: var(--border);
}

.content-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.75;
}

.content-card ul {
  margin: 0;
  padding-left: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

html.dark .feature-item {
  background: #0f172a;
  border-color: var(--border);
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

html.dark .faq-item {
  background: #0f172a;
  border-color: var(--border);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-link {
  display: block;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

html.dark .related-link {
  background: #0f172a;
  border-color: var(--border);
}

.related-link strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.related-link span {
  color: var(--muted);
  line-height: 1.7;
}

.related-link:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 93, 251, 0.5);
}

.cta-strip {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary), #2947d9);
  color: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.cta-strip h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta-strip p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.cta-strip .button-secondary {
  background: #ffffff;
}

.contact-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-data {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

html.dark .contact-data {
  background: #0f172a;
  border-color: var(--border);
}

.contact-data h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.contact-data p,
.contact-data a {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-copy {
  display: grid;
  gap: 28px;
}

.legal-copy section {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

html.dark .legal-copy section {
  background: #0f172a;
  border-color: var(--border);
}

.legal-copy h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-copy ul {
  margin: 0;
  padding-left: 20px;
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}


/* National Coverage Section */
.national-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.national-copy h2 {
  margin-bottom: 1.5rem;
}

.national-copy p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.national-copy p strong {
  color: var(--text-primary);
}

.national-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.brazil-map-image {
  width: 100%;
  height: auto;
  opacity: 0.15;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2));
  transition: opacity 0.3s ease;
}
[data-theme="dark"] .brazil-map-image {
  opacity: 0.3;
}

.map-pin-container {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.map-pin {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.map-pin-pulse {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: 1;
  animation: mapPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.map-pin-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--surface);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

@keyframes mapPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .national-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .national-map-wrapper {
    max-width: 300px;
  }
}


/* ==========================================================================
   Blog Ecosystem Styles
   ========================================================================== */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background-color: var(--border);
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.blog-card-category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

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

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

.blog-card-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-link:hover {
  text-decoration: underline;
}

/* Featured Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.blog-featured-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: var(--border);
  object-fit: cover;
}

.blog-featured-content {
  padding: 3rem;
}

@media (max-width: 992px) {
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-featured-image {
    min-height: 250px;
  }
  .blog-featured-content {
    padding: 2rem;
  }
}

/* Categories Bar */
.blog-categories-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.blog-categories-bar::-webkit-scrollbar {
  display: none;
}

.blog-category-pill {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.blog-category-pill.active,
.blog-category-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Search Bar */
.blog-search-bar {
  display: flex;
  margin-bottom: 2rem;
  max-width: 400px;
}

.blog-search-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.blog-search-input:focus {
  border-color: var(--primary);
}

.blog-search-button {
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.blog-search-button:hover {
  background-color: var(--primary-dark);
}

/* Article Layout */
.article-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.article-header .breadcrumb {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.article-hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 4rem;
  display: block;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2,
.article-content h3 {
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.article-content h2 {
  font-size: 1.875rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}

.article-cta {
  background: var(--primary);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  color: white;
  margin-top: 0;
  margin-bottom: 1rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.article-cta .button {
  background: white;
  color: var(--primary);
}

.article-cta .button:hover {
  background: var(--bg);
}

/* Related Posts */
.related-posts-section {
  background-color: var(--surface);
  padding: 5rem 0;
  margin-top: 4rem;
}

.related-posts-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  animation: floatPulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

/* Tooltip via ::after */
.whatsapp-float::after {
  content: "Fale conosco no WhatsApp";
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background-color: #1e293b;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.1);
}
.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
  .whatsapp-float::after {
    display: none; /* Oculta em telas touch */
  }
}

@keyframes floatPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
