/* ============================================================
   ATHENAEUM UNIVERSITY PORTAL — style.css
   Premium institutional design system
============================================================ */

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  /* Brand */
  --ath-red:        #C8102E;
  --ath-red-dark:   #9e0d24;
  --ath-red-light:  #e8334a;
  --ath-red-mist:   rgba(200, 16, 46, 0.07);
  --ath-red-glow:   rgba(200, 16, 46, 0.18);

  /* Neutrals */
  --ath-navy:       #0D1B2A;
  --ath-ink:        #1C2B3A;
  --ath-slate:      #3D5166;
  --ath-mist:       #8398A9;
  --ath-fog:        #B8C8D4;
  --ath-frost:      #EEF3F7;
  --ath-white:      #FFFFFF;
  --ath-cream:      #F8F9FB;

  /* Surfaces */
  --surface-1:      #FFFFFF;
  --surface-2:      #F5F7FA;
  --surface-3:      #EEF3F7;

  /* Typography */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'DM Mono', monospace;

  /* Spacing */
  --section-py:     100px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(13, 27, 42, 0.08), 0 1px 4px rgba(13, 27, 42, 0.04);
  --shadow-lift:  0 16px 48px rgba(13, 27, 42, 0.14), 0 4px 12px rgba(13, 27, 42, 0.06);
  --shadow-glow:  0 0 0 3px var(--ath-red-glow);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--ath-cream);
  color: var(--ath-ink);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Subtle noise texture overlay ───────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ============================================================
   BUTTONS
============================================================ */
.ath-btn-primary {
  background: var(--ath-red);
  color: var(--ath-white);
  border: 2px solid var(--ath-red);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 10px 22px;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.25);
  white-space: nowrap;
}
.ath-btn-primary:hover, .ath-btn-primary:focus-visible {
  background: var(--ath-red-dark);
  border-color: var(--ath-red-dark);
  color: var(--ath-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
}

.ath-btn-ghost {
  background: transparent;
  color: var(--ath-ink);
  border: 2px solid rgba(28, 43, 58, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 22px;
  transition: all 0.25s var(--ease-smooth);
}
.ath-btn-ghost:hover {
  background: var(--ath-frost);
  border-color: rgba(28, 43, 58, 0.3);
  color: var(--ath-ink);
  transform: translateY(-1px);
}

/* ============================================================
   NAVBAR
============================================================ */
.ath-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(28, 43, 58, 0.07);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow 0.3s var(--ease-smooth), padding 0.3s var(--ease-smooth);
}
.ath-navbar.scrolled {
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.1);
  padding: 10px 0;
}

/* Logo */
.ath-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ath-logo-mark { flex-shrink: 0; }
.ath-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ath-navy);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ath-mist);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav links */
.ath-nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ath-slate) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.ath-nav-link:hover {
  color: var(--ath-red) !important;
  background: var(--ath-red-mist);
}

/* Hamburger */
.ath-toggler {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ath-ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}
.ath-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ath-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ath-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--ath-white);
    border-radius: var(--radius-md);
    margin-top: 12px;
    padding: 16px;
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(28, 43, 58, 0.07);
  }
  .ath-nav-cta { margin-top: 12px; }
  .ath-nav-cta .btn { width: 100%; text-align: center; }
}

/* ============================================================
   HERO SECTION
============================================================ */
.ath-hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #F2F6FA 45%, #EBF0F6 100%);
}

/* Background shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.shape {
  position: absolute;
  border-radius: 50%;
}
.shape-circle-1 {
  width: 600px; height: 600px;
  right: -180px; top: -100px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.06) 0%, transparent 70%);
}
.shape-circle-2 {
  width: 400px; height: 400px;
  left: -100px; bottom: -80px;
  background: radial-gradient(circle, rgba(13, 27, 42, 0.04) 0%, transparent 70%);
}
.shape-line-1 {
  width: 2px; height: 200px;
  border-radius: 0;
  background: linear-gradient(to bottom, transparent, rgba(200, 16, 46, 0.2), transparent);
  top: 100px; right: 30%;
}
.shape-dots {
  border-radius: 0;
  width: 200px; height: 200px;
  top: 60px; left: 60%;
  background-image: radial-gradient(circle, rgba(13, 27, 42, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
}

.ath-hero-row { position: relative; z-index: 1; }

/* Eyebrow */
.ath-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ath-red-mist);
  border: 1px solid rgba(200, 16, 46, 0.15);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ath-red);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.7s var(--ease-smooth) 0.1s both;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--ath-red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* Hero title */
.ath-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--ath-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease-smooth) 0.2s both;
}
.ath-hero-title em {
  font-style: italic;
  color: var(--ath-red);
}

.ath-hero-desc {
  font-size: 1.05rem;
  color: var(--ath-slate);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeUp 0.7s var(--ease-smooth) 0.3s both;
}

/* Hero actions */
.ath-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease-smooth) 0.4s both;
}
.ath-hero-cta {
  padding: 13px 28px !important;
  font-size: 0.95rem !important;
}

/* Stats */
.ath-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  animation: fadeUp 0.7s var(--ease-smooth) 0.5s both;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
}
.stat-item:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ath-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ath-mist);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(28, 43, 58, 0.12);
  margin-right: 28px;
  flex-shrink: 0;
}

/* ── Hero Visual (floating cards) ─────────────────────────── */
.ath-hero-right {
  justify-content: center;
  align-items: center;
}
.hero-visual {
  position: relative;
  width: 420px;
  height: 440px;
  animation: fadeUp 0.7s var(--ease-smooth) 0.4s both;
}

.hv-card {
  position: absolute;
  background: var(--ath-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(28, 43, 58, 0.07);
  padding: 20px;
  animation: float 6s ease-in-out infinite;
}
.hv-card--schedule {
  width: 260px;
  top: 0; left: 20px;
  animation-delay: 0s;
}
.hv-card--grade {
  width: 400px;
  bottom: 40px; right: 0;
  animation-delay: 2s;
}
.hv-card--notif {
  width: 240px;
  bottom: -10px; left: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hvc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ath-slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hvc-header i { color: var(--ath-red); font-size: 0.9rem; }

.hvc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ath-frost);
}
.hvc-item:last-child { border-bottom: none; }
.hvc-item--active {
  background: var(--ath-red-mist);
  border-radius: var(--radius-sm);
  padding: 7px 8px;
  margin: 0 -8px;
}
.hvc-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ath-mist);
  min-width: 36px;
  margin-top: 2px;
}
.hvc-course {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ath-ink);
}
.hvc-room {
  display: block;
  font-size: 0.68rem;
  color: var(--ath-mist);
}

.hvc-gpa {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ath-navy);
  line-height: 1;
  margin: 6px 0;
}
.hvc-progress-bar {
  height: 5px;
  background: var(--ath-frost);
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0;
}
.hvc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ath-red-light), var(--ath-red));
  border-radius: 3px;
}
.hvc-grade-row { display: flex; gap: 6px; margin-top: 8px; }
.badge-grade {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}
.badge-grade.a { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.badge-grade.b { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

.hvc-notif-icon {
  width: 38px; height: 38px;
  background: var(--ath-red-mist);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--ath-red);
  font-size: 1rem;
  flex-shrink: 0;
}
.hvc-notif-text { display: flex; flex-direction: column; }
.hvc-notif-text strong { font-size: 0.8rem; color: var(--ath-ink); }
.hvc-notif-text span { font-size: 0.72rem; color: var(--ath-mist); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PORTAL ACCESS SECTION
============================================================ */
.ath-access {
  padding: var(--section-py) 0;
  background: var(--ath-white);
  position: relative;
}
.ath-access::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.2), transparent);
}

.ath-section-label {
  text-align: center;
  margin-bottom: 12px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ath-red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  background: var(--ath-red-mist);
}

.ath-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--ath-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.ath-section-sub {
  font-size: 0.95rem;
  color: var(--ath-slate);
  line-height: 1.65;
}

/* Role Cards */
.ath-role-card {
  background: var(--ath-white);
  border: 1.5px solid rgba(28, 43, 58, 0.09);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ath-role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ath-red-light), var(--ath-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-smooth);
}
.ath-role-card:hover {
  border-color: rgba(200, 16, 46, 0.2);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}
.ath-role-card:hover::before {
  transform: scaleX(1);
}
.ath-role-card:focus-visible {
  outline: 2px solid var(--ath-red);
  outline-offset: 3px;
}

/* Featured card */
.ath-role-card--featured {
  background: var(--ath-navy);
  border-color: transparent;
}
.ath-role-card--featured .arc-badge { background: rgba(200, 16, 46, 0.2); color: #ff8fa3; }
.ath-role-card--featured .arc-title { color: var(--ath-white); }
.ath-role-card--featured .arc-desc { color: rgba(255, 255, 255, 0.6); }
.ath-role-card--featured .arc-features li { color: rgba(255, 255, 255, 0.75); }
.ath-role-card--featured .arc-features li i { color: #ff8fa3; }
.ath-role-card--featured .arc-icon { background: rgba(200, 16, 46, 0.2); color: #ff8fa3; }
.ath-role-card--featured .arc-icon-ring { border-color: rgba(200, 16, 46, 0.15); }
.ath-role-card--featured::before { background: linear-gradient(90deg, #C8102E, #ff4d6d); }
.ath-role-card--featured:hover { transform: translateY(-8px) scale(1.01); }

.arc-featured-ribbon {
  position: absolute;
  top: 20px; right: -30px;
  background: var(--ath-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 38px;
  transform: rotate(45deg);
}

.arc-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ath-red);
  background: var(--ath-red-mist);
  border-radius: 100px;
  padding: 3px 11px;
  margin-bottom: 20px;
}

.arc-icon-wrap {
  position: relative;
  width: 60px; height: 60px;
  margin-bottom: 22px;
}
.arc-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--ath-frost);
  color: var(--ath-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease-smooth);
}
.arc-icon-ring {
  position: absolute;
  inset: -5px;
  border: 1.5px dashed rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-lg);
  animation: spin 20s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.ath-role-card:hover .arc-icon {
  background: var(--ath-red);
  color: white;
  transform: scale(1.05);
}

.arc-body { flex: 1; }
.arc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ath-navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.arc-desc {
  font-size: 0.85rem;
  color: var(--ath-slate);
  line-height: 1.65;
  margin-bottom: 18px;
}
.arc-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.arc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--ath-slate);
  font-weight: 450;
}
.arc-features li i {
  color: var(--ath-red);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Role card buttons */
.ath-btn-role {
  background: var(--ath-frost);
  border: 1.5px solid rgba(28, 43, 58, 0.1);
  color: var(--ath-ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 20px;
  transition: all 0.25s var(--ease-smooth);
  margin-top: auto;
}
.ath-btn-role:hover {
  background: var(--ath-red);
  border-color: var(--ath-red);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
}
.ath-btn-role-primary {
  background: var(--ath-red);
  border: 1.5px solid var(--ath-red);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 20px;
  transition: all 0.25s var(--ease-smooth);
  margin-top: auto;
}
.ath-btn-role-primary:hover {
  background: var(--ath-red-dark);
  border-color: var(--ath-red-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

/* ============================================================
   LOGIN SECTION
============================================================ */
.ath-login {
  padding: var(--section-py) 0;
  background: var(--ath-cream);
  position: relative;
  overflow: hidden;
}
.ath-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Info panel (left) */
.login-info-panel {
  background: var(--ath-navy);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 52px 44px;
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-info-panel::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.login-info-panel::after {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.lip-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ath-white);
}

.lip-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ath-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.lip-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}

.lip-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.lip-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.lip-feature-icon {
  width: 38px; height: 38px;
  background: rgba(200, 16, 46, 0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #ff8fa3;
  font-size: 1rem;
  flex-shrink: 0;
}
.lip-feature strong {
  display: block;
  font-size: 0.83rem;
  color: var(--ath-white);
  font-weight: 600;
  margin-bottom: 2px;
}
.lip-feature span {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.45);
}

.lip-helpline {
  margin-top: 32px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lip-helpline i { color: var(--ath-red-light); }
.lip-helpline a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-underline-offset: 3px; }

/* Form panel (right) */
.login-form-panel {
  background: var(--ath-white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 52px 44px;
  min-height: 560px;
  border: 1.5px solid rgba(28, 43, 58, 0.08);
  border-left: none;
}

@media (max-width: 991px) {
  .login-info-panel,
  .login-form-panel {
    border-radius: var(--radius-lg);
    border-left: 1.5px solid rgba(28, 43, 58, 0.08);
    min-height: unset;
  }
}

.lfp-header { margin-bottom: 28px; }
.lfp-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ath-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.lfp-sub {
  font-size: 0.875rem;
  color: var(--ath-mist);
}

/* Role tabs */
.lfp-role-tabs {
  display: flex;
  background: var(--ath-frost);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 2px;
  margin-bottom: 28px;
}
.lfp-role-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ath-mist);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.lfp-role-tab.active {
  background: var(--ath-white);
  color: var(--ath-red);
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(28, 43, 58, 0.1);
}
.lfp-role-tab:hover:not(.active) { color: var(--ath-ink); }

/* Form inputs */
.ath-form-group { display: flex; flex-direction: column; gap: 7px; }
.ath-form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ath-ink);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
}
.ath-form-label i { color: var(--ath-mist); }
.ath-form-input {
  width: 100%;
  background: var(--ath-cream);
  border: 1.5px solid rgba(28, 43, 58, 0.12);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ath-ink);
  transition: all 0.2s var(--ease-smooth);
  outline: none;
}
.ath-form-input::placeholder { color: var(--ath-fog); }
.ath-form-input:focus {
  background: var(--ath-white);
  border-color: var(--ath-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.ath-input-wrap { position: relative; }
.ath-pw-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ath-mist);
  cursor: pointer;
  padding: 4px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.ath-pw-toggle:hover { color: var(--ath-red); }
.ath-input-wrap .ath-form-input { padding-right: 44px; }

.lfp-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Custom checkbox */
.ath-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}
.ath-checkbox input { display: none; }
.ath-checkbox-mark {
  width: 17px; height: 17px;
  border: 1.5px solid rgba(28, 43, 58, 0.2);
  border-radius: 4px;
  background: var(--ath-white);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
}
.ath-checkbox input:checked + .ath-checkbox-mark {
  background: var(--ath-red);
  border-color: var(--ath-red);
}
.ath-checkbox input:checked + .ath-checkbox-mark::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.ath-checkbox-label {
  font-size: 0.82rem;
  color: var(--ath-slate);
}
.lfp-forgot {
  font-size: 0.82rem;
  color: var(--ath-red);
  font-weight: 500;
  transition: opacity 0.2s;
}
.lfp-forgot:hover { opacity: 0.75; }

/* Login button */
.ath-btn-login {
  background: linear-gradient(135deg, var(--ath-red-light) 0%, var(--ath-red) 100%);
  color: var(--ath-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 20px;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.3);
  position: relative;
  overflow: hidden;
}
.ath-btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.ath-btn-login:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 16, 46, 0.45);
}
.ath-btn-login:hover::before { opacity: 1; }
.ath-btn-login:active { transform: translateY(0px); }

/* Divider */
.lfp-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--ath-fog);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lfp-divider::before, .lfp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(28, 43, 58, 0.1);
}

/* SSO button */
.ath-btn-sso {
  background: var(--ath-white);
  border: 1.5px solid rgba(28, 43, 58, 0.14);
  color: var(--ath-ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 20px;
  transition: all 0.25s var(--ease-smooth);
}
.ath-btn-sso:hover {
  background: var(--ath-frost);
  border-color: rgba(28, 43, 58, 0.22);
  color: var(--ath-ink);
  transform: translateY(-1px);
}

/* Help row */
.lfp-help-row {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 10px;
  flex-wrap: wrap;
}
.lfp-help-link {
  font-size: 0.78rem;
  color: var(--ath-mist);
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.lfp-help-link:hover { color: var(--ath-red); }

/* ============================================================
   FEATURES STRIP
============================================================ */
.ath-features-strip {
  background: var(--ath-navy);
  padding: 44px 0;
}
.fs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 8px;
}
.fs-icon {
  font-size: 1.4rem;
  color: var(--ath-red-light);
  transition: transform 0.3s var(--ease-smooth);
}
.fs-item:hover .fs-icon { transform: scale(1.2) translateY(-2px); }
.fs-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
============================================================ */
.ath-footer {
  background: var(--ath-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ath-white);
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  transition: all 0.25s var(--ease-smooth);
}
.footer-social-icon:hover {
  background: var(--ath-red);
  border-color: var(--ath-red);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ath-white);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: var(--ath-red-light);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fci {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.fci i {
  color: var(--ath-red-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  margin-top: 52px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
  font-size: 0.77rem;
}
.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.65); }

/* ============================================================
   SCROLL FADE-IN ANIMATION
============================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 64px; }

  .ath-hero { padding: 60px 0 48px; min-height: auto; }
  .ath-hero-title { font-size: 2rem; }
  .ath-hero-actions { gap: 10px; }
  .ath-hero-actions .btn { width: 100%; text-align: center; }
  .ath-stats { gap: 0; }
  .stat-item { padding: 0 20px 0 0; }
  .stat-divider { margin-right: 20px; }
  .stat-num { font-size: 1.3rem; }

  .ath-role-card { padding: 28px 22px 22px; }
  .arc-title { font-size: 1.1rem; }

  .login-form-panel { padding: 36px 24px; }
  .lfp-role-tab { font-size: 0.75rem; padding: 7px 8px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { gap: 14px; }
}

@media (max-width: 400px) {
  .ath-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
}
