:root {
  --wp-primary: #0b4f6c;
  --wp-primary-dark: #083d54;
  --wp-accent: #01baef;
  --wp-deep: #072c3c;
  --wp-sidebar: #0a3a4f;
  --wp-text: #1f2937;
  --wp-muted: #6b7280;
  --wp-surface: #f4f8fb;
  --wp-line: rgba(11, 79, 108, 0.12);
  --wp-white: #ffffff;
  --font: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--wp-text);
  background: var(--wp-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(7, 44, 60, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.nav-brand img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--wp-white);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(1, 186, 239, 0.45);
  border-radius: 999px;
  color: var(--wp-accent) !important;
}

.nav-cta:hover {
  background: rgba(1, 186, 239, 0.12);
}

/* Hero — one full-bleed composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  gap: 2.5rem;
  padding: 6.5rem 1.5rem 0;
  overflow: hidden;
  color: var(--wp-white);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(1, 186, 239, 0.22), transparent 55%),
    linear-gradient(160deg, #083d54 0%, var(--wp-deep) 48%, #051e28 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  top: -18%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 186, 239, 0.28), transparent 68%);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

.hero-pulse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38%;
  width: 100%;
  height: 220px;
  opacity: 0.55;
}

.pulse-line {
  fill: none;
  stroke: var(--wp-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-pulse 2.4s var(--ease) 0.4s forwards, pulse-glow 3.2s ease-in-out 2.8s infinite;
  filter: drop-shadow(0 0 10px rgba(1, 186, 239, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  animation: rise 0.9s var(--ease) both;
}

.brand-title {
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.brand-work {
  color: var(--wp-white);
}

.brand-pulse {
  color: var(--wp-accent);
}

.hero-line {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: rgba(226, 232, 240, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.55rem;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--wp-accent);
  color: var(--wp-deep);
}

.btn-primary:hover {
  background: #38cbf5;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--wp-white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  animation: rise 1s var(--ease) 0.15s both;
}

.product-plane {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 58, 79, 0.92), rgba(5, 30, 40, 0.98));
  border-top: 1px solid rgba(1, 186, 239, 0.22);
}

.product-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 30, 40, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.product-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 240px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-sidebar {
  padding: 1.15rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-mark {
  width: 28px;
  height: 28px;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--wp-primary), var(--wp-accent));
}

.sidebar-line {
  height: 6px;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.sidebar-line.short {
  width: 60%;
}

.product-main {
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem) 1.6rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.7);
}

.metric-value {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.metric-value.accent {
  color: var(--wp-accent);
}

.chart-block {
  padding-top: 0.35rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 96px;
}

.chart-bars i {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--wp-accent), rgba(1, 186, 239, 0.25));
  transform-origin: bottom;
  animation: grow-bar 0.9s var(--ease) both;
}

.chart-bars i:nth-child(1) { animation-delay: 0.45s; }
.chart-bars i:nth-child(2) { animation-delay: 0.52s; }
.chart-bars i:nth-child(3) { animation-delay: 0.59s; }
.chart-bars i:nth-child(4) { animation-delay: 0.66s; }
.chart-bars i:nth-child(5) { animation-delay: 0.73s; }
.chart-bars i:nth-child(6) { animation-delay: 0.8s; }
.chart-bars i:nth-child(7) { animation-delay: 0.87s; }

.chart-caption {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.65);
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 0.6rem;
  color: var(--wp-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--wp-deep);
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: var(--wp-muted);
  font-size: 1.05rem;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, #e8f1f6 0%, #f4f8fb 100%);
  border-top: 1px solid var(--wp-line);
  border-bottom: 1px solid var(--wp-line);
}

.band .section-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.plain-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.plain-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-top: 1px solid var(--wp-line);
  color: var(--wp-text);
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--wp-line);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wp-accent);
}

.steps {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
  padding-left: 3rem;
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wp-accent);
}

.steps strong {
  color: var(--wp-deep);
  font-size: 1.05rem;
}

.steps span {
  color: var(--wp-muted);
}

.detail-list {
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--wp-line);
}

@media (min-width: 720px) {
  .detail-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2.5rem;
  }
}

.detail-list > div {
  padding-top: 1.35rem;
  border-top: 1px solid transparent;
}

@media (max-width: 719px) {
  .detail-list > div {
    border-top-color: var(--wp-line);
  }

  .detail-list > div:first-child {
    border-top: 0;
    padding-top: 1.5rem;
  }
}

.detail-list dt {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--wp-primary);
}

.detail-list dd {
  margin: 0.35rem 0 0;
  color: var(--wp-muted);
}

.pillar-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--wp-line);
}

.pillar-list li {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--wp-line);
}

@media (min-width: 720px) {
  .pillar-list li {
    grid-template-columns: 220px 1fr;
    align-items: baseline;
  }
}

.pillar-list h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--wp-primary);
}

.pillar-list p {
  margin: 0;
  color: var(--wp-muted);
  max-width: 42rem;
}

.outcomes .outcome-list {
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .outcomes .outcome-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}

.outcome-list dt {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--wp-deep);
}

.outcome-list dd {
  margin: 0.4rem 0 0;
  color: var(--wp-muted);
}

.cta {
  text-align: left;
  padding-bottom: 4.5rem;
}

.cta .section-title {
  max-width: 22ch;
}

.demo-form {
  margin-top: 2rem;
  max-width: 36rem;
  display: grid;
  gap: 1.1rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wp-deep);
}

.optional {
  font-weight: 400;
  color: var(--wp-muted);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11, 79, 108, 0.22);
  border-radius: 0.55rem;
  background: var(--wp-white);
  color: var(--wp-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--wp-accent);
  box-shadow: 0 0 0 3px rgba(1, 186, 239, 0.18);
}

.demo-form .btn-primary {
  justify-self: start;
  margin-top: 0.35rem;
  border: 0;
  cursor: pointer;
  background: var(--wp-primary);
  color: var(--wp-white);
}

.demo-form .btn-primary:hover {
  background: var(--wp-primary-dark);
}

.demo-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--wp-muted);
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
}

.form-status.is-success {
  background: rgba(1, 186, 239, 0.12);
  color: var(--wp-primary-dark);
}

.form-status.is-error {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid var(--wp-line);
  background: #eef4f8;
  color: var(--wp-muted);
  font-size: 0.9rem;
}

.site-footer img {
  border-radius: 7px;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw-pulse {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes grow-bar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5.5rem;
    gap: 2rem;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }

  .metric-value {
    font-size: 1.2rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
