:root {
  color: #f6f7fb;
  background: #0f1016;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background: #0f1016;
  color: #f6f7fb;
}

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: 20px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(15,16,22,.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4c7d4;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  padding: 9px 11px;
  border-radius: 7px;
}

nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.nav-cta {
  background: #5865f2;
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  min-height: min(780px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(20px, 4vw, 56px) 40px;
  background:
    linear-gradient(135deg, rgba(88,101,242,.2), transparent 34%),
    linear-gradient(180deg, #171923 0%, #0f1016 76%);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #77d7a2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: .95;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
}

h3 {
  font-size: 19px;
}

.hero-text {
  max-width: 590px;
  margin-top: 18px;
  color: #c4c7d4;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  font-weight: 900;
}

.button.primary {
  border-color: #5865f2;
  background: #5865f2;
}

.product-preview {
  min-width: 0;
  border: 1px solid rgba(166,174,255,.22);
  border-radius: 8px;
  overflow: hidden;
  background: #11131c;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #181b27;
  color: #8e94a9;
  font-size: 12px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d95165;
}

.preview-topbar span:nth-child(2) { background: #e5b94b; }
.preview-topbar span:nth-child(3) { background: #57c98a; }
.preview-topbar strong { margin-left: 8px; font-weight: 700; }

.preview-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 420px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: #141722;
}

.preview-sidebar img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.preview-sidebar span {
  align-self: flex-start;
  padding: 4px 7px;
  border: 1px solid #e5b94b;
  border-radius: 6px;
  color: #e5b94b;
  font-size: 11px;
  font-weight: 900;
}

.preview-controls {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.preview-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #2d3040;
  border-radius: 8px;
  background: #0f1017;
}

.preview-row span,
.preview-layers small {
  color: #8f95a8;
  font-size: 12px;
  font-weight: 700;
}

.preview-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.preview-layers article {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid #2d3040;
  border-radius: 8px;
  background: #181b27;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #77d7a2;
}

.status-strip,
.features,
.plans {
  padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 56px);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #11131c;
}

.status-strip div {
  min-height: 92px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: #171923;
}

.status-strip span {
  color: #8f95a8;
  font-size: 12px;
  font-weight: 800;
}

.section-title {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.feature-grid article,
.plan-grid article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: #171923;
}

.feature-grid p,
.plan-grid p {
  margin-top: 10px;
  color: #b8bccb;
  line-height: 1.45;
}

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

.plan-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: #77d7a2;
  font-size: 12px;
  font-weight: 900;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: #aeb3c4;
}

footer span {
  font-weight: 900;
  color: #fff;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .plan-grid,
  .preview-layers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: 100%;
  }

  .status-strip,
  .feature-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

  .preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}
