/* MIYO Corporate Site (www.miyo1221.com) — Prominent Dual-Tool Nav Bar & Homepage Ecosystem Showcase */

/* 1. Prominent Dual-Tool Sub-Row inside Header (positioned directly under Facebook广告 / WhatsApp服务) */
.miyo-eco-navrow {
  border-top: 1px solid rgba(23, 85, 206, 0.1);
  background: linear-gradient(90deg, rgba(244, 249, 255, 0.96) 0%, rgba(255, 247, 237, 0.94) 100%);
  backdrop-filter: blur(12px);
}
.miyo-eco-navrow-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.miyo-eco-nav-label {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.miyo-eco-nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.miyo-eco-nav-pill:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.05);
}
.miyo-eco-pill-ws {
  background: linear-gradient(135deg, #1755ce 0%, #3b46f5 100%);
  box-shadow: 0 6px 18px rgba(23, 85, 206, 0.34);
}
.miyo-eco-pill-ws:hover {
  box-shadow: 0 10px 24px rgba(23, 85, 206, 0.44);
}
.miyo-eco-pill-fb {
  background: linear-gradient(135deg, #ff7a1a 0%, #f43f5e 100%);
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.34);
}
.miyo-eco-pill-fb:hover {
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.44);
}
.miyo-eco-pill-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Give Hero extra top padding so the prominent header sub-row never overlaps Hero content */
.miyo-home {
  padding-top: clamp(148px, 13.5vw, 188px) !important;
}
.miyo-interior {
  padding-top: clamp(145px, 13vw, 174px) !important;
}

/* 2. Homepage Integrated Dual-Product Illustrated Showcase Section */
.miyo-eco-section {
  position: relative;
  padding: 76px 24px;
  background:
    radial-gradient(640px 280px at 12% 8%, rgba(23, 85, 206, 0.08), transparent 65%),
    radial-gradient(600px 280px at 88% 12%, rgba(255, 141, 64, 0.09), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 52%, #ffffff 100%);
  border-bottom: 1px solid #dfebfc;
}
.miyo-eco-wrap {
  max-width: 1248px;
  margin: 0 auto;
}
.miyo-eco-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}
.miyo-eco-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #edf4ff;
  border: 1px solid #c5dbff;
  color: #1755ce;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.miyo-eco-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  color: #112346;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.miyo-eco-head h2 span {
  background: linear-gradient(135deg, #1755ce, #ff7a1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.miyo-eco-head p {
  margin: 0;
  font-size: 15.5px;
  color: #475569;
  line-height: 1.7;
}

.miyo-eco-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.miyo-eco-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #d5e4fb;
  box-shadow: 0 16px 46px rgba(17, 35, 70, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.miyo-eco-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(23, 85, 206, 0.14);
  border-color: rgba(23, 85, 206, 0.35);
}

/* Illustrated Top Visual Stage inside Each Card */
.miyo-eco-visual {
  position: relative;
  padding: 24px 26px 22px;
  color: #ffffff;
  overflow: hidden;
}
.miyo-eco-visual-ws {
  background:
    radial-gradient(280px 160px at 85% 15%, rgba(255, 141, 64, 0.28), transparent 65%),
    linear-gradient(135deg, #0d1d40 0%, #17439c 58%, #1755ce 100%);
}
.miyo-eco-visual-fb {
  background:
    radial-gradient(280px 160px at 85% 15%, rgba(56, 189, 248, 0.24), transparent 65%),
    linear-gradient(135deg, #1b1638 0%, #7c2d12 48%, #ea580c 100%);
}
.miyo-eco-vtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.miyo-eco-vbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
}
.miyo-eco-vdomain {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.24);
  padding: 4px 10px;
  border-radius: 8px;
}
.miyo-eco-vmain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.miyo-eco-vmain h3 {
  margin: 0 0 6px;
  font-size: 23px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}
.miyo-eco-vmain p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}
.miyo-eco-mascot {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

/* Mockup Metric Strip inside Visual Stage */
.miyo-eco-mockbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.miyo-eco-mockchip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
}
.miyo-eco-mockchip span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}
.miyo-eco-mockchip strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-top: 2px;
}

/* Card Body Feature List */
.miyo-eco-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.miyo-eco-featgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.miyo-eco-feat {
  background: #f8fbff;
  border: 1px solid #e3eefc;
  border-radius: 13px;
  padding: 12px 13px;
}
.miyo-eco-feat strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: #112346;
  margin-bottom: 4px;
}
.miyo-eco-feat span {
  display: block;
  font-size: 12px;
  color: #526480;
  line-height: 1.55;
}
.miyo-eco-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.miyo-eco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.miyo-eco-btn:hover {
  transform: translateY(-1.5px);
}
.miyo-eco-btn-blue {
  background: linear-gradient(135deg, #1755ce 0%, #3b46f5 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(23, 85, 206, 0.28);
  flex: 1;
}
.miyo-eco-btn-orange {
  background: linear-gradient(135deg, #ff7a1a 0%, #ea580c 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  flex: 1;
}
.miyo-eco-btn-ghost {
  background: #edf4ff;
  color: #1755ce !important;
  border: 1px solid #c5dbff;
}

/* Bottom Synergy Workflow Banner */
.miyo-eco-synergy {
  background: linear-gradient(125deg, #0f1b33 0%, #173673 60%, #1755ce 100%);
  border-radius: 20px;
  padding: 22px 28px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(15, 27, 51, 0.16);
}
.miyo-eco-syn-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.miyo-eco-syn-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}
.miyo-eco-syn-step strong {
  display: block;
  font-size: 13.5px;
  color: #fde68a;
  margin-bottom: 4px;
}
.miyo-eco-syn-step span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
  display: block;
}

@media (max-width: 1024px) {
  .miyo-eco-grid, .miyo-eco-synergy { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .miyo-eco-navrow-inner { padding: 6px 12px; gap: 8px; }
  .miyo-eco-nav-label { display: none; }
  .miyo-eco-nav-pill { font-size: 13px; padding: 6px 12px; }
  .miyo-eco-featgrid, .miyo-eco-syn-steps, .miyo-eco-mockbar { grid-template-columns: 1fr; }
}
