:root {
  --primary: #ff6700;
  --primary-dark: #e05c00;
  --primary-light: #ff8a3d;
  --money: #ff6700;
  --time: #2196f3;
  --chance: #4caf50;
  --chance-xl: #9c27b0;
  --dark: #14171c;
  --dark-2: #1d2128;
  --dark-3: #262b34;
  --text: #1a1a2e;
  --text-2: #5b6470;
  --text-3: #8a94a3;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --line: #e6e8ec;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(20, 23, 28, 0.08);
  --shadow-hover: 0 16px 50px rgba(255, 103, 0, 0.16);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.nav.scrolled {
  box-shadow: 0 6px 24px rgba(20, 23, 28, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #ff9a3d);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 103, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--text-2);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 103, 0, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 103, 0, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  background: #fff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(20, 23, 28, 0.12);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 23, 28, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(255, 103, 0, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  color: #fff;
  background: radial-gradient(1000px 480px at 85% -10%, rgba(255, 138, 61, 0.35), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(33, 150, 243, 0.22), transparent 60%),
    linear-gradient(160deg, #161a20 0%, #1c2129 55%, #201c24 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(700px 400px at 70% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(700px 400px at 70% 30%, #000, transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffd9bf;
  background: rgba(255, 103, 0, 0.16);
  border: 1px solid rgba(255, 138, 61, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9a3d;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.25);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #ff9a3d, #ff6700, #ffb35c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats .stat b {
  font-size: 26px;
  font-weight: 800;
  display: block;
}

.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero visual (phone mock) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, #2a2f38, #1a1d23);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.phone-notch {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  border-radius: 16px;
  background: #0c0e12;
  z-index: 2;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #f6f7f9;
}

.phone-bar {
  height: 46px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.phone-tabs {
  display: flex;
  background: var(--primary);
  padding: 0 10px 8px;
  gap: 4px;
}

.phone-tabs span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #ffe3cf;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}

.phone-tabs span.on {
  color: #fff;
  border-color: #fff;
}

.phone-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f6f7f9;
}

.p-user {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(20, 23, 28, 0.06);
}

.p-user .ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.p-user .meta {
  flex: 1;
}

.p-user .meta b {
  display: block;
  font-size: 14px;
}

.p-user .meta span {
  font-size: 12px;
  color: var(--text-3);
}

.p-user .val {
  text-align: right;
}

.p-user .val b {
  font-size: 15px;
}

.p-user .val span {
  font-size: 11px;
  color: var(--text-3);
}

.p-card {
  background: linear-gradient(135deg, #ff8a3d, #ff6700);
  border-radius: 16px;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-card b {
  font-size: 22px;
  font-weight: 800;
}

.p-card span {
  font-size: 12px;
  opacity: 0.9;
}

.p-bubble {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  animation: float 5s ease-in-out infinite;
}

.p-bubble b {
  display: block;
  font-size: 15px;
  color: var(--primary);
}

.p-bubble.b1 {
  top: 90px;
  right: -96px;
}

.p-bubble.b2 {
  bottom: 150px;
  left: -108px;
  animation-delay: 2.2s;
}

.p-bubble.b2 b {
  color: var(--time);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Sections common ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-2);
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 103, 0, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- Modules ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.25s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.module-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 18px;
}

.module-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.module-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.module-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 8px;
}

.m-money .module-ico { background: linear-gradient(135deg, #ff9a3d, #ff6700); }
.m-time .module-ico { background: linear-gradient(135deg, #4fc3f7, #2196f3); }
.m-chance .module-ico { background: linear-gradient(135deg, #66bb6a, #4caf50); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature .f-ico {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Integration (code) ---------- */
.integration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.integration h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.integration p {
  color: var(--text-2);
  margin-bottom: 22px;
  font-size: 15.5px;
}

.integration ul {
  list-style: none;
  margin-bottom: 28px;
}

.integration ul li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-2);
  font-size: 15px;
}

.integration ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.14);
  color: #2e7d32;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.code-window {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(20, 23, 28, 0.28);
  overflow: hidden;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--dark-3);
}

.code-bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-bar i:nth-child(1) { background: #ff5f57; }
.code-bar i:nth-child(2) { background: #febc2e; }
.code-bar i:nth-child(3) { background: #28c840; }

.code-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.code-body {
  padding: 18px 20px;
  overflow-x: auto;
}

.code-body pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: #e8eaf0;
}

.code-body .c-kw { color: #ff8a3d; }
.code-body .c-fn { color: #82aaff; }
.code-body .c-str { color: #a6e3a1; }
.code-body .c-num { color: #f78c6c; }
.code-body .c-cmt { color: #5b6470; }
.code-body .c-brk { color: #f07178; }

/* ---------- Security ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sec-item {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  color: #fff;
  transition: transform 0.25s ease;
}

.sec-item:hover {
  transform: translateY(-4px);
}

.sec-item .s-ico {
  font-size: 28px;
  margin-bottom: 14px;
}

.sec-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.sec-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Roadmap preview ---------- */
.roadmap-preview {
  position: relative;
  background: linear-gradient(135deg, #ff6700 0%, #ff8a3d 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.roadmap-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

.roadmap-preview > * {
  position: relative;
}

.roadmap-preview h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.roadmap-preview p {
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 520px;
}

.phases {
  display: grid;
  gap: 12px;
}

.phase {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(4px);
}

.phase .p-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.phase .p-title {
  font-weight: 700;
  font-size: 15px;
}

.phase .p-desc {
  font-size: 12.5px;
  opacity: 0.85;
}

/* ---------- Icons (SVG sprite) ---------- */
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
}

.module-ico .icon { width: 26px; height: 26px; }
.f-ico .icon { width: 26px; height: 26px; }
.s-ico .icon { width: 28px; height: 28px; }
.chance-op .icon { width: 15px; height: 15px; }
.c-ico .icon { width: 26px; height: 26px; }
.e-ico .icon { width: 44px; height: 44px; }
.demo-actions .icon { width: 15px; height: 15px; }
.h-revoke .icon { width: 13px; height: 13px; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Changelog / version page ---------- */
.version-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.version-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.v-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.v-head h2 {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

.v-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
}

.v-tag.latest {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.v-date {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
}

.v-summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.v-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.v-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-2);
}

.v-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.55;
}

.v-list li b {
  color: var(--text);
}

.v-list .mono {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.v-dl {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* callout (shared, used by changelog too) */
.doc-callout {
  border-left: 4px solid var(--primary);
  background: rgba(255, 103, 0, 0.07);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--text-2);
}

.doc-callout .co-title {
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta p {
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 34px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer p.f-desc {
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-bottom .mono {
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Roadmap page ---------- */
.page-hero {
  padding: 168px 0 76px;
  color: #fff;
  background: radial-gradient(900px 420px at 80% -20%, rgba(255, 138, 61, 0.32), transparent 60%),
    linear-gradient(160deg, #161a20 0%, #1d2129 60%, #241c2a 100%);
}

.page-hero .tag {
  font-size: 13px;
  color: #ffd9bf;
  background: rgba(255, 103, 0, 0.16);
  border: 1px solid rgba(255, 138, 61, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  font-size: 16px;
}

.phase-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  margin-bottom: 26px;
}

.phase-block .phase-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.phase-block .phase-badge {
  min-width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: var(--primary);
}

.phase-block h2 {
  font-size: 21px;
  font-weight: 800;
}

.phase-block .phase-period {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 8px;
}

.phase-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}

.phase-table th {
  text-align: left;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.phase-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}

.phase-table tr:last-child td {
  border-bottom: none;
}

.phase-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

.phase-table td:last-child {
  color: var(--text-2);
}

.milestone-note {
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-2);
}

.milestone-note b {
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-stats { gap: 28px; }
  .p-bubble.b1 { right: -8px; }
  .p-bubble.b2 { left: -8px; }
  .modules-grid,
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .integration { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-preview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .modules-grid,
  .features-grid,
  .sec-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .section { padding: 72px 0; }
  .roadmap-preview { padding: 36px 24px; }
  .phase-table { font-size: 13px; }
}
