:root {
  --bg0: #170507;
  --bg1: #26080c;
  --bg2: #3f0f18;
  --card: rgba(37, 8, 13, 0.64);
  --card-strong: rgba(37, 8, 13, 0.82);
  --stroke: rgba(255, 128, 145, 0.24);
  --stroke-soft: rgba(255, 128, 145, 0.14);
  --text: rgba(255, 234, 238, 0.97);
  --muted: rgba(228, 172, 182, 0.88);
  --floating-btn-bottom-offset: 1.1rem;

  --r1: 18px;
  --r2: 12px;
  --shadow-lg: 0 24px 60px rgba(20, 4, 7, 0.45);
  --glow-sm: 0 0 0 1px rgba(255, 132, 151, 0.2), 0 0 24px rgba(240, 69, 95, 0.18);

  --gradA: 255, 122, 144;
  --gradB: 245, 84, 112;
  --gradC: 216, 50, 80;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  padding-top: 96px;
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at 12% -8%, rgba(var(--gradA), 0.32), transparent 44%),
    radial-gradient(circle at 86% 10%, rgba(var(--gradC), 0.26), transparent 42%),
    linear-gradient(145deg, var(--bg0) 0%, var(--bg1) 56%, var(--bg2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(113, 196, 162, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 196, 162, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  z-index: -2;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-5,
.navbar-brand {
  font-family: "Sora", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

section[id] {
  scroll-margin-top: 110px;
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.text-secondary-emphasis {
  color: var(--muted) !important;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 0.75rem;
  z-index: 10000;
  background: #f4fcf8;
  color: #032217;
  padding: 0.55rem 0.8rem;
  border-radius: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

main:focus {
  outline: none;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, rgba(var(--gradA), 1), rgba(var(--gradB), 1), rgba(var(--gradC), 1));
  box-shadow: 0 0 20px rgba(var(--gradA), 0.75);
}

code,
pre,
.metric-kpi,
.step-num {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
}

.nav-link {
  color: var(--muted) !important;
}

.nav-link:hover {
  color: var(--text) !important;
}

.navbar .nav-link {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
}

.navbar .nav-link.active {
  color: var(--text) !important;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--gradA), 1), rgba(var(--gradC), 1));
  box-shadow: 0 0 18px rgba(var(--gradA), 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 44px;
  padding: 0.64rem 1rem;
  border-radius: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-primary {
  border: 1px solid rgba(var(--gradA), 0.56);
  color: #032217;
  background: linear-gradient(140deg, rgba(var(--gradA), 1), rgba(var(--gradB), 1));
  box-shadow: 0 10px 30px rgba(19, 137, 102, 0.35);
}

.btn-primary:hover {
  color: #032217;
  border-color: rgba(var(--gradA), 0.7);
  background: linear-gradient(140deg, rgba(var(--gradA), 1), rgba(var(--gradC), 1));
  transform: translateY(-1px);
}

.btn-outline-light {
  color: var(--text);
  border: 1px solid var(--stroke);
  background: rgba(11, 23, 45, 0.44);
}

.btn-outline-light:hover {
  color: var(--text);
  border-color: rgba(var(--gradA), 0.54);
  background: rgba(17, 36, 69, 0.72);
}

.text-bg-primary-subtle {
  background: rgba(var(--gradA), 0.18) !important;
  border-color: rgba(var(--gradA), 0.36) !important;
  color: rgba(198, 235, 255, 0.96) !important;
}

.text-bg-success-subtle {
  background: rgba(var(--gradA), 0.28) !important;
  border-color: rgba(var(--gradA), 0.46) !important;
  color: #032217 !important;
}

.hero-badge i,
.feature-icon i,
.mini-icon i,
.pill i,
.footer-link i {
  color: rgba(var(--gradA), 1);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

a:active,
button:active {
  transform: translateY(1px);
}

.text-gradient {
  background: linear-gradient(90deg, rgba(var(--gradA), 1), rgba(var(--gradB), 1), rgba(var(--gradC), 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-glass {
  background: linear-gradient(180deg, rgba(5, 13, 30, 0.84), rgba(5, 13, 30, 0.66));
  border-bottom: 1px solid var(--stroke-soft);
  backdrop-filter: blur(16px) saturate(130%);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.is-scrolled .nav-glass {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(var(--gradA), 0.26);
}

.theme-toggle-icon {
  border: 0;
  background: transparent;
  color: var(--text);
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer {
  background: linear-gradient(180deg, rgba(5, 12, 26, 0.85), rgba(4, 10, 22, 0.95));
  border-top: 1px solid var(--stroke-soft);
}

.section-divider {
  border: 0;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--gradA), 0.35), transparent);
}

.navbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-light {
  display: none;
}

html[data-theme="light"] .logo-dark {
  display: none;
}

html[data-theme="light"] .logo-light {
  display: inline-block;
}

.hero {
  position: relative;
}

.hero-copy h1 {
  max-width: 16ch;
  text-wrap: balance;
}

.hero-copy .lead {
  max-width: 60ch;
}

.py-lg-6 {
  padding-top: 4.7rem !important;
  padding-bottom: 4.7rem !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.46rem 0.84rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(7, 20, 40, 0.58);
}

.glass {
  background: linear-gradient(180deg, rgba(7, 19, 40, 0.82), rgba(6, 15, 32, 0.9));
  border: 1px solid var(--stroke-soft);
  border-radius: var(--r1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

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

.hero-trust {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.hero-actions .btn-primary {
  min-width: 215px;
}

.hero-actions .btn-outline-light {
  border-color: rgba(var(--gradA), 0.4);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem;
  max-width: 560px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(var(--gradA), 0.35);
  margin-left: -9px;
}

.proof-avatars img:first-child {
  margin-left: 0;
}

.proof-copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1.25;
}

.proof-copy strong {
  font-size: 0.88rem;
}

.proof-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-media img {
  border-radius: var(--r1);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-lg);
}

.metric {
  padding: 0.92rem 1rem;
  text-align: center;
  border: 1px solid var(--stroke-soft);
}

.metric-kpi {
  font-weight: 800;
  font-size: 1.04rem;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.74rem;
  border-radius: 999px;
  background: rgba(8, 20, 40, 0.66);
  border: 1px solid var(--stroke-soft);
  color: var(--text);
  font-size: 0.88rem;
}

.feature-card,
.quote-card,
.project-thumb,
.cta-box,
.steps li,
.accordion,
.affiliate-banner,
.hero img {
  position: relative;
}

.hover-lift {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--gradA), 0.46);
  box-shadow: var(--glow-sm);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r2);
  border: 1px solid var(--stroke-soft);
}

.project-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% -12%, rgba(var(--gradA), 0.16), transparent 34%),
    linear-gradient(180deg, rgba(8, 22, 18, 0.9), rgba(6, 16, 14, 0.94));
}

.project-card .project-thumb {
  aspect-ratio: 16 / 10;
  border-color: rgba(var(--gradA), 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.project-card .fw-semibold {
  font-size: 1.03rem;
}

.project-card p {
  line-height: 1.55;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--gradA), 0.2), rgba(var(--gradC), 0.24));
  border: 1px solid var(--stroke);
}

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

.steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.86rem;
  border-radius: 14px;
  border: 1px solid var(--stroke-soft);
  background: rgba(7, 19, 39, 0.66);
}

.step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(var(--gradA), 0.45);
  background: rgba(var(--gradA), 0.16);
  color: rgba(206, 239, 255, 0.95);
  font-weight: 700;
}

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

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checklist i {
  color: rgba(96, 234, 188, 0.95);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--gradA), 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.quote-stars {
  text-align: center;
  letter-spacing: 0.15em;
  color: rgba(var(--gradA), 0.95);
  font-size: 0.8rem;
}

.quote-mark {
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(var(--gradA), 0.92);
  margin-bottom: 0.25rem;
}

.testimonial-card {
  text-align: center;
  background:
    radial-gradient(circle at 10% -8%, rgba(var(--gradA), 0.13), transparent 36%),
    linear-gradient(180deg, rgba(8, 21, 18, 0.9), rgba(5, 15, 13, 0.95));
}

.testimonial-card .avatar {
  width: 72px;
  height: 72px;
  border-width: 2px;
  border-color: rgba(var(--gradA), 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.testimonial-card .quote-stars {
  font-size: 0.86rem;
}

.testimonial-card .quote-mark {
  margin-top: 0.1rem;
  margin-bottom: 0.55rem;
}

.testimonial-card p {
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.58;
}

.testimonial-card .small {
  font-size: 0.8rem;
  opacity: 0.95;
}

.testimonial-card:hover .avatar,
.testimonial-card:focus-within .avatar {
  transform: scale(1.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

.cta-box {
  overflow: hidden;
}

.cta-box-strong {
  border-color: rgba(var(--gradA), 0.26);
  background:
    radial-gradient(circle at 10% -10%, rgba(var(--gradA), 0.2), transparent 35%),
    radial-gradient(circle at 95% 8%, rgba(var(--gradC), 0.2), transparent 40%),
    linear-gradient(180deg, rgba(8, 26, 20, 0.84), rgba(7, 20, 16, 0.92));
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -30% 20% auto -20%;
  height: 210px;
  background: radial-gradient(circle, rgba(var(--gradA), 0.35), transparent 70%);
  pointer-events: none;
}

.section-heading {
  margin-bottom: 2rem !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(8, 20, 40, 0.52);
  color: rgba(var(--gradA), 1);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 1.9vw + 1rem, 2.25rem);
  text-wrap: balance;
}

.reveal-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(var(--gradA), 0.35), rgba(var(--gradC), 0.06), rgba(var(--gradA), 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card h3,
.quote-card .fw-semibold {
  text-wrap: balance;
}

.project-thumb {
  transition: transform 0.24s ease;
}

.quote-card:hover .project-thumb {
  transform: scale(1.015);
}

.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.62;
  animation: floaty 11s ease-in-out infinite;
}

.blob-1 {
  left: -220px;
  top: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(var(--gradA), 0.55), transparent 62%);
}

.blob-2 {
  right: -230px;
  top: 40px;
  background: radial-gradient(circle at 30% 30%, rgba(var(--gradC), 0.55), transparent 62%);
  animation-delay: -2.8s;
}

.blob-3 {
  left: 38%;
  bottom: -280px;
  background: radial-gradient(circle at 30% 30%, rgba(var(--gradB), 0.5), transparent 62%);
  animation-delay: -5.2s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -18px) scale(1.04);
  }
}

.accordion {
  border: 1px solid var(--stroke-soft);
}

.accordion-item {
  border-bottom: 1px solid var(--stroke-soft);
}

.accordion-item:last-child {
  border-bottom: 0;
}

.accordion-button {
  color: var(--text) !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--stroke-soft);
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: var(--floating-btn-bottom-offset);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.82rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.whatsapp-float {
  position: fixed;
  left: 0.95rem;
  bottom: var(--floating-btn-bottom-offset);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.64rem 1rem;
  border-radius: 0.8rem;
  text-decoration: none;
  color: #032217;
  border: 1px solid rgba(var(--gradA), 0.56);
  font-weight: 700;
  background: linear-gradient(140deg, rgba(var(--gradA), 1), rgba(var(--gradB), 1));
  box-shadow: 0 10px 30px rgba(19, 137, 102, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.whatsapp-float i {
  font-size: 1.1rem;
}

.whatsapp-float:hover {
  color: #032217;
  border-color: rgba(var(--gradA), 0.7);
  background: linear-gradient(140deg, rgba(var(--gradA), 1), rgba(var(--gradC), 1));
  transform: translateY(-1px);
}

.affiliate-banner {
  display: inline-block;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gradA), 0.28);
  background: linear-gradient(180deg, rgba(246, 255, 251, 0.98), rgba(233, 249, 241, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.98;
}

.affiliate-banner img {
  display: block;
  border-radius: 9px;
}

.affiliate-logo {
  max-width: 150px;
  height: auto;
  filter: saturate(1.08) contrast(1.08) brightness(1.02);
}

.affiliate-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-sm);
  opacity: 1;
}

.footer-link {
  color: var(--muted);
  font-size: 1.1rem;
}

.footer-link:hover {
  color: var(--text);
}

.tablet-carousel-controls {
  display: none;
}

@media (max-width: 300px) {
  .display-5 {
    font-size: 1.56rem;
  }

  .lead {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.65rem 0.9rem;
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  pre {
    font-size: 0.78rem;
  }

  .pill {
    font-size: 0.85rem;
  }
}

@media (max-width: 991.98px) {
  #topNav .navbar-nav {
    gap: 0.48rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  #topNav .nav-item .btn.btn-sm {
    margin-top: 0.08rem;
  }
}

@media (max-width: 576px) {
  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-proof {
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .whatsapp-float span {
    font-size: 0.9rem;
  }

  #topNav .navbar-nav {
    gap: 0.45rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  #topNav .nav-item.ms-lg-2 {
    margin-left: 0 !important;
  }

  #topNav #themeToggle,
  #topNav .nav-item .btn.btn-sm {
    min-height: 40px;
    padding: 0.45rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #topNav .nav-item.ms-lg-2 .btn.btn-sm {
    width: 100%;
  }

  #topNav {
    margin-top: 0.7rem;
    padding: 0.55rem;
    border-radius: 0.95rem;
    border: 1px solid var(--stroke-soft);
    background: rgba(6, 18, 14, 0.9);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  #projects .projects-grid,
  #depoimentos .testimonials-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #projects .projects-grid::-webkit-scrollbar,
  #depoimentos .testimonials-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  #projects .projects-grid > *,
  #depoimentos .testimonials-grid > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    padding-left: 0;
    padding-right: 0;
  }

  .tablet-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .tablet-carousel-arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(8, 18, 36, 0.65);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tablet-carousel-arrow[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .tablet-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .tablet-carousel-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: transparent;
    padding: 0;
  }

  .tablet-carousel-dot.active {
    width: 1.3rem;
    background: rgba(var(--gradA), 0.42);
  }
}

html[data-theme="light"] body {
  --bg0: #eefbf4;
  --bg1: #e4f8ed;
  --bg2: #d6f2e2;
  --card: rgba(255, 255, 255, 0.88);
  --card-strong: rgba(255, 255, 255, 0.95);
  --stroke: rgba(28, 115, 80, 0.24);
  --stroke-soft: rgba(28, 115, 80, 0.17);
  --text: rgba(6, 46, 28, 0.96);
  --muted: rgba(26, 88, 60, 0.84);

  background:
    radial-gradient(circle at 8% -10%, rgba(var(--gradA), 0.16), transparent 44%),
    radial-gradient(circle at 95% 5%, rgba(var(--gradC), 0.13), transparent 42%),
    linear-gradient(150deg, #f4fcf8 0%, #eaf8f1 56%, #def3e8 100%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(28, 115, 80, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 115, 80, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] .nav-glass {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(26, 98, 71, 0.2);
}

html[data-theme="light"] body.is-scrolled .nav-glass {
  box-shadow: 0 10px 26px rgba(17, 83, 58, 0.13);
}

html[data-theme="light"] .nav-link {
  color: rgba(20, 80, 57, 0.8) !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .navbar-brand .fw-semibold {
  color: rgba(8, 58, 39, 1) !important;
}

html[data-theme="light"] .navbar-dark .navbar-toggler {
  border-color: rgba(21, 85, 60, 0.38);
}

html[data-theme="light"] .navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(8, 58, 39, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-theme="light"] .btn-outline-light {
  color: rgba(7, 50, 32, 0.98);
  border-color: rgba(23, 113, 80, 0.52);
  background: linear-gradient(180deg, rgba(233, 249, 241, 0.96), rgba(219, 242, 230, 0.98));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 18px rgba(20, 104, 73, 0.12);
}

html[data-theme="light"] .skip-link {
  background: #ffffff;
  color: rgba(6, 46, 28, 0.96);
  border: 1px solid rgba(20, 104, 71, 0.32);
}

html[data-theme="light"] .btn-outline-light:hover {
  color: rgba(5, 42, 27, 1);
  background: linear-gradient(180deg, rgba(216, 244, 228, 0.98), rgba(198, 234, 214, 1));
  border-color: rgba(17, 97, 68, 0.66);
  box-shadow: 0 12px 24px rgba(18, 96, 67, 0.16);
}

html[data-theme="light"] .btn-primary {
  color: rgba(5, 42, 27, 0.98);
  border-color: rgba(14, 110, 77, 0.72);
  box-shadow: 0 10px 24px rgba(23, 121, 85, 0.28);
}

html[data-theme="light"] .btn-primary:hover {
  color: rgba(4, 36, 23, 1);
  border-color: rgba(11, 96, 67, 0.78);
}

html[data-theme="light"] .text-bg-primary-subtle {
  background: rgba(25, 122, 84, 0.2) !important;
  border-color: rgba(17, 99, 68, 0.34) !important;
  color: rgba(8, 58, 39, 0.98) !important;
}

html[data-theme="light"] .text-bg-success-subtle {
  background: linear-gradient(180deg, rgba(194, 238, 217, 0.98), rgba(172, 230, 201, 1)) !important;
  border-color: rgba(14, 98, 67, 0.5) !important;
  color: rgba(8, 58, 39, 1) !important;
}

html[data-theme="light"] .footer {
  background: linear-gradient(180deg, rgba(244, 252, 247, 0.92), rgba(237, 249, 242, 0.98));
}

html[data-theme="light"] .pill,
html[data-theme="light"] .steps li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 250, 244, 0.98));
  border-color: rgba(23, 109, 75, 0.28);
  color: rgba(7, 50, 32, 0.96);
}

html[data-theme="light"] .step-num {
  border-color: rgba(16, 96, 66, 0.52);
  background: linear-gradient(180deg, rgba(213, 244, 228, 0.98), rgba(188, 233, 211, 1));
  color: rgba(8, 58, 39, 1);
}

html[data-theme="light"] .checklist i {
  color: rgba(11, 92, 62, 0.96);
  background: rgba(26, 124, 86, 0.12);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(23, 109, 75, 0.2) inset;
}

html[data-theme="light"] .glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 252, 248, 0.96));
  border-color: rgba(20, 104, 71, 0.24);
  box-shadow: 0 14px 34px rgba(17, 85, 58, 0.14);
}

html[data-theme="light"] .hero-badge,
html[data-theme="light"] .metric,
html[data-theme="light"] .feature-icon {
  border-color: rgba(20, 104, 71, 0.34);
}

html[data-theme="light"] .hero-badge {
  background: rgba(232, 248, 239, 0.9);
}

html[data-theme="light"] .metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 250, 244, 0.98));
}

html[data-theme="light"] .project-card {
  background:
    radial-gradient(circle at 92% -12%, rgba(var(--gradA), 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 251, 245, 0.98));
}

html[data-theme="light"] .project-card .project-thumb {
  border-color: rgba(20, 104, 71, 0.22);
  box-shadow: 0 10px 22px rgba(18, 93, 64, 0.14);
}

html[data-theme="light"] .testimonial-card {
  background:
    radial-gradient(circle at 10% -8%, rgba(var(--gradA), 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 251, 246, 0.99));
}

html[data-theme="light"] .nav-link.active::after {
  box-shadow: 0 0 0 1px rgba(12, 110, 76, 0.32), 0 0 14px rgba(35, 146, 102, 0.42);
}

html[data-theme="light"] .accordion {
  border-color: rgba(20, 104, 71, 0.26);
}

html[data-theme="light"] .accordion-item {
  border-bottom-color: rgba(20, 104, 71, 0.2);
}

html[data-theme="light"] .accordion-button {
  color: rgba(8, 58, 39, 0.98) !important;
}

html[data-theme="light"] .accordion-button:not(.collapsed) {
  background: rgba(225, 247, 236, 0.9);
}

html[data-theme="light"] .section-divider {
  background: linear-gradient(90deg, transparent, rgba(20, 108, 74, 0.38), transparent);
}

html[data-theme="light"] .footer-link {
  color: rgba(19, 90, 63, 0.86);
}

html[data-theme="light"] .footer-link:hover {
  color: rgba(7, 58, 39, 1);
}

html[data-theme="light"] .affiliate-banner {
  background: linear-gradient(180deg, rgba(236, 249, 241, 0.94), rgba(225, 244, 233, 0.98));
  border-color: rgba(20, 104, 71, 0.32);
  box-shadow: 0 10px 24px rgba(18, 93, 64, 0.14);
}

html[data-theme="light"] .affiliate-logo {
  filter: none;
}

html[data-theme="light"] .tablet-carousel-arrow {
  background: rgba(232, 248, 239, 0.95);
  color: rgba(7, 50, 32, 0.96);
  border-color: rgba(23, 113, 80, 0.4);
}

html[data-theme="light"] .tablet-carousel-dot {
  border-color: rgba(23, 113, 80, 0.5);
}

html[data-theme="light"] .tablet-carousel-dot.active {
  background: rgba(33, 143, 99, 0.5);
}

html[data-theme="light"] .section-tag {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 104, 71, 0.35);
  color: rgba(14, 94, 63, 1);
}

html[data-theme="light"] #topNav {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(20, 104, 71, 0.2);
}

html[data-theme="light"] .codebox {
  background: rgba(8, 12, 20, 0.88);
  border-color: rgba(8, 12, 20, 0.35);
}

html[data-theme="light"] .codebox pre,
html[data-theme="light"] .codebox code {
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] code {
  color: rgba(7, 58, 39, 0.96);
  background: rgba(35, 140, 98, 0.1);
  border-radius: 6px;
  padding: 0 0.25rem;
}
