/* Flux Global Logistics — main styles */
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e6eaf2;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  --shadow2: 0 10px 25px rgba(15, 23, 42, 0.08);
  --green: #111928;
  --green2: #0b1220;
  --pill: #0b1220;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

@media (max-width: 980px) {
  html,
  body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -200px, #ffffff 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  padding: 48px 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.card {
  margin-left: calc(100% / 24);
  width: calc(100% - (100% / 24));
  max-width: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
  z-index: 10;
}

.inner {
  padding: 34px 44px 36px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand b {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta .pill {
  background: #7bcf52;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(24, 26, 23, 0.25);
}

.lang {
  display: flex;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #94a3b8;
}

.lang .active {
  color: var(--text);
}

.hero {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  overflow: visible;
}

.hero-left {
  grid-column: span 4;
  transform: translateY(-74px);
}

.hero-right {
  grid-column: span 8;
  position: relative;
}

.kicker {
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  margin: 10px 0 0;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.tabs {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  position: relative;
}

.tab-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 16px;
  background: var(--pill);
  pointer-events: none;
  z-index: 0;
  transition: left 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.tab {
  position: relative;
  z-index: 1;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  color: #0f172a;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.tab.active {
  background: transparent;
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

.sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

.form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formRow {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.field {
  flex: 0 0 auto;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.form > .field {
  width: 100%;
}

.formRow > .field,
.formRow > .selectWrap {
  flex: 1.9 1 340px;
}

.field svg {
  opacity: 0.55;
}

.field input,
.field select {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 22px;
  cursor: pointer;
}

.selectWrap {
  position: relative;
  flex: 1 1 220px;
}

.selectWrap:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
  opacity: 0.9;
}

.selectWrap.is-text:after {
  display: none;
}

.btn {
  height: 52px;
  padding: 0 10px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(22, 24, 20, 0.25);
  flex: 0 0 96px;
  white-space: nowrap;
}

.fine {
  margin-top: 10px;
  font-size: 12.5px;
  color: #94a3b8;
}

.waitlist-message {
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg, #111928);
}
.waitlist-message.is-error {
  color: #b91c1c;
}

.bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow2);
  min-width: 260px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f0f9e9;
  border: 1px solid #e6f3dc;
  color: var(--green2);
}

.stat .label {
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
}

.stat .num {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.promo {
  color: #64748b;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo b {
  color: var(--green2);
}

.neural-stage {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: transparent;
  border-radius: 26px;
}

@media (min-width: 981px) {
  .neural-stage {
    height: calc(100vh - 160px);
    min-height: 520px;
  }
}

@media (max-width: 980px) {
  .neural-stage {
    height: 380px;
  }
}

.neural-stage .neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.neural-stage .outline {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  opacity: 0.8;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.10));
}

.airplane-layer {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.airplane-layer .airplane {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.airplane-layer .airplane-icon {
  width: 28px;
  height: 28px;
  color: #111928;
}

@media (max-width: 980px) {
  .inner {
    padding: 26px 20px 28px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-left,
  .hero-right {
    grid-column: auto;
  }
  .hero-left {
    transform: translateY(-12px);
  }
  h1 {
    font-size: 48px;
  }
  .formRow {
    flex-wrap: wrap;
  }
  .selectWrap,
  .btn {
    flex: 1 1 220px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 42px;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .stat {
    min-width: 100%;
  }
}
