/* =========================================
   HOLOGRAPHIC FUTURE STATS CARD (SmartBeen)
   ========================================= */

.sb-holo-stats {
  position: relative;
  margin-top: 2.5rem;
}

.sb-holo-inner {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.2rem;

  padding: 2.6rem 2.4rem;
  border-radius: 26px;

  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.42);

  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(34, 197, 94, 0.35);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

/* لایه گلو / نور */
.sb-holo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.45), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.40), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.8;
}

/* اسکن‌لاین */
.sb-holo-scanline {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(148, 163, 184, 0.06) 48%,
    rgba(148, 163, 184, 0.16) 50%,
    rgba(148, 163, 184, 0.06) 52%,
    transparent 100%
  );
  opacity: 0.0;
  animation: sb-holo-scan 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes sb-holo-scan {
  0%, 20%   { transform: translateY(-60%); opacity: 0; }
  25%       { opacity: 0.25; }
  45%       { transform: translateY(40%); opacity: 0.18; }
  60%       { transform: translateY(90%); opacity: 0; }
  100%      { transform: translateY(90%); opacity: 0; }
}

/* ستون چپ: چیپ‌های آماری */
.sb-holo-left {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.7rem;
}

.sb-holo-chip {
  position: relative;
  padding: 1.0rem 1rem 1.1rem;
  border-radius: 18px;

  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 70%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.45);

  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.95),
    0 0 22px rgba(56, 189, 248, 0.22);

  text-align: right;
  transform: translateZ(25px);
  transition: transform 0.28s ease-out, box-shadow 0.28s ease-out, border-color 0.28s ease-out;
}

.sb-holo-chip::after {
  content: "";
  position: absolute;
  inset-inline: 14%;
  bottom: -14px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.9), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.sb-holo-chip:hover {
  transform: translateZ(40px) translateY(-4px);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 1),
    0 0 32px rgba(56, 189, 248, 0.4);
}

.sb-holo-chip-label {
  display: block;
  font-size: 0.78rem;
  color: var(--sb-text-muted, #9ca3af);
  margin-bottom: 0.2rem;
}

.sb-holo-chip-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #a5f3fc, #6ee7b7);
  -webkit-background-clip: text;
  color: transparent;
}

/* ستون راست: متن و بولت‌ها */
.sb-holo-right {
  position: relative;
  z-index: 1;
  padding-inline-start: 0.4rem;
}

.sb-holo-title-wrap {
  margin-bottom: 0.9rem;
}

.sb-holo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.74rem;

  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.4), rgba(15, 23, 42, 0.96));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
}

.sb-holo-title {
  font-size: 1.6rem;
  margin-top: 0.5rem;
}

.sb-holo-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--sb-text-soft, #9ca3af);
  line-height: 1.9;
  max-width: 32rem;
}

.sb-holo-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.sb-holo-list li {
  position: relative;
  padding-right: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
  color: var(--sb-text-muted, #9ca3af);
}

.sb-holo-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #a7f3d0);
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.12),
    0 0 14px rgba(34, 197, 94, 0.75);
}

/* حالت ریسپانسیو */
@media (max-width: 960px) {
  .sb-holo-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.1rem 1.7rem;
    gap: 1.8rem;
  }

  .sb-holo-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sb-holo-inner {
    padding: 1.8rem 1.4rem;
  }

  .sb-holo-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .sb-holo-chip {
    padding-inline: 1.0rem;
  }
}


/* =========================================
   LIVING ECOSYSTEM PANEL (sb-eco)
   ========================================= */

.sb-eco {
  margin-top: 3rem;
}

.sb-eco-inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 2.4rem 2.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.4rem;

  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.26), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.28), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(34, 197, 94, 0.35);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform-style: preserve-3d;
}

/* هاله و رگ‌های گیاه */
.sb-eco-aura {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.5), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.sb-eco-vines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 120%, rgba(15, 23, 42, 0.0) 0, rgba(15, 23, 42, 0.9) 45%, rgba(15, 23, 42, 1) 60%),
    repeating-linear-gradient(
      145deg,
      rgba(34, 197, 94, 0.14) 0,
      rgba(34, 197, 94, 0.14) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: 0.16;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* ستون چپ */
.sb-eco-left {
  position: relative;
  z-index: 1;
}

.sb-eco-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.96));
  font-size: 0.78rem;
  color: #e5e7eb;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
}

.sb-eco-title {
  margin-top: 0.9rem;
  font-size: 1.4rem;
  line-height: 1.7;
}

.sb-eco-text {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--sb-text-soft, #9ca3af);
  line-height: 1.9;
  max-width: 34rem;
}

/* فازهای روز */
.sb-eco-phases {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sb-eco-phase {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.sb-eco-phase-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(253, 224, 71, 0.7), transparent 60%),
    radial-gradient(circle at 70% 100%, rgba(34, 197, 94, 0.5), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 1);
}

.sb-eco-phase-body {
  flex: 1 1 auto;
}

.sb-eco-phase-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--sb-text-muted, #9ca3af);
}

.sb-eco-phase-head span:first-child {
  color: #e5e7eb;
  font-weight: 500;
}

.sb-eco-phase-bar {
  margin-top: 0.4rem;
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 50%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  overflow: hidden;
}

.sb-eco-phase-bar span {
  position: absolute;
  inset: 0;
  transform-origin: right center;
  transform: scaleX(var(--eco-fill, 0.5));
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
}

/* ستون راست: اورب */
.sb-eco-right {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sb-eco-orb-wrap {
  position: relative;
  transform-style: preserve-3d;
}

.sb-eco-orb {
  position: relative;
  width: 270px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;

  background:
    radial-gradient(circle at 20% 0%, rgba(129, 230, 217, 0.95), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(74, 222, 128, 0.9), transparent 60%),
    radial-gradient(circle at 50% 120%, rgba(15, 23, 42, 1), rgba(15, 23, 42, 1));
  box-shadow:
    0 0 40px rgba(56, 189, 248, 0.55),
    0 28px 60px rgba(15, 23, 42, 1);
}

/* نور و موج داخل اورب */
.sb-eco-orb-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 50% 120%, rgba(34, 197, 94, 0.6), transparent 60%),
    radial-gradient(circle at 0% 10%, rgba(56, 189, 248, 0.3), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.sb-eco-orb-wave {
  position: absolute;
  inset-inline: -10%;
  height: 40%;
  bottom: -10%;
  background: radial-gradient(circle at 50% 0%, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.9));
  border-radius: 50%;
  opacity: 0.95;
  animation: sb-eco-wave 11s ease-in-out infinite;
}

.sb-eco-orb-wave-2 {
  bottom: -8%;
  opacity: 0.8;
  animation-duration: 15s;
  animation-delay: -3s;
}

@keyframes sb-eco-wave {
  0%   { transform: translateX(0) translateY(0); }
  50%  { transform: translateX(-6%) translateY(4%); }
  100% { transform: translateX(0) translateY(0); }
}

/* ستاره‌ها/ذرات */
.sb-eco-orb-constellation {
  position: absolute;
  inset: 12%;
  background-image:
    radial-gradient(circle, rgba(248, 250, 252, 0.9) 0, transparent 55%),
    radial-gradient(circle, rgba(248, 250, 252, 0.8) 0, transparent 60%),
    radial-gradient(circle, rgba(248, 250, 252, 0.75) 0, transparent 65%);
  background-position:
    20% 10%,
    70% 40%,
    40% 75%;
  background-size:
    3px 3px,
    4px 4px,
    3px 3px;
  background-repeat: no-repeat;
  opacity: 0.8;
  animation: sb-eco-const 9s ease-in-out infinite alternate;
}

@keyframes sb-eco-const {
  0%   { transform: translateY(-4%) scale(1); opacity: 0.7; }
  50%  { transform: translateY(2%) scale(1.02); opacity: 1; }
  100% { transform: translateY(-2%) scale(0.98); opacity: 0.8; }
}

/* مرکز اورب */
.sb-eco-orb-center {
  position: absolute;
  inset: 24% 18%;
  border-radius: 24px;
  padding: 0.75rem 0.9rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sb-eco-orb-label {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.sb-eco-orb-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--sb-text-muted, #9ca3af);
}

.sb-eco-orb-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.2),
    0 0 18px rgba(34, 197, 94, 0.95);
  animation: sb-eco-pulse 1.8s ease-out infinite;
}

@keyframes sb-eco-pulse {
  0%   { transform: scale(0.9); opacity: 1; }
  50%  { transform: scale(1.15); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* حلقه‌های اورب (حس سنسورها) */
.sb-eco-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  mix-blend-mode: screen;
}

.sb-eco-ring--middle {
  inset: 20%;
  border-style: dashed;
  border-color: rgba(56, 189, 248, 0.55);
}

.sb-eco-ring--inner {
  inset: 30%;
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.6);
}

/* لگند اعداد */
.sb-eco-legend {
  position: absolute;
  inset-inline: 10%;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
}

.sb-eco-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.sb-eco-legend-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sb-eco-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  box-shadow: 0 0 12px currentColor;
}

.sb-eco-legend-dot--soil {
  color: #22c55e;
  background: #22c55e;
}
.sb-eco-legend-dot--air {
  color: #38bdf8;
  background: #38bdf8;
}
.sb-eco-legend-dot--light {
  color: #facc15;
  background: #facc15;
}

.sb-eco-value {
  font-weight: 600;
  font-size: 0.9rem;
}

/* کپشن زیر اورب */
.sb-eco-orb-caption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--sb-text-soft, #9ca3af);
  display: flex;
  flex-direction: column;
}

/* ریسپانسیو */
@media (max-width: 980px) {
  .sb-eco-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.1rem 1.8rem;
  }

  .sb-eco-right {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .sb-eco-inner {
    padding: 1.8rem 1.4rem;
    gap: 1.6rem;
  }

  .sb-eco-title {
    font-size: 1.2rem;
  }

  .sb-eco-orb {
    width: 230px;
  }

  .sb-eco-phases {
    gap: 0.8rem;
  }

  .sb-eco-phase-head {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================
   GREENHOUSE LAB – INTERACTIVE SECTION
   ========================================= */

.sb-greenhouse-lab {
  margin-top: 3rem;
}

.sb-greenhouse-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.8rem;
  padding: 1.5rem 1.6rem;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98)),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.14), rgba(15, 23, 42, 1));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

/* subtle glow edges */
.sb-greenhouse-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.18), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
}

/* INNER LAYOUT */
.sb-gh-left,
.sb-gh-right {
  position: relative;
  z-index: 1;
}

.sb-gh-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sb-gh-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* LABEL PILL */
.sb-gh-label-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  font-size: 0.78rem;
  color: rgba(209, 213, 219, 0.9);
}

.sb-gh-label-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.18),
    0 0 14px rgba(34, 197, 94, 0.9);
}

/* GREENHOUSE VISUAL AREA */
.sb-gh-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 0.9rem 0.9rem 1.1rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.3), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.22), transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 1);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.sb-gh-visual.gh-pulse {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
}

/* SKY & GROUND */
.sb-gh-sky {
  position: absolute;
  inset: 0 0 35%;
  background: radial-gradient(circle at 10% -10%, rgba(248, 250, 252, 0.6), transparent 60%),
              linear-gradient(to bottom, rgba(8, 47, 73, 0.3), transparent 75%);
  opacity: 0.65;
  pointer-events: none;
}

.sb-gh-ground {
  position: absolute;
  inset: 70% -10% -10% -10%;
  background:
    radial-gradient(circle at 50% 0%, rgba(15, 118, 110, 0.7), transparent 60%),
    linear-gradient(to bottom, rgba(5, 46, 22, 0.95), rgba(3, 22, 11, 1));
}

/* FRAME */
.sb-gh-frame {
  position: relative;
  width: 100%;
  height: 190px;
  margin: 0 auto 0.1rem;
}

.sb-gh-roof {
  position: absolute;
  inset: 10px 18%;
  height: 60px;
  border-radius: 18px 18px 8px 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
}

.sb-gh-wall.back {
  position: absolute;
  inset: 38px 17%;
  height: 110px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
}

.sb-gh-wall.front {
  position: absolute;
  inset: 48px 19%;
  height: 106px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.95));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.sb-gh-glow {
  position: absolute;
  inset: 40px 24%;
  height: 90px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.22), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
  filter: blur(8px);
}

/* SHELF & POTS */
.sb-gh-shelf {
  position: absolute;
  left: 26%;
  right: 26%;
  top: 115px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.8));
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.85);
}

.sb-gh-pots {
  position: absolute;
  left: 26%;
  right: 26%;
  top: 118px;
  display: flex;
  justify-content: space-between;
}

.sb-gh-pot {
  width: 40px;
  height: 34px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, #4b5563, #111827);
  border: 1px solid rgba(17, 24, 39, 0.9);
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.95);
  position: relative;
  overflow: hidden;
}

.sb-gh-pot::before {
  content: "";
  position: absolute;
  inset: -8px -6px 60%;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(75, 85, 99, 0.8), rgba(17, 24, 39, 0.9));
}

/* PLANTS */
.plant {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 34px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 0%, #22c55e, #15803d);
  box-shadow:
    0 0 0 4px rgba(15, 23, 42, 0.8),
    0 12px 16px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.plant::before,
.plant::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, rgba(187, 247, 208, 0.5), transparent 70%);
}

.plant::before {
  inset: -12% 10% auto auto;
}
.plant::after {
  inset: auto auto -18% 6%;
  opacity: 0.45;
}

/* TIMER */
.sb-gh-timer {
  position: absolute;
  right: 10px;
  top: 28px;
  width: 64px;
  height: 64px;
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  pointer-events: none;
}

.sb-gh-visual.is-timer-on .sb-gh-timer {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.timer-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    conic-gradient(from 220deg, #22c55e, #22c55e 40%, rgba(55, 65, 81, 1) 40%, rgba(31, 41, 55, 1));
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 20px rgba(34, 197, 94, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-inner {
  width: 76%;
  height: 76%;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, rgba(248, 250, 252, 0.18), rgba(17, 24, 39, 1));
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: #e5e7eb;
}

.timer-icon {
  font-size: 0.8rem;
  margin-bottom: 0.05rem;
}

/* LIGHT BAR */
.sb-gh-lightbar {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 44px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #38bdf8, #a855f7);
  opacity: 0;
  filter: blur(0);
  box-shadow: none;
  transform-origin: center;
  transition: opacity 0.3s ease-out, filter 0.3s ease-out, box-shadow 0.3s ease-out;
}

.sb-gh-visual.is-light-on .sb-gh-lightbar {
  opacity: 1;
  filter: blur(2.5px);
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.9),
    0 0 26px rgba(34, 197, 94, 0.9);
  animation: sbLightPulse 1.6s ease-in-out infinite;
}

@keyframes sbLightPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* MIST SYSTEM */
.sb-gh-mister {
  position: absolute;
  inset: 56px 18% auto 18%;
  height: 40px;
  pointer-events: none;
}

.nozzle {
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.7), rgba(15, 23, 42, 1));
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 12px rgba(148, 163, 184, 0.8);
}

.nozzle-left { left: 0; }
.nozzle-right { right: 0; }

.mist-layer {
  position: absolute;
  inset: 10px 0 auto 0;
  height: 45px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(191, 219, 254, 0.8), transparent 70%);
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
}

.sb-gh-visual.is-mist-on .mist-layer {
  opacity: 0.9;
  animation: sbMistFloat 2.4s ease-in-out infinite;
}

.mist-layer.mist-2 {
  animation-delay: 0.6s;
  opacity: 0.65;
}

@keyframes sbMistFloat {
  0%   { transform: translateY(4px); opacity: 0.2; }
  40%  { transform: translateY(0); opacity: 0.95; }
  100% { transform: translateY(-6px); opacity: 0.05; }
}

/* DRIP LINES */
.sb-gh-drip-lines {
  position: absolute;
  inset: 0 22% 0 22%;
  pointer-events: none;
}

.drip-line {
  position: absolute;
  top: 86px;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0.9), transparent);
  border-radius: 999px;
  opacity: 0;
  transform-origin: top;
  transform: scaleY(0.3);
}

.line-1 { left: 18%; }
.line-2 { left: 50%; }
.line-3 { left: 82%; }

.drip-drop {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, #38bdf8, #0ea5e9);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  opacity: 0;
}

.drop-1 { left: 16%; top: 120px; }
.drop-2 { left: 48%; top: 120px; }
.drop-3 { left: 80%; top: 120px; }

.sb-gh-visual.is-drip-on .drip-line,
.sb-gh-visual.is-drip-on .drip-drop {
  opacity: 1;
}

.sb-gh-visual.is-drip-on .drip-drop {
  animation: sbDripFall 1.3s linear infinite;
}

.sb-gh-visual.is-drip-on .drop-2 {
  animation-delay: 0.25s;
}
.sb-gh-visual.is-drip-on .drop-3 {
  animation-delay: 0.5s;
}

@keyframes sbDripFall {
  0%   { transform: translateY(-10px); opacity: 0; }
  15%  { opacity: 1; }
  70%  { transform: translateY(18px); opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}

/* STATUS AREA */
.sb-gh-status {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sb-gh-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  font-size: 0.78rem;
  color: rgba(229, 231, 235, 0.96);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.16),
    0 0 16px rgba(34, 197, 94, 0.9);
  animation: sbPulseDot 1.8s ease-out infinite;
}

@keyframes sbPulseDot {
  0%   { transform: scale(0.9); opacity: 1; }
  50%  { transform: scale(1.15); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.sb-gh-status-sub {
  font-size: 0.76rem;
  color: rgba(156, 163, 175, 0.9);
  max-width: 420px;
}

/* RIGHT SIDE – CONTROLS */
.sb-gh-header h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.sb-gh-header p {
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.95);
}

.sb-gh-controls {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sb-gh-control {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    border-color 0.18s ease-out,
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.sb-gh-control .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
}

.sb-gh-control .text-wrap strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.sb-gh-control .text-wrap small {
  display: block;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.96);
}

.sb-gh-control .badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: rgba(209, 213, 219, 0.96);
}

/* ACTIVE STATE */
.sb-gh-control.is-active {
  border-color: rgba(56, 189, 248, 0.95);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.28), rgba(15, 23, 42, 0.98));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.sb-gh-control.is-active .badge {
  border-color: rgba(34, 197, 94, 0.9);
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.35), rgba(22, 101, 52, 0.9));
}

/* FOOTNOTE */
.sb-gh-footnote {
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.96);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .sb-greenhouse-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.3rem 1.2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .sb-gh-controls {
    gap: 0.6rem;
  }
  .sb-gh-control {
    padding: 0.55rem 0.65rem;
  }
}


/* ================================
   SmartBeen Irrigation Modes Showcase
   (فقط همین سکشن – ایزوله و بدون تداخل)
=================================== */

.sb-irrig-showcase {
  margin-top: 3rem;
}

/* کارت اصلی گلس مورفیک */
.sb-irrig-card {
  position: relative;
  border-radius: 26px;
  padding: 1.8rem 1.9rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

/* نورهای پس‌زمینه */
.sb-irrig-card::before,
.sb-irrig-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.35;
}

.sb-irrig-card::before {
  width: 260px;
  height: 260px;
  top: -120px;
  left: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
}

.sb-irrig-card::after {
  width: 260px;
  height: 260px;
  bottom: -140px;
  right: 4%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 75%);
}

/* چیدمان دو ستونه */
.sb-irrig-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
  z-index: 1;
}

.sb-irrig-column {
  min-width: 0;
}

.sb-irrig-column-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sb-irrig-eyebrow {
  font-size: 0.8rem;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sb-irrig-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    0 0 8px rgba(34, 197, 94, 1),
    0 0 16px rgba(34, 197, 94, 0.9);
}

/* متن اصلی */
.sb-irrig-textbox {
  max-width: 34rem;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.sb-irrig-textbox.sb-irrig-textbox-anim {
  transform: translateY(-4px);
  opacity: 0.92;
}

.sb-irrig-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.35rem;
  line-height: 1.4;
  background: linear-gradient(120deg, #e0f2fe, #bbf7d0);
  -webkit-background-clip: text;
  color: transparent;
}

.sb-irrig-body {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* دایره‌ها / مودها */

.sb-irrig-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.sb-irrig-mode {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.sb-irrig-circle {
  width: 138px;
  height: 138px;
  border-radius: 999px;
  padding: 3px;
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.12), rgba(15, 23, 42, 0.95));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.sb-irrig-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.8rem;
  position: relative;
  overflow: hidden;
  color: #f9fafb;
  font-size: 0.86rem;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(15, 23, 42, 0.9);
}

/* بک‌گراندهای تماتیک هر دایره (می‌تونی بعداً به‌جاشون عکس بذاری) */

.sb-irrig-circle-drip {
  background:
    linear-gradient(to top, #064e3b 0%, #15803d 30%, #16a34a 60%, #22c55e 100%),
    url("assets/images/ui/drip-placeholder.jpg") center/cover no-repeat;
}

.sb-irrig-circle-rain {
  background:
    linear-gradient(to top, #0f172a 0%, #1d4ed8 45%, #38bdf8 100%),
    url("assets/images/ui/rain-placeholder.jpg") center/cover no-repeat;
}

.sb-irrig-circle-mist {
  background:
    radial-gradient(circle at top, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 0.98)),
    url("assets/images/ui/mist-placeholder.jpg") center/cover no-repeat;
}

.sb-irrig-circle-smart {
 
}

/* برچسب داخل دایره */
.sb-irrig-circle-label {
  position: relative;
  z-index: 2;
}

/* حلقه‌ی نوری */
.sb-irrig-circle-inner::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.18);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
  pointer-events: none;
}

/* حالت Hover و Active */
.sb-irrig-mode:hover .sb-irrig-circle {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 1);
}

.sb-irrig-mode.sb-irrig-mode-active .sb-irrig-circle {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 1),
    0 0 40px rgba(56, 189, 248, 0.45);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.4), rgba(15, 23, 42, 0.96));
}

/* صحنه گلخانه */

.sb-irrig-column-scene {
  position: relative;
}

.sb-irrig-scene {
  position: relative;
  height: 230px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.6), rgba(15, 23, 42, 1));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
}

/* آسمان و زمین */
.sb-irrig-sky {
  position: absolute;
  inset: 0 0 40%;
  background:
    radial-gradient(circle at top, rgba(248, 250, 252, 0.12), transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.95));
}

.sb-irrig-ground {
  position: absolute;
  inset: 65% -10px 0;
  background:
    radial-gradient(circle at top, rgba(34, 197, 94, 0.8), rgba(21, 128, 61, 1));
}

/* گلدان‌ها */
.sb-irrig-pot {
  position: absolute;
  bottom: 16px;
  width: 46px;
  height: 56px;
  border-radius: 12px 12px 10px 10px;
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.9);
}

.sb-irrig-pot::before {
  content: "";
  position: absolute;
  inset: -8px 4px auto;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #4b5563, #111827);
}

.sb-irrig-pot::after {
  content: "";
  position: absolute;
  inset: 8px 9px auto;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #16a34a, #065f46);
}

/* موقعیت گلدان‌ها */
.sb-irrig-pot-1 { left: 18%; }
.sb-irrig-pot-2 { left: 44%; }
.sb-irrig-pot-3 { left: 70%; }

/* لایه‌های قابل سوئیچ */

.sb-irrig-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* حالت فعال هر مود */

.sb-irrig-scene.sb-irrig-mode-drip .sb-irrig-layer-drip,
.sb-irrig-scene.sb-irrig-mode-rain .sb-irrig-layer-rain,
.sb-irrig-scene.sb-irrig-mode-mist .sb-irrig-layer-mist,
.sb-irrig-scene.sb-irrig-mode-smart .sb-irrig-layer-smart {
  opacity: 1;
  transform: translateY(0);
}

/* --- آبیاری قطره‌ای --- */

.sb-irrig-drip-line {
  position: absolute;
  top: 34%;
  left: 12%;
  width: 76%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, #4b5563, #9ca3af);
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.5);
}

/* قطره‌ها */
.sb-irrig-drip-drop {
  position: absolute;
  width: 7px;
  height: 12px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  animation: sb-irrig-drip-fall 1.4s infinite ease-in;
}

.sb-irrig-drip-drop-1 {
  left: 23%;
  top: 34%;
  animation-delay: 0s;
}
.sb-irrig-drip-drop-2 {
  left: 49%;
  top: 34%;
  animation-delay: 0.3s;
}
.sb-irrig-drip-drop-3 {
  left: 75%;
  top: 34%;
  animation-delay: 0.6s;
}

@keyframes sb-irrig-drip-fall {
  0%   { transform: translateY(-6px); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}

/* --- آبیاری بارانی --- */

.sb-irrig-rain-nozzle {
  position: absolute;
  top: 10%;
  width: 40px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #e5e7eb, #6b7280);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.8);
}

.sb-irrig-rain-nozzle-1 { left: 20%; }
.sb-irrig-rain-nozzle-2 { left: 45%; }
.sb-irrig-rain-nozzle-3 { left: 70%; }

.sb-irrig-rain-drop {
  position: absolute;
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(191, 219, 254, 1), rgba(56, 189, 248, 0.9));
  filter: blur(0.2px);
  opacity: 0;
  animation: sb-irrig-rain-fall 0.9s infinite linear;
}

.sb-irrig-rain-drop-1 { left: 22%; top: 10%; animation-delay: 0s; }
.sb-irrig-rain-drop-2 { left: 29%; top: 12%; animation-delay: 0.15s; }
.sb-irrig-rain-drop-3 { left: 48%; top: 9%;  animation-delay: 0.05s; }
.sb-irrig-rain-drop-4 { left: 71%; top: 11%; animation-delay: 0.2s; }
.sb-irrig-rain-drop-5 { left: 78%; top: 13%; animation-delay: 0.35s; }

@keyframes sb-irrig-rain-fall {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(90px); opacity: 0; }
}

/* --- مه‌پاش --- */

.sb-irrig-mist-bar {
  position: absolute;
  top: 8%;
  left: 12%;
  width: 76%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, #e5e7eb, #9ca3af);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.9);
}

.sb-irrig-mist-cloud {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(209, 213, 219, 0.6), rgba(15, 23, 42, 0.0));
  filter: blur(6px);
  opacity: 0;
  animation: sb-irrig-mist-breathe 3s infinite ease-in-out;
}

.sb-irrig-mist-cloud-1 { top: 18%; }
.sb-irrig-mist-cloud-2 { top: 30%; animation-delay: 1.2s; }

@keyframes sb-irrig-mist-breathe {
  0%   { opacity: 0; }
  25%  { opacity: 0.7; }
  60%  { opacity: 0.4; }
  100% { opacity: 0; }
}

/* --- هوشمندسازی (لوله‌ها + تایمر) --- */

.sb-irrig-pipe {
  position: absolute;
  background: linear-gradient(to right, #0f172a, #1f2937);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(15, 23, 42, 0.9);
}

.sb-irrig-pipe-vertical {
  width: 7px;
  height: 110px;
  left: 20%;
  bottom: 25%;
  transform-origin: bottom;
  transform: scaleY(0);
}

.sb-irrig-pipe-horizontal {
  height: 7px;
  width: 56%;
  left: 20%;
  bottom: 25%;
  transform-origin: left;
  transform: scaleX(0);
}

/* کنترلر */
.sb-irrig-controller {
  position: absolute;
  right: 12%;
  bottom: 32%;
  width: 84px;
  height: 58px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(56, 189, 248, 0.4);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}

/* صفحه تایمر */
.sb-irrig-controller-screen {
  position: absolute;
  inset: 10px 30px 18px 12px;
  border-radius: 8px;
  background: radial-gradient(circle at top left, #22c55e, #0f172a);
  box-shadow: inset 0 0 8px rgba(15, 23, 42, 0.9);
}

.sb-irrig-controller-screen::after {
  content: "14:30";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.7rem;
  color: #e5f7ff;
}

/* ولوم کنترلر */
.sb-irrig-controller-knob {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #e5e7eb, #4b5563);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

/* فعال شدن انیمیشن لوله‌ها و تایمر */
.sb-irrig-scene.sb-irrig-mode-smart .sb-irrig-pipe-vertical {
  animation: sb-irrig-pipe-grow-y 0.7s forwards ease-out;
}

.sb-irrig-scene.sb-irrig-mode-smart .sb-irrig-pipe-horizontal {
  animation: sb-irrig-pipe-grow-x 0.8s 0.3s forwards ease-out;
}

.sb-irrig-scene.sb-irrig-mode-smart .sb-irrig-controller {
  animation: sb-irrig-controller-pop 0.7s 0.8s forwards ease-out;
}

@keyframes sb-irrig-pipe-grow-y {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes sb-irrig-pipe-grow-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes sb-irrig-controller-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ریسپانسیو */

@media (max-width: 980px) {
  .sb-irrig-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  .sb-irrig-column-scene {
    order: -1; /* در موبایل، صحنه بالای متن قرار بگیرد */
  }

  .sb-irrig-card {
    padding: 1.4rem 1.5rem;
  }

  .sb-irrig-scene {
    height: 210px;
  }

  .sb-irrig-circle {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 640px) {
  .sb-irrig-modes {
    justify-content: center;
  }

  .sb-irrig-circle {
    width: 108px;
    height: 108px;
  }

  .sb-irrig-card::before,
  .sb-irrig-card::after {
    opacity: 0.25;
  }
}


/* slider codes: /*/
/* WRAPPER */
.sbx2-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 420px;
  margin: 2rem auto;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(0,255,200,0.12), rgba(0,0,0,0.9));
}

/* TRACK */
.sbx2-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* SLIDE BASE */
.sbx2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}

.sbx2-slide.sbx2-visible {
  opacity: 1 !important;
  pointer-events: auto;
}

/* IMAGE – دسکتاپ: پر کردن تمیز، موبایل: بدون بریدن */
.sbx2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ARROWS */
.sbx2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  font-size: 26px;
  color: #fff;
  border-radius: 50%;
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sbx2-arrow:hover {
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 18px rgba(0,255,200,0.45);
  transform: translateY(-50%) scale(1.06);
}

.prev { left: 14px; }
.next { right: 14px; }

/* DOTS */
.sbx2-dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  z-index: 20;
}

.sbx2-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  margin: 0 4px;
  background: rgba(255,255,255,.28);
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

.sbx2-dots button.sbx2-dot-on {
  width: 28px;
  background: #00f5c8;
  transform: translateY(-1px);
}

/* ===========================
   GLASS SHARD CAPTION
   =========================== */

/* کل ناحیه کپشن – روی اسلاید */
.sbx2-caption {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none; /* تا کلیک روی لینک اصلی بماند */
  z-index: 15;
}

/* پنل شیشه‌ای اصلی */
.sbx2-caption-panel {
  position: relative;
  max-width: 520px;
  padding: 22px 26px 18px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(0,255,200,0.28), rgba(5,15,30,0.88));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.65),
    0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
  color: #f5feff;
  pointer-events: auto; /* روی متن دوباره فعال می‌کنیم */
  transform-origin: bottom left;
  opacity: 0;
  transform: translateY(30px) scale(0.96) skewX(-3deg);
  transition:
    opacity .8s cubic-bezier(.19,1,.22,1),
    transform .8s cubic-bezier(.19,1,.22,1);
}

/* وقتی اسلاید فعال شد: پنل با حالت دراماتیک وارد می‌شود */
.sbx2-visible .sbx2-caption-panel {
  opacity: 1;
  transform: translateY(0) scale(1) skewX(0deg);
}

/* تکه‌های شیشه – لایه‌های خلاقیت */

.sbx2-caption-panel::before,
.sbx2-caption-panel::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(135deg, rgba(0,255,200,0.3), transparent),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.35), transparent 55%);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* تکه‌ی اصلی – شکل نامنظم شیشه شکسته */
.sbx2-caption-panel::before {
  clip-path: polygon(
    0% 30%,
    35% 0%,
    85% 10%,
    100% 45%,
    76% 100%,
    25% 80%
  );
  filter: blur(8px);
  animation: sbx2GlassFloat 7s ease-in-out infinite alternate;
}

/* برش نورانی که روی شیشه می‌لغزد */
.sbx2-caption-panel::after {
  clip-path: polygon(
    10% 0%,
    40% 0%,
    90% 40%,
    60% 60%,
    30% 100%,
    0% 70%
  );
  filter: blur(14px);
  opacity: 0.4;
  animation: sbx2GlassSheen 5.5s linear infinite;
}

/* متن‌ها داخل پنل */
.sbx2-caption-panel h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 0 14px rgba(0,0,0,0.8);
  z-index: 1;
}

.sbx2-caption-panel p {
  position: relative;
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.9;
  z-index: 1;
}

.sbx2-tagline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 1;
}

.sbx2-tagline::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, transparent, #00f5c8, transparent);
}

/* انیمیشن تکه شیشه */
@keyframes sbx2GlassFloat {
  0% {
    transform: translate3d(-6px, 4px, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(4px, -8px, 0) rotate(1deg);
  }
  100% {
    transform: translate3d(0px, 3px, 0) rotate(-0.5deg);
  }
}

/* انیمیشن خط نور که روی شیشه حرکت می‌کند */
@keyframes sbx2GlassSheen {
  0% {
    transform: translateX(-40%) translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  50% {
    transform: translateX(10%) translateY(-8%);
  }
  100% {
    transform: translateX(40%) translateY(6%);
    opacity: 0;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media(max-width:900px){
  .sbx2-wrapper {
    height: 340px;
  }

  .sbx2-caption {
    padding: 20px;
    align-items: flex-end;
  }

  .sbx2-caption-panel {
    max-width: 440px;
    padding: 18px 20px 14px;
    border-radius: 22px;
  }

  .sbx2-caption-panel h2 {
    font-size: 1.3rem;
  }

  .sbx2-caption-panel p {
    font-size: 0.9rem;
  }
}

@media(max-width:600px){
  .sbx2-wrapper {
    height: 260px;
    border-radius: 18px;
  }

  /* روی موبایل تصویر را بدون بریدن نشان بده */
  .sbx2-slide img {
    object-fit: contain;
    background: radial-gradient(circle at center, rgba(0,0,0,0.9), #000);
  }

  .sbx2-caption {
    padding: 14px;
    align-items: flex-end;
    justify-content: center;
  }

  .sbx2-caption-panel {
    max-width: 92%;
    padding: 14px 16px 12px;
    border-radius: 20px;
    backdrop-filter: blur(16px);
  }

  .sbx2-caption-panel h2 {
    font-size: 1.1rem;
  }

  .sbx2-caption-panel p {
    font-size: 0.86rem;
  }

  .sbx2-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .sbx2-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
}


/* MOBILE */
@media(max-width:600px){
  .sbx2-wrapper { height: 250px; }
}

.sbx2-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

.sbx2-visible .sbx2-caption {
  opacity: 1;
  transform: translateY(0);
}

.sbx2-caption h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
}

.sbx2-caption p {
  margin: 0;
  font-size: 1rem;
  opacity: .85;
}

/* موبایل */
@media(max-width:600px){
  .sbx2-caption {
    padding: 14px;
  }
  .sbx2-caption h2 { font-size: 1.2rem; }
  .sbx2-caption p { font-size: .85rem; }
}


.sbx2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MOBILE KEEP FULL IMAGE */
@media(max-width:600px){
  .sbx2-slide img {
    object-fit: contain;
    background: #000; /* برای خالی نماندن فضاها */
  }
}


/* Root namespace */
:root {
  --sbx-glass-bg: rgba(255,255,255,0.08);
  --sbx-glass-border: rgba(255,255,255,0.18);
  --sbx-green: #22c55e;
  --sbx-green-light: #86efac;
  --sbx-green-dark: #166534;
}

/* سکشن */
.sbx-infoselect {
  width: 100%;
  padding: 3rem 1rem;
  text-align: center;
}

.sbx-infoselect h2 {
  font-size: 1.8rem;
  margin-bottom: 2.4rem;
  color: var(--sb-text, #e5e5e5);
}

/* ردیف دکمه‌ها */
.sbx-select-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.sbx-select-row::-webkit-scrollbar {
  display: none;
}

/* دکمه دایره‌ای */
.sbx-select-btn {
  min-width: 110px;
  min-height: 110px;
  border-radius: 50%;
  border: 2px solid var(--sbx-glass-border);
  background: var(--sbx-glass-bg);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 14px;
  transition: 0.3s ease;
}

.sbx-select-btn img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0.8;
  transition: 0.3s ease;
}

.sbx-select-btn span {
  z-index: 5;
  color: white;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

/* Hover */
.sbx-select-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 20px var(--sbx-green-light);
}

.sbx-select-btn:hover img {
  opacity: 1;
}

/* Active */
.sbx-select-btn.active {
  transform: scale(1.25);
  box-shadow: 0 0 25px var(--sbx-green);
  border-color: var(--sbx-green);
}

/* موبایل کوچک */
@media (max-width: 480px) {
  .sbx-select-btn {
    min-width: 80px;
    min-height: 80px;
  }

  .sbx-infoselect h2 {
    font-size: 1.4rem;
  }
}




/* اسلایدر دوم */

/* =============================
   ROOT CONTAINER
   ============================= */
.cinx-wrapper {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 420px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
}

/* =============================
   SLIDES
   ============================= */
.cinx-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.cinx-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.cinx-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinx-slide.cinx-active {
  opacity: 1;
  pointer-events: auto;
}

/* =============================
   CINEMATIC CAPTION BAR
   ============================= */
.cinx-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 26px 40px;
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.35),
      transparent
  );

  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);

  transition:
    opacity 1.1s cubic-bezier(.19,1,.22,1),
    transform 1.1s cubic-bezier(.19,1,.22,1),
    filter 1s ease;
}

.cinx-slide.cinx-active .cinx-caption {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* =============================
   TEXT — Shadow Narrative
   ============================= */
.cinx-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: white;

  text-shadow:
    0 4px 28px rgba(0,0,0,0.75),
    0 0 18px rgba(0,0,0,0.9);

  opacity: 0;
  animation: cinx-title-in 1.2s forwards;
}

@keyframes cinx-title-in {
  0% { opacity: 0; transform: translateY(30px); letter-spacing: -1px; }
  60% { opacity: 1; letter-spacing: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.cinx-desc {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);

  opacity: 0;
  animation: cinx-desc-in 1.5s .25s forwards ease-out;
}

@keyframes cinx-desc-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =============================
   NAV BUTTONS
   ============================= */
.cinx-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.cinx-prev { left: 14px; }
.cinx-next { right: 14px; }

/* =============================
   DOTS
   ============================= */
.cinx-dots {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  z-index: 40;
}

.cinx-dots button {
  width: 12px;
  height: 12px;
  margin: 0 4px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.38);
  transition: width .25s ease, background .25s ease;
}

.cinx-dots button.cinx-on {
  width: 28px;
  border-radius: 20px;
  background: #fff;
}

/* =============================
   MOBILE
   ============================= */
@media(max-width:600px){
  .cinx-wrapper { height: 260px; }

  .cinx-caption {
    padding: 18px 22px;
  }

  .cinx-title { font-size: 1.4rem; }
  .cinx-desc { font-size: 0.9rem; }
}




/* خفن ترین اسلایدر */

:root {
  --uxg-text-main: #ffffff;
  --uxg-text-sub: rgba(235,244,248,0.95);
  --uxg-panel-bg: rgba(15,15,20,0.35);
}

/* ROOT */
.uxg-hero {
  position: relative;
  height: 90vh;
  min-height: 540px;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  isolation: isolate;
  font-family: sans-serif;
  --uxg-mx: 50%;
  --uxg-my: 50%;
}

/* BACKGROUND with parallax base */
.uxg-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: brightness(.93) contrast(1.08);
  transition:
    background-image 1.4s ease,
    transform 8s ease;
}

/* TRIPLE GLASS LAYERS */
.uxg-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* back fog layer */
.uxg-glass-back {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.07), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.6), transparent 60%);
  mix-blend-mode: soft-light;
}

/* mid frosted layer */
.uxg-glass-mid {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.55)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 60%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: .5;
}

/* front subtle shine moving with mouse */
.uxg-glass-front {
  background:
    radial-gradient(circle at var(--uxg-mx) var(--uxg-my),
      rgba(255,255,255,0.18),
      transparent 55%);
  mix-blend-mode: screen;
  opacity: .35;
  transition: background-position .1s linear;
}

/* CAPTION – top right, soft glass */
.uxg-caption {
  position: absolute;
  top: 7%;
  right: 5%;
  max-width: 440px;

  background: var(--uxg-panel-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);

  padding: 24px 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55);

  z-index: 50;
  color: var(--uxg-text-main);

  opacity: 0;
  transform: translateY(24px);
  animation: uxgCapIn 1s ease forwards;
}

@keyframes uxgCapIn {
  to { opacity: 1; transform: translateY(0); }
}

.uxg-caption h3 {
  margin: 0 0 6px;
  opacity: .85;
  font-size: 1rem;
}

.uxg-caption h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.uxg-caption p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--uxg-text-sub);
  margin-bottom: 18px;
}

/* CTA LINK – reactive light */
.uxg-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;
  border-radius: 14px;

  background:
    radial-gradient(circle at var(--uxg-mx) var(--uxg-my),
      rgba(255,255,255,0.32),
      rgba(255,255,255,0.12) 40%,
      transparent 70%);
  backdrop-filter: blur(10px) saturate(1.7);
  -webkit-backdrop-filter: blur(10px) saturate(1.7);

  color: var(--uxg-text-main);
  font-size: 1rem;
  text-decoration: none;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.5),
    0 0 16px rgba(255,255,255,0.35);

  transition: .3s ease;
}

.uxg-cta-link i {
  font-style: normal;
  transform: translateX(0);
  transition: .3s ease;
}

.uxg-cta-link:hover {
  box-shadow:
    0 16px 30px rgba(0,0,0,0.6),
    0 0 22px rgba(255,255,255,0.5);
}

.uxg-cta-link:hover i {
  transform: translateX(5px);
}

/* THUMB CARDS – 3D */
.uxg-thumbs {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  z-index: 40;
}

.uxg-thumb {
  position: relative;
  width: 185px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);

  cursor: pointer;
  transition:
    transform .35s cubic-bezier(.21,1,.24,1),
    box-shadow .35s,
    outline-color .3s;

  transform-style: preserve-3d;
  outline: 2px solid transparent;
}

.uxg-thumb:hover {
  transform: rotateY(8deg) rotateX(2deg) translateY(-6px) scale(1.05);
  box-shadow: 0 30px 45px rgba(0,0,0,0.5);
}

.uxg-thumb.uxg-active {
  outline-color: #ffffff;
}

.uxg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uxg-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;

  padding: 12px;
  color: #fff;

  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  font-size: .9rem;
}

/* PROGRESS */
.uxg-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  height: 4px;
  background: rgba(255,255,255,0.25);
  z-index: 80;
}

.uxg-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width .2s linear;
}

/* ARROWS */
.uxg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;
  color: #fff;
  background: rgba(0,0,0,.45);
  cursor: pointer;
  font-size: 26px;
  z-index: 90;

  backdrop-filter: blur(6px);
}

.uxg-prev { left: 20px; }
.uxg-next { right: 20px; }

/* RESPONSIVE */
@media(max-width: 900px){
  .uxg-caption {
    top: 5%;
    right: 4%;
    max-width: 80%;
  }
}

@media(max-width: 680px){
  .uxg-hero {
    border-radius: 0;
  }

  .uxg-caption {
    top: 4%;
    right: 4%;
    max-width: 92%;
    padding: 18px 20px;
  }

  .uxg-caption h1 {
    font-size: 1.6rem;
  }

  .uxg-thumbs {
    gap: 10px;
    bottom: 4%;
  }

  .uxg-thumb {
    width: 120px;
    height: 160px;
  }

  .uxg-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}
.uxg-hero,
.uxg-bg,
.uxg-glass,
.uxg-glass-front,
.uxg-glass-mid,
.uxg-glass-back {
  border-radius: 28px;
  overflow: hidden;
}
.uxg-hero {
  margin-top: 60px;
}



/* new design */


/* پایه رنگ‌ها – می‌تونی بعداً با SUDL هماهنگ کنی */
:root {
  --eco-bg-deep: #020615;
  --eco-bg-alt: #02121f;
  --eco-teal: #06b6d4;
  --eco-teal-soft: rgba(56,189,248,0.45);
  --eco-green: #22c55e;
  --eco-green-soft: rgba(34,197,94,0.5);
  --eco-leaf: #84cc16;
  --eco-text-main: #e5f0ff;
  --eco-text-soft: #9ca3af;
}

/* HERO WRAPPER */
.eco-hero-shell {
  position: relative;
  margin: 3rem auto 2rem;
  padding: 2.8rem 2.2rem;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, #022c22, #020617 55%, #000 100%);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.9),
    0 0 60px rgba(15,118,110,0.5);
  color: var(--eco-text-main);
}

/* موج‌های پس‌زمینه */
.eco-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eco-hero-bg::before,
.eco-hero-bg::after {
  content:"";
  position:absolute;
  border-radius: 60% 40% 60% 40%;
  filter: blur(18px);
  opacity: 0.7;
}

.eco-hero-bg::before {
  width: 120%;
  height: 120%;
  right: -30%;
  top: -40%;
  background: radial-gradient(circle at 30% 0%, rgba(56,189,248,0.45), transparent 55%);
}

.eco-hero-bg::after {
  width: 120%;
  height: 120%;
  left: -35%;
  bottom: -40%;
  background: radial-gradient(circle at 0% 70%, rgba(34,197,94,0.5), transparent 55%);
}

/* نقطه‌های اسپری‌مانند */
.eco-hero-shell::before {
  content:"";
  position:absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(56,189,248,0.25) 0, transparent 55%),
    radial-gradient(circle at 90% 60%, rgba(34,197,94,0.25) 0, transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events:none;
}

/* لایه محتوا */
.eco-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  z-index: 2;
}

/* LEFT SIDE */
.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--eco-text-soft);
}

.eco-pill-soft {
  background: rgba(15,23,42,0.3);
}

.eco-hero-title {
  margin: 1.4rem 0 .8rem;
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 900;
  color: #f9fafb;
}

.eco-hero-sub {
  margin: 0 0 1.4rem;
  font-size: .98rem;
  line-height: 1.9;
  color: var(--eco-text-soft);
}

.eco-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.8rem;
}

.eco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-size: .9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: .22s ease;
}

.eco-btn-primary {
  background: radial-gradient(circle at 0% 0%, #8bffb5, #22c55e);
  color: #022c22;
  box-shadow:
    0 12px 28px rgba(0,0,0,0.8),
    0 0 26px rgba(34,197,94,0.8);
}

.eco-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.9),
    0 0 36px rgba(34,197,94,0.9);
}

.eco-btn-ghost {
  background: rgba(15,23,42,0.65);
  border-color: rgba(148,163,184,0.7);
  color: var(--eco-text-main);
}

.eco-btn-ghost:hover {
  background: rgba(15,23,42,0.9);
}

/* METRICS */
.eco-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.eco-metric {
  min-width: 140px;
}

.eco-metric strong {
  display:block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .15rem;
}

.eco-metric span {
  font-size: .8rem;
  color: var(--eco-text-soft);
}

/* RIGHT SIDE – SCENE STACK */
.eco-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.eco-scene-stack {
  position: relative;
}

.eco-scene-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1rem 1.1rem .9rem;
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.9), rgba(15,23,42,0.96));
  border: 1px solid rgba(148,163,184,0.7);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.85),
    0 0 30px rgba(56,189,248,0.4);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .4s ease, transform .4s ease;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.eco-scene-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  position: relative;
}

/* HEADER کوچک هر صحنه */
.eco-scene-header {
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap:.5rem;
  font-size:.78rem;
  color: var(--eco-text-soft);
}

.eco-scene-tag {
  padding: .18rem .7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.6);
}

.eco-scene-status .dot {
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--eco-green);
  box-shadow: 0 0 8px rgba(34,197,94,0.9);
  margin-left:.25rem;
}

.eco-scene-status .dot-idle {
  background:#f59e0b;
  box-shadow:0 0 8px rgba(245,158,11,0.9);
}

.eco-scene-status .dot-sync {
  background:#38bdf8;
  box-shadow:0 0 8px rgba(56,189,248,0.9);
}

/* VISUALS – بالکنی */
.eco-scene-visual {
  position:relative;
  border-radius:18px;
  overflow:hidden;
  padding:1rem;
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.25), rgba(15,23,42,0.98));
}

.eco-wave {
  position:absolute;
  inset:auto;
  width:160%;
  height:120%;
  border-radius:50%;
  filter: blur(20px);
  opacity:.7;
}

.eco-wave-1 {
  bottom:-55%;
  right:-20%;
  background: radial-gradient(circle at 20% 0%, rgba(34,197,94,0.7), transparent 60%);
}

.eco-wave-2 {
  top:-55%;
  left:-30%;
  background: radial-gradient(circle at 80% 100%, rgba(56,189,248,0.7), transparent 60%);
}

/* گلدان‌ها */
.eco-pot-row {
  position:relative;
  display:flex;
  justify-content:space-around;
  align-items:flex-end;
  gap:.8rem;
  z-index:2;
  margin-top:1.2rem;
}

.eco-pot {
  width:38px;
  height:42px;
  border-radius:0 0 18px 18px;
  background: linear-gradient(180deg,#0f172a,#020617);
  border:1px solid rgba(148,163,184,0.7);
  box-shadow:0 8px 18px rgba(0,0,0,0.9);
  position:relative;
}

.eco-pot::before {
  content:"";
  position:absolute;
  left:50%;
  top:-12px;
  width:26px;
  height:18px;
  border-radius:18px 18px 8px 8px;
  background: linear-gradient(145deg,#22c55e,#4ade80);
  transform: translateX(-50%);
}

/* لوله و قطره */
.eco-drip-line {
  position:absolute;
  top:12px;
  left:12%;
  right:12%;
  height:2px;
  background: linear-gradient(90deg, rgba(56,189,248,0.6), rgba(34,197,94,0.9));
  opacity:.9;
  border-radius:999px;
}

.eco-drop {
  position:absolute;
  width:8px;
  height:12px;
  border-radius:999px;
  background: rgba(56,189,248,0.9);
  filter: blur(.3px);
  opacity:.9;
  animation: eco-drop 1.6s ease-in infinite;
}

.eco-drop-1 { left:26%; top:18px; }
.eco-drop-2 { left:66%; top:18px; animation-delay:.5s; }

@keyframes eco-drop {
  0% { transform: translateY(0); opacity:1; }
  100%{ transform: translateY(22px); opacity:0; }
}

/* VISUALS – چمن */
.eco-scene-visual--lawn {
  background: radial-gradient(circle at 50% 110%, #14532d, #020617 55%);
}

.eco-hill {
  position:absolute;
  inset:auto;
  bottom:-40%;
  left:-5%;
  width:130%;
  height:80%;
  border-radius:50%;
  background: radial-gradient(circle at 50% 0%, #22c55e, #166534 65%, #020617 100%);
}

.eco-tree {
  position:absolute;
  bottom:10px;
  width:40px;
  height:60px;
  border-radius:16px;
  background: linear-gradient(180deg,#14532d,#022c22);
}

.eco-tree::before {
  content:"";
  position:absolute;
  bottom:40px;
  left:-20px;
  right:-20px;
  height:40px;
  border-radius:50%;
  background: radial-gradient(circle at 50% 0%, #a3e635, #4ade80);
  box-shadow:0 10px 22px rgba(0,0,0,0.7);
}

.eco-tree-1 { left:18%; }
.eco-tree-2 { right:18%; }

.eco-sprinkler {
  position:absolute;
  bottom:8px;
  left:50%;
  width:22px;
  height:14px;
  background:#020617;
  border-radius:8px 8px 4px 4px;
  border:1px solid rgba(148,163,184,0.7);
  transform: translateX(-50%);
}

.eco-rain {
  position:absolute;
  width:60px;
  height:40px;
  border-radius:50%;
  border-top:2px solid rgba(56,189,248,0.9);
  top:40%;
  left:50%;
  transform: translateX(-50%);
  opacity:.8;
}

.eco-rain-1 {
  box-shadow:
    -10px -10px 0 rgba(56,189,248,0.6),
    10px -10px 0 rgba(56,189,248,0.4);
}

/* VISUALS – گلخانه */
.eco-scene-visual--greenhouse {
  background: radial-gradient(circle at 50% 120%, #064e3b, #020617 55%);
}

.eco-greenhouse-frame {
  position:absolute;
  inset:auto;
  left:12%;
  right:12%;
  bottom:10px;
  height:70%;
  border-radius:18px;
  border:1px solid rgba(148,163,184,0.8);
  box-shadow:0 18px 30px rgba(0,0,0,0.9);
}

.eco-fog-layer {
  position:absolute;
  inset:auto;
  left:5%;
  right:5%;
  bottom:0;
  height:45%;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.45), transparent 60%);
  filter: blur(6px);
  opacity:.8;
}

.eco-fog-2 {
  bottom:10%;
  opacity:.6;
}

.eco-plant-grid {
  position:absolute;
  inset:auto;
  left:16%;
  right:16%;
  bottom:20px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}

.eco-plant-grid .plant {
  width:30px;
  height:40px;
  border-radius:999px;
  background: radial-gradient(circle at 50% 0%, #bbf7d0, #22c55e);
}

/* FOOTER CARD */
.eco-scene-footer {
  display:flex;
  justify-content:space-between;
  gap:.8rem;
  font-size:.78rem;
  margin-top:.3rem;
}

.eco-scene-footer .label {
  display:block;
  color: var(--eco-text-soft);
  margin-bottom:.1rem;
}

/* TABS */
.eco-scene-tabs {
  display:flex;
  justify-content:flex-start;
  gap:.6rem;
}

.eco-scene-tab {
  flex:1;
  max-width:140px;
  padding:.4rem .2rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.6);
  background:rgba(15,23,42,0.8);
  color:var(--eco-text-soft);
  font-size:.78rem;
  cursor:pointer;
  transition:.22s ease;
}

.eco-scene-tab.is-active {
  background: linear-gradient(90deg,#22c55e,#38bdf8);
  color:#022c22;
  border-color:transparent;
  box-shadow:0 10px 20px rgba(0,0,0,0.8);
}

/* DASHBOARD SECTION */
.eco-dashboard {
  margin: 2.6rem auto 3.2rem;
}

.eco-dashboard-inner {
  display:grid;
  grid-template-columns: minmax(0, 2fr) minmax(0,1fr) minmax(0,1fr);
  gap:1.6rem;
}

/* پنل‌ها */
.eco-panel {
  border-radius:24px;
  padding:1.2rem 1.2rem 1rem;
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
  border:1px solid rgba(148,163,184,0.7);
  box-shadow:0 18px 40px rgba(0,0,0,0.9);
  color:var(--eco-text-main);
}

.eco-panel-main h2 {
  margin:0 0 .25rem;
  font-size:1.2rem;
}

.eco-panel-header {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:flex-start;
}

.eco-panel-header p {
  margin:0;
  font-size:.85rem;
  color:var(--eco-text-soft);
}

/* چارت جنگلی */
.eco-chart-forest {
  margin-top:1rem;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  padding:1rem 1.2rem 1.4rem;
  background: radial-gradient(circle at 50% 110%, #064e3b, #020617 55%);
}

.eco-chart-hills .hill {
  position:absolute;
  bottom:-35%;
  width:140%;
  height:70%;
  border-radius:50%;
  background: radial-gradient(circle at 50% 0%, #22c55e, #14532d 60%, #020617 100%);
  opacity:.8;
}

.eco-chart-hills .hill-2 {
  bottom:-32%;
  background: radial-gradient(circle at 40% 0%, #4ade80, #166534 60%, #020617 100%);
}

.eco-chart-hills .hill-3 {
  bottom:-29%;
  background: radial-gradient(circle at 60% 0%, #bbf7d0, #15803d 60%, #020617 100%);
}

/* درخت‌ نمادین */
.eco-chart-trees .tree {
  position:absolute;
  bottom:10px;
  width:34px;
  height:46px;
  border-radius:16px;
  background: linear-gradient(180deg,#14532d,#022c22);
}

.eco-chart-trees .tree::before {
  content:"";
  position:absolute;
  bottom:32px;
  left:-18px;
  right:-18px;
  height:36px;
  border-radius:50%;
  background: radial-gradient(circle at 50% 0%, #a3e635, #4ade80);
  box-shadow:0 10px 20px rgba(0,0,0,0.7);
}

.eco-chart-trees .t1 { left:14%; }
.eco-chart-trees .t2 { left:46%; }
.eco-chart-trees .t3 { right:16%; }

/* ستون‌های دیتای ساده */
.eco-chart-bars {
  position:relative;
  display:flex;
  gap:.4rem;
  align-items:flex-end;
  height:120px;
  margin-top:1.2rem;
}

.eco-chart-bars .bar {
  flex:1;
  max-width:26px;
  border-radius:999px;
  background: linear-gradient(180deg,#38bdf8,#0ea5e9,#0369a1);
  height:var(--h);
  box-shadow:0 8px 16px rgba(15,23,42,0.9);
}

/* Footer پنل */
.eco-panel-footer {
  margin-top:1rem;
  font-size:.8rem;
  color:var(--eco-text-soft);
}

.eco-panel-footer-grid {
  display:grid;
  grid-template-columns:1.4fr 1.1fr;
  gap:.9rem;
}

/* پنل‌های کوچک */
.eco-panel-mini h3 {
  margin:0 0 .8rem;
  font-size:.95rem;
}

.eco-list {
  list-style:none;
  margin:0;
  padding:0;
}

.eco-list li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.8rem;
  padding:.4rem 0;
  border-bottom:1px solid rgba(15,23,42,0.9);
}

.eco-list li:last-child {
  border-bottom:none;
}

.eco-list strong {
  font-size:.78rem;
  border-radius:999px;
  padding:.12rem .7rem;
}

.eco-list .ok {
  background:rgba(22,163,74,0.16);
  color:#bbf7d0;
}

.eco-list .warn {
  background:rgba(250,204,21,0.18);
  color:#facc15;
}

/* رادیال متر */
.eco-radial-wrapper {
  display:flex;
  justify-content:center;
  margin-bottom:.8rem;
}

.eco-radial {
  width:120px;
  height:120px;
  border-radius:50%;
  background: conic-gradient(from -90deg,#22c55e 0 51%, rgba(30,64,175,0.8) 51% 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 16px 32px rgba(0,0,0,0.9);
}

.eco-radial-inner {
  width:82px;
  height:82px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 0%, #0f172a, #020617 60%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:var(--eco-text-main);
  font-size:.8rem;
}

.eco-radial-inner strong {
  margin-top:.15rem;
  font-size:1.05rem;
}

.eco-note {
  font-size:.78rem;
  color:var(--eco-text-soft);
  line-height:1.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .eco-hero-inner {
    grid-template-columns: 1.1fr;
  }
  .eco-hero-right {
    order: -1;
  }
  .eco-dashboard-inner {
    grid-template-columns: minmax(0,1.7fr) minmax(0,1.3fr);
  }
}

@media (max-width: 768px) {
  .eco-hero-shell {
    padding: 2rem 1.3rem;
    border-radius: 22px;
  }
  .eco-hero-inner {
    gap: 1.8rem;
  }
  .eco-hero-title {
    font-size: 1.8rem;
  }
  .eco-dashboard-inner {
    grid-template-columns: minmax(0,1fr);
  }
  .eco-scene-card {
    min-height: 260px;
  }
}


.cinx-slide a.banner-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
}
