:root {
  --brand-red: #e40011;
  --brand-red-dark: #76030d;
  --text-main: #1a1a1a;
  --text-muted: #666;
  --bg-main: #ffffff;
  --bg-soft: #f5f5f5;
  --accent-gold: #ffd700;
  --card-radius: 12px;
  --shadow-soft: 0 12px 30px rgba(26, 26, 26, 0.08);
  --container: min(1180px, calc(100% - 48px));
  --header-h: 78px;
  --transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

body.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.subpage main {
  flex: 1;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.num-font {
  font-family: "DIN Alternate", "Oswald", "Arial Narrow", sans-serif;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 0, 17, 0.1);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(228, 0, 17, 0.16);
  box-shadow: 0 4px 10px rgba(228, 0, 17, 0.18);
}

.brand-text {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #333;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--brand-red);
  transition: transform var(--transition);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav .nav-download {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(228, 0, 17, 0.3);
  color: var(--brand-red);
  background: rgba(228, 0, 17, 0.06);
}

.nav .nav-download::after {
  display: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #222;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(255, 215, 0, 0.18),
      transparent 42%
    ),
    linear-gradient(
      130deg,
      rgba(31, 5, 8, 0.45) 0%,
      rgba(104, 2, 11, 0.45) 52%,
      rgba(182, 2, 16, 0.45) 100%
    ),
    url("img/indexBack.png") center/cover no-repeat;
  color: #fff;
  padding: 70px 0 90px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
        transparent 0,
        rgba(255, 255, 255, 0.05) 2px,
        transparent 2px
      )
      0 0 / 100% 52px,
    linear-gradient(
        90deg,
        transparent 0,
        rgba(255, 255, 255, 0.05) 2px,
        transparent 2px
      )
      0 0 / 52px 100%;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.9)
  );
  opacity: 0.28;
  pointer-events: none;
}

.hero-grid {
  /* position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center; */
  position: relative;
  z-index: 1;
  display: grid;
  justify-content: start;
}

.hero .container {
  margin-left: 15%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
  margin: 16px 0 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  /* justify-content: center; */
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(228, 0, 17, 0.28);
}

.btn-primary:hover {
  background: #c5000f;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.2);
}

.btn-secondary.light {
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-meta {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.download-tip {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.download-tip a {
  color: #ffe88e;
  text-decoration: underline;
}

.ops-board {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 45px rgba(20, 3, 6, 0.45);
}

.ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.ops-head strong {
  font-family: "DIN Alternate", "Oswald", sans-serif;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
}

.kpi-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kpi-item {
  margin: 0;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.kpi-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.kpi-item h4 {
  margin: 5px 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.kpi-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.77rem;
}

.ops-trend {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trend-head p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
}

.trend-head strong {
  color: #fff4b3;
  font-size: 0.9rem;
}

.trend-bars {
  margin-top: 10px;
  height: 86px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.trend-bars i {
  display: block;
  width: 100%;
  border-radius: 999px;
  height: var(--h);
  min-height: 14px;
  background: linear-gradient(180deg, #ffd700, #ff8d1f);
  box-shadow: 0 6px 12px rgba(17, 7, 3, 0.2);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.trend-bars i:nth-child(2) {
  animation-delay: 60ms;
}

.trend-bars i:nth-child(3) {
  animation-delay: 120ms;
}

.trend-bars i:nth-child(4) {
  animation-delay: 180ms;
}

.trend-bars i:nth-child(5) {
  animation-delay: 240ms;
}

.trend-bars i:nth-child(6) {
  animation-delay: 300ms;
}

.trend-bars i:nth-child(7) {
  animation-delay: 360ms;
}

@keyframes rise {
  from {
    transform: scaleY(0);
    opacity: 0.45;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.ops-bottom {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ops-panel {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.ops-panel h5 {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.84);
}

.ops-panel ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.ops-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.ops-panel li span {
  color: rgba(255, 255, 255, 0.8);
}

.ops-panel li em {
  font-style: normal;
  color: #fff3b2;
}

.status-list b {
  color: var(--accent-gold);
  font-weight: 700;
}

.ops-foot {
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  background: rgba(255, 215, 0, 0.16);
}

.ops-foot span {
  font-size: 0.77rem;
  color: #fff2b0;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
}

.scroll-hint i {
  width: 22px;
  height: 34px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  position: relative;
}

.scroll-hint i::before {
  content: "";
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 11px);
  }
}

.section {
  padding: 96px 0;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-light {
  background: var(--bg-soft);
}

.section-head {
  max-width: 740px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.25;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(26, 26, 26, 0.12);
}

.pain-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(145deg, var(--brand-red), #bc000e);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.solution-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.solution-media img {
  min-height: 430px;
  object-fit: cover;
}

.adv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.adv-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.adv-list .index {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-family: "DIN Alternate", "Oswald", sans-serif;
  font-size: 1.15rem;
  color: var(--brand-red);
  background: #fff2f3;
}

.adv-list h3 {
  margin: 2px 0 2px;
}

.adv-list p {
  margin: 0;
}

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

.role-card {
  text-align: left;
}

.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff2f3;
  color: var(--brand-red);
  font-weight: 800;
  margin-bottom: 14px;
}

.role-card strong {
  margin-top: 14px;
  color: var(--brand-red);
  display: inline-block;
}

.profit-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.flow-card,
.share-card {
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-step {
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff2f3;
  color: var(--brand-red);
  font-weight: 700;
}

.flow-arrow {
  color: #c73742;
  font-size: 1.2rem;
}

.formula {
  margin-top: 26px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(
    130deg,
    rgba(228, 0, 17, 0.1),
    rgba(255, 215, 0, 0.18)
  );
}

.formula p {
  margin: 0;
  color: #4d0b10;
}

.formula strong {
  margin-top: 8px;
  display: block;
  color: #5f020b;
  font-size: 1.12rem;
}

.profit-notes {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #5e5e5e;
  display: grid;
  gap: 6px;
}

.share-card h3 {
  margin: 0 0 18px;
}

.share-bars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.share-bars li {
  display: grid;
  gap: 8px;
}

.share-bars .label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.share-bars small {
  color: #6f6f6f;
  font-size: 0.8rem;
}

.share-bars .bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}

.share-bars .fill {
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 600ms ease;
}

.benefit-card {
  border-top: 3px solid var(--brand-red);
}

.calculator {
  margin-top: 24px;
  background: linear-gradient(145deg, #fff, #fff8e2);
}

.download-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(228, 0, 17, 0.16);
}

.download-strip h3 {
  margin: 0;
}

.download-strip p {
  margin: 8px 0 0;
}

.calculator-head h3 {
  margin: 0;
}

.calculator-head p {
  margin-top: 8px;
}

.calculator-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.calculator label {
  display: grid;
  gap: 10px;
  color: #333;
  font-weight: 500;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), #ffa22c);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-red);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--brand-red);
  background: #fff;
  cursor: pointer;
}

.estimate-box {
  margin-top: 18px;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(228, 0, 17, 0.16);
}

.estimate-box p {
  margin: 0;
  color: #555;
}

.estimate-box h4 {
  margin: 8px 0 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--brand-red);
}

.estimate-box small {
  display: block;
  margin-top: 8px;
  color: #7a7a7a;
  font-size: 0.82rem;
}

.city-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.rights-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.rights-list li {
  padding: 14px 16px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--brand-red);
}

.rights-list li strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.rights-list li p {
  margin: 6px 0 0;
  color: #666;
  font-size: 0.92rem;
}

.agent-highlight {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(228, 0, 17, 0.1), rgba(255, 255, 255, 0.9)),
    #fff;
}

.agent-highlight p {
  margin: 0;
  color: #5f020b;
}

.agent-highlight h3 {
  margin-top: 8px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, #ffb5bc, var(--brand-red), #ffb5bc);
}

.timeline li {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.timeline li span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-family: "DIN Alternate", "Oswald", sans-serif;
  margin-bottom: 12px;
}

.timeline li h3 {
  margin: 0;
}

.timeline li p {
  margin: 8px 0 0;
}

.stat-card {
  text-align: center;
}

.stat-card .label {
  margin: 0;
  color: #555;
}

.stat-card h3 {
  margin: 10px 0 0;
  color: var(--brand-red);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.stat-card small {
  display: block;
  margin-top: 8px;
  color: #727272;
  font-size: 0.82rem;
}

.faq-wrap {
  max-width: 960px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  color: #222;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  padding: 16px 18px;
}

.faq-question span {
  font-size: 1.35rem;
  color: var(--brand-red);
  transition: transform var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 16px;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

.cta-section {
  background:
    radial-gradient(
      circle at 82% 28%,
      rgba(255, 215, 0, 0.22),
      transparent 48%
    ),
    #1a1a1a;
  color: #fff;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.cta-content p {
  margin: 12px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-points li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.contact {
  margin-top: 24px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.contact p {
  margin: 0;
}

.contact a {
  color: var(--accent-gold);
  font-weight: 700;
}

.qrcode-placeholder {
  width: 104px;
  height: 104px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer {
  padding: 20px 0;
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer nav a {
  color: rgba(255, 255, 255, 0.72);
}

.footer nav .footer-download {
  color: #7ab7ff;
}

.footer nav .icp-link {
  color: #4a90e2;
}

.footer nav .icp-link:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  :root {
    --container: min(1000px, calc(100% - 40px));
  }

  .nav {
    gap: 16px;
  }

  .hero-grid {
    gap: 34px;
  }

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

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

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

  .timeline::before {
    display: none;
  }

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

@media (max-width: 900px) {
  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .solution-grid,
  .profit-layout,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .ops-bottom {
    grid-template-columns: 1fr;
  }

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

  .download-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 78px 0;
  }
}

/* Legal & Content Pages */
.legal-page {
  padding: 60px 0 40px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
}

.legal-updated {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 48px;
}

.legal-page section {
  margin-bottom: 36px;
}

.legal-page section:last-child {
  margin-bottom: 0;
}

.legal-page h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  color: var(--brand-red);
}

.legal-page h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
}

.legal-page p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: #444;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}

.legal-page ul li {
  line-height: 1.7;
  color: #444;
}

.legal-page ul li strong {
  color: var(--text-main);
}

/* Company Info Grid */
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-item {
  padding: 16px;
  border-radius: var(--card-radius);
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-red);
}

.info-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-item p {
  margin: 0;
  color: var(--text-main);
  font-weight: 500;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--card-radius);
  background: var(--bg-soft);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(228, 0, 17, 0.1);
  color: var(--brand-red);
  margin-bottom: 16px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
}

.contact-card a {
  color: var(--brand-red);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .company-info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 40px 0 30px;
  }
}

@media (max-width: 767px) {
  :root {
    --container: min(100%, calc(100% - 28px));
    --header-h: 66px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 8px 14px 14px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  body.menu-open .nav {
    transform: translateY(0);
  }

  .nav a {
    padding: 10px 6px;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero h1 {
    max-width: 11em;
  }

  .hero-desc {
    margin-top: 12px;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta li {
    font-size: 0.84rem;
  }

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

  .trend-bars {
    height: 72px;
    gap: 6px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-3,
  .grid-4,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .flow {
    justify-content: flex-start;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    gap: 10px;
  }

  .cta-points {
    justify-content: center;
  }

  .footer-wrap {
    justify-content: center;
    text-align: center;
  }
}
