:root {
  --ink: #112027;
  --muted: #5d6b72;
  --line: #dbe5e7;
  --paper: #fbfdfb;
  --soft: #eef6f2;
  --teal: #007f83;
  --green: #19a367;
  --amber: #e0a32e;
  --coral: #d95f4b;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 32, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 253, 251, 0.92);
  border-bottom: 1px solid rgba(219, 229, 231, 0.75);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(17, 32, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 208px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 800;
  background: #20205a;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(14px, 2.4vw, 34px);
  color: #334247;
  font-size: 0.94rem;
}

.nav a {
  padding: 10px 0;
}

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

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action,
.btn.primary {
  color: var(--white);
  background: var(--teal);
}

.btn.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.btn.ghost {
  color: var(--teal);
  background: transparent;
  border-color: rgba(0, 127, 131, 0.34);
}

.hero {
  position: relative;
  min-height: calc(100svh - 150px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 5vw, 64px) clamp(18px, 4vw, 56px) clamp(42px, 6vw, 70px);
  background:
    linear-gradient(90deg, rgba(251, 253, 251, 0.98) 0%, rgba(251, 253, 251, 0.9) 38%, rgba(238, 246, 242, 0.68) 100%),
    radial-gradient(circle at 83% 27%, rgba(25, 163, 103, 0.24), transparent 30%),
    linear-gradient(135deg, #f7fbf9, #e7f1ee 58%, #f7f0df);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62));
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.4vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: #3e4c51;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.real-product {
  overflow: hidden;
}

.hero-screen,
.hero-login {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-screen {
  right: clamp(-160px, -4vw, -42px);
  top: clamp(120px, 15vw, 168px);
  width: min(850px, 55vw);
  transform: rotate(-2deg);
}

.hero-login {
  right: clamp(18px, 8vw, 118px);
  bottom: clamp(28px, 5vw, 70px);
  width: min(420px, 30vw);
  transform: rotate(2.5deg);
}

.hero-screen img,
.hero-login img,
.product-showcase img,
.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-proof {
  position: absolute;
  right: clamp(22px, 5vw, 78px);
  top: clamp(92px, 12vw, 140px);
  display: grid;
  gap: 6px;
  max-width: 280px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 32, 39, 0.12);
}

.floating-proof span {
  color: var(--muted);
  line-height: 1.45;
}

.system-window {
  position: absolute;
  right: clamp(-180px, -8vw, -40px);
  top: clamp(120px, 15vw, 170px);
  width: min(720px, 52vw);
  min-width: 520px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-top span:nth-child(2) {
  background: var(--amber);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.window-top small {
  margin-left: 12px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}

.metric,
.chart-panel,
.table-panel,
.phone-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric {
  min-height: 104px;
  padding: 18px;
}

.metric span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric strong {
  font-size: 1.35rem;
}

.metric.dark {
  color: var(--white);
  background: var(--ink);
}

.metric.dark span {
  color: rgba(255, 255, 255, 0.7);
}

.metric.green {
  border-color: rgba(25, 163, 103, 0.22);
  background: #edf9f3;
}

.metric.amber {
  border-color: rgba(224, 163, 46, 0.24);
  background: #fff8e7;
}

.chart-panel {
  grid-column: span 2;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 230px;
  padding: 24px;
}

.bar {
  flex: 1;
  min-width: 28px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.b1 { height: 40%; }
.b2 { height: 74%; }
.b3 { height: 55%; }
.b4 { height: 88%; }
.b5 { height: 64%; }
.b6 { height: 78%; background: linear-gradient(180deg, var(--amber), var(--coral)); }

.table-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  height: 230px;
  padding: 22px;
}

.table-panel span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #e4eef0;
}

.table-panel span:nth-child(2),
.table-panel span:nth-child(4) {
  width: 72%;
}

.phone-panel {
  position: absolute;
  right: clamp(18px, 7vw, 112px);
  bottom: 96px;
  width: 180px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(17, 32, 39, 0.18);
}

.phone-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.phone-panel strong {
  display: block;
  margin: 6px 0 18px;
  font-size: 1.3rem;
}

.phone-panel i {
  display: block;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: #dce8e6;
}

.phone-panel i:nth-child(4) {
  width: 78%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 26px clamp(18px, 3vw, 44px);
  background: var(--white);
}

.proof-strip strong {
  font-size: 1.65rem;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(18px, 4vw, 56px);
}

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

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

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

.section-heading p:not(.eyebrow),
.service-copy p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 44px;
}

.product-showcase figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 32, 39, 0.08);
}

.showcase-main img {
  aspect-ratio: 16 / 9;
}

.showcase-side img {
  aspect-ratio: 4 / 3;
}

.product-showcase figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-grid article,
.segment-list article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  display: flex;
  flex-direction: column;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  color: var(--teal);
  font-weight: 800;
  border: 1px solid rgba(0, 127, 131, 0.26);
  border-radius: 8px;
}

h3 {
  margin: 26px 0 12px;
  font-size: 1.24rem;
  line-height: 1.18;
}

article p,
.service-list span {
  color: var(--muted);
  line-height: 1.58;
}

.segments {
  background: var(--soft);
}

.segment-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.segment-list article:nth-child(2) {
  border-top: 4px solid var(--amber);
}

.segment-list article:nth-child(3) {
  border-top: 4px solid var(--green);
}

.segment-list article:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.about-media {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  align-items: end;
}

.ai-photo-card,
.logo-panel {
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.ai-photo-card {
  position: relative;
  padding: 26px;
  background:
    linear-gradient(140deg, rgba(0, 127, 131, 0.42), transparent 48%),
    linear-gradient(180deg, #163545, #081923);
}

.photo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--white);
  border-radius: 8px;
}

.code-board {
  display: grid;
  gap: 14px;
  margin-top: 88px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.code-board i {
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.code-board i:nth-child(2),
.code-board i:nth-child(4) {
  width: 74%;
  background: rgba(255, 128, 24, 0.88);
}

.device-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.device-row span {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.logo-panel {
  min-height: 330px;
  background: #20205a;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.about-copy {
  max-width: 720px;
}

.about h2,
.about-copy p:not(.eyebrow) {
  color: var(--white);
}

.about-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-points span {
  padding: 10px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.service-copy {
  max-width: 620px;
}

.service-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-list div {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(22px, 4vw, 56px);
  padding: clamp(38px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 32, 39, 0.96), rgba(0, 127, 131, 0.9)),
    linear-gradient(45deg, var(--ink), var(--teal));
  border-radius: 8px;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 760px;
  color: var(--white);
}

.contact .btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.contact .btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .system-window {
    right: -250px;
    opacity: 0.56;
  }

  .feature-grid,
  .segment-list,
  .product-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .services,
  .contact,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-screen {
    right: -280px;
    width: 820px;
    opacity: 0.68;
  }

  .hero-login {
    display: none;
  }

  .floating-proof {
    display: none;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 132px);
    padding-top: 52px;
  }

  .hero-copy {
    align-self: start;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .system-window {
    top: auto;
    right: -220px;
    bottom: 44px;
    width: 580px;
    min-width: 580px;
    transform: rotate(-1deg) scale(0.72);
    transform-origin: bottom right;
    opacity: 0.72;
  }

  .phone-panel {
    right: 18px;
    bottom: 20px;
    transform: scale(0.86);
    transform-origin: bottom right;
  }

  .hero-screen {
    top: auto;
    right: -235px;
    bottom: 34px;
    width: 620px;
    transform: rotate(-1deg) scale(0.78);
    transform-origin: bottom right;
    opacity: 0.62;
  }

  .proof-strip,
  .feature-grid,
  .segment-list,
  .product-showcase,
  .about-media {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .segment-list article {
    min-height: 220px;
  }

  .contact {
    margin-inline: 0;
    border-radius: 0;
  }

  .ai-photo-card,
  .logo-panel {
    min-height: 300px;
  }

  footer {
    flex-direction: column;
  }
}
