/* ============================================================
   Portfolio landing + state gallery
   ============================================================ */

body.landing {
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(47,107,255,.22), transparent 62%),
    radial-gradient(900px 600px at 100% 20%, rgba(47,107,255,.10), transparent 60%),
    var(--bg);
  color: var(--text); overflow-x: hidden;
}
html[data-theme="light"] body.landing {
  background:
    radial-gradient(1000px 700px at 10% -10%, rgba(11,92,255,.12), transparent 62%),
    radial-gradient(800px 600px at 100% 10%, rgba(11,92,255,.06), transparent 60%),
    #f2f5fb;
}

.land-nav {
  height: 68px; display: flex; align-items: center; gap: 12px;
  padding: 0 40px; position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.land-brand { display: flex; align-items: center; gap: 9px; }
.land-brand .logo {
  width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--primary-2), var(--primary-3)); color: #fff;
  font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px var(--primary-glow);
}
.land-brand b { font-size: 15px; letter-spacing: 1px; }
.land-brand span { font-size: 9px; color: var(--text-3); display: block; letter-spacing: 2px; }
.land-links { margin-left: 32px; display: flex; gap: 22px; font-size: 12px; color: var(--text-2); }
.land-links a:hover { color: var(--text); }
.land-nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.land-btn {
  height: 38px; padding: 0 16px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); color: var(--text);
  background: var(--surface); transition: var(--fast);
}
.land-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.land-btn.primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  border-color: transparent; color: #fff; box-shadow: var(--shadow-glow);
}
.land-btn .ico { width: 15px; height: 15px; }

.land-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 64px 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px;
  border-radius: 99px; background: var(--primary-soft); color: var(--primary);
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px;
}
.hero h1 { font-size: 54px; line-height: 1.12; letter-spacing: -2px; font-weight: 800; margin-top: 18px; }
.hero h1 span {
  background: linear-gradient(100deg, var(--primary-2), #9db9ff 55%, var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 14px; line-height: 1.9; color: var(--text-2); margin-top: 18px; max-width: 470px; }
.hero .cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; }
.hero-stats b { font-size: 24px; font-family: var(--mono); display: block; letter-spacing: -.5px; }
.hero-stats span { font-size: 10px; color: var(--text-3); }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone-shell {
  width: 300px; height: 640px; border-radius: 40px; padding: 9px;
  background: #05070f; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1);
  transform: rotateY(-7deg) rotateX(2deg); position: relative; z-index: 2;
}
html[data-theme="light"] .phone-shell {
  background: #0a0f1c; box-shadow: 0 40px 90px rgba(15,23,42,.26), 0 0 0 1px rgba(10,15,28,.12);
}
.phone-shell .frame { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #05091a; position: relative; }
.phone-shell iframe { width: 390px; height: 844px; border: 0; transform: scale(.723); transform-origin: top left; }
.phone-shell .notch-bar {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px;
  background: #05070f; border-radius: 99px; z-index: 5;
}
.float-card {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow); min-width: 152px;
  animation: float 6s ease-in-out infinite;
}
.float-card.a { left: 0; top: 96px; }
.float-card.b { right: 0; bottom: 110px; animation-delay: -3s; }
.float-card .k { font-size: 9px; color: var(--text-3); }
.float-card .v { font-size: 16px; font-family: var(--mono); margin-top: 3px; }
.float-card .v.green { color: var(--green); }
.float-card .sub { font-size: 9px; color: var(--text-3); margin-top: 2px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.land-sec { padding: 58px 0; border-top: 1px solid var(--line); }
.sec-eyebrow { font-size: 10px; letter-spacing: 1.6px; color: var(--primary); font-weight: 600; }
.land-sec h2 { font-size: 30px; letter-spacing: -.8px; margin-top: 10px; font-weight: 700; }
.land-sec .desc { font-size: 13px; color: var(--text-2); margin-top: 10px; max-width: 620px; line-height: 1.8; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  transition: var(--fast); position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; right: -30px; top: -36px; width: 100px; height: 100px;
  border-radius: 50%; background: radial-gradient(circle, var(--primary-soft), transparent 70%);
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.feature .fi {
  width: 36px; height: 36px; border-radius: 11px; background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.feature b { font-size: 13.5px; }
.feature p { font-size: 11.5px; color: var(--text-2); line-height: 1.7; margin-top: 7px; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.feature .tags span { font-size: 9.5px; color: var(--text-3); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px; }

.pc-showcase {
  margin-top: 28px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.pc-showcase .bar {
  height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.pc-showcase .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.pc-showcase .bar i:first-child { background: #ff5f57; }
.pc-showcase .bar i:nth-child(2) { background: #febc2e; }
.pc-showcase .bar i:nth-child(3) { background: #28c840; }
.pc-showcase .bar span { margin-left: 10px; font-size: 9.5px; color: var(--text-3); }
.pc-showcase .screen { height: 520px; overflow: hidden; position: relative; }
.pc-showcase iframe { width: 1440px; height: 900px; border: 0; transform: scale(.8055); transform-origin: top left; }

.token-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 26px; }
.swatch { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--surface); }
.swatch .c { height: 76px; }
.swatch .m { padding: 9px 10px; }
.swatch b { font-size: 10.5px; display: block; }
.swatch span { font-size: 9px; color: var(--text-3); font-family: var(--mono); }

.type-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 18px; }
.type-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.type-card .k { font-size: 10px; color: var(--text-3); }
.type-card .display { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; margin-top: 8px; }
.type-card .body { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.8; }

.coverage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.coverage span {
  font-size: 11px; color: var(--text-2); border: 1px solid var(--line);
  background: var(--surface); padding: 7px 11px; border-radius: 9px;
}
.coverage span b { color: var(--text); font-family: var(--mono); margin-left: 5px; }

.land-foot { padding: 34px 0 50px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 11px; display: flex; justify-content: space-between; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .token-grid { grid-template-columns: repeat(3, 1fr); }
  .type-row { grid-template-columns: 1fr; }
  .pc-showcase .screen { height: 380px; }
  .pc-showcase iframe { transform: scale(.588); }
}
@media (max-width: 680px) {
  .land-nav { padding: 0 18px; }
  .land-links { display: none; }
  .land-wrap { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}

/* ============================================================
   State gallery
   ============================================================ */
body.states-page { background: var(--bg); }
.st-wrap { max-width: 1120px; margin: 0 auto; padding: 30px 34px 70px; }
.st-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.st-head h1 { font-size: 24px; letter-spacing: -.5px; }
.st-head .sub { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.st-head .right { margin-left: auto; display: flex; gap: 8px; }
.st-sec { padding: 30px 0; border-bottom: 1px solid var(--line); }
.st-sec h2 { font-size: 15px; margin-bottom: 4px; }
.st-sec .note { font-size: 11px; color: var(--text-3); margin-bottom: 16px; }
.st-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.st-box .lbl { font-size: 10px; color: var(--text-3); margin-bottom: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px;
  border-radius: 8px; font-size: 11px; font-weight: 500; border: 1px solid var(--line);
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.st-empty { border: 1px dashed var(--line-strong); border-radius: 14px; padding: 28px; text-align: center; color: var(--text-3); font-size: 11px; }
@media (max-width: 760px) { .st-grid { grid-template-columns: 1fr; } .st-wrap { padding: 20px 16px 50px; } }
