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

:root {
  --bg-base: #f6f9f8;
  --surface: #ffffff;
  --surface-soft: #edf4f2;
  --surface-tint: #e4f2ef;
  --text-primary: #10242c;
  --text-secondary: #224957;
  --text-muted: #60747a;
  --text-soft: #8a9b9f;
  --border-default: rgba(34, 73, 87, 0.14);
  --border-strong: rgba(34, 73, 87, 0.22);
  --accent: #37bba3;
  --accent-hover: #2a9e8a;
  --accent-soft: rgba(55, 187, 163, 0.12);
  --accent-strong: rgba(55, 187, 163, 0.2);
  --shadow-soft: 0 18px 48px rgba(16, 36, 44, 0.1);
  --shadow-card: 0 14px 38px rgba(16, 36, 44, 0.08);
  --shadow-focus: 0 0 0 4px rgba(55, 187, 163, 0.18);
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

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

.section {
  position: relative;
  padding: 104px 0;
}

.section-elevated {
  background: var(--surface);
  border-block: 1px solid var(--border-default);
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: padding 220ms ease;
}

.navbar .container {
  width: min(1240px, calc(100% - 40px));
}

.navbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: rgba(246, 249, 248, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: min-height 220ms ease, border-radius 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.navbar.scrolled {
  padding-top: 12px;
}

.navbar.scrolled .navbar-inner {
  min-height: 62px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 12px 0 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border-default);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 154px;
  height: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.navbar-links a:hover {
  color: var(--accent-hover);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
}

.hamburger span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 94px 20px auto;
  z-index: 45;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  color: var(--text-secondary);
  font-weight: 700;
}

.mobile-menu .btn {
  justify-content: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 16px;
  padding: 10px 20px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #08231e;
  box-shadow: 0 10px 24px rgba(55, 187, 163, 0.22);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 30px rgba(42, 158, 138, 0.26);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.btn-lg {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 1rem;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 92px;
}

.hero-centered {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 68px;
  align-items: center;
}

.hero-copy {
  max-width: 920px;
}

.hero-grid .hero-copy {
  max-width: 680px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-hover);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

h1,
h2,
h3 {
  color: var(--text-primary);
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: 86px;
  font-weight: 800;
}

.hero-grid h1 {
  max-width: 680px;
  margin: 0;
  font-size: 76px;
}

h2 {
  max-width: 840px;
  font-size: 54px;
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  font-weight: 800;
}

.hero-copy p,
.section-heading p,
.product-copy p,
.case-copy p,
.contact-card p,
.footer p {
  color: var(--text-muted);
}

.hero-copy p {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-grid .hero-copy p {
  margin-left: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-grid .hero-actions,
.section-heading.align-left .hero-actions,
.product-copy .hero-actions {
  justify-content: flex-start;
}

.hero-proof {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 46px auto 0;
}

.hero-grid .hero-proof {
  margin-left: 0;
}

.hero-proof div,
.feature-card,
.process-card,
.contact-card,
.product-preview,
.hero-panel,
.case-card,
.campaign-card {
  border: 1px solid var(--border-default);
  border-radius: 22px;
  background: var(--surface);
}

.hero-proof div {
  padding: 18px;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--text-primary);
  font-size: 0.98rem;
}

.hero-proof span {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.hero-panel {
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 14px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.panel-top strong {
  margin-left: auto;
  color: var(--text-muted);
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric-row article {
  border: 1px solid var(--border-default);
  border-radius: 18px;
  background: var(--surface-soft);
  padding: 16px;
}

.metric-row span,
.product-preview-top span {
  display: block;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric-row strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.9rem;
  line-height: 1;
  margin-top: 12px;
}

.tag-row,
.qaptura-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.marquee-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border-default);
  background: var(--surface);
  padding: 28px 0 34px;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 180px);
  z-index: 1;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), rgba(255, 255, 255, 0));
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), rgba(255, 255, 255, 0));
}

.marquee-section > p {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.marquee-track {
  position: relative;
  z-index: 0;
  display: flex;
  gap: 70px;
  width: max-content;
  color: rgba(34, 73, 87, 0.28);
  font-size: 1.35rem;
  font-weight: 800;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0 auto;
}

.section-heading.align-left h2 {
  margin: 0;
}

.section-heading p {
  max-width: 62ch;
  margin: 18px auto 0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.section-heading.align-left p {
  margin-left: 0;
}

.cards-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card {
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.feature-card p,
.process-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-top: 11px;
}

.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 56px;
  align-items: center;
}

.product-copy p {
  max-width: 62ch;
  margin-top: 18px;
  line-height: 1.72;
}

.tag-row {
  margin-top: 24px;
}

.product-preview {
  padding: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-preview-top strong {
  color: var(--text-primary);
}

.preview-chart {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  border: 1px solid var(--border-default);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
  padding: 18px;
  margin-top: 18px;
}

.preview-chart i {
  display: block;
  border-radius: 12px 12px 4px 4px;
  background: var(--accent);
}

.preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px;
}

.process-card span {
  display: block;
  color: var(--accent-hover);
  font-weight: 800;
  margin-bottom: 38px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.case-media {
  min-height: 360px;
  background: var(--surface-soft);
  border-right: 1px solid var(--border-default);
  display: grid;
  place-items: center;
  padding: 24px;
}

.case-media img {
  border: 1px solid var(--border-default);
  border-radius: 18px;
}

.case-copy {
  padding: 34px;
  align-self: center;
}

.case-copy h3 {
  font-size: 1.65rem;
  margin-top: 22px;
}

.case-copy p {
  margin-top: 14px;
  line-height: 1.72;
}

.inline-link {
  display: inline-flex;
  color: var(--accent-hover);
  font-weight: 800;
  margin-top: 24px;
}

.contact-card {
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.contact-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.contact-card p + p {
  margin-top: 12px;
}

.footer {
  border-top: 1px solid var(--border-default);
  background: #0f2028;
  color: var(--bg-base);
  padding: 56px 0 28px;
}

.footer .brand img {
  width: 166px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.5fr));
  gap: 32px;
}

.footer-grid p {
  max-width: 36ch;
  margin-top: 16px;
  color: rgba(246, 249, 248, 0.72);
}

.footer-grid span {
  display: block;
  color: rgba(246, 249, 248, 0.5);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-grid a:not(.brand) {
  display: block;
  color: rgba(246, 249, 248, 0.72);
  font-size: 0.94rem;
  margin-top: 10px;
  transition: color 160ms ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(246, 249, 248, 0.12);
  color: rgba(246, 249, 248, 0.58);
  font-size: 0.84rem;
  margin-top: 42px;
  padding-top: 22px;
}

.footer > .container.footer-bottom {
  border-top: 0;
  margin-top: 0;
}

.campaign-card {
  padding: 22px;
  margin-top: 16px;
  background: var(--surface-soft);
}

.campaign-card span {
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-card h3 {
  margin-top: 14px;
  font-size: 2rem;
}

.campaign-card p {
  color: var(--text-muted);
  margin-top: 12px;
}

.campaign-card button {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  background: var(--accent);
  color: #08231e;
  font-weight: 800;
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
  .navbar-links,
  .navbar-actions {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero-grid,
  .product-grid,
  .contact-grid,
  .case-card {
    grid-template-columns: 1fr;
  }

  .hero-grid .hero-copy {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-grid h1,
  .hero-grid .hero-copy p,
  .hero-grid .hero-proof {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-grid .hero-actions {
    justify-content: center;
  }

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

  h1,
  .hero-grid h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 44px;
  }

  .case-media {
    border-right: 0;
    border-bottom: 1px solid var(--border-default);
  }
}

@media (max-width: 760px) {
  .container,
  .navbar .container,
  .marquee-section > p {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .navbar {
    padding: 10px 0;
  }

  .navbar-inner,
  .navbar.scrolled .navbar-inner {
    min-height: 62px;
    border-radius: 20px;
    border-color: var(--border-default);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-card);
  }

  .brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 72px;
  }

  h1,
  .hero-grid h1 {
    font-size: 46px;
    line-height: 1.08;
  }

  h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-copy p {
    font-size: 1.04rem;
  }

  .hero-proof,
  .services-grid,
  .process-grid,
  .metric-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-panel,
  .feature-card,
  .process-card,
  .product-preview,
  .contact-card,
  .case-copy {
    padding: 20px;
  }

  .case-media {
    min-height: 240px;
    padding: 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .marquee-track {
    gap: 44px;
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
