@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap");

:root {
  --brand: #00e5ff;
  --brand-dim: rgba(0, 229, 255, 0.45);
  --silver: #9ca3af;
  --silver-light: #c5cdd8;
  --surface-900: #050508;
  --surface-800: #0c0e12;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Outfit", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #e8eaed;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 229, 255, 0.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

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

.font-display {
  font-family: var(--font-display);
}

.container-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container-main {
    padding: 0 1.5rem;
  }
}

.section-padding {
  padding: 3.5rem 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
}

.text-metallic {
  background: linear-gradient(180deg, #f0f4f8 0%, #8b95a5 50%, #c5cdd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-silver {
  color: var(--silver);
}

/* Trusted customers — stack on small screens; separate row vs column gap when wrapping */
.trusted-band {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
}

@media (min-width: 640px) {
  .trusted-band {
    padding: 1.5rem 0;
  }
}

.trusted-band-inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .trusted-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
  }
}

.trusted-band-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #52525b;
  flex-shrink: 0;
  line-height: 1.4;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

@media (min-width: 640px) {
  .trusted-logos {
    column-gap: 2rem;
    row-gap: 0.75rem;
    width: auto;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
  }
}

.trusted-logos li {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: #3f3f46;
  letter-spacing: 0.025em;
  line-height: 1.35;
  max-width: 100%;
}

.horizon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
}

.card {
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 14, 18, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card-elevated {
  border-radius: 2px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  background: rgba(12, 14, 18, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.05), 0 20px 40px -12px rgba(0, 0, 0, 0.75);
}

.panel {
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-900);
}

.btn-primary {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 2px;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(180deg, #2a3544 0%, #12161c 100%);
  border: 1px solid var(--brand-dim);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  text-decoration: none;
  vertical-align: middle;
}

.btn-primary:hover {
  border-color: rgba(0, 229, 255, 0.75);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.35);
}

.btn-secondary {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--silver-light);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  box-sizing: border-box;
  text-decoration: none;
  vertical-align: middle;
}

.btn-secondary:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.05);
  color: #fff;
}

.link-brand {
  color: var(--brand);
}

.link-brand:hover {
  text-decoration: underline;
}

.live-dot {
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
}

@media (min-width: 1024px) {
  .site-header .inner {
    padding: 1rem 0;
  }
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo-link img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (min-width: 768px) {
  .logo-link img {
    width: 4rem;
    height: 4rem;
  }
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.125rem;
    letter-spacing: 0.2em;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.5rem;
  }
}

.header-actions a:not(.btn-primary) {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #71717a;
}

@media (min-width: 640px) {
  .header-actions a:not(.btn-primary) {
    display: inline-flex;
  }
}

.header-actions a:not(.btn-primary):hover {
  color: #d4d4d8;
}

/* Hero */
.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 7rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.badge-live {
  display: inline-flex;
  align-items: center;
      gap: 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.badge-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--brand);
}

.hero-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  row-gap: 0.75rem;
}

.hero-actions .text-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #71717a;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.75rem;
  padding: 0 0.35rem;
  line-height: 1.2;
}

.hero-actions .text-link:hover {
  color: var(--brand);
}

/* Live feed */
.live-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
}

.live-feed-badge {
  display: inline-flex;
  align-items: center;
      gap: 0.25rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.05);
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.live-feed-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 1rem;
}

.live-feed-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.live-feed-list li:last-child {
  border-bottom: none;
}

.live-feed-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.live-feed-metrics > div {
  background: var(--surface-800);
  padding: 0.625rem 0.5rem;
  text-align: center;
}

.section-heading-center {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.section-heading-center .section-label {
  text-align: center;
}

.grid-2scenarios {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .grid-2scenarios {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.tab-btn {
  border-radius: 2px;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #71717a;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tab-btn:hover {
  color: #d4d4d8;
}

.tab-btn.is-active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--brand);
}

.scenario-panel {
  display: none;
}

.scenario-panel.is-active {
  display: block;
}

.agent-btn {
  font: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.agent-btn.is-active {
  border-color: rgba(0, 229, 255, 0.4) !important;
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.agent-detail-pane {
  display: none;
}

.agent-detail-pane.is-active {
  display: grid;
}

@media (min-width: 1024px) {
  .agent-detail-pane.is-active {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface-900);
}

.site-footer .horizon-divider {
  margin: 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }
  .footer-brand {
    grid-column: span 6;
  }
  .footer-legal {
    grid-column: span 3;
  }
  .footer-company {
    grid-column: span 3;
  }
}

.footer-copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #3f3f46;
}

.legal-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.legal-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  color: #e4e4e7;
}

.legal-page p,
.legal-page li {
  color: #a1a1aa;
  line-height: 1.65;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  text-align: left;
}

.legal-page th {
  background: rgba(255, 255, 255, 0.05);
  color: #e4e4e7;
}

.input-field {
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #f4f4f5;
}

.input-field:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d8;
  margin-bottom: 0.375rem;
}

/* Match former Tailwind-style helpers used in index.html */
.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-8 {
  padding: 2rem;
}

/* CTA cards — buttons align to bottom when copy length differs */
.cta-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.cta-card-body {
  flex: 1 1 auto;
}

.cta-card .btn-primary,
.cta-card .btn-secondary {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* Agent picker row */
.agent-picker {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-items: stretch;
}

/* Stat band: single row on desktop */
.stats-band-inner {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
}

@media (min-width: 640px) {
  .stats-band-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Fleet intro: stack on small screens, two columns on large */
.fleet-intro {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .fleet-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 2rem;
    align-items: start;
  }
}
