:root {
  --page: #111111;
  --page-soft: #181818;
  --panel: #202020;
  --text: #F7F7F2;
  --text-soft: #B7B7B2;
  --muted: #777773;
  --line: rgba(255,255,255,0.10);
  --yellow: #FFC329;
  --yellow-soft: rgba(255, 195, 41, 0.12);
  --white: #FFFFFF;
  --shadow: 0 16px 40px rgba(0,0,0,0.16);
  --headline: clamp(3rem, 7vw, 7rem);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

p {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

h1 {
  font-size: var(--headline);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: 1.02;
}

.accent {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.nav-shell {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: clamp(170px, 16vw, 220px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-soft);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--yellow);
}

.nav-cta {
  padding: 0.8rem 1.2rem;
  background: var(--yellow);
  color: #111111;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(255, 195, 41, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  position: relative;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 12%, rgba(255, 195, 41, 0.08), transparent 22%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  margin-top: 1.5rem;
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.42rem);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: #111111;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(255, 195, 41, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffd55f;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.02);
}

.btn-large {
  min-width: 220px;
}

.hero-meta {
  margin-top: 2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.lead-section,
.marketing-section,
.blog-section,
.final-cta {
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 560px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 0.9rem;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.9rem;
  margin-top: 2rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.workflow span {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.workflow .arrow {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--yellow);
  font-size: 1.2rem;
}

.lead-demo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
}

.lead-demo p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.capabilities article {
  min-height: 200px;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cap-label {
  color: var(--yellow);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.capabilities p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.marketing-cta {
  margin-top: 1.8rem;
}

.blog-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.blog-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 1.3rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-post:hover {
  border-color: rgba(255,195,41,0.5);
  transform: translateY(-2px);
}

.blog-post .meta {
  color: var(--yellow);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.blog-post h3 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.blog-post p {
  margin-top: 0.9rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.blog-post .bottom {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.blog-post .read-link {
  color: var(--yellow);
}

.view-all-wrap {
  margin-top: 2rem;
}

.final-cta .cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.final-cta .cta-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer {
  background: #0d0d0d;
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 1.8rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.7rem;
}

.footer-brand p {
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-meta a,
.footer-meta span {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2de16c 0%, #20b85f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 20px 32px rgba(34, 184, 95, 0.26);
  z-index: 60;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-fab.visible {
  opacity: 1;
  transform: translateY(0);
}

.wa-fab i {
  font-size: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(17,17,17,0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .capabilities,
  .blog-grid,
  .footer-inner,
  .final-cta .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cta-row,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .workflow {
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .workflow span {
    padding: 0.55rem 0.7rem;
  }

  .blog-post {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
