/* Homepage ecosystem layout — matches Master Broker all-in-one landing structure */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap");

:root {
  --eco-serif: "Cormorant Garamond", "Times New Roman", serif;
  --eco-gold: #c9a962;
  --eco-gold-soft: #d4b36a;
  --eco-ink: #0a0b0e;
  --eco-panel: rgba(18, 20, 26, 0.78);
  --eco-panel-strong: rgba(14, 16, 22, 0.92);
  --eco-border: rgba(201, 169, 98, 0.28);
  --eco-text: #f4efe6;
  --eco-mute: rgba(244, 239, 230, 0.72);
}

body.theme-mono.tmb-eco-home::after {
  background-image: none !important;
  opacity: 0 !important;
}

body.theme-mono.tmb-eco-home::before {
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0.35) 40%, rgba(8, 9, 12, 0.85) 100%) !important;
}

/* ---------- Eco header tweaks (home only) ---------- */
body.tmb-eco-home .tmb-eco-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.82), rgba(8, 9, 12, 0.2));
}

body.tmb-eco-home .tmb-eco-nav .header-bottom-area {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.tmb-eco-home .tmb-eco-nav .custom-container,
body.tmb-eco-home .tmb-eco-nav .header-menu-content,
body.tmb-eco-home .tmb-eco-nav .navbar {
  width: 100%;
}

@media (min-width: 1200px) {
  body.tmb-eco-home .tmb-eco-nav .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    align-items: center;
    justify-content: flex-end;
  }

  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.15rem 0.85rem;
    width: auto !important;
    margin: 0 !important;
  }

  body.tmb-eco-home .tmb-eco-nav .navbar-toggler {
    display: none !important;
  }

  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu > li {
    width: auto !important;
    margin: 0 !important;
  }

  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu > li > a,
  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu > li > a.nav-link {
    color: rgba(246, 241, 232, 0.92) !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 0.4rem 0.2rem !important;
    background: transparent !important;
    border: 0 !important;
    white-space: nowrap;
  }

  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu > li > a:hover,
  body.tmb-eco-home .tmb-eco-nav .navbar-nav.main-menu > li > a.active {
    color: #fff !important;
  }

  body.tmb-eco-home .tmb-eco-nav .dropdown-menu {
    background: rgba(14, 16, 22, 0.96) !important;
    border: 1px solid rgba(212, 179, 106, 0.28) !important;
    border-radius: 12px !important;
    padding: 0.45rem 0 !important;
    min-width: 220px;
    margin-top: 0.55rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }

  body.tmb-eco-home .tmb-eco-nav .dropdown-item {
    color: rgba(246, 241, 232, 0.92) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 0.65rem 1rem !important;
    background: transparent !important;
  }

  body.tmb-eco-home .tmb-eco-nav .dropdown-item:hover {
    color: #fff !important;
    background: rgba(212, 179, 106, 0.12) !important;
  }

  body.tmb-eco-home .tmb-eco-nav .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
    margin: 0.25rem 0 !important;
  }

  body.tmb-eco-home .tmb-eco-nav .tmb-eco-auth {
    margin-left: 0.2rem !important;
  }

  body.tmb-eco-home .tmb-eco-nav .tmb-eco-auth-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 1.05rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)) !important;
    color: #1a150c !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 8px 20px rgba(184, 146, 62, 0.28) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
  }

  body.tmb-eco-home .tmb-eco-nav .tmb-eco-auth-btn:hover {
    color: #1a150c !important;
    transform: translateY(-1px);
  }
}

/* Mobile auth buttons still gold */
body.tmb-eco-home .tmb-eco-nav .tmb-eco-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
  color: #1a150c !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Hero ---------- */
.tmb-eco-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 3.5rem;
  color: var(--eco-text);
  overflow: hidden;
}

.tmb-eco-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.82) 0%, rgba(8, 9, 12, 0.45) 48%, rgba(8, 9, 12, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.35) 0%, rgba(8, 9, 12, 0.55) 55%, rgba(8, 9, 12, 0.92) 100%),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.tmb-eco-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tmb-eco-eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--eco-gold) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tmb-eco-hero h1 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-family: var(--eco-serif) !important;
  font-size: clamp(2.6rem, 6vw, 4.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.01em;
  color: #fff !important;
}

.tmb-eco-hero h1 .tmb-eco-accent {
  color: var(--eco-gold-soft) !important;
}

.tmb-eco-hero__lead {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: var(--eco-mute) !important;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
}

.tmb-eco-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  max-width: 52rem;
  margin: 0 0 1.75rem;
}

.tmb-eco-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--eco-text);
  font-size: 0.92rem;
  font-weight: 500;
}

.tmb-eco-hero-stat svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: var(--eco-gold);
}

.tmb-eco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tmb-eco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tmb-eco-btn--primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
  color: #1a150c !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 28px rgba(184, 146, 62, 0.28);
}

.tmb-eco-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.tmb-eco-btn:hover {
  transform: translateY(-2px);
}

/* ---------- Feature strip ---------- */
.tmb-eco-features {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 1.25rem 3.5rem;
}

.tmb-eco-features__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 1180px;
  margin: 0 auto;
}

.tmb-eco-feature {
  background: var(--eco-panel);
  border: 1px solid var(--eco-border);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.25rem;
  backdrop-filter: blur(14px);
  min-height: 100%;
}

.tmb-eco-feature svg {
  width: 28px;
  height: 28px;
  fill: var(--eco-gold);
  margin-bottom: 0.85rem;
}

.tmb-eco-feature h3 {
  margin: 0 0 0.4rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 600;
}

.tmb-eco-feature p {
  margin: 0;
  color: var(--eco-mute) !important;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ---------- Split platform ---------- */
.tmb-eco-platform {
  padding: 4.5rem 1.25rem;
}

.tmb-eco-platform__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.tmb-eco-platform h2 {
  margin: 0 0 1rem;
  font-family: var(--eco-serif) !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff !important;
}

.tmb-eco-platform h2 .tmb-eco-accent {
  color: var(--eco-gold-soft) !important;
}

.tmb-eco-platform__copy {
  margin: 0 0 1.25rem;
  color: var(--eco-mute) !important;
  line-height: 1.65;
  max-width: 36rem;
}

.tmb-eco-checklist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.tmb-eco-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--eco-text) !important;
  font-size: 0.98rem;
}

.tmb-eco-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.16);
  border: 1px solid var(--eco-border);
  color: var(--eco-gold);
  font-size: 0.75rem;
}

.tmb-eco-devices {
  position: relative;
  min-height: 0;
}

.tmb-eco-laptop {
  border-radius: 18px;
  border: 1px solid var(--eco-border);
  background: var(--eco-panel-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.tmb-eco-laptop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Tools grid ---------- */
.tmb-eco-tools {
  padding: 2rem 1.25rem 4.5rem;
}

.tmb-eco-tools__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.tmb-eco-tools__head h2 {
  margin: 0.4rem 0 0;
  font-family: var(--eco-serif) !important;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff !important;
  line-height: 1.15;
}

.tmb-eco-tools__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tmb-eco-tool {
  background: var(--eco-panel);
  border: 1px solid var(--eco-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tmb-eco-tool__media {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.tmb-eco-tool__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmb-eco-tool__icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 16, 22, 0.82);
  border: 1px solid var(--eco-border);
}

.tmb-eco-tool__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--eco-gold);
}

.tmb-eco-tool__body {
  padding: 1.05rem 1.1rem 1.25rem;
}

.tmb-eco-tool__body h3 {
  margin: 0 0 0.45rem;
  color: #fff !important;
  font-size: 1.12rem;
}

.tmb-eco-tool__body p {
  margin: 0;
  color: var(--eco-mute) !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Bottom stats ---------- */
.tmb-eco-statsbar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 12, 0.72);
  padding: 1.75rem 1.25rem;
}

.tmb-eco-statsbar__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.tmb-eco-statsbar__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tmb-eco-statsbar__item svg {
  width: 28px;
  height: 28px;
  fill: var(--eco-gold);
  flex: 0 0 28px;
}

.tmb-eco-statsbar__item strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}

.tmb-eco-statsbar__item span {
  color: var(--eco-mute);
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .tmb-eco-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tmb-eco-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmb-eco-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tmb-eco-platform__inner {
    grid-template-columns: 1fr;
  }

  .tmb-eco-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmb-eco-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tmb-eco-hero {
    min-height: auto;
    padding: 6.5rem 0 2.5rem;
  }

  .tmb-eco-features {
    margin-top: 0;
  }

  .tmb-eco-features__grid,
  .tmb-eco-tools__grid,
  .tmb-eco-statsbar__grid {
    grid-template-columns: 1fr;
  }

  .tmb-eco-hero-stats {
    grid-template-columns: 1fr;
  }

  .tmb-eco-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tmb-eco-btn {
    width: 100%;
  }
}
