/* Banana Lab — Global Styles */

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

:root {
  --yellow: #FFCC00;
  --black:  #111111;
  --gray:   #F5F5F5;
  --text:   #222222;
  --muted:  #666666;
  --white:  #FFFFFF;
  --radius: 10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ---------- Header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 2px solid var(--black);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--black);
  letter-spacing: -0.5px;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

nav a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  background: var(--yellow);
  padding: 72px 40px;
  text-align: center;
  border-bottom: 2px solid var(--black);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--black);
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Products Grid ---------- */
.products-grid {
  padding: 56px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.products-grid h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--black);
}

.card-badge {
  display: inline-block;
  background: var(--yellow);
  border: 1px solid var(--black);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card h3 a {
  text-decoration: none;
  color: var(--black);
}

.product-card h3 a:hover { text-decoration: underline; }

.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--black);
}

.btn-buy-small {
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-buy-small:hover { background: #333; }

/* ---------- Product Page ---------- */
.product-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 40px;
}

.product-hero {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 40px;
  margin-bottom: 36px;
}

.product-badge {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-hero h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.product-desc {
  font-size: 1rem;
  margin-bottom: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-meta .price {
  font-size: 1.6rem;
  font-weight: 900;
}

.prompt-count {
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 600;
}

.btn-buy {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-buy:hover { background: #333; }

.product-inside, .product-how {
  margin-bottom: 32px;
  padding: 28px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
}

.product-inside h2, .product-how h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.product-inside ul {
  padding-left: 20px;
}

.product-inside ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.product-how ol {
  padding-left: 20px;
}

.product-how ol li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cta-block {
  text-align: center;
  padding: 32px 0;
}

/* ---------- About Page ---------- */
.about-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 40px;
}

.about-page h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.about-page .tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.about-page h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 28px 0 10px;
}

.about-page p {
  font-size: 0.97rem;
  margin-bottom: 14px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 2px solid var(--black);
  padding: 24px 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  header { padding: 14px 20px; }
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 2rem; }
  .products-grid { padding: 36px 20px; }
  .product-page, .about-page { padding: 36px 20px; }
  .grid { grid-template-columns: 1fr; }
}
