:root {
  --bg: #07090e;
  --card: rgba(18, 23, 34, 0.74);
  --card-hover: rgba(24, 30, 44, 0.88);
  --border: rgba(255, 255, 255, 0.085);
  --border-accent: rgba(255, 138, 61, 0.42);
  --accent: #ff8a3d;
  --accent-2: #5b8cff;
  --text: #f6f8fc;
  --soft: #b6c0d4;
  --muted: #828fa8;
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  --shadow-lg: 0 32px 86px rgba(0, 0, 0, 0.62);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fc;
  --card: rgba(255, 255, 255, 0.86);
  --card-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.085);
  --border-accent: rgba(234, 88, 12, 0.36);
  --accent: #ea580c;
  --accent-2: #2563eb;
  --text: #0f172a;
  --soft: #475569;
  --muted: #64748b;
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-lg: 0 22px 54px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
}
html[data-theme="light"] body {
  background:
    radial-gradient(920px 520px at 12% -6%, rgba(255, 138, 61, 0.13), transparent 60%),
    radial-gradient(840px 520px at 88% 0%, rgba(59, 130, 246, 0.1), transparent 58%),
    var(--bg);
}
html[data-theme="light"] body::before { opacity: 0.015; }
html[data-theme="light"] a { color: #d95b08; }
html[data-theme="light"] a:hover { color: #b54704; }
html[data-theme="light"] header { background: rgba(246, 248, 252, 0.84); border-bottom-color: rgba(15, 23, 42, 0.08); }
html[data-theme="light"] .pill-lang,
html[data-theme="light"] .theme-btn { background: rgba(255, 255, 255, 0.82); border-color: rgba(15, 23, 42, 0.11); color: var(--soft); }
html[data-theme="light"] .pill-lang:hover,
html[data-theme="light"] .theme-btn:hover { background: #ffffff; color: var(--text); border-color: var(--border-accent); }
html[data-theme="light"] .eyebrow { background: rgba(234, 88, 12, 0.09); border-color: rgba(234, 88, 12, 0.28); color: #c2410c; }
html[data-theme="light"] .grad-title { background: linear-gradient(125deg, #0f172a 26%, #ea580c 98%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .lead code { background: rgba(15, 23, 42, 0.06); color: #b45309; }
html[data-theme="light"] .btn-primary { background: linear-gradient(135deg, #ff8533, #ea580c); color: #ffffff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 12px 28px rgba(234,88,12,0.28); }
html[data-theme="light"] .btn-primary:hover { color: #ffffff; }
html[data-theme="light"] .btn-sec { background: rgba(255, 255, 255, 0.86); border-color: rgba(15, 23, 42, 0.12); color: var(--text); }
html[data-theme="light"] .btn-sec:hover { background: #ffffff; border-color: rgba(15, 23, 42, 0.24); }
html[data-theme="light"] .eco-strip { background: rgba(255, 255, 255, 0.8); }
html[data-theme="light"] .eco-node { background: #f8fafc; border-color: rgba(15, 23, 42, 0.08); color: var(--soft); }
html[data-theme="light"] .kicker { color: #ea580c; }
html[data-theme="light"] .badge { background: rgba(234, 88, 12, 0.1); border-color: rgba(234, 88, 12, 0.22); color: #c2410c; }
html[data-theme="light"] .badge.blue { background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.22); color: #1d4ed8; }
html[data-theme="light"] .p-icon { background: linear-gradient(135deg, rgba(234,88,12,0.14), rgba(234,88,12,0.05)); border-color: rgba(234,88,12,0.25); color: #ea580c; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  box-shadow: var(--glass-inset); transition: all 0.18s ease;
}
.theme-btn:hover { border-color: var(--border-accent); color: var(--text); transform: translateY(-1px); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .ic-sun { display: block; }
.theme-btn .ic-moon { display: none; }
html[data-theme="light"] .theme-btn .ic-sun { display: none; }
html[data-theme="light"] .theme-btn .ic-moon { display: block; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(940px 520px at 12% -6%, rgba(255, 138, 61, 0.19), transparent 60%),
    radial-gradient(860px 520px at 88% 0%, rgba(91, 140, 255, 0.15), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: #ffae70; text-decoration: none; transition: color 0.18s ease; }
a:hover { color: #ffd7ba; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  background: rgba(7, 9, 14, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffa057, #ff6d24); color: #160a03; font-weight: 900; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 6px 18px rgba(255,138,61,0.34);
}
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.nav-links a { color: var(--soft); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.pill-lang {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04); color: var(--soft); font-size: 13px; font-weight: 600;
  box-shadow: var(--glass-inset);
}
.pill-lang:hover { border-color: var(--border-accent); color: var(--text); }

.hero { padding: 84px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 650;
  background: rgba(255, 138, 61, 0.13); border: 1px solid rgba(255, 138, 61, 0.36); color: #ffc599;
  box-shadow: inset 0 1px 0 rgba(255, 210, 175, 0.22);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; letter-spacing: -0.028em; font-weight: 830; }
.grad-title {
  background: linear-gradient(125deg, #ffffff 30%, #ffc599 98%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 680px; color: var(--soft); font-size: clamp(16.5px, 1.8vw, 19.5px); margin: 0 0 30px; }
.lead code { background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 6px; color: #ffd4b3; font-size: 0.9em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 23px; border-radius: 999px;
  font-size: 15px; font-weight: 660; border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #ffa057, #ff7a24); color: #160a03;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 12px 32px rgba(255, 138, 61, 0.36);
}
.btn-primary:hover { color: #160a03; box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 18px 42px rgba(255, 138, 61, 0.48); }
.btn-sec {
  background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.13); color: var(--text);
  box-shadow: var(--glass-inset);
}
.btn-sec:hover { color: var(--text); background: rgba(255,255,255,0.1); border-color: rgba(255, 255, 255, 0.26); }

/* Ecosystem Status Strip */
.eco-strip {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(18, 23, 34, 0.6); border: 1px solid var(--border); box-shadow: var(--glass-inset);
  font-size: 13.5px; color: var(--soft);
}
.eco-node { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.eco-node i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.8); display: inline-block; }

section { padding: 54px 0; }
.kicker { font-size: 12.5px; font-weight: 760; letter-spacing: 0.1em; text-transform: uppercase; color: #ffae70; margin-bottom: 10px; }
h2 { margin: 0 0 10px; font-size: clamp(26px, 3.3vw, 38px); letter-spacing: -0.024em; font-weight: 800; }
.sub { color: var(--soft); margin: 0 0 30px; font-size: 16.5px; max-width: 680px; }

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

.card {
  position: relative; overflow: hidden;
  background: var(--card); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  box-shadow: var(--glass-inset), var(--shadow-lg);
  transition: border-color 0.24s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 138, 61, 0.12), transparent 62%);
}
.card.blue-glow::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(91, 140, 255, 0.14), transparent 62%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-accent); background: var(--card-hover); transform: translateY(-3px); }
.card.blue-glow:hover { border-color: rgba(91, 140, 255, 0.45); }

/* Visual Preview Header inside Product Cards */
.card-preview {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #0a0d14;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5);
}
.card-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.card:hover .card-preview img { transform: scale(1.03); }
.preview-pill {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(8, 11, 17, 0.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px; font-weight: 650; color: var(--text);
}
.preview-pill img { width: 18px; height: 18px; border-radius: 5px; }

/* Stylized AI Radar Live UI Mockup */
.radar-mock {
  width: 100%; height: 100%; padding: 18px;
  background:
    radial-gradient(280px 180px at 85% 15%, rgba(0, 210, 255, 0.22), transparent 70%),
    radial-gradient(260px 180px at 15% 85%, rgba(108, 92, 231, 0.28), transparent 70%),
    #0b0e16;
  display: flex; flex-direction: column; justify-content: space-between;
}
.radar-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #9dbbff; font-weight: 700; }
.radar-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.35); color: #6ee7a8; font-size: 11px; }
.radar-rows { display: grid; gap: 9px; }
.radar-row {
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px;
}
.radar-row span { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar-row em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: rgba(108,92,231,0.22); color: #c4b8ff; flex-shrink: 0; }

.badge {
  display: inline-block; padding: 4px 11px; border-radius: 8px; font-size: 12px; font-weight: 700;
  background: rgba(255, 138, 61, 0.14); border: 1px solid rgba(255, 138, 61, 0.25); color: #ffc599; margin-bottom: 12px;
}
.badge.blue { background: rgba(91, 140, 255, 0.16); border-color: rgba(91, 140, 255, 0.3); color: #a7c2ff; }
.badge.mint { background: rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.32); color: #86efac; }
html[data-theme="light"] .badge.mint { background: rgba(16, 185, 129, 0.11); border-color: rgba(16, 185, 129, 0.25); color: #047857; }
.card.mint-glow::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(52, 211, 153, 0.14), transparent 62%); }
.card.mint-glow:hover { border-color: rgba(16, 185, 129, 0.45); }
.card.mint-glow .link-list a::before { color: #10b981; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; font-weight: 760; }
.card p { margin: 0 0 14px; color: var(--soft); font-size: 15px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.link-list a { color: var(--soft); }
.link-list a:hover { color: var(--text); }
.link-list a::before { content: "→ "; color: var(--accent); }
.card.blue-glow .link-list a::before { color: #7aa7ff; }
.card-foot { padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px; }

.principle {
  background: var(--card); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  box-shadow: var(--glass-inset);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.principle:hover { border-color: rgba(255, 138, 61, 0.34); transform: translateY(-2px); }
.p-icon {
  width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255,138,61,0.2), rgba(255,138,61,0.06));
  border: 1px solid rgba(255,138,61,0.3); color: #ffbe8f;
}
.p-icon svg { width: 20px; height: 20px; }
.principle h3 { margin: 0 0 8px; font-size: 17.5px; }
.principle p { margin: 0; color: var(--soft); font-size: 14.5px; }

footer {
  margin-top: 52px; padding: 34px 0 48px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13.5px;
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 48px 0 32px; }
}
