/* ===== Hero Section Styles ===== */
.hero-wrapper {
  overflow: visible;
  width: 100%;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  perspective: 1200px;
  overflow: visible;
  position: relative;
  z-index: 10;
}

.visual-container {
  flex: 1.5;
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.text-container {
  flex: 1;
  padding-left: 4rem;
  z-index: 10;
}

.text-subtitle {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: normal;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  color: #1a2e26;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.text-desc {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.cta-btn {
  background-color: #1a2e26;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 46, 38, 0.2);
}

/* --- 3D Monitor (from hero3.html) --- */
.monitor-wrap {
  width: 700px;
  height: 420px;
  position: relative;
  transform: rotateY(15deg) rotateX(5deg);
  transition: transform 0.1s linear;
  transform-style: preserve-3d;
  margin-bottom: 100px;
}

.monitor-stand {
  position: absolute;
  left: 50%;
  top: 98%;
  transform: translateX(-50%) translateZ(-50px);
  width: 100px;
  height: 120px;
  background: #14241e;
  z-index: -1;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

.monitor-base {
  position: absolute;
  left: 50%;
  top: calc(98% + 120px);
  width: 220px;
  height: 140px;
  background: #1a2e26;
  transform-origin: top center;
  transform: translateX(-50%) translateZ(-50px) rotateX(90deg);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3), 0 50px 60px rgba(0,0,0,0.2);
  transform-style: preserve-3d;
}

.monitor-base::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #0f1c17;
  transform-origin: bottom;
  transform: rotateX(-90deg);
  border-radius: 0 0 12px 12px;
}

.monitor-frame {
  position: absolute;
  inset: 0;
  background: #1a2e26;
  border-radius: 20px;
  box-shadow:
    -5px 5px 20px rgba(0,0,0,0.2),
    inset 0 0 0 2px rgba(255,255,255,0.1);
  padding: 15px;
  transform: translateZ(0px);
  z-index: 2;
}

.screen {
  background: #f4f4f0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
  display: flex;
  padding: 20px;
  gap: 15px;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.col-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #999;
  margin-bottom: 5px;
}

.card {
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  font-size: 0.75rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-line {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  width: 60%;
}

.card-line.long {
  width: 90%;
}

.card-tag {
  width: 30px;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
}

.avatar {
  width: 16px;
  height: 16px;
  background: #ddd;
  border-radius: 50%;
  align-self: flex-end;
}

.floating-ui-card {
  position: absolute;
  top: 38%;
  left: 32%;
  width: 240px;
  background: #1a2e26;
  border-radius: 10px;
  padding: 18px;
  z-index: 20;
  color: white;
  transform: translateZ(40px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.ui-label {
  font-size: 0.65rem;
  color: #8fa39a;
  margin-bottom: 4px;
}

.ui-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ui-progress {
  background: rgba(255,255,255,0.1);
  height: 5px;
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.ui-bar {
  width: 45%;
  height: 100%;
  background: #4ade80;
}

.icon-cursor {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transform: translateZ(10px);
  z-index: 30;
}

.floater {
  position: absolute;
  z-index: 5;
  transition: transform 0.1s linear;
}

.icon-mag {
  bottom: -40px;
  left: -100px;
  width: 140px;
  transform: translateZ(100px);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.icon-folder {
  top: -70px;
  right: 0px;
  width: 90px;
  transform: translateZ(50px);
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}

.side-card {
  position: absolute;
  left: -50px;
  top: 25%;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  width: 110px;
  transform: translateZ(-20px) rotateY(-15deg);
  box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
  font-size: 0.7rem;
  font-weight: bold;
  color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column-reverse;
    padding-top: 40px;
    min-height: auto;
  }
  .text-container {
    padding-left: 0;
    text-align: center;
    margin-top: 50px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .text-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .monitor-wrap {
    width: 90vw;
    height: 55vw;
  }
}
