/* ============================================================================
   LUMIQ STUDIO — LOGIN PAGE
   Brand-aligned: #0A0A0C, #9B1515, #F8F6F2, Outfit font
   ============================================================================ */

/* Legacy overlay class kept for backwards compat */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A0A0C;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* In-flow login section (inside landing page) */
.login-section {
  position: relative;
  min-height: 100vh;
  background: #0A0A0C;
  overflow: hidden;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-section-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* ---- Animated background grid ---- */
.login-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155,21,21,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,21,21,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ---- Floating orbs ---- */
.login-accent-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.login-orb-1 {
  width: 400px;
  height: 400px;
  background: #9B1515;
  top: -100px;
  right: -80px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.login-orb-2 {
  width: 300px;
  height: 300px;
  background: #9B1515;
  bottom: -60px;
  left: 10%;
  animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* ---- LEFT PANEL: Brand showcase ---- */
.login-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 56px;
  gap: 32px;
  border-right: 1px solid rgba(155,21,21,0.15);
}

.login-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-brand-mark {
  font-size: 28px;
  font-weight: 700;
  color: #F8F6F2;
  letter-spacing: -0.5px;
}

.login-dot,
.login-card-dot {
  color: #9B1515;
}

.login-brand-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(248,246,242,0.52);
  padding-left: 16px;
  border-left: 1px solid rgba(248,246,242,0.1);
}

.login-hero-headline {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #F8F6F2;
  margin: 0;
  animation: heroSlide 0.8s ease-out;
}

.login-hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: rgba(248,246,242,0.65);
  line-height: 1.65;
  max-width: 420px;
  margin: 0;
  text-align: center;
  animation: heroSlide 0.8s ease-out 0.1s both;
}

@keyframes heroSlide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats row */
.login-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  animation: heroSlide 0.8s ease-out 0.2s both;
}

.login-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #9B1515;
  letter-spacing: -0.5px;
  font-family: 'JetBrains Mono', monospace;
}

.login-stat-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(248,246,242,0.52);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.login-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(248,246,242,0.08);
}

/* Capabilities list */
.login-capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: heroSlide 0.8s ease-out 0.3s both;
}

.login-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(248,246,242,0.6);
  letter-spacing: 0.2px;
}

.login-cap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9B1515;
  flex-shrink: 0;
}

/* Brand quote */
.login-brand-quote {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: rgba(248,246,242,0.45);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(248,246,242,0.06);
  animation: heroSlide 0.8s ease-out 0.4s both;
}

/* ---- RIGHT PANEL: Login card ---- */
.login-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-card {
  width: 100%;
  max-width: 340px;
  background: rgba(15,15,18,0.85);
  border: 1px solid rgba(155,21,21,0.2);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 60px rgba(155,21,21,0.08),
    0 24px 48px rgba(0,0,0,0.4);
  animation: cardAppear 0.6s ease-out 0.2s both;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card-logo {
  width: 52px;
  height: 52px;
  background: #9B1515;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #F8F6F2;
}

.login-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #F8F6F2;
  margin: 0;
  text-align: center;
  letter-spacing: -0.3px;
}

.login-card-desc {
  font-size: 13px;
  color: rgba(248,246,242,0.55);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* Google sign-in button */
.login-google-btn {
  width: 100%;
  padding: 13px 20px;
  background: #F8F6F2;
  border: none;
  border-radius: 10px;
  color: #0A0A0C;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.login-google-btn:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(155,21,21,0.15);
}

.login-google-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.login-card-footer {
  font-size: 11px;
  color: rgba(248,246,242,0.38);
  text-align: center;
  line-height: 1.6;
  margin: 4px 0 0 0;
  font-style: italic;
}

/* ---- Bottom bar ---- */
.login-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 56px;
  border-top: 1px solid rgba(248,246,242,0.04);
}

.login-bottom-copy,
.login-bottom-tagline {
  font-size: 11px;
  color: rgba(248,246,242,0.38);
  letter-spacing: 0.5px;
}

.login-bottom-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .login-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .login-section-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .login-left {
    padding: 40px 28px 24px;
    gap: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(155,21,21,0.15);
  }

  .login-hero-headline {
    font-size: 32px;
  }

  .login-stats-row {
    gap: 16px;
  }

  .login-stat-num {
    font-size: 22px;
  }

  .login-capabilities {
    display: none;
  }

  .login-right {
    padding: 24px;
  }

  .login-card {
    max-width: 360px;
    padding: 32px 24px;
  }

  .login-bottom-bar {
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .login-left {
    padding: 28px 20px 20px;
  }

  .login-hero-headline {
    font-size: 26px;
  }

  .login-hero-sub {
    font-size: 13px;
  }

  .login-stats-row {
    gap: 12px;
  }

  .login-stat-num {
    font-size: 18px;
  }

  .login-card {
    padding: 28px 20px;
  }

  .login-bottom-bar {
    flex-direction: column;
    gap: 4px;
    padding: 10px 20px;
  }
}
