:root {
  color-scheme: light;
  --ink: #121417;
  --muted: #626972;
  --line: rgba(18, 20, 23, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --soft: #f5f6f8;
  --blue: #0066cc;
  --cyan: #00a3b5;
  --green: #2a8c5d;
  --violet: #6657d9;
  --shadow: 0 28px 80px rgba(24, 30, 38, 0.16);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #fbfbfd;
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 8%, rgba(0, 163, 181, 0.16), transparent 30%),
    radial-gradient(circle at 15% 70%, rgba(42, 140, 93, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f6f8 56%, #ffffff 100%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0 0 18px 18px;
  background: rgba(251, 251, 253, 0.72);
  box-shadow: 0 14px 42px rgba(26, 31, 38, 0.08);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  width: max-content;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #111318, #66717c);
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.28);
}

.nav-links {
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: rgba(18, 20, 23, 0.78);
}

.header-action {
  justify-self: end;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: 92vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
}

.primary-button {
  padding: 0 24px;
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.22);
}

.primary-button.dark {
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(18, 20, 23, 0.2);
}

.text-button {
  color: var(--blue);
}

.text-button::after {
  content: ">";
  margin-left: 7px;
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 58vw, 650px);
  perspective: 1400px;
}

.device-shell {
  position: absolute;
  inset: 8% 2% 4% 2%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 239, 0.78)),
    linear-gradient(135deg, #20252c, #f7f9fb);
  box-shadow: var(--shadow);
  transform: rotateX(10deg) rotateY(-14deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.device-shell::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background: linear-gradient(160deg, #1a1f27, #313945);
}

.device-screen {
  position: absolute;
  inset: 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 163, 181, 0.42), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(102, 87, 217, 0.32), transparent 34%),
    #11151b;
  transform: translateZ(18px);
}

.screen-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  padding: 18px;
}

.metric-panel,
.signal-panel,
.workflow-panel,
.status-panel,
.floating-tile,
.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.metric-panel {
  min-height: 178px;
  padding: 22px;
  border-radius: 18px;
  color: white;
}

.metric-panel span,
.status-panel span,
.floating-tile span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.metric-panel strong {
  display: block;
  margin-top: 18px;
  font-size: 58px;
  line-height: 1;
}

.metric-panel em {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(42, 140, 93, 0.28);
  color: #aaf1ce;
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.signal-panel {
  display: flex;
  align-items: end;
  gap: 9px;
  min-height: 178px;
  padding: 18px;
  border-radius: 18px;
}

.signal-panel span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, #76d8e4, #0066cc);
}

.signal-panel span:nth-child(1) {
  height: 36%;
}

.signal-panel span:nth-child(2) {
  height: 58%;
}

.signal-panel span:nth-child(3) {
  height: 82%;
}

.signal-panel span:nth-child(4) {
  height: 62%;
}

.signal-panel span:nth-child(5) {
  height: 92%;
}

.workflow-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
}

.workflow-panel div {
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.workflow-panel div:nth-child(2) {
  width: 82%;
}

.workflow-panel div:nth-child(3) {
  width: 68%;
}

.status-panel {
  align-self: end;
  min-height: 112px;
  padding: 20px;
  border-radius: 18px;
  color: white;
}

.status-panel strong {
  display: block;
  margin-top: 16px;
  font-size: 27px;
}

.floating-tile {
  position: absolute;
  z-index: 2;
  width: 150px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(17, 21, 27, 0.74);
  color: white;
  box-shadow: 0 20px 60px rgba(17, 21, 27, 0.22);
}

.floating-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.tile-one {
  top: 13%;
  right: 0;
}

.tile-two {
  bottom: 9%;
  left: 2%;
}

.feature-band,
.split-section,
.contact-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-band {
  padding: 72px 0 90px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 230px;
  padding: 26px;
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 42px rgba(24, 30, 38, 0.07);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef3f7;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.feature-card h3 {
  margin: 32px 0 12px;
  font-size: 23px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.security-list {
  display: grid;
  gap: 14px;
}

.security-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.security-list strong {
  font-size: 18px;
}

.security-list span {
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}

.contact-band {
  min-height: 46vh;
  padding: 96px 0 120px;
  text-align: center;
}

.contact-band h2 {
  max-width: 760px;
  margin: 0 auto 30px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .security-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 18px);
    height: 54px;
    padding: 0 12px;
  }

  .header-action {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 210px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .device-shell {
    inset: 9% 0 6% 0;
    border-radius: 24px;
  }

  .device-screen {
    inset: 16px;
  }

  .screen-grid {
    gap: 10px;
    padding: 12px;
  }

  .metric-panel,
  .signal-panel,
  .workflow-panel,
  .status-panel {
    border-radius: 14px;
    padding: 14px;
  }

  .metric-panel strong {
    font-size: 40px;
  }

  .floating-tile {
    width: 128px;
    padding: 14px;
  }

  .tile-one {
    top: 5%;
  }

  .tile-two {
    bottom: 3%;
  }

  .feature-band,
  .split-section,
  .contact-band {
    width: min(100% - 28px, 1120px);
  }
}
