/* ========================================
   OHLAC Home Landing — styles.css
   简洁 · 克制 · 科技感
   黑白基调 · 玻璃质感 · 低饱和
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  background: #08080c;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  background: transparent;
}

.header__brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Subtle top-light orb */
.hero__orb {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 35%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__title {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  margin-top: 16px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.hero__bridge {
  margin-top: 32px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.40);
  position: relative;
  z-index: 1;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: rgba(255, 255, 255, 0.92);
  color: #0d0d12;
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn__arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

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

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.80);
}

/* --- Matrix Section --- */
.matrix {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.matrix__heading {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

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

/* --- Cards --- */
.card {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.25s ease, background 0.25s ease,
    transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.card--active {
  border-color: rgba(255, 255, 255, 0.11);
}

.card--active:hover {
  border-color: rgba(255, 255, 255, 0.20);
}

/* Badges */
.card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.card__badge--live {
  background: rgba(82, 196, 128, 0.12);
  color: #7edca0;
}

.card__badge--soon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
}

/* Card content */
.card__title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.card__title-sub {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.40);
  font-size: 16px;
}

.card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 20px;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  transition: color 0.2s ease;
}

.card__link:hover {
  color: rgba(255, 255, 255, 0.95);
}

.card__link-arrow {
  transition: transform 0.2s ease;
}

.card__link:hover .card__link-arrow {
  transform: translateX(2px);
}

.card__status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.30);
  font-style: italic;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px;
}

.footer__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.footer__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.30);
  max-width: 400px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer__sep {
  color: rgba(255, 255, 255, 0.15);
}

.footer__link {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.60);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .header {
    padding: 16px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 90vh;
  }

  .hero__orb {
    width: 400px;
    height: 400px;
    top: -20%;
  }

  .hero__bridge {
    margin-top: 24px;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 32px;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
  }

  .matrix {
    padding: 0 20px 80px;
  }

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

  .footer {
    padding: 40px 20px;
  }
}
