﻿:root {
  --deep: #041421;
  --navy: #06233a;
  --blue: #0a5ea8;
  --cyan: #3be7ff;
  --aqua: #58d7c7;
  --foam: #e9fbff;
  --muted: #9fc3d4;
  --panel: rgba(8, 34, 55, 0.72);
  --panel-strong: rgba(11, 48, 76, 0.86);
  --line: rgba(101, 222, 255, 0.24);
  --gold: #f4c76a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--foam);
  background: var(--deep);
}

img {
  display: block;
}

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

.portal {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(4, 20, 33, 0.98) 0%, rgba(6, 35, 58, 0.96) 42%, rgba(3, 76, 105, 0.92) 100%);
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 28px clamp(18px, 4vw, 64px) 136px;
  isolation: isolate;
}

.sea-grid {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-image:
    linear-gradient(rgba(88, 215, 199, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 215, 199, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, transparent, rgba(59, 231, 255, 0.08), transparent),
    repeating-linear-gradient(180deg, rgba(233, 251, 255, 0.035) 0 1px, transparent 1px 9px);
}

.wind-field {
  position: absolute;
  inset: 108px 0 auto 0;
  height: 250px;
  pointer-events: none;
  z-index: -2;
}

.wind-line {
  position: absolute;
  right: -8vw;
  width: 58vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 231, 255, 0.58), transparent);
  transform: skewX(-18deg);
}

.line-a { top: 24px; }
.line-b { top: 114px; right: 8vw; opacity: 0.72; }
.line-c { top: 202px; right: 18vw; opacity: 0.42; }

.turbine {
  position: absolute;
  bottom: 72px;
  width: 94px;
  height: 210px;
  z-index: -1;
  opacity: 0.38;
}

.turbine::before {
  content: "";
  position: absolute;
  left: 45px;
  bottom: 0;
  width: 5px;
  height: 136px;
  background: linear-gradient(to bottom, rgba(233, 251, 255, 0.72), rgba(88, 215, 199, 0.12));
}

.turbine::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: 128px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(233, 251, 255, 0.72);
  background:
    linear-gradient(90deg, transparent 44%, rgba(233, 251, 255, 0.72) 45% 55%, transparent 56%),
    linear-gradient(30deg, transparent 44%, rgba(233, 251, 255, 0.72) 45% 55%, transparent 56%),
    linear-gradient(150deg, transparent 44%, rgba(233, 251, 255, 0.72) 45% 55%, transparent 56%);
}

.turbine-a { right: 11vw; }
.turbine-b { right: 22vw; bottom: 38px; transform: scale(0.72); opacity: 0.24; }

.wave {
  position: absolute;
  left: -8vw;
  right: -8vw;
  height: 155px;
  border-top: 1px solid rgba(59, 231, 255, 0.36);
  border-radius: 50% 50% 0 0;
  z-index: -1;
}

.wave-a { bottom: 18px; transform: rotate(-2deg); opacity: 0.8; }
.wave-b { bottom: -42px; transform: rotate(2deg); opacity: 0.46; }

.topbar {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 156px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(233, 251, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(59, 231, 255, 0.16);
}

.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong {
  font-size: 1.16rem;
  letter-spacing: 0.12em;
}

.brand-text small,
.status-strip,
.lead,
.logo-stage span,
.system-content small {
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.78rem;
}

.status-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(59, 231, 255, 0.22);
  border-radius: 999px;
  background: rgba(4, 20, 33, 0.42);
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(59, 231, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 20, 33, 0.48);
}

.lang-button {
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d8f4fb;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  background: rgba(59, 231, 255, 0.14);
  outline: none;
}

.lang-button.active {
  background: var(--cyan);
  color: var(--deep);
}

.hero-layout {
  width: min(1240px, 100%);
  margin: 94px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--aqua);
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  font-weight: 900;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.34);
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #d8f4fb;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.9;
}

.logo-stage {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(59, 231, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(220, 244, 249, 0.92) 46%, rgba(8, 34, 55, 0.8) 47%, rgba(8, 34, 55, 0.88));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.logo-stage img {
  width: min(320px, 100%);
  max-height: 150px;
  object-fit: contain;
}

.logo-stage div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 251, 255, 0.18);
}

.logo-stage strong {
  color: #ffffff;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
}

.systems {
  width: min(1240px, calc(100% - 36px));
  margin: -82px auto 64px;
  position: relative;
  z-index: 3;
}

.systems-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.systems-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.system-card {
  min-height: 260px;
  display: grid;
  grid-template-rows: 104px 1fr auto;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 62, 96, 0.82), rgba(6, 30, 50, 0.9));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.system-card:hover,
.system-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(59, 231, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(18, 87, 132, 0.94), rgba(6, 37, 62, 0.96));
  outline: none;
}

.logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-width: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.logo-frame img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.system-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.system-content strong {
  color: #ffffff;
  font-size: 1.14rem;
  line-height: 1.35;
}

.system-content small {
  color: #b9d7e5;
  font-size: 0.9rem;
  line-height: 1.55;
}

.launch {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(159, 195, 212, 0.22);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
}

.launch::after {
  content: "↗";
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 231, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 1120px) {
  .system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-bottom: 112px;
  }

  .topbar,
  .hero-layout,
  .systems-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .hero-layout {
    display: flex;
    margin-top: 56px;
  }

  .logo-stage {
    width: 100%;
    min-height: 230px;
  }

  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 132px;
    height: 64px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .status-strip {
    justify-content: flex-start;
  }

  .systems {
    width: min(100% - 28px, 1240px);
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: 230px;
  }
}
