/* ══════════════════════════════════════════
   AffittiPro — Landing Page
   ══════════════════════════════════════════ */

.landing-body {
  overflow-x: hidden;
}

/* === Hero con barre === */
.landing-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stripes {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 6px;
  padding: 3vh 2vw;
  will-change: transform, opacity;
}

.stripe {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

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

.stripe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.0) 30%,
    rgba(0, 0, 0, 0.5) 85%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.stripe-label {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

/* === Hero overlay branding === */
.hero-overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.brand-pre {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffd97a;
  margin-bottom: 0.6rem;
}

.brand-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: #fff;
  margin: 0;
}

.brand-sub {
  margin-top: 1rem;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  display: inline-block;
}

.scroll-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-decoration: none;
  pointer-events: all;
  animation: bounce 2s ease-in-out infinite;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
}

.scroll-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* === Login section === */
.login-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 2rem;
}

.login-box {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  backdrop-filter: blur(24px);
}

.login-box.visible {
  /* kept for JS compatibility */
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff !important;
}

.login-header p {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

.login-box .field {
  margin-bottom: 1.4rem;
}

.login-box .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 0.45rem;
}

.login-box .input-wrapper {
  position: relative;
  width: 100%;
}

.login-box .input-wrapper input {
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 25px;
  color: #fff !important;
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.login-box .pwd-toggle {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.login-box .pwd-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.login-box .input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
}

.login-box .input-wrapper input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(201, 164, 76, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.08) !important;
}

.login-box .btn-login {
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, #c9a44c 0%, #7a5a1e 100%);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.login-box .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 164, 76, 0.25);
}

.login-box .login-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.login-box .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.login-box .alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .stripes {
    gap: 4px;
    padding: 2vh 3vw;
  }

  .stripe { border-radius: 10px; }
  .stripe-label { font-size: 0.65rem; bottom: 1rem; }
}
