:root {
  --bg: #0f1822;
  --surface: rgba(20, 31, 43, 0.75);
  --surface-solid: #1d2c3b;
  --text: #f6f9fd;
  --muted: #b2c5d7;
  --accent: #ff7a1a;
  --accent-2: #ffb366;
  --line: rgba(178, 197, 215, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  transition: color 0.2s;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Focus & Accessibility ---------- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  animation: fadeIn 0.5s ease-out;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 255, 255, 0.15) 0%, transparent 65%),
    radial-gradient(850px 420px at 0% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
}

.topline {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out both;
}

.header-a .head-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.22);
}

.header-b {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.head-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.head-tags span,
.maritime-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: default;
}

.head-tags span:hover,
.maritime-badges span:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.header-c {
  grid-template-columns: 1fr auto 1fr;
}

.header-c .contact-mini {
  text-align: right;
}

.header-d {
  align-items: flex-start;
}

.maritime-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.header-e {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.host-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.contact-mini {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-mini a {
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}

.brand-logo {
  width: 190px;
  max-width: 52vw;
  height: auto;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.countdown {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.3s;
}

.countdown h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.count-grid div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.3rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  transition: border-color 0.3s, transform 0.3s;
}

.count-grid div:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.count-grid strong {
  display: block;
  font-family: "Teko", "Oswald", monospace;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.count-grid strong.tick {
  animation: countPulse 0.35s ease;
}

.count-grid span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.notify {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin-top: 1rem;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.35s;
}

.notify input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.82rem 0.9rem;
  background: rgba(9, 15, 22, 0.72);
  color: var(--text);
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.notify input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.notify input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}

.notify button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 0.82rem 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.notify button:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.notify button:active:not([disabled]) {
  transform: translateY(0);
}

.notify button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.notify button .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.message {
  min-height: 1.2rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  transition: color 0.25s;
  font-size: 0.92rem;
}

.message.success {
  color: #8ee0a9;
  font-weight: 600;
}

.message.error {
  color: #ffb0a1;
  font-weight: 600;
}

.parallax-frame {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.4s;
  animation: fadeInUp 0.9s ease-out both;
  animation-delay: 0.15s;
}

.parallax-frame:hover {
  border-color: var(--accent);
  box-shadow:
    0 26px 46px rgba(0, 0, 0, 0.34),
    0 0 40px -12px var(--accent);
}

.parallax-frame img {
  width: 100%;
  display: block;
  transition: transform 280ms ease;
}

.layout-a .main,
.layout-b .main,
.layout-c .main,
.layout-d .main,
.layout-e .main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.2rem 3rem;
}

.main > * {
  animation: fadeInUp 0.7s ease-out both;
}
.main > *:nth-child(1) { animation-delay: 0.08s; }
.main > *:nth-child(2) { animation-delay: 0.18s; }
.main > *:nth-child(3) { animation-delay: 0.28s; }
.main > *:nth-child(4) { animation-delay: 0.38s; }
.main > *:nth-child(5) { animation-delay: 0.46s; }
.main > *:nth-child(6) { animation-delay: 0.52s; }

.layout-a .main {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
  align-items: center;
}

.layout-a h1 {
  font-family: "Teko", sans-serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.9;
  margin: 0.8rem 0 0;
  text-transform: uppercase;
}

.layout-a .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.layout-a .service-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: rgba(8, 14, 21, 0.55);
  font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: default;
}

.layout-a .service-grid span:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.layout-b .main {
  display: grid;
  gap: 1rem;
}

.layout-b .hero-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.layout-b h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0;
  text-transform: uppercase;
}

.layout-b .deal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.layout-b .deal-cards article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(6, 14, 11, 0.6);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.layout-b .deal-cards article:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.layout-b .deal-cards h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.layout-c .main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.layout-c .headline-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  background:
    linear-gradient(130deg, rgba(8, 14, 22, 0.92), rgba(3, 20, 30, 0.86));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.layout-c h1 {
  margin: 0.4rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: 0.03em;
}

.layout-c .spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.layout-c .spec-strip div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  text-align: center;
  background: rgba(5, 12, 20, 0.76);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: default;
}

.layout-c .spec-strip div:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.layout-d .main {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 1rem;
}

.layout-d h1 {
  margin: 0.8rem 0 0;
  font-family: "Teko", sans-serif;
  font-size: clamp(2.5rem, 6.4vw, 4.7rem);
  line-height: 0.92;
}

.layout-d .timeline {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(7, 19, 23, 0.68);
}

.layout-d .timeline li {
  list-style: none;
  border-left: 3px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0 0.8rem 0.75rem;
  margin-left: 0.2rem;
  color: var(--muted);
  transition: color 0.25s, padding-left 0.25s;
}

.layout-d .timeline li:hover {
  color: var(--text);
  padding-left: 1rem;
}

.layout-e .main {
  display: grid;
  gap: 0.95rem;
}

.layout-e .intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.layout-e h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 6.4vw, 4.1rem);
  text-transform: uppercase;
}

.layout-e .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.layout-e .pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.87rem;
  background: rgba(12, 15, 20, 0.6);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: default;
}

.layout-e .pill-row span:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  background: rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.5s;
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 96px;
  border-radius: 8px;
}

.footer-brand p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.36rem 0.64rem;
  color: var(--muted);
  font-size: 0.85rem;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.footer-links a:hover,
.footer-links span:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Preview Banner ---------- */
.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-banner + .site-shell {
  padding-top: 2rem;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout-a .main,
  .layout-d .main {
    grid-template-columns: 1fr;
  }

  .layout-b .hero-copy,
  .layout-e .intro {
    grid-template-columns: 1fr;
  }

  .layout-b .deal-cards {
    grid-template-columns: 1fr;
  }

  .layout-c .spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-a .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .topline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-a .head-panel {
    text-align: center;
    width: 100%;
  }

  .header-c {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-c .contact-mini {
    text-align: center;
  }

  .maritime-badges {
    justify-content: center;
  }

  .notify {
    grid-template-columns: 1fr;
  }

  .notify button {
    width: 100%;
  }

  .count-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    width: 150px;
  }

  .head-tags,
  .maritime-badges {
    justify-content: center;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
