:root {
  --ink: #0b1f33;
  --ink-soft: #243447;
  --muted: #5b6b7c;
  --paper: #f4f7fa;
  --paper-2: #e8eef4;
  --line: rgba(11, 31, 51, 0.1);
  --teal: #0f8f86;
  --teal-deep: #0a6b65;
  --teal-soft: #d8f3f0;
  --sand: #f3ebe0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(11, 31, 51, 0.14);
  --radius: 18px;
  --container: 1120px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(15, 143, 134, 0.14), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(243, 235, 224, 0.7), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, var(--paper) 40%, #eef3f7 100%);
  line-height: 1.55;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 250, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 250, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--teal) 0%, var(--teal-deep) 55%, #0b1f33 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 9px 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  border-left-width: 4px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--teal);
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #12a399 0%, var(--teal) 100%);
}

.btn-secondary {
  background: rgba(11, 31, 51, 0.04);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(11, 31, 51, 0.07);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}

.btn-lg {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 143, 134, 0.08), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 18px,
      rgba(11, 31, 51, 0.025) 18px,
      rgba(11, 31, 51, 0.025) 19px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
  line-height: 1.02;
}

.hero h1,
.feature-copy h2,
.section-head h2,
.cta-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.2rem);
  max-width: 15ch;
  font-weight: 700;
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 36ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-visual {
  animation: floatIn 0.9s ease both;
}

.hero-copy {
  animation: riseIn 0.8s ease both;
}

.product-stage {
  position: relative;
}

.product-screen {
  position: relative;
  z-index: 1;
  background: #102536;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: #0c1c29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d5366;
}

.product-chrome span:nth-child(1) { background: #e07a5f; }
.product-chrome span:nth-child(2) { background: #f2cc8f; }
.product-chrome span:nth-child(3) { background: #81b29a; }

.product-chrome em {
  margin-left: 0.6rem;
  font-style: normal;
  font-size: 0.78rem;
  color: #8aa0b3;
}

.product-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 320px;
}

.product-side {
  padding: 1rem 0.85rem;
  background: #0e2131;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #9bb0c2;
  font-size: 0.82rem;
}

.product-side b {
  color: #fff;
  margin-bottom: 0.35rem;
}

.product-side i {
  font-style: normal;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.product-side i:first-of-type {
  background: rgba(15, 143, 134, 0.25);
  color: #9fe8e1;
}

.product-main {
  padding: 1rem;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  color: #d7e3ee;
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
}

.product-rows {
  display: grid;
  gap: 0.55rem;
}

.product-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9d8e6;
  font-size: 0.8rem;
}

.tag {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.tag.ok { background: rgba(15, 143, 134, 0.25); color: #9fe8e1; }
.tag.warn { background: rgba(242, 204, 143, 0.2); color: #f2cc8f; }
.tag.muted { background: rgba(155, 176, 194, 0.15); color: #9bb0c2; }

.product-glow {
  position: absolute;
  inset: 18% -8% -12% 12%;
  background: radial-gradient(circle at center, rgba(15, 143, 134, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.stats {
  padding: 1.5rem 0 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-grid article {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--line);
}

.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-block {
  padding: 4.5rem 0;
}

.feature-alt {
  background:
    linear-gradient(180deg, rgba(15, 143, 134, 0.05), transparent 40%),
    linear-gradient(90deg, rgba(243, 235, 224, 0.45), transparent 55%);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.feature-split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-split.reverse .feature-panel {
  order: 1;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.feature-copy h2,
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  max-width: 18ch;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.check-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.text-link {
  font-weight: 700;
  color: var(--teal-deep);
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
}

.meter {
  height: 10px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.meter i {
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  border-radius: inherit;
}

.panel-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-list span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.panel-card.events {
  display: grid;
  gap: 0.75rem;
}

.event {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.event b {
  font-family: var(--font-display);
  color: var(--teal-deep);
}

.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.compare-col {
  padding: 1.2rem 0.5rem;
  border-radius: 14px;
  background: var(--paper);
}

.compare-col strong {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.compare-col em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.why,
.quotes {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.why-grid,
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-grid article,
.quotes-grid blockquote {
  margin: 0;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.why-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.why-grid p,
.quotes-grid p {
  margin: 0;
  color: var(--muted);
}

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

.quotes-grid p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.quotes-grid footer {
  display: grid;
}

.quotes-grid strong {
  font-size: 0.95rem;
}

.quotes-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cta-band {
  padding: 2rem 0 4.5rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  padding: 2.2rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #0b1f33 0%, #123447 45%, #0a6b65 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-copy .brand-hero {
  color: #9fe8e1;
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 14ch;
  margin-top: 0.35rem;
}

.cta-copy > p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
}

.check-list.light li {
  color: rgba(255, 255, 255, 0.9);
}

.check-list.light li::before {
  box-shadow: 0 0 0 4px rgba(159, 232, 225, 0.2);
}

.lead-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.35rem;
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.lead-form .field {
  display: grid;
  gap: 0.4rem;
}

.lead-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.lead-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 31, 51, 0.35);
  color: #fff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.lead-form input:focus {
  border-color: #9fe8e1;
  background: rgba(11, 31, 51, 0.5);
}

.btn-block {
  width: 100%;
}

.form-hint {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.form-msg {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-msg.is-ok {
  background: rgba(159, 232, 225, 0.18);
  color: #9fe8e1;
}

.form-msg.is-error {
  background: rgba(224, 122, 95, 0.2);
  color: #f3b5a5;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 28ch;
}

.footer-grid h4 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--teal-deep);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 74px 1rem auto;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--paper);
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero-grid,
  .feature-split,
  .feature-split.reverse,
  .stats-grid,
  .why-grid,
  .quotes-grid,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-split.reverse .feature-copy,
  .feature-split.reverse .feature-panel {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .product-screen {
    transform: none;
  }

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

  .product-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .cta-panel {
    align-items: start;
  }

  .why-grid,
  .quotes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .why-grid,
  .quotes-grid,
  .compare {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .product-row {
    grid-template-columns: 1fr;
  }
}
