/* =========================================================
   GLASS PANEL
========================================================= */

.glass-panel {
  width: min(92vw, 1000px);
  min-height: 65vh;
  max-height: 600px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px 24px;

  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: white;

  border-radius: var(--radius-large);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );

  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
}

/* =========================================================
   MOBILE GLASS PANEL
========================================================= */

@media (max-width: 768px) {
  .glass-panel {
    min-height: 65vh;
    max-height: none;
    height: auto;

    padding: 32px 20px;
    align-items: flex-start;
  }
}


/* =========================================================
   PANEL LAYOUT
========================================================= */

.panel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  text-align: center;
}

.panel-content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.panel-text p {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
  text-align: left;
  line-height: 1.6;
}


/* =========================================================
   PANEL LIST
========================================================= */

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-list li {
  position: relative;
  padding-left: 18px;

  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
  color: rgba(255,255,255,0.92);
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;

  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 6px rgba(76,175,80,0.5);
}


/* =========================================================
   PANEL IMAGE
========================================================= */

.panel-image {
  display: flex;
  justify-content: center;
}

.panel-image img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;

  border-radius: 18px;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.25),
    0 4px 12px rgba(0,0,0,0.15);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
  position: relative;
  margin-bottom: 16px;

  font-size: 1.8rem;
  font-weight: 700;
  text-align: left;
  color: var(--blue-sky);
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--green-accent),
    transparent
  );

  transform: scaleX(0);
  transform-origin: center;
  animation: lineLoop 20s ease-in-out infinite;
}

@keyframes lineLoop {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  5% {
    transform: scaleX(1);
    opacity: 1;
  }
  40% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}


/* =========================================================
   DESKTOP LAYOUT
========================================================= */

@media (min-width: 900px) {
  .panel-layout {
    grid-template-columns: 420px 1fr;
    gap: 60px;
    padding: 20px 40px;
    text-align: left;
  }

  .panel-image {
    justify-content: center;
  }

  .panel-content {
    margin: 0;
  }
}