/* ============================================
   Hub pages — colorful round icons, big readable type
   ============================================ */

.hub-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 120, 90, 0.12), transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(91, 46, 145, 0.1), transparent 42%),
    #FFF9F2;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 94, 60, 0.15);
}
.hub-hero::before {
  content: "1 2 3 4 5 6 7 8 9";
  position: absolute;
  inset: 8% 4% auto;
  font-family: var(--font-head);
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.12em;
  color: rgba(31, 58, 46, 0.06);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}
.hub-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}
.hub-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: #C45C3E;
  margin: 0.4rem 0 1rem;
  font-weight: 700;
}
.hub-hero .page-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #5A4636;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hub-hero-visual {
  border-radius: 48% 52% 42% 58% / 48% 42% 58% 52%;
  overflow: hidden;
  border: 3px solid rgba(139, 94, 60, 0.2);
  box-shadow: 0 18px 48px rgba(31, 58, 46, 0.14);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-inline: auto;
  background: #1F3A2E;
}
.hub-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-intro {
  background: #fff;
  padding: 3.5rem 0;
}
.hub-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.hub-intro h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #1A1A1A;
  margin-bottom: 1.5rem;
}
.hub-intro p {
  font-size: 1.2rem;
  line-height: 1.85;
  color: #222;
  margin-bottom: 1.15rem;
}
.hub-intro .hero-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

/* Colorful round solution icons */
.solutions-band {
  background: #fff;
  padding: 1rem 0 4rem;
}
.solutions-band .section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: #111;
  margin-bottom: 2rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.25rem 0.85rem;
  align-items: start;
}
.solution-card {
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.solution-card:hover { transform: translateY(-6px); }
.solution-orb {
  width: clamp(84px, 10vw, 118px);
  height: clamp(84px, 10vw, 118px);
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow:
    0 10px 28px rgba(40, 20, 70, 0.28),
    inset 0 0 24px rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.solution-orb span {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.solution-orb small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.2rem;
}
.solution-card p {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #1A1A1A;
  font-weight: 500;
  margin: 0;
  max-width: 9.5rem;
  margin-inline: auto;
}

/* Vibrant orb color variants */
.orb-1 { background: linear-gradient(145deg, #7B2FF7, #F107A3); }
.orb-2 { background: linear-gradient(145deg, #00C6FF, #0072FF); }
.orb-3 { background: linear-gradient(145deg, #F7971E, #FFD200); color: #3A2200; }
.orb-4 { background: linear-gradient(145deg, #11998E, #38EF7D); }
.orb-5 { background: linear-gradient(145deg, #EE0979, #FF6A00); }
.orb-6 { background: linear-gradient(145deg, #8E2DE2, #4A00E0); }
.orb-7 { background: linear-gradient(145deg, #FC466B, #3F5EFB); }
.orb-8 { background: linear-gradient(145deg, #F953C6, #B91D73); }
.orb-9 { background: linear-gradient(145deg, #1D976C, #93F9B9); color: #0B2E20; }

/* Purple number compatibility band */
.number-compat-band {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 200, 80, 0.18), transparent 50%),
    linear-gradient(160deg, #4A1D8C 0%, #2A0F52 55%, #1A0A36 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.number-compat-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}
.number-compat-band .container { position: relative; z-index: 1; }
.number-compat-band h2 {
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 58rem;
  margin: 0 auto 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.number-compat-band .band-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-inline: auto;
}
.compat-number-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  justify-items: center;
}
.compat-number-grid .item-8 { grid-column: 1; }
.compat-number-grid .item-9 { grid-column: 2; }
.compat-num {
  text-align: center;
  text-decoration: none;
  color: #fff;
  width: 100%;
  max-width: 120px;
  transition: transform 0.22s ease;
}
.compat-num:hover { transform: translateY(-5px) scale(1.04); }
.compat-num .round {
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: #fff;
  color: #E8A317;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.compat-num p {
  font-size: 0.92rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 500;
}

/* Detail article readability */
.detail-page .article-content p,
.detail-page .hub-intro p {
  font-size: 1.2rem;
  line-height: 1.85;
}
.detail-page .article-content h1,
.detail-page .page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}
.detail-page .article-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 1.75rem;
}
.detail-cta-center {
  text-align: center;
  margin: 2rem 0 0.5rem;
}
.round-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.round-step {
  text-align: center;
  padding: 1.25rem 1rem;
}
.round-step .n {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 20, 70, 0.22);
}
.round-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #1F3A2E;
}
.round-step p {
  font-size: 1rem !important;
  color: #8B5E3C;
  margin: 0;
}

/* Homepage number gallery — bigger colorful rounds */
.number-gallery-badge {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.number-gallery-card:nth-child(1) .number-gallery-badge { background: linear-gradient(145deg, #7B2FF7, #F107A3) !important; color: #fff !important; }
.number-gallery-card:nth-child(2) .number-gallery-badge { background: linear-gradient(145deg, #00C6FF, #0072FF) !important; color: #fff !important; }
.number-gallery-card:nth-child(3) .number-gallery-badge { background: linear-gradient(145deg, #F7971E, #FFD200) !important; color: #3A2200 !important; }
.number-gallery-card:nth-child(4) .number-gallery-badge { background: linear-gradient(145deg, #11998E, #38EF7D) !important; color: #fff !important; }
.number-gallery-card:nth-child(5) .number-gallery-badge { background: linear-gradient(145deg, #EE0979, #FF6A00) !important; color: #fff !important; }
.number-gallery-card:nth-child(6) .number-gallery-badge { background: linear-gradient(145deg, #8E2DE2, #4A00E0) !important; color: #fff !important; }
.number-gallery-card:nth-child(7) .number-gallery-badge { background: linear-gradient(145deg, #FC466B, #3F5EFB) !important; color: #fff !important; }
.number-gallery-card:nth-child(8) .number-gallery-badge { background: linear-gradient(145deg, #F953C6, #B91D73) !important; color: #fff !important; }
.number-gallery-card:nth-child(9) .number-gallery-badge { background: linear-gradient(145deg, #1D976C, #93F9B9) !important; color: #0B2E20 !important; }

.number-gallery-body h3 { font-size: 1.55rem !important; }
.number-gallery-body p { font-size: 1rem !important; }
.section-title { font-size: clamp(2.1rem, 4vw, 3rem) !important; }
.section-sub, .explorer-intro { font-size: 1.15rem !important; line-height: 1.7 !important; }

.home-hubs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 2.75rem;
}

@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .compat-number-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .compat-number-grid .item-8,
  .compat-number-grid .item-9 { grid-column: auto; }
  .home-hubs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .hub-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hub-hero .page-desc { margin-inline: auto; }
  .hub-hero .hero-actions { justify-content: center; }
  .hub-hero-visual { max-width: 320px; }
  .round-steps { grid-template-columns: 1fr; }
  .solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem 1rem;
  }
  .compat-number-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .solution-card p { max-width: none; font-size: 1rem; }
  .home-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hub-hero::before { font-size: 2.2rem; max-width: 100%; }
}
@media (max-width: 560px) {
  .home-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Service thumb numbers — colorful rounds */
.service-thumb span {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  background: linear-gradient(145deg, #7B2FF7, #F107A3) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.service-card:nth-child(2) .service-thumb span { background: linear-gradient(145deg, #00C6FF, #0072FF) !important; }
.service-card:nth-child(3) .service-thumb span { background: linear-gradient(145deg, #F7971E, #FFD200) !important; color: #3A2200 !important; }
.service-card:nth-child(4) .service-thumb span { background: linear-gradient(145deg, #11998E, #38EF7D) !important; }
.service-card:nth-child(5) .service-thumb span { background: linear-gradient(145deg, #EE0979, #FF6A00) !important; }
.service-card:nth-child(6) .service-thumb span { background: linear-gradient(145deg, #8E2DE2, #4A00E0) !important; }
.service-card:nth-child(7) .service-thumb span { background: linear-gradient(145deg, #FC466B, #3F5EFB) !important; }
.service-card:nth-child(8) .service-thumb span { background: linear-gradient(145deg, #F953C6, #B91D73) !important; }
.service-card:nth-child(9) .service-thumb span { background: linear-gradient(145deg, #1D976C, #93F9B9) !important; color: #0B2E20 !important; }

.service-card-body h3 { font-size: 1.35rem !important; }
.service-card-body p { font-size: 1.02rem !important; line-height: 1.55 !important; }

