/* RepHub 2026 — modern home page layer */

body[data-page="home"] .wrap { max-width: 1140px; }

/* ---------- HERO ---------- */
body[data-page="home"] .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 72px 44px;
  margin-top: 28px;
  background:
    radial-gradient(900px 380px at 88% 12%, rgba(132, 204, 22, 0.10), transparent 70%),
    #0F0F11;
  border: 1px solid #27272A;
  border-radius: 22px;
  overflow: hidden;
}
body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}
body[data-page="home"] .hero > * { position: relative; z-index: 1; }

body[data-page="home"] .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(132, 204, 22, 0.28);
  background: rgba(132, 204, 22, 0.08);
  color: #A3E635;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body[data-page="home"] .tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #84CC16;
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.16);
}

body[data-page="home"] .hero-title {
  margin: 22px 0 0;
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FAFAFA;
}
body[data-page="home"] .hero-sub {
  margin: 18px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: #A1A1AA;
}

body[data-page="home"] .search-wrap { margin-top: 30px; max-width: 540px; }
body[data-page="home"] .search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  background: #09090B;
  border: 1px solid #27272A;
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body[data-page="home"] .search-box:focus-within {
  border-color: rgba(132, 204, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.12);
}
body[data-page="home"] .search-box svg { width: 18px; height: 18px; color: #74747A; flex: 0 0 auto; }
body[data-page="home"] .search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #FAFAFA;
  font-size: 15px;
  padding: 12px 0;
}
body[data-page="home"] .search-box input::placeholder { color: #74747A; }

body[data-page="home"] .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
body[data-page="home"] .hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
body[data-page="home"] .hero-cta a:hover { transform: translateY(-1px); }
body[data-page="home"] .hero-cta .btn-green { background: #84CC16; color: #09090B; }
body[data-page="home"] .hero-cta .btn-green:hover { background: #96e01d; }
body[data-page="home"] .hero-cta .btn-ghost {
  background: #18181B;
  border: 1px solid #27272A;
  color: #FAFAFA;
}
body[data-page="home"] .hero-cta .btn-ghost:hover { background: #202024; border-color: #34343a; }

body[data-page="home"] .hero-visual { display: grid; place-items: center; }
body[data-page="home"] .hero-visual img {
  width: min(420px, 100%);
  height: auto;
  border-radius: 18px;
  border: 1px solid #27272A;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(132, 204, 22, 0.35);
}

/* ---------- STATS ---------- */
body[data-page="home"] .stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
}
body[data-page="home"] .stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 16px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body[data-page="home"] .stat:hover { background: #202024; border-color: #34343a; transform: translateY(-2px); }
body[data-page="home"] .stat-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(132, 204, 22, 0.10);
  border: 1px solid rgba(132, 204, 22, 0.20);
  color: #84CC16;
}
body[data-page="home"] .stat-label { color: #74747A; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
body[data-page="home"] .stat-value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #FAFAFA; }

/* ---------- SECTIONS ---------- */
body[data-page="home"] .home-section { margin-top: 56px; }
body[data-page="home"] .section-head { margin-bottom: 22px; }
body[data-page="home"] .section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FAFAFA;
}
body[data-page="home"] .section-head p { margin: 8px 0 0; color: #A1A1AA; font-size: 15px; }

body[data-page="home"] .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body[data-page="home"] .feature-card {
  padding: 24px;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 16px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body[data-page="home"] .feature-card:hover { background: #1d1d21; border-color: #34343a; transform: translateY(-2px); }
body[data-page="home"] .feature-card .fc-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(132, 204, 22, 0.10);
  border: 1px solid rgba(132, 204, 22, 0.20);
  color: #84CC16;
  margin-bottom: 16px;
}
body[data-page="home"] .feature-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; color: #FAFAFA; }
body[data-page="home"] .feature-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #A1A1AA; }
body[data-page="home"] .feature-card .fc-step {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #74747A;
  margin-bottom: 12px;
}

/* ---------- CTA BAND ---------- */
body[data-page="home"] .cta-band {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 20px;
  border: 1px solid #27272A;
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(132, 204, 22, 0.10), transparent 70%),
    #0F0F11;
}
body[data-page="home"] .cta-band h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #FAFAFA; }
body[data-page="home"] .cta-band p { margin: 0; color: #A1A1AA; font-size: 14px; }

/* ---------- FAQ ---------- */
body[data-page="home"] .faq-section {
  margin-top: 56px;
  padding: 44px 0 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
body[data-page="home"] .faq-section h2 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FAFAFA;
}
body[data-page="home"] .faq-section .subtitle {
  margin: 0 0 26px;
  color: #8B8B93;
  font-size: 15px;
  max-width: 640px;
}
body[data-page="home"] .faq-list { display: grid; gap: 12px; }
body[data-page="home"] .faq-item {
  position: relative;
  background: linear-gradient(180deg, #131316 0%, #0C0C0E 100%);
  border: 1px solid #202024;
  border-radius: 14px;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease;
}
body[data-page="home"] .faq-item:hover { border-color: #2C2C32; }
body[data-page="home"] .faq-item[open] { border-color: #2C2C32; }
body[data-page="home"] .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FAFAFA;
}
body[data-page="home"] .faq-item summary::-webkit-details-marker { display: none; }
body[data-page="home"] .faq-ic {
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: #1C1C20;
  color: #A1A1AA;
}
body[data-page="home"] .faq-q { flex: 1; }
body[data-page="home"] .faq-item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #26262B;
  background:
    linear-gradient(#9A9AA2, #9A9AA2) center / 11px 1.6px no-repeat,
    linear-gradient(#9A9AA2, #9A9AA2) center / 1.6px 11px no-repeat,
    #141417;
  transition: background-color .2s ease, border-color .2s ease;
}
body[data-page="home"] .faq-item[open] summary::after {
  background:
    linear-gradient(#9A9AA2, #9A9AA2) center / 11px 1.6px no-repeat,
    #141417;
}
body[data-page="home"] .faq-item p {
  margin: 0;
  padding: 0 62px 20px 78px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #9A9AA2;
  animation: faqReveal .22s ease both;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  body[data-page="home"] .faq-section { padding: 28px 0 16px; }
  body[data-page="home"] .faq-section h2 { font-size: 28px; }
  body[data-page="home"] .faq-ic { width: 36px; height: 36px; }
  body[data-page="home"] .faq-item p { padding: 0 20px 18px 20px; }
}

/* ---------- v15: stats panel + trust strip + FAQ polish ---------- */
body[data-page="home"] .stats-panel {
  margin-top: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-page="home"] .stats-panel:hover { background: transparent; border-color: transparent; transform: none; }
body[data-page="home"] .stats { gap: 12px; }
body[data-page="home"] .stat {
  background: linear-gradient(180deg, #17171A 0%, #0E0E10 100%);
  border: 1px solid #232328;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 30px -24px rgba(0,0,0,0.9);
}
body[data-page="home"] .stat:hover {
  background: linear-gradient(180deg, #1C1C20 0%, #121215 100%);
  border-color: rgba(132, 204, 22, 0.35);
}
body[data-page="home"] .stat-value.accent { color: #A3E635; }

body[data-page="home"] .trust-strip {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body[data-page="home"] .trust-strip .ts-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #232328;
  background: #131316;
  color: #A1A1AA;
  font-size: 13px;
  font-weight: 500;
}
body[data-page="home"] .trust-strip .ts-item svg { color: #84CC16; flex: none; }

/* FAQ — align with the card system (dark cards, lime accents) */
body[data-page="home"] .faq-section {
  padding: 0;
  margin-top: 64px;
}
body[data-page="home"] .faq-section:hover { background: transparent; border-color: transparent; transform: none; }
body[data-page="home"] .faq-section h2 { font-size: 30px; }
body[data-page="home"] .faq-list { gap: 10px; }
body[data-page="home"] .faq-item {
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 16px;
}
body[data-page="home"] .faq-item:hover { background: #1C1C20; border-color: #34343a; }
body[data-page="home"] .faq-item[open] {
  background: #17171A;
  border-color: rgba(132, 204, 22, 0.30);
}
body[data-page="home"] .faq-item summary { padding: 16px 18px; font-size: 15.5px; font-weight: 650; gap: 14px; }
body[data-page="home"] .faq-ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(132, 204, 22, 0.10);
  border: 1px solid rgba(132, 204, 22, 0.20);
  color: #84CC16;
}
body[data-page="home"] .faq-item summary::after {
  border-color: rgba(132, 204, 22, 0.25);
  background:
    linear-gradient(#84CC16, #84CC16) center / 11px 1.6px no-repeat,
    linear-gradient(#84CC16, #84CC16) center / 1.6px 11px no-repeat,
    rgba(132, 204, 22, 0.08);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
body[data-page="home"] .faq-item[open] summary::after {
  border-color: rgba(132, 204, 22, 0.45);
  background:
    linear-gradient(#84CC16, #84CC16) center / 11px 1.6px no-repeat,
    rgba(132, 204, 22, 0.14);
}
body[data-page="home"] .faq-item p { padding: 0 60px 18px 72px; color: #A1A1AA; }

@media (max-width: 1000px) {
  body[data-page="home"] .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body[data-page="home"] .stats { grid-template-columns: 1fr; }
  body[data-page="home"] .faq-section h2 { font-size: 26px; }
  body[data-page="home"] .faq-item p { padding: 0 18px 16px 18px; }
  body[data-page="home"] .trust-strip .ts-item { font-size: 12px; padding: 7px 12px; }
}

/* ---------- v15.1: rhythm + FAQ card polish ---------- */
body[data-page="home"] .stats-panel,
body[data-page="home"] .faq-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body[data-page="home"] .stats-panel:hover,
body[data-page="home"] .faq-section:hover { background: transparent !important; border-color: transparent !important; }

body[data-page="home"] .faq-section { margin: 72px 0 24px !important; }
body[data-page="home"] .faq-section h2 { font-size: 32px; letter-spacing: -0.03em; }
body[data-page="home"] .faq-section .subtitle { margin-bottom: 22px; }

body[data-page="home"] .faq-list { gap: 8px; }
body[data-page="home"] .faq-item {
  background: #131316;
  border: 1px solid #232328;
  border-radius: 14px;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page="home"] .faq-item:hover { background: #171719; border-color: #2E2E34; }
body[data-page="home"] .faq-item[open] {
  background: #141417;
  border-color: rgba(132, 204, 22, 0.28);
  box-shadow: 0 0 0 1px rgba(132, 204, 22, 0.06);
}
body[data-page="home"] .faq-item summary { padding: 15px 18px; font-size: 15px; font-weight: 600; gap: 13px; }
body[data-page="home"] .faq-ic { width: 34px; height: 34px; border-radius: 10px; }
body[data-page="home"] .faq-ic svg { width: 16px; height: 16px; }
body[data-page="home"] .faq-item summary::after { width: 26px; height: 26px; border-radius: 8px; }
body[data-page="home"] .faq-item p { padding: 0 56px 18px 64px; font-size: 14px; line-height: 1.7; }

body[data-page="home"] .cta-band { margin-top: 64px; }
body[data-page="home"] .trust-strip { margin-top: 14px; }
