/* --- Figures and Enhancements for Content Pages --- */

/* 1. About Page: Problem-Solution Figure */
.problem-solution-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px 0;
  gap: 15px;
  flex-wrap: wrap;
}

.figure-box {
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.figure-title {
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 8px;
}

.figure-content {
  font-size: 0.9em;
  color: #555;
}

.figure-box.problem {
  background-color: #ffebee; /* Light Red */
  border: 1px solid #e57373;
}
.figure-box.problem .figure-title { color: #c62828; }

.figure-box.solution {
  background-color: #e8f5e9; /* Light Green */
  border: 1px solid #81c784;
}
.figure-box.solution .figure-title { color: #2e7d32; }

.figure-arrow {
  font-size: 2em;
  color: #888;
  font-weight: 700;
}


/* 2. How-To Page: Minimalist Design */
.minimal-how-to {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Increased gap for more white space */
  margin-top: 30px;
}

.how-to-step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}
.how-to-step:last-child {
  border-bottom: none;
}

.step-number-minimal {
  font-size: 3em;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1;
  flex-shrink: 0;
}

.step-content-minimal h3 {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  color: #1a237e;
}

.step-content-minimal p {
  margin: 0;
  font-size: 1em;
  color: #555;
  line-height: 1.7;
}

/* 3. Tips Page: Card Layout */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.tip-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tip-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
}

.tip-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #1a237e;
  margin: 0 0 10px;
}

.tip-description {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 4. Prompt Examples Page: Grid Layout */
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 30px;
}

.example-card {
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #3f51b5;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.example-card h3 {
  font-size: 1.3em;
  color: #1a237e;
  margin: 0 0 10px;
  font-weight: 700;
}

.example-card p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take up available space */
}

.load-example-btn {
  background-color: #3f51b5;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align button to the left */
}

.load-example-btn:hover {
  background-color: #303f9f;
}

/* 4. Prompt Examples Page: Grid Layout */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.example-card {
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.example-card h3 {
  font-size: 1.3em;
  color: #1a237e;
  margin: 0 0 10px;
  font-weight: 700;
}

.example-card p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take up available space */
}

.load-example-btn {
  background-color: #4285F4; /* Google Blue */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%; /* Full width button */
}

.load-example-btn:hover {
  background-color: #357ae8;
}
