/* ========================================
   Landing Page Styles
   ======================================== */

.landing-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  position: relative;
  overflow-x: hidden;
}

.landing-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.landing-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.landing-bubbles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: bubble 20s infinite linear;
}
.landing-bubbles span:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  bottom: -100px;
  animation-duration: 22s;
}
.landing-bubbles span:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 30%;
  bottom: -150px;
  animation-duration: 28s;
  animation-delay: 2s;
}
.landing-bubbles span:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 55%;
  bottom: -80px;
  animation-duration: 18s;
  animation-delay: 5s;
}
.landing-bubbles span:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 75%;
  bottom: -120px;
  animation-duration: 24s;
  animation-delay: 8s;
}
.landing-bubbles span:nth-child(5) {
  width: 140px;
  height: 140px;
  left: 88%;
  bottom: -180px;
  animation-duration: 30s;
  animation-delay: 1s;
}

@keyframes bubble {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) translateX(40px);
    opacity: 0;
  }
}

.landing-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.landing-header {
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

.landing-logo {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 42px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.landing-header h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.landing-header p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 720px) {
  .landing-cards {
    grid-template-columns: 1fr;
  }
  .landing-header h1 {
    font-size: 28px;
  }
  .landing-header p {
    font-size: 15px;
  }
  .landing-wrap {
    padding: 40px 18px;
  }
}

.gate-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 5px;
  background: var(--gate-color, var(--primary));
}
.gate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.gate-card[data-gate="control"] {
  --gate-color: #4f46e5;
}
.gate-card[data-gate="admin"] {
  --gate-color: #06b6d4;
}

.gate-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 38px;
  color: #fff;
  background: var(--gate-color);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--gate-color) 35%, transparent);
}

.gate-card h2 {
  font-size: 23px;
  margin-bottom: 8px;
  color: var(--text);
}

.gate-card p {
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 48px;
  font-size: 14px;
}

.gate-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: start;
  width: 100%;
}
.gate-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 13.5px;
}
.gate-features li i {
  color: var(--gate-color);
  font-size: 13px;
  flex-shrink: 0;
}

.gate-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gate-color);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  margin-top: auto;
}
.gate-card:hover .gate-action {
  gap: 14px;
  transform: translateX(-4px);
}

.landing-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
}
.landing-footer .stack {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.landing-footer .stack span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
}
