/* ===== Ecology Hero Decorations ===== */
.eco-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.eco-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-btns { display: flex; gap: 16px; margin-top: 28px; justify-content: center; }

/* ===== Eco Intro ===== */
.eco-intro { padding: 80px 0; background: #fff; }
.eco-intro-inner { display: flex; gap: 60px; align-items: center; }
.eco-intro-text { flex: 1; }
.eco-quote-mark { margin-bottom: 16px; }
.eco-intro-text h2 {
  font-size: 26px; font-weight: 700; color: #1e293b;
  line-height: 1.5; margin-bottom: 16px;
}
.eco-intro-text > p {
  font-size: 15px; color: #64748b; line-height: 1.9; margin-bottom: 28px;
}

/* Eco Visual (orbit diagram) */
.eco-intro-visual { flex: 0 0 360px; }
.eco-visual-box {
  width: 300px; height: 300px; position: relative; margin: 0 auto;
}
.eco-node {
  position: absolute; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; z-index: 2;
}
.eco-node-center {
  width: 60px; height: 60px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; box-shadow: 0 6px 24px rgba(37,99,235,.35);
}
.eco-node-1, .eco-node-2, .eco-node-3, .eco-node-4 {
  width: 52px; height: 52px; background: #fff;
  border: 2px solid #e2e8f0; color: #2563eb;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: all .3s;
}
.eco-node-1:hover, .eco-node-2:hover, .eco-node-3:hover, .eco-node-4:hover {
  border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,.2);
}
.eco-node-1 { top: 8%; left: 50%; transform: translateX(-50%); }
.eco-node-2 { top: 50%; right: 4%; transform: translateY(-50%); }
.eco-node-3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.eco-node-4 { top: 50%; left: 4%; transform: translateY(-50%); }
.eco-orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(37,99,235,.15);
}
.eco-orbit-1 {
  width: 180px; height: 180px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.eco-orbit-2 {
  width: 270px; height: 270px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ===== Eco Cases Carousel ===== */
.eco-cases { padding: 80px 0; background: #f5f7fa; }
.eco-case-carousel { position: relative; }
.eco-case-slide {
  display: none; gap: 40px; align-items: center;
  animation: ecoFade .5s ease;
}
.eco-case-slide.active { display: flex; }
@keyframes ecoFade {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.eco-case-info { flex: 1; }
.eco-case-tag {
  display: inline-block; padding: 4px 14px; border-radius: 4px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb; font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.eco-case-info h3 {
  font-size: 22px; font-weight: 600; color: #1e293b; margin-bottom: 14px;
}
.eco-case-info > p {
  font-size: 14px; color: #64748b; line-height: 1.8; margin-bottom: 24px;
}
.eco-case-stats { display: flex; gap: 32px; margin-bottom: 28px; }
.eco-stat { display: flex; flex-direction: column; }
.eco-stat-num {
  font-size: 32px; font-weight: 800; color: #2563eb;
  line-height: 1; letter-spacing: -1px;
}
.eco-stat-unit {
  font-size: 14px; font-weight: 600; color: #2563eb;
  display: inline;
}
.eco-stat-label { font-size: 13px; color: #94a3b8; margin-top: 4px; }
.eco-case-btn { font-size: 13px; padding: 10px 24px; }

/* Case image mock */
.eco-case-img { flex: 0 0 45%; }
.eco-case-img img { width: 100%; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.eco-case-screen {
  border-radius: 12px; overflow: hidden;
  background: #1e293b; box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.screen-bar {
  display: flex; gap: 6px; padding: 10px 14px; background: #0f172a;
}
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; }
.screen-bar span:nth-child(1) { background: #ef4444; }
.screen-bar span:nth-child(2) { background: #eab308; }
.screen-bar span:nth-child(3) { background: #22c55e; }
.screen-body { padding: 20px; }
.screen-dashboard { min-height: 200px; }
.sd-row { display: flex; gap: 10px; margin-bottom: 14px; }
.sd-card {
  flex: 1; height: 56px; border-radius: 8px;
  background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.18);
}
.sd-chart {
  height: 90px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(96,165,250,.08));
  border: 1px solid rgba(255,255,255,.06);
}
.sd-chart-alt {
  background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(96,165,250,.08));
}

/* Case nav */
.eco-case-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 32px;
}
.eco-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: #64748b;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e2e8f0; cursor: pointer;
  transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.eco-arrow:hover {
  background: #2563eb; color: #fff; border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.eco-case-dots { display: flex; gap: 8px; }
.eco-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1; cursor: pointer; transition: all .3s;
}
.eco-dot.active {
  width: 28px; border-radius: 4px; background: #2563eb;
}

/* ===== Partner Types ===== */
.partner-types { padding: 80px 0; background: #fff; }
.pt-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.pt-tab {
  padding: 10px 24px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: #64748b; background: #f8fafc;
  border: 1px solid #e2e8f0; transition: all .3s; cursor: pointer;
}
.pt-tab:hover { color: #2563eb; border-color: #2563eb; }
.pt-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
}
.pt-panel {
  display: none;
  animation: ecoFade .4s ease;
}
.pt-panel.active { display: block; }
.pt-desc {
  font-size: 15px; color: #64748b; line-height: 1.8;
  text-align: center; max-width: 700px; margin: 0 auto 32px;
}
.pt-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.pt-card {
  padding: 32px 24px; border-radius: 14px;
  background: #f8fafc; border: 1px solid #e8ecf1;
  text-align: center; transition: all .4s cubic-bezier(.4,0,.2,1);
}
.pt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: #2563eb;
}
.pt-card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; margin: 0 auto 16px; transition: all .4s;
}
.pt-card:hover .pt-card-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.pt-card h4 {
  font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px;
}
.pt-card p { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 16px; }
.pt-link {
  font-size: 13px; color: #2563eb; font-weight: 500;
  transition: letter-spacing .3s;
}
.pt-card:hover .pt-link { letter-spacing: 1px; }

/* ===== Contact Section ===== */
.eco-contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #070e1a 0%, #0a1628 30%, #0f2847 70%, #132e52 100%);
}
.eco-contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.eco-contact-text h2 {
  font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.eco-contact-text p {
  font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 36px;
}
.eco-contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; }
.eco-input {
  flex: 1; padding: 14px 18px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-family: inherit;
  transition: all .3s; outline: none;
}
.eco-input::placeholder { color: rgba(255,255,255,.35); }
.eco-input:focus {
  border-color: #2563eb; background: rgba(37,99,235,.08);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.eco-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l3 3 3-3' stroke='rgba(255,255,255,0.4)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.eco-select option { background: #0f2847; color: #fff; }
.eco-submit {
  align-self: center; padding: 14px 48px; font-size: 15px;
  margin-top: 8px;
}

/* ===== Footer detail (reuse) ===== */
.footer-col-wide { flex: 1.5; }
.footer-col-grid { display: flex; gap: 24px; }
.footer-col-grid div { display: flex; flex-direction: column; }
.footer-col-grid a {
  display: block; color: rgba(255,255,255,0.5); font-size: 13px;
  margin-bottom: 10px; transition: color .3s;
}
.footer-col-grid a:hover { color: #60a5fa; }
.footer-address { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-left { display: flex; align-items: center; gap: 12px; }
.friend-link-label { color: rgba(255,255,255,0.4); font-size: 12px; }
.friend-link-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 4px; font-size: 12px;
  color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all .3s;
}
.friend-link-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .eco-intro-inner { flex-direction: column; }
  .eco-intro-visual { flex: none; width: 100%; }
  .eco-case-slide { flex-direction: column; }
  .eco-case-img { flex: none; width: 100%; }
  .pt-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-detail .footer-main { flex-wrap: wrap; }
  .footer-brand { flex: 0 0 100%; margin-bottom: 16px; }
  .footer-col-wide { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 768px) {
  .pt-cards { grid-template-columns: 1fr; }
  .pt-tabs { gap: 6px; }
  .pt-tab { padding: 8px 16px; font-size: 13px; }
  .eco-case-stats { flex-direction: column; gap: 16px; }
  .form-row { flex-direction: column; }
  .footer-detail .footer-col { flex: 0 0 calc(50% - 15px); }
  .footer-col-grid { flex-direction: column; gap: 0; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-left { justify-content: center; }
}
@media (max-width: 480px) {
  .eco-visual-box { width: 240px; height: 240px; }
  .eco-orbit-1 { width: 140px; height: 140px; }
  .eco-orbit-2 { width: 210px; height: 210px; }
  .footer-detail .footer-col { flex: 0 0 100%; }
}
