:root {
  --ink: #111827;
  --ink-2: #243044;
  --slate: #5d697b;
  --muted: #8792a3;
  --line: #dde5ef;
  --soft: #f6f8fb;
  --soft-2: #edf3f8;
  --white: #ffffff;
  --blue: #315f86;
  --blue-2: #4e7fa8;
  --cyan: #56bfd2;
  --green: #21a37a;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
  --shadow-sm: 0 12px 34px rgba(17, 24, 39, 0.07);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 229, 239, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--shadow-sm);
}

.logo-box {
  overflow: hidden;
  background: #fff;
}

.logo-box img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--slate);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  color: #fff !important;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 86% 8%, rgba(86, 191, 210, 0.28), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f2f6fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: var(--line);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.hero-copy-main {
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-head span,
.contact-box span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-head span::before,
.contact-box span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

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

h1 {
  max-width: 730px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 850;
}

.lead {
  max-width: 690px;
  margin-top: 24px;
  color: var(--slate);
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover {
  background: var(--blue);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--blue);
  border-color: rgba(78, 127, 168, 0.55);
  background: #f4f9fc;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.product-shell {
  overflow: hidden;
  border: 1px solid rgba(186, 201, 218, 0.85);
  border-radius: 24px;
  background: #0f1725;
  box-shadow: var(--shadow);
}

.shell-top {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.shell-top span:nth-child(1) {
  background: #f97373;
}

.shell-top span:nth-child(2) {
  background: #f3c65f;
}

.shell-top span:nth-child(3) {
  background: #4cc38a;
  margin-right: 10px;
}

.shell-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 410px;
}

.shell-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 14px;
  background: rgba(255, 255, 255, 0.045);
}

.shell-sidebar span {
  padding: 11px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.shell-sidebar .active {
  color: #fff;
  background: rgba(86, 191, 210, 0.18);
}

.shell-content {
  padding: 26px;
  color: #fff;
}

.module-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.module-heading span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.module-heading strong {
  font-size: 25px;
}

.workflow-row,
.workflow-output {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.workflow-row span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #07111f;
  background: var(--cyan);
  font-weight: 850;
}

.workflow-row strong,
.workflow-row small {
  display: block;
}

.workflow-row small {
  color: rgba(255, 255, 255, 0.58);
}

.workflow-output {
  display: block;
  min-height: 112px;
}

.output-line {
  height: 12px;
  width: 78%;
  margin: 14px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(86, 191, 210, 0.8), rgba(255, 255, 255, 0.18));
}

.output-line.wide {
  width: 94%;
}

.output-line.short {
  width: 48%;
}

.cred-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cred-item {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.cred-item:last-child {
  border-right: 0;
}

.cred-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cred-item strong {
  font-size: 15px;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--soft) 0%, var(--soft-2) 100%);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.section-head p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 18px;
}

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

.card,
.scenario-grid article,
.snapshot-card,
.steps article,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-card {
  min-height: 335px;
  padding: 28px;
}

.feature-card.selected {
  border-color: rgba(78, 127, 168, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf5fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card h3,
.scenario-grid h3,
.snapshot-card h3,
.steps h3,
.price-card h3 {
  font-size: 21px;
  line-height: 1.18;
}

.feature-card p,
.scenario-grid p,
.snapshot-card p,
.steps p,
.price-card p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15px;
}

.feature-card ul,
.price-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li,
.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--slate);
  font-size: 14px;
}

.feature-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

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

.scenario-grid article {
  min-height: 188px;
  padding: 24px;
}

.scenario-grid h3 {
  font-size: 17px;
}

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

.snapshot-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.snapshot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.snapshot-card h3,
.snapshot-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.snapshot-card h3 {
  margin-top: 20px;
}

.snapshot-card p {
  margin-bottom: 22px;
}

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

.steps article {
  padding: 28px;
}

.steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 388px;
  padding: 23px;
}

.price-card.featured {
  border-color: var(--blue-2);
  background: linear-gradient(180deg, #ffffff 0%, #edf6fa 100%);
}

.price-card > span {
  min-height: 30px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-top: 14px;
  font-size: 36px;
  font-weight: 850;
  letter-spacing: 0;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.price.custom {
  font-size: 28px;
}

.price-card ul {
  flex: 1;
  margin-bottom: 22px;
}

.pricing-note {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--slate);
  text-align: center;
  font-size: 14px;
}

.contact-section {
  padding-top: 40px;
}

.contact-box {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  max-width: 850px;
  margin: 0 auto 24px;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.16;
}

.contact-box p {
  margin-top: 16px;
  color: var(--muted);
}

.footer {
  padding: 56px 0 32px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 42px;
}

.footer-brand {
  color: #fff;
}

.footer .brand-copy small {
  color: rgba(255, 255, 255, 0.56);
}

.footer strong {
  color: #fff;
}

.footer p {
  max-width: 430px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(7, 12, 20, 0.88);
  backdrop-filter: blur(12px);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(1280px, 100%);
  max-height: calc(100vh - 64px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #101827;
  box-shadow: var(--shadow);
}

.modal-panel button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 13, 22, 0.72);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.modal-preview {
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f6f8;
}

.modal-preview .modal-ui {
  width: 100%;
  height: 420px;
  border: 0;
}

.modal-panel h3 {
  margin: 14px 4px 2px;
  color: #fff;
}

/* High-impact IDN visual direction */
.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 13, 25, 0.82);
}

.brand-copy strong,
.nav a {
  color: rgba(255, 255, 255, 0.88);
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.5);
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  color: #06111d !important;
  background: var(--cyan);
}

.nav-cta:hover {
  color: #06111d !important;
  background: #79d6e4;
}

.menu-toggle span {
  background: #fff;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 96px 0 74px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(86, 191, 210, 0.34), transparent 26%),
    radial-gradient(circle at 38% 90%, rgba(33, 163, 122, 0.16), transparent 30%),
    linear-gradient(135deg, #050b14 0%, #081321 48%, #102844 100%);
}

.hero::before {
  height: 42%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 11, 20, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px);
}

.eyebrow {
  color: var(--cyan);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.lead {
  color: rgba(255, 255, 255, 0.74);
}

.button-primary {
  color: #06111d;
  background: var(--cyan);
}

.button-primary:hover {
  background: #79d6e4;
}

.hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero .button-secondary:hover {
  color: #fff;
  border-color: rgba(86, 191, 210, 0.65);
  background: rgba(86, 191, 210, 0.14);
}

.hero-note {
  color: rgba(255, 255, 255, 0.5);
}

.hero-showcase {
  position: relative;
  pointer-events: none;
  min-height: 560px;
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.primary-shot {
  position: absolute;
  inset: 46px 0 auto 4%;
  height: 360px;
}

.floating-shot {
  position: absolute;
  width: 58%;
  height: 188px;
}

.shot-a {
  left: -4%;
  bottom: 18px;
}

.shot-b {
  right: 2%;
  bottom: 70px;
}

.showcase-card {
  position: absolute;
  right: 0;
  top: 0;
  width: min(290px, 52%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #fff;
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.showcase-card strong,
.showcase-card span {
  display: block;
}

.showcase-card strong {
  font-size: 22px;
}

.showcase-card span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.cred-bar {
  background: #071321;
  border-color: rgba(255, 255, 255, 0.1);
}

.cred-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.cred-item span {
  color: rgba(255, 255, 255, 0.42);
}

.cred-item strong {
  color: rgba(255, 255, 255, 0.88);
}

.section-head span,
.contact-box span {
  border-color: var(--line);
  background: #fff;
}

.snapshot-card {
  background: #fff;
}

.snapshot-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  background: #f3f5f8;
}

.snapshot-card:first-child .snapshot-image {
  object-position: center top;
}

.modal-preview {
  overflow: hidden;
  min-height: auto;
  background: #f4f6f8;
}

.modal-preview .modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  background: #f4f6f8;
}

@media (max-width: 1080px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #081321;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
  }

  .cards-3,
  .snapshot-grid,
  .steps,
  .pricing-grid,
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cred-item:nth-child(2n) {
    border-right: 0;
  }

  .cred-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 70px 0 56px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .product-shell {
    border-radius: 18px;
  }

  .hero-showcase {
    min-height: 470px;
  }

  .primary-shot {
    inset: 34px 0 auto 0;
    height: 285px;
  }

  .floating-shot {
    width: 64%;
    height: 146px;
  }

  .shot-a {
    left: 0;
    bottom: 20px;
  }

  .shot-b {
    right: 0;
    bottom: 76px;
  }

  .showcase-card {
    width: min(270px, 76%);
  }

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

  .shell-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .snapshot-grid,
  .steps,
  .pricing-grid,
  .scenario-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }

  .cred-item,
  .cred-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cred-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .modal-preview {
    min-height: 300px;
  }
}
