/* SemAI — Home (v2) */
body.home { background: #fbfcff; }
.wrap { max-width: 1340px; margin: 0 auto; padding-inline: 24px; }
.btn-sq { border-radius: 8px; height: 52px; padding: 0 26px; font-size: 16px; }

/* hero */
.hero { background: linear-gradient(180deg, rgba(251,252,255,0) 72%, #fbfcff 100%), #f6f8ff url(../img/hero-waves.webp) center / cover no-repeat; }
.hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 24px; padding-block: 28px 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid #9fe8d8; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: #1e293b;
}
.pill-dot { width: 10px; height: 10px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.hero h1 { margin: 20px 0 16px; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.hero .gradient-text { background: linear-gradient(90deg, #14c3a4 0%, #2f86f6 50%, #8b5cf6 100%); -webkit-background-clip: text; background-clip: text; }
.lead { margin: 0 0 30px; font-size: 21px; line-height: 1.45; color: #334155; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { border: 1.5px solid var(--ink); background: rgba(255,255,255,.7); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(99,102,241,.18)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 0 34px; margin-top: -6px; position: relative; }

/* shared card bits */
.go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 1px solid #e6e9f2; color: var(--ink); flex: none; margin-left: auto; transition: .2s; }
.go svg { width: 18px; height: 18px; }
.area .t, .entry .t { display: grid; gap: 4px; min-width: 0; }
.area b { font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.area small, .entry small { font-size: 14px; color: #475569; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area { display: flex; align-items: center; gap: 18px; padding: 12px 20px 12px 24px; border-radius: 12px; border: 1px solid #e3e8f4; transition: .2s; }
.area img { width: 72px; height: 72px; flex: none; object-fit: contain; }
.a-blue { background: linear-gradient(90deg, #eef5ff, #f7faff); }
.a-lilac { background: linear-gradient(90deg, #f3efff, #faf8ff); }
.a-mint { background: linear-gradient(90deg, #e9fbf6, #f6fdfb); }
.area:hover, .entry:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.area:hover .go, .entry:hover .go { background: var(--navy); color: #fff; border-color: var(--navy); }

/* entries */
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.entry { display: flex; align-items: center; gap: 30px; padding: 14px 24px 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f4; box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: .2s; }
.entry .thumb { width: 220px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; }
.entry .ico { width: 96px; height: 84px; object-fit: contain; flex: none; margin-left: 14px; }
.entry b { font-size: 24px; color: var(--ink); letter-spacing: -.02em; }
.entry small { font-size: 15.5px; }

/* finder */
.finder { display: flex; align-items: center; gap: 22px; padding: 12px 22px 12px 28px; border-radius: 12px; border: 1px solid #e3e8f4; background: linear-gradient(90deg, #fff, #f7f9ff); }
.f-ic { width: 26px; height: 26px; color: var(--ink); flex: none; }
.f-title { padding-left: 22px; border-left: 1px solid #dfe4ee; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.f-chips { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.f-chips .chip { height: 36px; padding: 0 20px; background: #eef1f7; border-color: transparent; font-size: 13.5px; color: #1e293b; }
.f-chips .chip:hover { background: #e2e8f5; border-color: #c9d3e8; }

/* community */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 6px 0 14px; }
.section-head h2 { margin: 0; font-size: 31px; letter-spacing: -.025em; color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.more svg { width: 18px; height: 18px; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.member { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 14px; border-radius: 12px; border: 1px solid #e3e8f4; }
.m-mint { background: linear-gradient(115deg, #ffffff 40%, #effbf8); }
.m-lilac { background: linear-gradient(115deg, #ffffff 40%, #f4f0ff); }
.m-gold { background: linear-gradient(115deg, #ffffff 40%, #fff7e8); }
.m-top { display: flex; align-items: center; gap: 18px; }
.m-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; flex: none; }
.m-mint .m-av { background: #d6f5ed; color: #0f9d84; }
.m-lilac .m-av { background: #e7defd; color: #6d4ad6; }
.m-gold .m-av { background: #fbe8c2; color: #92600e; }
.m-id { min-width: 0; }
.m-id h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo { font-size: 11.5px; font-weight: 500; color: var(--blue); background: #e8efff; padding: 2px 9px; border-radius: 999px; }
.m-id p { margin: 0; font-size: 14px; color: #475569; }
.m-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #e6e9f2; margin-left: auto; align-self: flex-start; flex: none; color: var(--ink); }
.m-go svg { width: 18px; height: 18px; }
.m-go:hover { background: var(--navy); color: #fff; }
.m-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding-left: 82px; flex: 1; }
.m-tags span { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; background: rgba(241,244,249,.9); color: #334155; }
.btn-profile { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 6px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: 14.5px; background: #fff; transition: .15s; }
.btn-profile:hover { background: var(--blue); color: #fff; }

/* cta */
.cta { background: #061237 url(../img/cta-network.webp) right center / cover no-repeat; color: #fff; }
.cta-in { display: flex; align-items: center; gap: 30px; padding-block: 22px; }
.cta-ic { width: 72px; height: 72px; flex: none; }
.cta-t { flex: 1; min-width: 0; }
.cta h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.cta p { margin: 0; color: #c3cee8; font-size: 15px; }
.cta .btn-mint { background: #9ff3dd; color: var(--navy); }
.cta .btn-mint:hover { background: #7eecd0; }

.foot { background: #040c26; color: #8796bd; font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 1180px) {
  .f-title { white-space: normal; }
  .entry .thumb { width: 160px; }
  .area b { font-size: 17px; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero-art { max-width: 640px; margin: 0 auto; order: -1; }
  .areas, .members { grid-template-columns: minmax(0, 1fr); }
  .entries { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .finder { flex-wrap: wrap; }
  .f-chips { margin-left: 0; justify-content: flex-start; width: 100%; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .hero-in { padding-block: 10px 22px; }
  .hero h1 { font-size: 36px; margin: 14px 0 10px; }
  .lead { font-size: 16px; margin-bottom: 20px; }
  .br-d { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stack { margin-top: 0; padding-top: 16px; gap: 12px; }
  .area { padding: 10px 14px; gap: 12px; }
  .area img { width: 56px; height: 56px; }
  .entry { gap: 14px; padding: 10px 14px 10px 10px; }
  .entry .thumb { width: 96px; height: 64px; }
  .entry .ico { width: 64px; height: 64px; margin-left: 16px; }
  .entry b { font-size: 18px; }
  .entry small { font-size: 13px; }
  .finder { padding: 14px; gap: 10px; }
  .f-title { font-size: 16px; padding-left: 12px; flex: 1; }
  .f-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .f-chips .chip { flex: none; padding: 0 14px; }
  .section-head h2 { font-size: 22px; }
  .more { font-size: 13px; white-space: nowrap; }
  .section-head { align-items: center; }
  .m-tags { padding-left: 0; }
  .m-av { width: 52px; height: 52px; font-size: 18px; }
  .cta-in { flex-wrap: wrap; gap: 14px; padding-block: 20px; }
  .cta-ic { width: 52px; height: 52px; }
  .cta h2 { font-size: 20px; }
  .cta .btn { width: 100%; }
}
