/* Trade Union SaaS - Landing & Authentication Stylesheet */

.landing-page-wrapper {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
}

/* Ambient glow orbs */
.ambient-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.18);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: rgba(139, 92, 246, 0.12);
  bottom: -100px;
  left: -100px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.08);
  top: 40%;
  left: 30%;
}

/* Landing Top Navigation */
.landing-top-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.brand-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-lockup .brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-texts .brand-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.02em;
}

.brand-texts .brand-accent {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-texts .brand-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Landing Hero Container */
.landing-hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 80px 60px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-subtle);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary-500);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-headline {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-card .stat-number {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--primary-600);
}

.hero-stat-card .stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Demo Logins Section */
.demo-logins-container {
  max-width: 620px;
}

.demo-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.demo-card-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
}

.demo-card-btn:hover {
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.demo-btn-avatar img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--primary-400);
}

.demo-btn-text strong {
  display: block;
  font-size: 12.5px;
  color: var(--text-primary);
}

.demo-btn-text span {
  display: block;
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.demo-enter-arrow {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 13px;
  color: var(--primary-500);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.demo-card-btn:hover .demo-enter-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Hero Auth Card */
.hero-auth-card {
  position: relative;
}

.auth-card-glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.auth-tabs {
  display: flex;
  background: var(--bg-surface-hover);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.auth-card-header {
  margin-bottom: 20px;
}

.auth-card-header h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.auth-card-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-tertiary);
}

.input-icon-wrap .form-input {
  padding-left: 42px;
}

.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-row-check {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
}

.auth-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .landing-top-nav {
    padding: 20px;
  }
  .landing-hero-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 40px;
  }
  .hero-headline {
    font-size: 32px;
  }
  .demo-buttons-grid {
    grid-template-columns: 1fr;
  }
}
