/* Base reset and layout setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.45;
  color: #333;
  background: linear-gradient(to bottom, #e6f0ff, #ffffff);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem;
}

/* Header section */
header {
  text-align: center;
  margin-bottom: 1.8rem;
}

h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

p {
  font-size: 0.95rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* Intro paragraph below heading */
.intro-paragraph {
  font-size: 1.1rem;
  color: #444;
  margin: 1.5rem auto;
  max-width: 900px;
  line-height: 1.8;
  text-align: center;
}

/* Home page cards layout */
.cards-container {
  display: flex;
  flex-wrap: nowrap; /* Single row layout */
  gap: 2rem;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  padding: 1rem 1rem 0;
}

.card p {
  padding: 0 1rem;
  color: #666;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card-image {
  height: 160px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card-image img:hover {
  transform: scale(1.05);
}

.card-footer {
  padding: 1rem;
  background-color: #f9f9f9;
  text-align: center;
  border-top: 1px solid #eee;
}

/* Step page card layout */
.step-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.step-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.step-header h2 {
  font-size: 2rem;
  margin-top: 1rem;
}

/* Step progress and back to home */
.step-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* Step content and image */
.step-content {
  padding: 2rem;
  min-height: 300px;
}

/* Continue/Previous/Finish buttons */
.step-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

/* Button styling */
.button {
  display: inline-block;
  background-color: #4285f4;
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s;
  text-align: center;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: #3367d6;
}

.button.outline {
  background-color: transparent;
  border: 1px solid #4285f4;
  color: #4285f4;
}

.button.outline:hover {
  background-color: #f5f9ff;
}

.button.full-width {
  width: 100%;
  display: block;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
}

/* Link back to home from steps */
.back-link {
  color: #4285f4;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Footer message (bottom of homepage) */
.centered-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #444;
  font-style: italic;
  padding: 0.75rem 1.5rem;
}

/* Pulsing animation for update note */
.exciting-note {
  background-color: #f0f8ff;
  color: #1a73e8;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.2);
  animation: pulse 2s infinite ease-in-out;
}

/* Pulse animation keyframes */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .step-footer {
    flex-direction: column;
    gap: 1rem;
  }

  .button {
    width: 100%;
  }

  .card-image {
    height: 160px;
  }
}
