@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;600;700&family=Space+Grotesk:wght@400;600;700&display=swap");

:root {
  --navy: #0b2a3d;
  --blue: #1f6f8b;
  --aqua: #2aa5a1;
  --gold: #d9a441;
  --ink: #0b1c2c;
  --paper: #f5f7f9;
  --sand: #e6edf3;
  --line: rgba(11, 28, 44, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 12%, rgba(42, 165, 161, 0.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(31, 111, 139, 0.2), transparent 42%),
    linear-gradient(135deg, #f7f9fb 0%, #eef3f7 100%);
  min-height: 100vh;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: -10% 30% auto -20%;
  height: 420px;
  background: linear-gradient(120deg, rgba(42, 165, 161, 0.18), rgba(31, 111, 139, 0.18));
  border-radius: 50% 50% 60% 40%;
  filter: blur(6px);
  z-index: 0;
}

.page::after {
  content: "";
  position: absolute;
  inset: auto -20% -25% 45%;
  height: 420px;
  background: linear-gradient(140deg, rgba(31, 111, 139, 0.2), rgba(217, 164, 65, 0.18));
  border-radius: 55% 45% 40% 60%;
  filter: blur(12px);
  z-index: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  padding: 32px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 54px;
  height: 54px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.logo-text span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

nav a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 48px 0 36px;
}

.hero h1 {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 18px;
}

.hero p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(15, 27, 20, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.header-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.tracking-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(11, 28, 44, 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.tracking-inline input {
  border: none;
  background: transparent;
  padding: 6px 8px;
  font-size: 14px;
  width: 160px;
}

.tracking-inline input:focus {
  outline: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 17, 26, 0.72);
  z-index: 1000;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  width: min(620px, 92vw);
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(6, 17, 26, 0.3);
  animation: rise 0.5s ease forwards;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(11, 28, 44, 0.18);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
}

.tracking-status {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tracking-status h3 {
  margin: 0 0 4px;
}

.tracking-sub {
  margin: 0;
  color: rgba(11, 28, 44, 0.65);
}

.pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 rgba(42, 165, 161, 0.6);
  animation: pulse 1.4s ease-in-out infinite;
}

.tracking-loader {
  margin: 18px 0 8px;
  display: grid;
  gap: 10px;
}

.tracking-loader p {
  margin: 0;
  color: rgba(11, 28, 44, 0.65);
}

.tracking-loader.is-hidden {
  display: none;
}

.loader-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(11, 28, 44, 0.1);
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(120deg, var(--blue), var(--aqua));
  animation: loader 1.2s ease-in-out infinite;
}

.tracking-list {
  display: none;
  margin: 18px 0 8px;
  gap: 12px;
}

.tracking-list.is-visible {
  display: grid;
}

.tracking-step {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(31, 111, 139, 0.08);
  display: grid;
  gap: 4px;
}

.tracking-step span {
  color: rgba(11, 28, 44, 0.65);
  font-size: 13px;
}

.tracking-footnote {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(11, 28, 44, 0.6);
}

.no-scroll {
  overflow: hidden;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(31, 111, 139, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(11, 28, 44, 0.25);
  color: var(--ink);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

.login-btn {
  padding: 10px 20px;
  font-size: 14px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(15, 27, 20, 0.08);
  box-shadow: 0 20px 50px rgba(15, 27, 20, 0.08);
  display: grid;
  gap: 18px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(15, 27, 20, 0.12);
  font-size: 15px;
}

.stat:last-child {
  border-bottom: none;
}

.stat strong {
  font-size: 20px;
}

.stripe {
  background: var(--navy);
  color: white;
  padding: 16px 22px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

section {
  padding: 40px 0;
}

.section-title {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 26px;
  margin: 0 0 18px;
}

.section-note {
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(15, 27, 20, 0.75);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo-badge {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  border: 1px solid rgba(15, 27, 20, 0.08);
  padding: 16px;
  display: grid;
  place-items: center;
  min-height: 80px;
}

.logo-badge img {
  max-width: 120px;
  max-height: 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(15, 27, 20, 0.08);
  display: grid;
  gap: 12px;
  min-height: 180px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 27, 20, 0.08);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 26px;
}

.contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

footer {
  padding: 24px 0 48px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(15, 27, 20, 0.6);
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 165, 161, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(42, 165, 161, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(42, 165, 161, 0);
  }
}

@keyframes loader {
  0% {
    left: -30%;
  }
  50% {
    left: 50%;
  }
  100% {
    left: 110%;
  }
}

.fade-in {
  animation: rise 0.7s ease forwards;
}

.stagger > * {
  opacity: 0;
  animation: rise 0.7s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.12s; }
.stagger > *:nth-child(3) { animation-delay: 0.19s; }
.stagger > *:nth-child(4) { animation-delay: 0.26s; }

@media (max-width: 820px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .tracking-inline {
    width: 100%;
    justify-content: space-between;
  }

  .tracking-inline input {
    width: 100%;
  }

  .stripe {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
