:root {
  --bg: #040613;
  --bg-soft: #0b1230;
  --text: #edf1ff;
  --muted: #aab4d6;
  --primary: #4e90ff;
  --accent: #9b56ff;
  --card: rgba(12, 19, 44, 0.74);
  --border: rgba(152, 178, 255, 0.25);
  --ok: #7dffbf;
  --error: #ff7d9f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #18377a 0, transparent 30%),
    radial-gradient(circle at 80% 15%, #341763 0, transparent 28%),
    radial-gradient(circle at 65% 85%, #173254 0, transparent 30%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(78, 144, 255, 0.34), transparent 38%),
    radial-gradient(circle at 80% 76%, rgba(155, 86, 255, 0.28), transparent 40%),
    #040613;
  opacity: 1;
  visibility: visible;
  transition: opacity 560ms ease, visibility 560ms ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  width: min(86vw, 350px);
  text-align: center;
}

.preloader-logo {
  width: 58px;
  height: 58px;
  animation: preloader-spin 2.8s linear infinite;
}

.preloader-inner p {
  margin: 0.7rem 0 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.preloader-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(130deg, var(--primary), var(--accent));
  animation: loader-bar 1.6s ease-in-out infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-bar {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(260%);
  }
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.55;
}

.bg-glow {
  position: fixed;
  inset: -10%;
  z-index: -2;
  background: radial-gradient(circle at 20% 35%, rgba(100, 149, 255, 0.24), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(155, 86, 255, 0.24), transparent 40%);
  filter: blur(40px);
  animation: drift 18s linear infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0);
  }
  to {
    transform: translate3d(2%, 1%, 0);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.78rem 0.92rem;
  background: rgba(4, 8, 26, 0.76);
  backdrop-filter: blur(14px);
  border: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.83rem;
  max-width: 72%;
}

.brand-logo {
  width: 34px;
  height: 34px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 60;
  transition: background 220ms ease;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0.85rem;
  right: 0.85rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(9, 16, 42, 0.97);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  max-height: calc(100dvh - 85px);
  overflow: auto;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.58rem 0.72rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 0;
  background: transparent;
}

.nav a i {
  color: #99c0ff;
  font-size: 0.95rem;
}

.nav a:hover {
  background: rgba(90, 166, 255, 0.18);
}

main {
  width: min(1140px, 93%);
  margin-inline: auto;
}

.section {
  padding: 3.2rem 0;
}

.hero {
  min-height: calc(100dvh - 66px);
  display: grid;
  align-items: center;
  gap: 1.4rem;
}

.hero-content h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.75rem, 8vw, 4.1rem);
  line-height: 1.1;
  text-wrap: balance;
}

.hero-text {
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  margin: 0;
  color: #9bc5ff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-actions .btn {
  width: 100%;
}

.hero-metrics {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.hero-metrics div {
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(11, 18, 48, 0.66);
}

.hero-metrics strong {
  display: block;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(130deg, var(--primary), var(--accent));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 24px rgba(91, 116, 255, 0.35);
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.btn-sm {
  padding: 0.52rem 0.84rem;
  font-size: 0.85rem;
}

.hero-orb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 210px;
}

.hero-orb {
  width: min(64vw, 300px);
  aspect-ratio: 1;
  border-radius: 42% 58% 50% 50% / 44% 39% 61% 56%;
  background: conic-gradient(from 120deg, #4f88ff, #8b5cf6, #00b8ff, #4f88ff);
  filter: drop-shadow(0 20px 42px rgba(114, 101, 255, 0.6));
  animation: morph 8s ease-in-out infinite, spin 16s linear infinite;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 42% 58% 50% 50% / 44% 39% 61% 56%;
    transform: translateY(0) rotateX(8deg);
  }
  50% {
    border-radius: 55% 45% 63% 37% / 47% 62% 38% 53%;
    transform: translateY(-12px) rotateX(-6deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ticker {
  padding-top: 0.1rem;
}

.section-head.compact {
  margin-bottom: 0.75rem;
}

.ticker-grid {
  display: grid;
  gap: 0.58rem;
  grid-template-columns: 1fr;
}

.ticker-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0.7rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(9, 18, 44, 0.78), rgba(15, 18, 56, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: pulse-item 5s ease-in-out infinite;
}

.ticker-item i {
  color: #89ffd0;
}

.ticker-item span {
  color: #dde7ff;
  font-size: 0.92rem;
  line-height: 1.35;
}

@keyframes pulse-item {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 rgba(90, 166, 255, 0);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(90, 166, 255, 0.12);
  }
}

.section-head h2 {
  margin-top: 0.42rem;
  font-size: clamp(1.35rem, 6vw, 2.35rem);
  text-wrap: balance;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards,
.industries {
  grid-template-columns: 1fr;
}

.cargo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.cargo-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 18, 46, 0.76);
  overflow: hidden;
}

.cargo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cargo-card div {
  padding: 0.9rem 0.95rem 1rem;
}

.cargo-card h3 {
  margin: 0 0 0.3rem;
}

.cargo-card p {
  margin: 0;
  color: var(--muted);
}

.card {
  padding: 1rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(4, 9, 26, 0.45);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.card h3 {
  margin: 0 0 0.45rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 0.9rem;
}

.bullet-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: #d3ddff;
}

.world-cards {
  display: grid;
  gap: 0.8rem;
}

.mini-card {
  border: 1px solid var(--border);
  background: rgba(10, 18, 46, 0.74);
  border-radius: 14px;
  padding: 0.95rem;
}

.mini-card h3 {
  margin: 0 0 0.3rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(11, 18, 50, 0.75);
  padding: 0.95rem;
}

.timeline-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(130deg, var(--primary), var(--accent));
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.timeline-item h3 {
  margin: 0 0 0.25rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.compliance {
  padding-top: 2.6rem;
}

.compliance-grid {
  display: grid;
  gap: 1rem;
}

.compliance-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 17, 42, 0.76);
  padding: 0.95rem;
}

.compliance-box h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.faq details {
  border: 1px solid var(--border);
  background: rgba(11, 18, 48, 0.7);
  border-radius: 12px;
  padding: 0.82rem 0.86rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(11, 18, 48, 0.72);
}

.company-grid p {
  margin: 0;
}

.contact-split {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #d5dcf8;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(4, 10, 26, 0.75);
  color: var(--text);
  padding: 0.76rem 0.86rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(90, 166, 255, 0.5);
  outline-offset: 1px;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.form-status.ok {
  color: var(--ok);
}

.form-status.error {
  color: var(--error);
}

.site-footer {
  border: none;
  padding: 1.6rem 1rem 2.4rem;
  text-align: center;
  color: var(--muted);
  background: rgba(4, 8, 24, 0.14);
}

.site-footer p {
  margin: 0.3rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 740ms ease, transform 740ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .site-header {
    padding: 0.95rem 2rem;
  }

  .nav {
    position: static;
    grid-auto-flow: column;
    display: inline-grid;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 0;
    padding: 0;
    transform: none !important;
    pointer-events: all;
    z-index: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
  }

  .nav a {
    padding: 0.56rem 0.72rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 0;
    background: transparent;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cargo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-split {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .brand {
    font-size: 0.92rem;
    max-width: none;
  }
}

@media (min-width: 1040px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ticker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .section {
    padding: 2.7rem 0;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .hero-orb {
    width: min(58vw, 250px);
  }

  .ticker-item {
    min-height: 52px;
    padding: 0.65rem 0.7rem;
  }

  .ticker-item span {
    font-size: 0.88rem;
  }

  .cargo-card img {
    height: 165px;
  }
}

@media (pointer: coarse) {
  .card,
  .timeline-item,
  .ticker-item,
  .mini-card {
    animation: float-touch 6s ease-in-out infinite;
  }
}

@keyframes float-touch {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .preloader {
    display: none;
  }
}
