:root {
  --bg-dark: #050811;
  --bg-card: rgba(13, 20, 38, 0.45);
  --bg-card-hover: rgba(20, 32, 60, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(134, 59, 255, 0.35);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --brand-purple: #863bff;
  --brand-cyan: #3b82f6;
  --glow-color: rgba(134, 59, 255, 0.12);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#wavy-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1.0;
}

.comfort-banner {
  background: linear-gradient(90deg, rgba(134, 59, 255, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.comfort-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ede9fe;
  text-shadow: 0 0 8px rgba(134, 59, 255, 0.25);
}

.landing-container {
  max-width: 900px;
  margin: auto;
  padding: 12px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-grow: 1;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.main-header {
  text-align: center;
  margin-bottom: 24px;
}

.logo-wrapper {
  width: 155px;
  height: 162px;
  margin: 0 auto 12px;
  color: var(--brand-purple);
  filter: drop-shadow(0 0 20px rgba(134, 59, 255, 0.5));
  animation: logoPulse 5s ease-in-out infinite;
}

.landing-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.evaluations-section {
  width: 100%;
  margin-bottom: 24px;
}

.eval-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.eval-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 120px;
}

.eval-card.active-card {
  border-color: rgba(134, 59, 255, 0.2);
}

.eval-card.active-card:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 59, 255, 0.45);
  background-color: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 15px rgba(134, 59, 255, 0.1);
}

.eval-card.locked-card {
  opacity: 0.55;
  cursor: not-allowed;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.eval-card.active-card:hover .card-glow {
  opacity: 1;
}

.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.active-badge {
  background-color: rgba(134, 59, 255, 0.12);
  color: #c084fc;
  border: 1px solid rgba(134, 59, 255, 0.25);
}

.locked-badge {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #c084fc;
  transition: var(--transition);
}

.card-action svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.eval-card.active-card:hover .card-action svg {
  transform: translateX(3px);
}

.disabled-action {
  color: var(--text-muted);
}

.landing-footer {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 16px rgba(134, 59, 255, 0.45));
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 22px rgba(134, 59, 255, 0.6));
  }
}

@media (max-width: 600px) {
  body {
    overflow-y: auto;
  }
  .landing-container {
    padding: 10px 12px 16px;
    justify-content: flex-start;
  }
  .eval-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .logo-wrapper {
    width: 120px;
    height: 125px;
  }
  .brand-tagline {
    font-size: 1rem;
  }
  .landing-footer {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
  }
}
