:root {
  color-scheme: dark;
  --zf-bg: #020817;
  --zf-line: rgba(142, 181, 255, 0.16);
  --zf-line-strong: rgba(77, 158, 255, 0.34);
  --zf-text: #f3f8ff;
  --zf-muted: #9eb4cc;
  --zf-soft: #c7d8ea;
  --zf-blue: #4d9eff;
  --zf-cyan: #35d6ff;
  --zf-green: #34d399;
  --zf-shadow: 0 18px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(53, 214, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(86, 120, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #04101f 0%, var(--zf-bg) 42%, #010409 100%);
  color: var(--zf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(77, 158, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 158, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--zf-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--zf-muted);
  font-size: 14px;
  font-weight: 650;
}

.links a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.links a:hover { color: var(--zf-text); }

.hero {
  padding: 96px 0 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(53, 214, 255, 0.26);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.08);
  color: var(--zf-cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 20px auto 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--zf-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 28px auto 18px;
}

.proof-item {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--zf-line);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.68);
  text-align: left;
}

.proof-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: var(--zf-muted);
  font-size: 12px;
  line-height: 1.35;
}

.grid {
  display: grid;
  gap: 18px;
  margin: 40px 0 56px;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--zf-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 39, 72, 0.82), rgba(6, 17, 33, 0.88)),
    rgba(4, 12, 24, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  isolation: isolate;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(53, 214, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(53, 214, 255, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(77, 158, 255, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(53, 214, 255, 0.18), transparent 48%);
  background-size: 14px 14px, 14px 14px, 100% 100%;
  opacity: 0.62;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: -1;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--zf-line-strong);
  box-shadow: var(--zf-shadow);
}

.card.compact { min-height: 210px; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(77, 158, 255, 0.28);
  border-radius: 999px;
  background: rgba(77, 158, 255, 0.1);
  color: var(--zf-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card strong {
  display: block;
  margin: 16px 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.price {
  margin: 8px 0 10px;
  color: var(--zf-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.card span,
.card li {
  color: var(--zf-muted);
  font-size: 14px;
  line-height: 1.55;
}

.card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 18px;
}

.card li + li { margin-top: 8px; }

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zf-green);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.45);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 86px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(77, 158, 255, 0.38);
  border-radius: 7px;
  background: rgba(77, 158, 255, 0.1);
  color: #dbeafe;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 214, 255, 0.7);
  background: rgba(77, 158, 255, 0.16);
}

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, #2563eb, #00a8ff);
  color: #fff;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.34);
}

footer {
  border-top: 1px solid var(--zf-line);
  padding: 28px 0;
  color: var(--zf-muted);
  font-size: 13px;
  text-align: center;
}

footer.wrap {
  margin-top: 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(77, 158, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.56);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

@media (max-width: 980px) {
  .grid.cols-4,
  .grid.cols-3,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0 16px;
  }
  .brand {
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }
  .links {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .links::-webkit-scrollbar { display: none; }
  .links a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--zf-line);
    border-radius: 999px;
    background: rgba(8, 20, 38, 0.66);
    color: #d7e7f8;
    font-size: 13px;
  }
  .hero {
    padding: 48px 0 28px;
    text-align: left;
  }
  .eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }
  .hero h1 {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(32px, 9.8vw, 42px);
    line-height: 1.06;
    letter-spacing: -0.032em;
  }
  .hero p {
    margin-left: 0;
    margin-right: 0;
    font-size: 15.5px;
    line-height: 1.65;
  }
  .proof-strip {
    gap: 10px;
    margin-top: 24px;
  }
  .proof-item {
    min-height: 74px;
    padding: 16px;
  }
  .grid.cols-4,
  .grid.cols-3,
  .proof-strip {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 14px;
    margin: 32px 0 44px;
  }
  .card {
    min-height: auto;
    padding: 22px;
    border-color: rgba(77, 158, 255, 0.22);
    background:
      radial-gradient(circle at 88% 22%, rgba(53, 214, 255, 0.13), transparent 8rem),
      linear-gradient(180deg, rgba(17, 39, 72, 0.88), rgba(6, 17, 33, 0.92));
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }
  .card::after {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
    opacity: 0.42;
  }
  .cta { justify-content: stretch; }
  .btn { width: 100%; }
  footer.wrap {
    width: min(100% - 32px, 1180px);
    padding: 22px 18px;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 14px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .links a {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 12.5px;
  }
  .hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }
  .card strong {
    font-size: 19px;
  }
}

/* Enterprise rhythm normalization for product/solution pages. */
:root{
  --zf-enterprise-page-x:clamp(20px,4vw,56px);
  --zf-enterprise-section-y:clamp(56px,7vw,92px);
  --zf-enterprise-gap:clamp(14px,2vw,22px);
}

.wrap{
  width:min(1180px,calc(100% - var(--zf-enterprise-page-x)));
}
.hero{
  padding:clamp(58px,7vw,92px) 0 clamp(34px,5vw,56px);
}
.hero h1{
  line-height:1.04;
  letter-spacing:0;
  text-wrap:balance;
}
.hero p{
  line-height:1.62;
}
.proof-strip,
.grid{
  gap:var(--zf-enterprise-gap);
}
.grid{
  margin:clamp(34px,5vw,58px) 0 clamp(52px,7vw,86px);
}
.card,
.proof-item{
  border-radius:8px;
  padding:clamp(20px,2.4vw,28px);
}
.card strong{
  line-height:1.18;
}

@media (max-width: 820px){
  :root{
    --zf-enterprise-page-x:32px;
    --zf-enterprise-section-y:54px;
  }
  .hero{
    padding:46px 0 30px;
  }
  .hero h1{
    font-size:clamp(31px,8.6vw,42px);
  }
  .hero p{
    font-size:15px;
  }
  .grid{
    margin:30px 0 48px;
  }
  .card,
  .proof-item{
    border-radius:8px;
    padding:20px;
  }
}

@media (max-width: 460px){
  :root{--zf-enterprise-page-x:28px}
  .hero{
    padding:38px 0 24px;
  }
  .hero h1{
    font-size:clamp(29px,8.2vw,36px);
  }
  .grid{
    gap:12px;
  }
}
