/* ==========================================================
   GIGA SHIPPING LINES — Under Construction
   Premium maritime / logistics theme
   ========================================================== */

:root {
  --navy-900: #04132c;
  --navy-800: #071c3f;
  --navy-700: #0a2553;
  --navy-600: #0f2f6b;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --cyan-400: #38bdf8;
  --gold:    #f5c46b;
  --white:   #ffffff;
  --soft:    rgba(255, 255, 255, 0.08);
  --soft-2:  rgba(255, 255, 255, 0.14);
  --text:    #e6ecf7;
  --muted:   #9fb1cf;
  --grad:    linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #f5c46b 100%);
  --glow:    0 20px 60px rgba(56, 189, 248, 0.18), 0 8px 24px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(245,196,107,0.10), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, #020a1c 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(160deg, var(--navy-900), #020a1c);
  display: grid; place-items: center; gap: 18px;
  grid-auto-flow: row;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-anchor {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  color: #04132c; font-size: 28px;
  box-shadow: var(--glow);
  animation: float 2.4s ease-in-out infinite;
}
.loader-text {
  font-family: 'Playfair Display', serif;
  letter-spacing: .2em; font-weight: 700;
  color: var(--text);
}
.loader-bar {
  width: 220px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,0.08); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--grad);
  animation: load 1.2s ease-in-out infinite;
}
@keyframes load {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ===== Background animation ===== */
.bg-wrap { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.45), transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(2px 2px at 35% 75%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,0.4), transparent 50%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.globe {
  position: absolute; right: -160px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(56,189,248,0.35), transparent 55%),
    conic-gradient(from 0deg, rgba(59,130,246,0.18), rgba(56,189,248,0.05), rgba(59,130,246,0.18));
  filter: blur(2px);
  opacity: .55;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ship {
  position: absolute; bottom: 22%; font-size: 28px;
  color: rgba(255,255,255,0.85);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
  animation: sail 22s linear infinite, bob 3.5s ease-in-out infinite;
}
.ship-1 { left: -8%; font-size: 34px; animation-duration: 28s, 4s; }
.ship-2 { left: -25%; bottom: 16%; font-size: 22px; opacity: .7; animation-duration: 36s, 5s; }
@keyframes sail { to { transform: translateX(130vw); } }
@keyframes bob { 50% { translate: 0 -6px; } }

.container-box {
  position: absolute; width: 56px; height: 36px; border-radius: 4px;
  background: linear-gradient(180deg, #f5c46b, #d99a3a);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.35);
  opacity: .85;
  animation: float 6s ease-in-out infinite;
}
.container-box::before, .container-box::after {
  content: ''; position: absolute; inset: 6px 4px;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 2px, transparent 2px 8px);
}
.box-1 { top: 20%; left: 8%; transform: rotate(-6deg); }
.box-2 { top: 65%; right: 12%; background: linear-gradient(180deg, #3b82f6, #1d4ed8); animation-delay: -2s; }
.box-3 { top: 35%; right: 28%; background: linear-gradient(180deg, #38bdf8, #0c7ab5); animation-delay: -4s; transform: rotate(8deg); }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }

.wave {
  position: absolute; left: -10%; right: -10%; height: 180px;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.35), transparent 60%);
  filter: blur(6px);
  border-radius: 50%;
}
.wave-1 { bottom: -60px;  opacity: .55; animation: wave 9s ease-in-out infinite; }
.wave-2 { bottom: -30px;  opacity: .35; background: radial-gradient(ellipse at center, rgba(59,130,246,0.45), transparent 60%); animation: wave 11s ease-in-out infinite reverse; }
.wave-3 { bottom: 0;      opacity: .25; background: radial-gradient(ellipse at center, rgba(255,255,255,0.25), transparent 60%); animation: wave 13s ease-in-out infinite; }
@keyframes wave { 50% { transform: translateX(40px) scaleY(1.05); } }

/* ===== Layout ===== */
.nav {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 6vw;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad); color: #04132c;
  box-shadow: var(--glow);
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; letter-spacing: .14em;
  font-size: 14px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--soft-2);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); backdrop-filter: blur(10px);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(56,189,248,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(56,189,248,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0   rgba(56,189,248,0); }
}

.hero {
  position: relative; z-index: 2;
  min-height: calc(100vh - 160px);
  display: grid; place-items: center;
  padding: 40px 6vw;
}

/* ===== Glass card ===== */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glow);
  border-radius: 24px;
}
.card {
  width: 100%; max-width: 920px;
  padding: 56px 56px 44px;
  text-align: center;
}
.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cyan-400); margin-bottom: 18px;
}
.title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.subtitle {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 640px; margin: 0 auto 32px;
}

/* ===== Meta grid ===== */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 32px;
  max-width: 720px;
}
.meta-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-align: left;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.meta-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(56,189,248,0.35);
}
.meta-item i {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad); color: #04132c;
  flex: 0 0 auto;
}
.meta-label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.meta-value { display: block; font-size: 14px; font-weight: 600; color: var(--text); }

/* ===== Buttons ===== */
.actions {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  color: #04132c;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(56,189,248,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(56,189,248,0.45); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ===== Socials ===== */
.socials { display: flex; justify-content: center; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover {
  transform: translateY(-3px);
  background: var(--grad);
  color: #04132c;
  border-color: transparent;
}

/* ===== Footer ===== */
.footer {
  position: relative; z-index: 2;
  text-align: center; padding: 24px 6vw 36px;
  color: var(--muted); font-size: 13px;
  letter-spacing: .04em;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .card { padding: 40px 24px 32px; border-radius: 20px; }
  .meta-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 12px; }
  .badge { font-size: 11px; padding: 6px 10px; }
  .nav { padding: 18px 5vw; }
  .globe { width: 360px; height: 360px; right: -120px; top: -120px; }
}
@media (max-width: 420px) {
  .actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}
