:root {
  --ink: #111827;
  --deep: #0b1b1f;
  --muted: #667085;
  --line: #d9e5e8;
  --paper: #f6fafb;
  --white: #ffffff;
  --teal: #08786f;
  --teal-2: #00d6bd;
  --mint: #dff8f1;
  --red: #b42318;
  --shadow: 0 24px 80px rgba(16, 24, 40, 0.14);
  --soft-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(217, 229, 232, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--deep);
  font-size: 1.24rem;
  font-weight: 900;
}

.logo-tile {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 68% 28%, #7ee7a7 0 16%, transparent 17%),
    linear-gradient(135deg, #0e5fb2, #00aa8e);
  border-radius: 9px;
  box-shadow: 0 12px 24px rgba(8, 120, 111, 0.22);
}

.logo-tile::before {
  content: "C";
  font-weight: 900;
  font-size: 1.05rem;
}

.logo-tile img {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(8, 120, 111, 0.24);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #05645e;
}

.btn-secondary {
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 76px) clamp(70px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 214, 189, 0.14), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(8, 120, 111, 0.12), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f4fbfa 46%, #eef5f7 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.1vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-text,
.section-heading p,
.screen-card p,
.results-copy p,
.demo-card p,
.site-footer p,
.form-note {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 650px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span,
.logo-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #344054;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-showcase {
  position: relative;
  min-height: 560px;
  perspective: 1600px;
}

.screenshot-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(217, 229, 232, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-shot {
  inset: 6px 0 120px 18px;
  transform: rotateX(6deg) rotateY(-13deg) rotateZ(1deg);
  animation: floatMain 7s ease-in-out infinite;
}

.secondary-shot {
  right: 30px;
  bottom: 6px;
  width: min(78%, 620px);
  height: 230px;
  transform: rotateX(7deg) rotateY(-16deg) translateZ(80px);
  animation: floatQueue 6.4s ease-in-out infinite;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px clamp(18px, 5vw, 76px);
  background: #fff;
  border-block: 1px solid var(--line);
}

.section {
  padding: clamp(72px, 10vw, 122px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 920px;
}

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

.module-grid article,
.result-cards div,
.screen-card,
.demo-card,
.thank-you-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.module-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
}

.module-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  background: var(--mint);
  border-radius: 50%;
}

.module-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.module-grid p,
.result-cards p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.product-section {
  background: var(--deep);
}

.product-section h2,
.product-section .screen-card h3 {
  color: #fff;
}

.product-section .section-heading p {
  color: #a9c2c8;
}

.screen-grid {
  display: grid;
  gap: 22px;
}

.screen-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  background: #10252a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.screen-card.reverse {
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
}

.screen-card.reverse div {
  order: 2;
}

.screen-card.reverse img {
  order: 1;
}

.screen-card p {
  color: #a9c2c8;
}

.screen-card img {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.results-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f9 100%);
}

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

.result-cards div {
  padding: 26px;
}

.result-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.demo-section {
  background:
    radial-gradient(circle at 80% 14%, rgba(0, 214, 189, 0.12), transparent 24%),
    linear-gradient(135deg, #0b1b1f 0%, #10252a 100%);
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
}

.demo-card h2 {
  color: var(--deep);
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-weight: 800;
}

.demo-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.demo-form input:focus {
  outline: 3px solid rgba(0, 214, 189, 0.24);
  border-color: var(--teal);
}

.demo-form button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 76px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 660px;
  margin: 0;
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 900;
}

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f7fffd 0%, #eef8f5 58%, #fff7f1 100%);
}

.thank-you-wrap {
  display: grid;
  align-content: center;
  gap: 32px;
  width: min(100% - 36px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.thank-you-card {
  padding: clamp(28px, 6vw, 56px);
}

.thank-you-card h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.thank-you-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

@keyframes floatMain {
  0%,
  100% {
    transform: rotateX(6deg) rotateY(-13deg) rotateZ(1deg) translateY(0);
  }
  50% {
    transform: rotateX(6deg) rotateY(-13deg) rotateZ(1deg) translateY(-14px);
  }
}

@keyframes floatQueue {
  0%,
  100% {
    transform: rotateX(7deg) rotateY(-16deg) translateZ(80px) translateY(0);
  }
  50% {
    transform: rotateX(7deg) rotateY(-16deg) translateZ(96px) translateY(-12px);
  }
}

@media (max-width: 1100px) {
  .hero,
  .results-section,
  .demo-card {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    min-height: 520px;
  }

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .screen-card,
  .screen-card.reverse {
    grid-template-columns: 1fr;
  }

  .screen-card.reverse div,
  .screen-card.reverse img {
    order: initial;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.6rem;
    line-height: 1.02;
  }

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

  .product-showcase {
    min-height: 390px;
  }

  .primary-shot {
    inset: 0 0 96px 0;
    transform: none;
  }

  .secondary-shot {
    right: 0;
    bottom: 0;
    width: 86%;
    height: 150px;
    transform: none;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .screen-card {
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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