/* ═══════════════════════════════════════════════════════════════
   login.css — Landing page styles for TracerStudy (login.php)
   Modular CSS, loaded only on login.php
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: #fff;
  overflow-x: hidden;
  margin: 0;
}

/* ══ NAVBAR ═══════════════════════════════════════════════════ */
.lp-navbar {
  background: var(--primary-gradient);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(99,23,195,.28);
}
.lp-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  text-decoration: none;
}
.lp-navbar .navbar-brand .brand-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.lp-navbar .navbar-brand span { color: rgba(255,255,255,.65); }

.lp-navbar .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: background .18s;
}
.lp-navbar .nav-link:hover,
.lp-navbar .nav-link.active { background: rgba(255,255,255,.15); color: #fff !important; }

.lp-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(99,23,195,.2);
  padding: 8px;
  min-width: 170px;
  margin-top: 8px;
}
.lp-navbar .dropdown-item {
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  padding: 9px 14px;
  color: var(--primary-dark);
  transition: background .15s;
}
.lp-navbar .dropdown-item:hover { background: rgba(99,23,195,.08); }
.lp-navbar .dropdown-item i { margin-right: 8px; }
.lp-navbar .navbar-toggler {
  border: none; padding: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
}
.lp-navbar .navbar-toggler-icon { filter: invert(1); }

/* ══ HERO ═════════════════════════════════════════════════════ */
.lp-hero {
  background: var(--primary-gradient);
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  background: rgba(255,255,255,.055);
  border-radius: 50%;
  top: -160px; right: -120px;
  pointer-events: none;
}
.lp-hero::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: rgba(255,255,255,.045);
  border-radius: 50%;
  bottom: -80px; left: -80px;
  pointer-events: none;
}
.lp-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0;
}
.lp-hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,.65);
}
.lp-hero .hero-lead {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .88rem;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  color: var(--primary-dark);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.38);
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  transform: translateY(-2px);
}

/* hero right glass card */
.hero-glass {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 30px 28px;
  color: #fff;
}
.hero-glass .hg-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .6;
  margin-bottom: 18px;
}
.hero-glass .hg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
}
.hero-glass .hg-item .hg-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.hero-glass .hg-item .hg-title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
}
.hero-glass .hg-item .hg-sub {
  font-size: .7rem;
  opacity: .6;
}
.hero-glass .hg-footer {
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: 18px;
  padding-top: 14px;
  font-size: .75rem;
  opacity: .65;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══ FOOTER ═══════════════════════════════════════════════════ */
.lp-footer {
  background: #f1f5f9;
  padding: 52px 0 0;
  border-top: 1px solid rgba(0,0,0,.07);
}
.lp-footer .footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.lp-footer .footer-brand-icon {
  width: 36px; height: 36px;
  background: var(--primary-gradient);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.lp-footer .footer-brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--neutral-dark);
  letter-spacing: -.01em;
}
.lp-footer .footer-brand-name span {
  color: #94a3b8;
  font-weight: 400;
}
.lp-footer .footer-desc {
  color: #64748b;
  font-size: .8rem;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.lp-footer .footer-col-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #94a3b8;
  margin-bottom: 16px;
}
.lp-footer .footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: .82rem;
  text-decoration: none;
  padding: 4px 0;
  transition: color .15s;
}
.lp-footer .footer-link:hover { color: var(--primary-dark); }
.lp-footer .footer-link i { font-size: .75rem; opacity: .6; }

.lp-footer .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: .82rem;
  padding: 4px 0;
}
.lp-footer .footer-contact-item i {
  width: 28px; height: 28px;
  background: rgba(0,0,0,.06);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--primary-dark);
}

.lp-footer .social-btn {
  width: 34px; height: 34px;
  background: rgba(0,0,0,.06);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #64748b;
  font-size: .9rem;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.lp-footer .social-btn:hover {
  background: var(--primary-gradient);
  color: #fff;
}

.lp-footer .footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-footer .footer-bottom p {
  font-size: .76rem;
  color: #94a3b8;
  margin: 0;
}
.lp-footer .footer-bottom p strong {
  color: #64748b;
  font-weight: 600;
}

/* back to top */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 42px; height: 42px;
  background: var(--primary-gradient) !important;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(99,23,195,.4);
  display: none;
  align-items: center; justify-content: center;
  text-decoration: none;
  z-index: 999;
  transition: transform .2s;
}
.back-to-top:hover { transform: translateY(-3px); }

/* ══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .lp-hero { min-height: auto; padding: 60px 0 80px; }
  .hero-glass { margin-top: 36px; }
}
@media (max-width: 767.98px) {
  .lp-cards-inner { padding: 24px 0 28px; }
  .stat-card { padding: 22px 18px 20px; }
}
@media (max-width: 575.98px) {
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .lp-footer .footer-bottom { flex-direction: column; text-align: center; }
}
