/* ------------------------------
   THEME
   -------------------------------*/
:root {
  --bg: #0b1020;
  --bg-2: #0e1530;
  --glass: rgba(255, 255, 255, .06);
  --text: #e9edf1;
  --muted: #a9b3c1;
  --brand: #4fd1c5;
  /* teal */
  --brand-2: #8b5cf6;
  /* violet */
  --accent: #f59e0b;
  /* amber */
  --danger: #ef4444;
  --ok: #22c55e;
  --card-radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #1b2450 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #153a44 0%, transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ------------------------------
   NAVBAR
   -------------------------------*/
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(16, 24, 48, .75), rgba(16, 24, 48, .25));
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: conic-gradient(from 200deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}

.brand-logo svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.nav a.link {
  opacity: .9;
  padding: 10px 14px;
  border-radius: 12px;
  transition: .2s ease;
}

.nav a.link:hover {
  background: var(--glass);
  opacity: 1;
}

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

.btn {
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--glass);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .22);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
}

/* mobile */
.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: rgba(12, 16, 30, .95);
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-links.open {
    display: grid;
    gap: 6px;
  }

  .nav-inner {
    padding: 12px 0;
  }
}

/* ------------------------------
   HERO / PARALLAX
   -------------------------------*/
.hero {
  position: relative;
  overflow: clip;
  min-height: 74vh;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.headline {
  font-size: clamp(28px, 6vw, 50px);
  line-height: 1.05;
  font-weight: 800;
}

.sub {
  color: var(--muted);
  margin-top: 14px;
  max-width: 60ch;
}

/* Modern Search Box */
.search-wrapper {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.search-group {
  display: flex;
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.search-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.15);
  background: rgba(0, 0, 0, 0.6);
}

.search-select {
  background: transparent;
  color: #fff;
  border: none;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  appearance: none; /* Hide default arrow if custom one not added, simple is fine */
}

.search-select option {
  background: #1a2035;
  color: #fff;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  color: white;
  width: 52px;
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(79, 209, 197, 0.2);
  font-size: 0; /* Hide text, show icon only or flex it */
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 209, 197, 0.3);
}

/* Adjust button to show text if width allows, or just icon */
.search-btn {
    width: auto;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    gap: 8px;
}

.hero-visual {
  position: relative;
  height: 420px;
}

.layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: var(--card-radius);
}

.layer.bg {
  background-image: radial-gradient(800px 260px at 40% 20%, rgba(79, 209, 197, .25) 0%, transparent 55%),
    radial-gradient(400px 200px at 70% 60%, rgba(139, 92, 246, .28) 0%, transparent 60%),
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
}

.layer.map {
  opacity: .28;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" fill="none" stroke="%23b9d6ff" stroke-opacity="0.35" stroke-width="1"><path d="M0 80h800M0 160h800M0 240h800M0 320h800M0 400h800M0 480h800"/><path d="M100 0v600M200 0v600M300 0v600M400 0v600M500 0v600M600 0v600M700 0v600"/></svg>');
}

.layer.ship {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 360"><g transform="translate(0,30)"><path d="M30 230h580l-25 40H55z" fill="%23f59e0b" opacity="0.9"/><path d="M120 230l70-90 40 90z" fill="%234fd1c5"/><rect x="270" y="110" width="18" height="120" fill="%23e9edf1"/><path d="M288 110l120 60-120 60z" fill="%238b5cf6" opacity="0.9"/></g></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
  opacity: .9;
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px dashed rgba(255, 255, 255, .18);
  font-size: 13px;
  color: #d9e3ee;
}

/* ------------------------------
   SECTIONS
   -------------------------------*/
section {
  padding: 54px 0;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 26px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.col-4 {
  grid-column: span 4;
}

.col-6 {
  grid-column: span 6;
}

.col-3 {
  grid-column: span 3;
}

.col-12 {
  grid-column: span 12;
}

@media (max-width: 980px) {

  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {

  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }
}

.card {
  position: relative;
  border-radius: var(--card-radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.card h3 {
  margin: 4px 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .pill {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 209, 197, .15);
  border: 1px solid rgba(79, 209, 197, .4);
}

.card .cta {
  margin-top: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.kpi {
  display: grid;
  gap: 8px;
}

.kpi .num {
  font-weight: 900;
  font-size: 34px;
}

.kpi .hint {
  color: var(--muted);
  font-size: 13px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .06);
}

.list-item small {
  color: var(--muted);
}

/* ------------------------------
   FOOTER
   -------------------------------*/
footer {
  padding: 22px 0 40px;
  color: #c9d4e0;
}

.foot {
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.socials {
  display: flex;
  gap: 10px;
}

/* micro animations */
.hover-raise {
  transition: transform .2s ease;
}

.hover-raise:hover {
  transform: translateY(-3px);
}

.glow {
  box-shadow: 0 0 0 rgba(79, 209, 197, .0);
  transition: box-shadow .35s ease;
}

.glow:hover {
  box-shadow: 0 0 30px rgba(79, 209, 197, .18);
}

/* utility */
.muted {
  color: var(--muted);
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

/* ------------------------------
   MODAL
   -------------------------------*/
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #1a2035;
    width: min(600px, 92%);
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #fff, #a9b3c1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-subtitle {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
}

.modal-section {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 700;
    display: block;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
}

.page-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-dots {
    color: var(--muted);
    padding: 0 4px;
}
