:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #101a2a;
  --panel-strong: #14253a;
  --text: #f7fbff;
  --muted: #9fb0c3;
  --line: rgba(151, 174, 202, 0.2);
  --brand: #35d0c8;
  --brand-strong: #f6b950;
  --danger: #f16969;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(53, 208, 200, 0.12), transparent 34%),
    linear-gradient(240deg, rgba(246, 185, 80, 0.1), transparent 36%),
    #07111f;
  content: "";
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand,
.nav,
.hero-actions,
.hero-metrics,
.site-footer,
.cta-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(53, 208, 200, 0.42);
  border-radius: 8px;
  background: rgba(53, 208, 200, 0.12);
  color: var(--brand);
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.header-cta {
  color: var(--brand);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 56px) 44px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0.88)),
    url("/assets/eventcore-operations-bg.svg") center / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 11vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 620px;
  color: #d7e1ec;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button-primary {
  background: var(--brand);
  color: #06212b;
}

.button-primary:hover {
  background: #61e5dd;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(16, 26, 42, 0.62);
  color: var(--text);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div {
  min-width: 136px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 26, 42, 0.6);
  padding: 13px 14px;
}

.hero-metrics dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-frame {
  margin: 0;
  border: 1px solid rgba(159, 176, 195, 0.24);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section,
.split-section,
.cta-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

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

.section-heading p,
.split-section p {
  color: var(--muted);
}

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

.feature-card,
.decision-panel,
.next-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 26, 42, 0.82);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

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

.icon-dot {
  display: block;
  width: 11px;
  height: 11px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--brand-strong);
  box-shadow: 0 0 0 8px rgba(246, 185, 80, 0.12);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.decision-panel {
  padding: 18px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.panel-row span,
.next-action small {
  color: var(--muted);
}

.panel-row.warning strong {
  color: var(--brand-strong);
}

.next-action {
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(53, 208, 200, 0.15), rgba(246, 185, 80, 0.12));
}

.next-action strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.next-action p {
  margin-bottom: 0;
  color: #d7e1ec;
}

.compact {
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-section {
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-section h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-frame {
    order: -1;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-metrics div,
  .button {
    width: 100%;
  }

  .hero-metrics {
    align-items: stretch;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.6rem);
  }
}
