:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(15, 30, 50, 0.9);
  --line: rgba(144, 187, 208, 0.18);
  --text: #f5f9fb;
  --muted: #9bb0c2;
  --mint: #77e0bd;
  --cyan: #68cde1;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(69, 133, 162, 0.22), transparent 40%),
    linear-gradient(180deg, #07111f 0%, #091625 50%, #07111f 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

.portal-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(22px, 5vw, 76px) 22px;
}

.ambient {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-one { top: 16%; left: -230px; background: var(--mint); }
.ambient-two { right: -240px; bottom: 2%; background: var(--cyan); }

.brand-bar,
.hero,
.product-grid,
.portal-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand strong { display: block; font-size: 17px; letter-spacing: 0.04em; }
.brand small { display: block; margin-top: 4px; color: #6f879c; font-size: 10px; letter-spacing: 0.2em; }

.brand-mark {
  display: flex;
  align-items: end;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(119, 224, 189, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(119, 224, 189, 0.16), rgba(104, 205, 225, 0.06));
  box-shadow: inset 0 0 20px rgba(119, 224, 189, 0.05);
}

.brand-mark span { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--mint)); }
.brand-mark span:nth-child(1) { height: 36%; opacity: 0.62; }
.brand-mark span:nth-child(2) { height: 62%; opacity: 0.82; }
.brand-mark span:nth-child(3) { height: 92%; }

.internal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #9cdcc9;
  border: 1px solid rgba(119, 224, 189, 0.2);
  border-radius: 999px;
  background: rgba(52, 115, 100, 0.14);
  font-size: 12px;
}

.internal-badge svg { width: 16px; fill: currentColor; }

.hero { max-width: 820px; padding: clamp(54px, 8vh, 92px) 0 42px; text-align: center; }
.eyebrow { margin: 0 0 15px; color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; letter-spacing: -0.04em; }
.hero-copy { max-width: 660px; margin: 20px auto 0; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.8; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.product-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(155deg, rgba(21, 41, 66, 0.96), rgba(9, 23, 39, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 38%);
  content: "";
  pointer-events: none;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  outline: none;
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.3);
}

.revenue-card:hover, .revenue-card:focus-visible { border-color: rgba(119, 224, 189, 0.66); }
.tax-card:hover, .tax-card:focus-visible { border-color: rgba(104, 205, 225, 0.66); }

.card-glow {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(40px);
}

.revenue-card .card-glow { background: var(--mint); }
.tax-card .card-glow { background: var(--cyan); }

.product-topline { position: relative; display: flex; align-items: center; justify-content: space-between; }
.product-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.revenue-card .product-icon { color: var(--mint); background: rgba(119, 224, 189, 0.12); }
.tax-card .product-icon { color: var(--cyan); background: rgba(104, 205, 225, 0.12); }
.product-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.status-chip { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #8ca4b8; font-size: 11px; }
.product-copy { position: relative; margin-top: 34px; }
.product-number { margin: 0 0 9px; color: #5c758b; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; }
.product-copy h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.product-copy > p:last-child { min-height: 58px; margin: 14px 0 0; color: var(--muted); line-height: 1.75; }

.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; padding: 0; list-style: none; }
.feature-list li { padding: 7px 10px; border-radius: 8px; background: rgba(133, 164, 184, 0.08); color: #a7b9c7; font-size: 12px; }

.enter-action {
  position: absolute;
  right: clamp(25px, 3vw, 36px);
  bottom: clamp(25px, 3vw, 34px);
  left: clamp(25px, 3vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.revenue-card .enter-action { color: var(--mint); }
.tax-card .enter-action { color: var(--cyan); }
.enter-action svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.product-card:hover .enter-action svg { transform: translateX(4px); }

.portal-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; color: #637b90; font-size: 11px; }

@media (max-width: 760px) {
  .portal-shell { padding-inline: 17px; }
  .brand small, .internal-badge { display: none; }
  .brand-bar { padding-bottom: 18px; }
  .hero { padding: 54px 0 34px; text-align: left; }
  .hero-copy { margin-inline: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 390px; }
  .portal-footer { flex-direction: column; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .enter-action svg { transition: none; }
}
