body {
  background: linear-gradient(180deg, #fefefe 0%, #f0f2ff 100%);
}

.brand-logo span {
  font-weight: 600;
}

.brand-logo-image {
  height: 44px;
  width: auto;
  display: block;
}

.hero {
  padding: 6rem 0 5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #546e7a;
  margin-bottom: 2.5rem;
}

.hero-preview {
  background: radial-gradient(circle at top, rgba(63, 81, 181, 0.15) 0%, transparent 55%),
    radial-gradient(circle at bottom, rgba(30, 136, 229, 0.1) 0%, transparent 50%),
    #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 55px rgba(63, 81, 181, 0.15);
  padding: 2rem;
  min-height: 440px;
}

.hero-preview-card {
  background: #1a237e;
  color: white;
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 35px rgba(26, 35, 126, 0.35);
}

.hero-preview-card h5 {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.hero-preview-card span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-preview-tile {
  background: rgba(63, 81, 181, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.hero-preview-tile .material-icons {
  font-size: 1.8rem;
  color: #3949ab;
}

.stat-card {
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.08);
  background: white;
  height: 100%;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #303f9f;
}

.stat-label {
  color: #607d8b;
}

.feature-icon {
  font-size: 2.5rem;
  color: #3949ab;
}

.section-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer {
  padding: 2.5rem 0;
  background: #1a237e;
  color: white;
}

a.btn-large {
  border-radius: 999px;
}

@media (max-width: 992px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-preview {
    margin-top: 3rem;
  }
}

body.login-page,
body.signup-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.08), rgba(30, 136, 229, 0.18));
}

.login-page .auth-card,
.signup-page .auth-card {
  width: min(420px, 90vw);
  border-radius: 18px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 28px 45px rgba(26, 35, 126, 0.18);
  background: #ffffff;
}

.login-page .auth-card h4,
.signup-page .auth-card h4 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #1a237e;
}

.login-page .auth-card p,
.signup-page .auth-card p {
  margin-top: 1.5rem;
}

.login-page .auth-card .input-field input,
.signup-page .auth-card .input-field input {
  border-radius: 8px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.login-page .auth-card button,
.signup-page .auth-card button {
  border-radius: 999px;
}

.login-page .helper-links a,
.signup-page .helper-links a {
  color: #1a237e;
}

/* Projects */

      body.projects-page {
        background: linear-gradient(180deg, #fefefe 0%, #f0f2ff 100%);
      }

      .projects-hero {
        padding: 4rem 0 2rem;
      }

      .projects-hero h3 {
        font-weight: 600;
        color: #1a237e;
      }

      .projects-grid .card {
        border-radius: 18px;
      }

      .projects-grid .progress {
        height: 8px;
        border-radius: 999px;
        background: rgba(26, 35, 126, 0.12);
        margin-bottom: 1.5rem;
      }

      .projects-grid .progress .determinate {
        border-radius: inherit;
      }

      .metric-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.8rem;
        border-radius: 999px;
        background: rgba(26, 35, 126, 0.08);
        color: #1a237e;
        font-size: 0.85rem;
        margin-right: 0.35rem;
      }

      .projects-empty {
        padding: 4rem 0 6rem;
      }

      .projects-empty img {
        height: 90px;
        margin-bottom: 1.5rem;
      }
