/* Global styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* Hero Header */
.hero {
  text-align: center;
  padding: 45px 20px;
  background: linear-gradient(135deg, #101820 0%, #07141a 100%);
  border-bottom: 2px solid #00aaff77;
}

.app-name {
  font-size: 3rem;
  margin: 0;
  color: #00aaff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Tagline (first sentence only) */
.tagline {
  margin-top: 10px;
  color: #cccccc;
  font-size: 1.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;        /* first sentence is left-aligned */
  line-height: 1.55;
  margin-bottom: 1.0rem;   /* slightly smaller gap below tagline */
}

/* Bold training tagline — glowing pulse effect */
.tag-bold {
  display: inline-block;   /* underline matches text width */
  width: auto;
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
  margin-top: 0.35rem;     /* small gap above the bold line */
  padding-bottom: 4px;
  border-bottom: 2px solid #00aaff;
  text-shadow: 0 0 6px rgba(0, 170, 255, 0.45);
  animation: glowPulse 2.2s ease-in-out infinite;
}

/* Hover state — brighter glow + slight lift */
.tag-bold:hover {
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.95);
  border-bottom-color: #00ccff;
  transform: translateY(-2px);
}

/* Keyframes for breathing pulse glow */
@keyframes glowPulse {
  0% {
    text-shadow: 0 0 3px rgba(0, 170, 255, 0.3),
                 0 0 6px rgba(0, 170, 255, 0.35);
    border-bottom-color: rgba(0, 170, 255, 0.55);
  }
  50% {
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.75),
                 0 0 14px rgba(0, 170, 255, 0.55);
    border-bottom-color: rgba(0, 204, 255, 0.95);
  }
  100% {
    text-shadow: 0 0 3px rgba(0, 170, 255, 0.3),
                 0 0 6px rgba(0, 170, 255, 0.35);
    border-bottom-color: rgba(0, 170, 255, 0.55);
  }
}

/* Card Container */
.card {
  background-color: #111;
  max-width: 650px;
  margin: 35px auto;
  padding: 35px;
  border-radius: 14px;
  border: 2px solid #00aaff33;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.12);
}

/* Form Fields */
label {
  display: block;
  margin: 20px 0 10px;
  font-size: 1rem;
}

input,
select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background-color: #1b1b1b;
  border: 1px solid #303030;
  color: #fff;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: #00aaff;
}

/* Button */
.primary-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #00aaff, #0085cc);
  border-radius: 10px;
  border: none;
  font-size: 1.2rem;
  color: #111;
  cursor: pointer;
  font-weight: bold;
  margin-top: 28px;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-block;
}

.primary-btn:hover {
  background: linear-gradient(90deg, #00c7ff, #009ad6);
  transform: translateY(-2px);
}

/* Week Cards */
#plan-container {
  display: grid;
  gap: 20px;
}

.week-card {
  background-color: #151c24;
  border-left: 4px solid #00aaff;
  padding: 20px;
  border-radius: 10px;
}

.week-card h3 {
  margin: 0;
  color: #00c7ff;
  font-size: 1.3rem;
}

.week-notes {
  font-size: 0.95rem;
  color: #cfcfcf;
  margin-top: 8px;
}

/* Week stats row */
.week-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.95rem;
}

.stat-item {
  background-color: #0f151d;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #1f2b36;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  font-size: 1rem;
}

.rpe-note {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #cccccc;
}

/* Mobile responsiveness improvements */
@media (max-width: 600px) {

  .hero {
    padding: 1.5rem 0 1rem;
  }

  .app-name {
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
  }

  .tagline {
    font-size: 1.05rem;
    line-height: 1.45;
    max-width: 94%;
    margin: 0 auto 1.0rem;   /* smaller gap on mobile too */
    padding: 0 0.75rem;
    text-align: left;
  }

  /* Slightly larger tagline on mobile */
  .tag-bold {
    font-size: 1.4rem;
    margin-top: 0.4rem;
  }

  .card {
    padding: 1.5rem 1rem;
    width: 95%;
    margin: 0 auto 2rem;
  }

  .card h2 {
    font-size: 1.25rem;
  }

  label {
    font-size: 0.95rem;
  }

  /* Bigger, thumb-friendly inputs */
  input,
  select {
    font-size: 1.1rem;
    height: 56px;
    padding: 0.6rem 0.75rem;
  }

  button.primary-btn {
    font-size: 1.15rem;
    padding: 1rem 1.25rem;
  }
}
