@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600;700&display=swap');

:root {
  --ucr-blue: #003DA5;
  --ucr-gold: #FFB81C;
  --ucr-blue-light: #e8effa;
  --ucr-gold-light: #fff8e5;
  --bg-white: #ffffff;
  --bg-light: #f4f6f9;
  --border-color: #d0d5dd;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --color-hover: #002d7a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.landing-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.institutional-bar {
  display: flex;
  align-items: center;
  padding: 0.6rem 2rem;
  background-color: var(--bg-light);
  border-bottom: 3px solid var(--ucr-gold);
  flex-shrink: 0;
}

.inst-wordmark {
  height: 34px;
  width: auto;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ucr-blue-light) 0%, var(--bg-white) 100%);
}

.hero-logo {
  margin-bottom: 2rem;
  position: relative;
}

.hero-logo img {
  height: 80px;
  width: auto;
}

.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--ucr-blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
}

.hero .subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  position: relative;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero .tagline strong {
  color: var(--ucr-blue);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.hero-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 2.5rem;
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  min-width: 200px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero-btn:hover {
  border-color: var(--ucr-blue);
  box-shadow: 0 6px 20px rgba(0, 61, 165, 0.1);
  transform: translateY(-3px);
}

.hero-btn-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.hero-btn-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-btn-arrow {
  font-size: 1.1rem;
  color: var(--ucr-blue);
  transition: transform 0.2s;
}

.hero-btn:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.sponsor-strip {
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.sponsor-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.sponsor-logo {
  height: auto;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.sponsor-logo:hover {
  opacity: 1;
}

.nsf-logo {
  max-height: 65px;
  max-width: 260px;
}

.ucr-wordmark {
  max-height: 48px;
  max-width: 220px;
}

.ucsb-logo {
  max-height: 48px;
  max-width: 220px;
}

.landing-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.footer-institution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-ucr-icon {
  height: 28px;
  width: auto;
}

.landing-footer .powered-by {
  font-style: italic;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.landing-footer a {
  color: var(--ucr-blue);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .institutional-bar {
    padding: 0.5rem 1rem;
    justify-content: center;
  }

  .inst-wordmark {
    height: 20px;
  }

  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-btn {
    padding: 1.5rem 2rem;
    min-width: 0;
    width: 100%;
  }

  .sponsor-logos {
    gap: 1rem;
  }

  .sponsor-badge {
    padding: 0.75rem 1rem;
  }

  .nsf-logo {
    max-height: 50px;
    max-width: 200px;
  }

  .ucr-wordmark {
    max-height: 36px;
    max-width: 160px;
  }

  .ucsb-logo {
    max-height: 36px;
    max-width: 160px;
  }
}
