/* ========================================
   BHUYAS — CLIENT PORTAL PAGE
   ======================================== */

:root {
  --bg: #0E141B;
  --text: #f7f5e7;
  --text-secondary: #9AA4AE;
  --accent: #5C7C99;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 24px;
  z-index: 1000;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  z-index: 1001;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
  display: inline-block;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  margin-top: 60px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 27, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3rem;
  letter-spacing: 0.08em;
}

/* CLIENT ACCESS SECTION */
.client-access {
  padding: 64px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.access-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
}

.section-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* LOGIN FORM */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.form-group input {
  background: rgba(247, 245, 231, 0.05);
  border: 1px solid rgba(247, 245, 231, 0.12);
  color: var(--text);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(247, 245, 231, 0.08);
}

.form-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.btn-access {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Mono', monospace;
}

.btn-access:hover {
  background: #6B8FA8;
  transform: translateY(-1px);
}

/* Microsoft Login Button */
.microsoft-login-container {
  margin-bottom: 40px;
  text-align: center;
}

.btn-microsoft {
  width: 100%;
  background: #0078D4;
  color: white;
  border: none;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-microsoft:hover {
  background: #106EBE;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 120, 212, 0.3);
}

.btn-microsoft:active {
  transform: translateY(0);
}

.btn-microsoft svg {
  width: 24px;
  height: 24px;
}

.login-divider {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 16px 0 20px;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: rgba(247, 245, 231, 0.1);
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.help-text {
  text-align: center;
  margin-top: 32px;
}

.help-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.help-text a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.help-text a:hover {
  color: var(--text);
}

/* FILES SECTION */
.files-section {
  padding: 64px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(247, 245, 231, 0.08);
}

.files-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.file-item {
  background: rgba(247, 245, 231, 0.03);
  border: 1px solid rgba(247, 245, 231, 0.08);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-item:hover {
  background: rgba(247, 245, 231, 0.05);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.file-icon {
  font-size: 3rem;
}

.file-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.file-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* FOOTER */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(247, 245, 231, 0.08);
  padding: 32px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .client-access {
    padding: 48px 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .files-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 0.75rem;
  }
}
