:root {
  --ink: #071016;
  --panel: #0d1b27;
  --panel-2: #13293a;
  --text: #f7fbff;
  --muted: #b9c7d3;
  --line: rgba(255, 255, 255, 0.16);
  --blue: #19a8e8;
  --green: #6df34b;
  --violet: #8587ff;
  --paper: #f6f8fb;
  --paper-2: #eaf1f6;
  --paper-text: #17212b;
  --paper-muted: #5b6f7f;
  --red: #d94848;
  --amber: #c98518;
  --shadow: 0 22px 60px rgba(4, 11, 18, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--paper-text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--text);
  background: rgba(7, 16, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav .nav-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #061016;
  background: var(--green);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 68vh, 700px);
  display: grid;
  align-items: center;
  padding: clamp(82px, 10vw, 132px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 72px);
  color: var(--text);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/automyx-banner.png") center / cover no-repeat;
  opacity: 0.42;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 30%, rgba(109, 243, 75, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(7, 16, 22, 0.98), rgba(7, 16, 22, 0.88) 48%, rgba(7, 16, 22, 0.66));
}

.home-agentopsmind .hero,
.product-agentopsmind .page-hero {
  min-height: clamp(540px, 66vh, 720px);
}

.home-agentopsmind .hero::before,
.product-agentopsmind .page-hero::before {
  background-image: url("assets/agentopsmind-banner-v1.png");
  background-position: center right;
  opacity: 0.78;
}

.home-agentopsmind .hero::after,
.product-agentopsmind .page-hero::after {
  background:
    radial-gradient(circle at 78% 34%, rgba(25, 168, 232, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(7, 16, 22, 0.98), rgba(7, 16, 22, 0.88) 42%, rgba(7, 16, 22, 0.50) 72%, rgba(7, 16, 22, 0.35));
}

.home-agentopsmind .hero .hero-content,
.product-agentopsmind .page-hero .hero-content {
  max-width: 860px;
}

.home-agentopsmind .hero-text,
.product-agentopsmind .page-lead {
  max-width: 900px;
  color: #d9edf9;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero-text,
.section-heading p,
.feature p,
.tile p,
.metric span,
.step p,
.page-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-text {
  max-width: 760px;
  color: #dceeff;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 850;
}

.button.primary {
  color: #061016;
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section.dark {
  color: var(--text);
  background: var(--ink);
}

.section.alt {
  background: var(--paper-2);
}

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

.section-heading p,
.feature p,
.tile p,
.step p,
.page-lead {
  color: var(--paper-muted);
}

.dark .section-heading p,
.dark .feature p,
.dark .tile p,
.dark .step p,
.dark .page-lead {
  color: var(--muted);
}

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

.signal-strip div {
  min-height: 120px;
  padding: 24px clamp(18px, 4vw, 44px);
  background: #ffffff;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  color: var(--paper-text);
}

.signal-strip span {
  color: var(--paper-muted);
  line-height: 1.5;
}

.product-grid,
.feature-grid,
.pricing-grid,
.metric-grid,
.tool-list,
.sample-grid {
  display: grid;
  gap: 14px;
}

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

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

.tool-list {
  gap: 10px;
}

.feature,
.tile,
.price-card,
.metric,
.step {
  padding: 22px;
  border: 1px solid #d8e2e8;
  border-radius: 8px;
  background: #ffffff;
}

.dark .feature,
.dark .tile,
.dark .price-card,
.dark .metric,
.dark .step {
  border-color: var(--line);
  background: var(--panel);
}

.feature strong,
.tile strong,
.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper-text);
  font-size: 18px;
}

.dark .feature strong,
.dark .tile strong,
.dark .metric strong {
  color: var(--text);
}

.product-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #d8e2e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(23, 33, 43, 0.06);
}

.product-card.featured {
  color: var(--text);
  background: var(--panel);
  border-color: rgba(25, 168, 232, 0.36);
}

.product-card.featured p {
  color: var(--muted);
}

.product-card a,
.tool-row a,
.inline-link {
  color: #0673a8;
  font-weight: 850;
}

.product-card.featured a {
  color: var(--green);
}

.tool-row {
  display: grid;
  grid-template-columns: 160px 230px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid #d8e2e8;
  border-radius: 8px;
  background: #ffffff;
}

.tool-area {
  color: #147b34;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-name {
  font-weight: 850;
}

.tool-desc {
  color: var(--paper-muted);
  line-height: 1.55;
}

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

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #061016;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1420;
  box-shadow: var(--shadow);
}

.dashboard-preview img {
  width: 100%;
  display: block;
}

.report-preview {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #cad8e4;
  border-radius: 8px;
  background: #eef3f8;
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.12);
}

.report-header,
.report-card {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
}

.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.report-header strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2742;
  font-size: 22px;
}

.report-meta,
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.report-meta {
  color: #52616f;
  font-size: 13px;
}

.report-tabs span {
  padding: 7px 10px;
  border: 1px solid #c9d6e2;
  border-radius: 6px;
  color: #17324d;
  background: #f8fbff;
  font-size: 12px;
  font-weight: 800;
}

.report-card {
  padding: 18px;
}

.report-card h3 {
  margin-bottom: 14px;
  color: #0f2742;
}

.report-card p {
  margin-top: 10px;
  color: #34495e;
}

.report-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.report-stats div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid #cbd8e3;
  border-radius: 6px;
  background: #f8fbff;
}

.report-stats strong {
  display: block;
  color: #0f2742;
  font-size: 26px;
}

.report-stats span {
  color: #52616f;
  font-size: 12px;
}

.report-table {
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
}

.report-row {
  display: grid;
  grid-template-columns: 120px 180px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e6edf3;
  color: #273849;
  font-size: 13px;
}

.report-row:last-child {
  border-bottom: 0;
}

.report-head {
  color: #17324d;
  background: #f4f8fc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-dashboard {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.mini-dashboard-top,
.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-row {
  min-height: 48px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mini-row strong {
  color: var(--text);
}

.risk-critical {
  color: var(--red);
}

.risk-medium {
  color: var(--amber);
}

.risk-good {
  color: var(--green);
}

.price-card {
  min-height: 330px;
}

.price-card .price {
  margin: 14px 0 16px;
  color: var(--paper-text);
  font-size: 34px;
  font-weight: 900;
}

.price-card ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--paper-muted);
  line-height: 1.45;
}

.price-card li::before,
.check-list li::before {
  content: "+";
  margin-right: 8px;
  color: #157a2c;
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  padding: clamp(92px, 12vw, 140px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 76px);
  color: var(--text);
  background: var(--ink);
  overflow: hidden;
}

.page-hero .hero-content {
  max-width: 960px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .signal-strip,
  .product-grid,
  .feature-grid,
  .pricing-grid,
  .metric-grid,
  .report-stats,
  .workflow,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .report-header {
    flex-direction: column;
  }

  .report-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .tool-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero {
    min-height: 600px;
  }

  .page-hero {
    min-height: 420px;
  }

  .hero::after,
  .page-hero::after {
    background:
      radial-gradient(circle at 82% 22%, rgba(109, 243, 75, 0.10), transparent 30%),
      linear-gradient(180deg, rgba(7, 16, 22, 0.96), rgba(7, 16, 22, 0.80));
  }

  .home-agentopsmind .hero,
  .product-agentopsmind .page-hero {
    min-height: 620px;
  }

  .home-agentopsmind .hero::before,
  .product-agentopsmind .page-hero::before {
    background-position: center;
    opacity: 0.48;
  }

  .home-agentopsmind .hero::after,
  .product-agentopsmind .page-hero::after {
    background:
      radial-gradient(circle at 75% 20%, rgba(25, 168, 232, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(7, 16, 22, 0.96), rgba(7, 16, 22, 0.84));
  }
}
