:root {
  --bg: #06090e;
  --bg-alt: #0b111a;
  --panel: #101927;
  --panel-2: #0e1623;
  --text: #eef3fb;
  --muted: #98a6bb;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.2);
  --accent: #e15c31;
  --accent-soft: rgba(225, 92, 49, 0.14);
  --blue-soft: rgba(74,159,212,0.18);
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  background:
    radial-gradient(900px 600px at 100% -20%, rgba(74,159,212,0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(225,92,49,0.09), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  animation: pageIn .45s ease;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  opacity: .24;
  z-index: -1;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(6,9,14,0.9);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.menu { display: flex; gap: 18px; }

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.menu a:hover,
.menu a.active { color: var(--text); }

.hero {
  padding: 92px 0 34px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
}

.hero p {
  margin: 0;
  max-width: 74ch;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

.pricing-hero {
  padding-bottom: 18px;
}

.pill-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #d8e2ef;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 10px;
}

.grid {
  margin: 34px 0 80px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  padding: 30px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}

.card p { margin: 0 0 14px; color: var(--muted); font-weight: 300; }

.stat-grid {
  margin: 0 0 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 20px;
}

.stat-num {
  font-size: 30px;
  font-weight: 600;
  color: #f5f8fc;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5b4c8;
}

.list { margin: 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 8px 0; }

.timeline-track {
  margin: 20px 0 0;
  border-left: 1px solid rgba(225,92,49,.45);
  padding-left: 18px;
}

.timeline-item {
  position: relative;
  margin: 0 0 18px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item strong {
  color: #f3f7fd;
}

.timeline-interactive {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.timeline-stage-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.timeline-stage {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #9fb0c8;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 10px;
  text-align: center;
}

.timeline-stage:last-child {
  border-right: 0;
}

.timeline-stage:hover {
  background: rgba(255,255,255,0.04);
  color: #dce7f5;
}

.timeline-stage.is-active {
  background: rgba(225, 92, 49, 0.14);
  color: #f7fbff;
}

.timeline-stage-panel {
  padding: 20px 22px;
}

.timeline-stage-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #95a8c2;
  margin-bottom: 6px;
}

.timeline-stage-panel h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 400;
}

.timeline-stage-panel p {
  margin: 0;
}

.buyer-demo-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  padding: 18px;
}

.buyer-demo-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93a8c2;
  margin-bottom: 8px;
}

.buyer-demo-input {
  border: 1px solid var(--line);
  background: #101826;
  padding: 12px;
  min-height: 68px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.buyer-demo-loading,
.buyer-demo-scan,
.buyer-demo-results,
.buyer-demo-negotiation,
.buyer-demo-final {
  margin-top: 12px;
  display: none;
}

.buyer-demo-loading.visible,
.buyer-demo-scan.visible,
.buyer-demo-results.visible,
.buyer-demo-negotiation.visible,
.buyer-demo-final.visible {
  display: block;
}

.buyer-demo-checks {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #101826;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  list-style: none;
}

.buyer-demo-checks li {
  color: #aebbd0;
}

.buyer-demo-checks li.checked {
  color: #f6fbff;
}

.buyer-demo-checks li.checked::before {
  content: '• ';
  color: var(--accent);
}

.buyer-demo-supplier {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 12px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
}

.buyer-demo-supplier.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s ease, transform .24s ease;
}

.buyer-demo-supplier h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.buyer-demo-supplier p {
  margin: 0;
  color: #c7d4e7;
  line-height: 1.6;
}

.buyer-chat {
  margin: 10px 0 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 10px;
  opacity: 0;
  transform: translateY(8px);
}

.buyer-chat.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s ease, transform .24s ease;
}

.buyer-demo-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cinema-cursor {
  display: inline-block;
  width: 7px;
  height: 1.1em;
  vertical-align: -2px;
  margin-left: 4px;
  background: var(--accent);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to { opacity: 0; }
}

.form-wrap {
  margin: 30px 0 90px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  padding: 32px;
  animation: fadeUp .8s ease both;
}

.form-wrap h2 {
  margin: 0 0 8px;
  font-size: 31px;
  font-weight: 400;
}

.form-wrap p {
  margin: 0 0 24px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field,
.field-full {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full { grid-column: 1 / -1; }

label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c5d1e0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d121a;
  color: var(--text);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

textarea { min-height: 120px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: #89a5c8; }

.btn {
  margin-top: 8px;
  border: 1px solid #f2f6fc;
  background: #f2f6fc;
  color: #07090d;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover { background: #dce5f2; border-color: #dce5f2; }
.btn:active { transform: translateY(1px); }

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

.success {
  margin-top: 14px;
  color: #89dcb3;
  font-size: 14px;
  display: none;
  opacity: 0;
  transform: translateY(6px);
}

.success.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

form.is-submitting .btn {
  opacity: 0.86;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 46px;
  color: var(--muted);
  font-size: 13px;
}

.calendar-frame {
  margin-top: 14px;
  width: 100%;
  min-height: 640px;
  border: 1px solid var(--line);
  background: #0b1017;
}

.price-line {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  color: #f3f6fd;
}

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

.card-wide {
  grid-column: 1 / -1;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.fee-table th,
.fee-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

.fee-table th {
  background: rgba(255,255,255,0.05);
  color: #dce6f4;
  font-weight: 500;
}

.pricing-highlight-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pricing-highlight {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 14px 12px;
}

.pricing-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb0c7;
}

.pricing-value {
  margin-top: 5px;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f3f7fd;
}

.pricing-examples {
  margin-top: 8px;
}

.pricing-note {
  margin-top: 12px;
  color: #b5c4d9;
  font-size: 13px;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a45;
  transition: transform .08s ease;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(225, 92, 49, 0.45);
  box-shadow: 0 0 24px rgba(225, 92, 49, 0.18);
  background: rgba(10, 16, 24, 0.65);
  display: grid;
  place-items: center;
  transition: width .18s ease, height .18s ease, border-color .18s ease, background .18s ease, transform .12s ease;
}

.cursor-ring-icon {
  font-size: 12px;
  line-height: 1;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.92;
  transition: opacity .15s ease, transform .15s ease;
}

.cursor-ring.is-hover {
  width: 42px;
  height: 42px;
  border-color: rgba(74, 159, 212, 0.85);
  background: rgba(9, 21, 35, 0.82);
}

.cursor-ring.is-hover .cursor-ring-icon {
  transform: scale(1.08);
}

.cursor-ring.mode-ship {
  border-color: rgba(68, 146, 205, 0.75);
}

.cursor-ring.mode-truck {
  border-color: rgba(225, 92, 49, 0.75);
}

.cursor-ring.mode-plane {
  border-color: rgba(176, 192, 213, 0.75);
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-ready,
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready .btn {
    cursor: none;
  }

  body.cursor-ready input,
  body.cursor-ready textarea,
  body.cursor-ready select {
    cursor: text;
  }

  body.cursor-ready .cursor-dot,
  body.cursor-ready .cursor-ring {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .menu { gap: 12px; }
  .menu a { font-size: 11px; }
  .grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pricing-portal-grid { grid-template-columns: 1fr; }
  .pricing-highlight-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-stage-row { grid-template-columns: 1fr; }
  .timeline-stage { border-right: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 12px 14px; }
  .timeline-stage:last-child { border-bottom: 0; }
  .buyer-demo-checks { grid-template-columns: 1fr; }
  .calendar-frame { min-height: 520px; }
  .stat-grid { grid-template-columns: 1fr; }
}
