﻿.monitor-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.9fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(42px, 8vw, 92px) 0 44px;
}

.monitor-copy h1,
.monitor-section h2,
.dashboard-copy h2,
.timeline-section h2 {
  margin: 0;
  color: #ffffff;
  letter-spacing: 0;
}

.monitor-copy h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  line-height: 0.93;
}

.monitor-copy p:last-of-type,
.dashboard-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.58;
}

.monitor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button.compact,
.button.secondary-action {
  grid-column: auto;
  padding-inline: 18px;
}

.button.secondary-action {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.camera-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.camera-header,
.camera-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.camera-header {
  border-bottom: 1px solid var(--line);
}

.camera-header span:last-child,
.camera-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4f5f;
  box-shadow: 0 0 0 6px rgba(255, 79, 95, 0.14);
}

.camera-view {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #08202b;
}

.camera-view img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-view::after {
  content: "AI monitoring view";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(3, 16, 19, 0.72);
  color: rgba(244, 251, 251, 0.88);
  font-size: 0.76rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.fish-shape {
  position: absolute;
  width: 72px;
  height: 34px;
  border-radius: 55% 45% 45% 55%;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.fish-shape::before {
  content: "";
  position: absolute;
  right: -20px;
  top: 7px;
  border-left: 24px solid var(--coral);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.fish-one {
  left: 18%;
  top: 34%;
}

.fish-two {
  right: 20%;
  top: 46%;
  transform: scale(0.78) rotate(6deg);
  background: linear-gradient(135deg, var(--reef), #7ea7ff);
}

.fish-two::before {
  border-left-color: #7ea7ff;
}

.fish-three {
  left: 42%;
  top: 62%;
  transform: scale(0.58) rotate(-7deg);
  background: linear-gradient(135deg, var(--leaf), var(--reef));
}

.fish-three::before {
  border-left-color: var(--reef);
}

.bubble {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
}

.b1 {
  width: 18px;
  height: 18px;
  left: 72%;
  top: 24%;
}

.b2 {
  width: 10px;
  height: 10px;
  left: 78%;
  top: 16%;
}

.b3 {
  width: 14px;
  height: 14px;
  left: 12%;
  top: 20%;
}

.plant {
  position: absolute;
  bottom: 18px;
  width: 14px;
  height: 92px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--leaf), #278c68);
  transform-origin: bottom center;
}

.plant::before,
.plant::after {
  content: "";
  position: absolute;
  bottom: 16px;
  width: 12px;
  height: 66px;
  border-radius: 999px 999px 0 0;
  background: inherit;
}

.plant::before {
  left: -18px;
  transform: rotate(-18deg);
}

.plant::after {
  right: -18px;
  transform: rotate(18deg);
}

.plant-left {
  left: 12%;
}

.plant-right {
  right: 14%;
  height: 74px;
}

.camera-stats {
  border-top: 1px solid var(--line);
  background: rgba(3, 16, 19, 0.42);
}

.camera-stats div {
  display: grid;
  gap: 3px;
}

.camera-stats strong {
  color: #ffffff;
}

.monitor-section,
.dashboard-section,
.timeline-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(22px, 5vw, 52px);
  margin-top: 52px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.monitor-section h2,
.dashboard-copy h2,
.timeline-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-list article,
.metric-card,
.timeline article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 16, 19, 0.42);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(82, 227, 207, 0.16);
  color: var(--reef);
  font-weight: 950;
}

.feature-list h3,
.timeline h3 {
  margin: 0 0 8px;
}

.feature-list p,
.timeline p,
.metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card span,
.timeline time {
  color: var(--reef);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 8px 0 6px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.metric-card.warning strong {
  color: var(--sun);
}

.timeline {
  display: grid;
  gap: 12px;
}

.setup-section {
  grid-template-columns: 0.7fr 1.3fr;
}

@media (max-width: 920px) {
  .monitor-hero,
  .monitor-section,
  .dashboard-section,
  .timeline-section,
  .setup-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-list,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .monitor-section,
  .dashboard-section,
  .timeline-section {
    padding: 22px;
  }

  .camera-stats {
    align-items: flex-start;
    flex-direction: column;
  }
}

