* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eaf2e7;
  color: #26382b;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}


/* =========================
   HEADER
========================== */

.page-header {
  background: #245c3a;
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-bottom: 5px solid #79a95b;
}

.page-header h1 {
  margin: 0;
  font-size: 34px;
}

.page-header p {
  margin: 5px 0 0;
  font-size: 18px;
}


/* =========================
   MAIN CONTAINER
========================== */

.prototype-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}


/* =========================
   CONTENT CARDS
========================== */

.prototype-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.prototype-card h2 {
  color: #245c3a;
  font-size: 28px;
  margin-top: 0;
}

.prototype-card h3 {
  color: #245c3a;
}

.section-intro {
  font-size: 17px;
  color: #465448;
}


/* =========================
   APP FLOW
========================== */

.app-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.flow-step {
  width: 170px;
  min-height: 170px;
  padding: 20px;
  border: 2px solid #3d3d3d;
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
}

.flow-step span {
  color: #777777;
  font-weight: bold;
  font-size: 14px;
}

.flow-step h3 {
  color: #111111;
  font-size: 19px;
  margin: 12px 0;
}

.flow-step p {
  color: #465448;
  font-size: 14px;
  line-height: 1.4;
}

.flow-arrow {
  font-size: 28px;
  color: #245c3a;
  font-weight: bold;
}

.flow-summary {
  background: #eeeeee;
  border-left: 5px solid #245c3a;
  text-align: center;
  padding: 20px;
  margin-top: 35px;
  font-weight: bold;
  font-size: 18px;
}


/* =========================
   LOW-FIDELITY PROTOTYPE
========================== */

.home-prototype {
  width: 365px;
  max-width: 100%;
  margin: 25px auto 0;
  background: #f7faf5;
  border: 2px solid #245c3a;
  border-radius: 7px;
  overflow: hidden;
}

.prototype-title {
  background: #245c3a;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  font-size: 21px;
  font-weight: bold;
  border-bottom: 4px solid #79a95b;
}

.prototype-content {
  padding: 25px;
}

.prototype-content h3 {
  color: #245c3a;
  font-size: 27px;
  margin: 0 0 10px;
}

.prototype-welcome {
  color: #465448;
  margin-bottom: 20px;
}

.prototype-image {
  height: 220px;
  border: 2px solid #79a95b;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.prototype-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prototype-description {
  margin-bottom: 22px;
}


/* =========================
   TOPIC BUTTONS
========================== */

.topic-button {
  width: 100%;
  background: #ffffff;
  color: #245c3a;
  border: 2px solid #a4bd99;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.topic-button:hover {
  background: #e8f2e3;
  border-color: #5d9153;
}


/* =========================
   ACTIVITY MAIN BUTTON
========================== */

.activity-main-button {
  width: 100%;
  background: #d98945;
  border: 2px solid #bf7133;
  color: #ffffff;
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.activity-main-button:hover {
  background: #b9682d;
}


/* =========================
   MULTI-SCREEN PROTOTYPE
========================== */

.screen {
  display: none;
  width: 410px;
  max-width: 100%;
  margin: 25px auto;
  background: #f7faf5;
  border: 2px solid #245c3a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.active-screen {
  display: block;
}

.screen-header {
  background: #245c3a;
  color: #ffffff;
  text-align: center;
  padding: 16px;
  font-size: 21px;
  font-weight: bold;
  border-bottom: 4px solid #79a95b;
}

.screen-content {
  padding: 28px;
}

.screen-content h3 {
  font-size: 27px;
  color: #245c3a;
  margin-top: 0;
}

.screen-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #79a95b;
  margin: 10px 0 20px;
}


/* =========================
   TOPIC DETAILS
========================== */

.topic-details-card {
  background: #f0f6ed;
  border-left: 5px solid #79a95b;
  border-radius: 7px;
  padding: 25px;
  margin: 20px 0;
  text-align: center;
}

.topic-icon {
  font-size: 55px;
  margin-bottom: 10px;
}

.topic-details-card h4 {
  color: #245c3a;
  font-size: 24px;
  margin: 10px 0;
}

.topic-details-card p {
  color: #465448;
  font-size: 16px;
  line-height: 1.6;
}


/* =========================
   ACTIVITY BUTTONS
========================== */

.activity-option {
  width: 100%;
  background: #ffffff;
  border: 2px solid #a4bd99;
  color: #245c3a;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
}

.activity-option:hover {
  background: #e8f2e3;
  border-color: #5d9153;
}


/* =========================
   SCREEN BUTTONS
========================== */

.screen-button {
  width: 100%;
  border: 2px solid #245c3a;
  background: #245c3a;
  color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.screen-button:hover {
  background: #17442a;
}

.screen-button.orange {
  background: #d98945;
  border-color: #bf7133;
}

.screen-button.orange:hover {
  background: #b9682d;
}


/* =========================
   ACTIVITY DETAILS
========================== */

.details-card {
  background: #f0f6ed;
  border-left: 5px solid #79a95b;
  border-radius: 7px;
  padding: 18px;
  margin: 20px 0;
}

.details-card p {
  margin: 8px 0;
}


/* =========================
   CONFIRMATION
========================== */

.confirmation-box {
  width: 75px;
  height: 75px;
  margin: 10px auto 20px;
  border-radius: 50%;
  background: #4e8a55;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: bold;
}

.confirmation-text {
  text-align: center;
}


/* =========================
   FUNCTION MAPPING
========================== */

.function-item {
  background: #f0f6ed;
  border: 1px solid #a4bd99;
  border-radius: 7px;
  padding: 15px;
  margin-bottom: 12px;
}

.function-item code {
  color: #245c3a;
  font-weight: bold;
}


/* =========================
   PROMPT
========================== */

.prompt-box {
  background: #f4f4f4;
  border-left: 5px solid #d98945;
  border-radius: 6px;
  padding: 18px;
  font-style: italic;
}


/* =========================
   CODE
========================== */

pre {
  background: #202124;
  color: #f5f5f5;
  padding: 20px;
  border-radius: 7px;
  overflow-x: auto;
}

code {
  font-family: Consolas, "Courier New", monospace;
}


/* =========================
   LINK
========================== */

a {
  color: #2b7dbb;
  font-weight: bold;
}

a:hover {
  color: #245c3a;
}


/* =========================
   FOOTER
========================== */

footer {
  background: #245c3a;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}


/* =========================
   MOBILE
========================== */

@media (max-width: 700px) {

  .prototype-container {
    padding: 0 12px;
  }

  .prototype-card {
    padding: 20px;
  }

  .app-flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    width: 100%;
    max-width: 300px;
  }

  .screen {
    width: 100%;
  }
}