/* Base styles */
body {
  font-family: sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  padding: 40px 10px;
}

main {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/* Card & Affiliate Sections */
.card,
.affiliate {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.intro {
  margin-bottom: 0.8rem;
  color: #666;
}

.line {
  min-height: 2em;
  font-size: 1.2rem;
  margin: 1rem 0;
}

button {
  padding: 10px 20px;
  border: none;
  background-color: #ff6b81;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #ff4757;
}

.comment {
  margin-top: 10px;
  color: #888;
  font-style: italic;
}

/* Copy & Share icons */
.icon-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icon-actions i {
  cursor: pointer;
  font-size: 1.2rem;
  color: #888;
  transition: color 0.2s;
}

.icon-actions i:hover {
  color: #ff4757;
}

/* Language selector */
.lang-switch {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Placeholders */
.coffee-placeholder {
  background-color: #eaeaea;
  color: #555;
  padding: 10px;
  border-radius: 5px;
  margin: 1.5rem auto;
  font-size: 0.85rem;
  text-align: center;
  border: 1px dashed #bbb;
}

.coffee-placeholder img {
  max-width: 220px;
  height: auto;
}

.carousel {
  padding-top: 1rem;
}

.carousel a {
  display: block;
  text-decoration: none;
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  color: #333;
  border: 1px solid #ddd;
  transition: background-color 0.2s ease;
}

.carousel a:hover {
  background-color: #f1f1f1;
}

/* New multilingual sections */
#about, #how-it-works, #use-cases {
  margin-bottom: 1.5rem;
  text-align: left;
}
#about h2,
#how-it-works h2,
#use-cases h2 {
  font-size: 1.25rem;
  color: #ff6b81;
  margin-bottom: 0.75rem;
}
#how-it-works ol,
#use-cases ul {
  padding-left: 1.2rem;
  margin: 0;
}
#how-it-works li,
#use-cases li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  padding: 1rem;
  background: #ff5f5f;
  border-radius: 12px;
  max-width: 90%;
  font-weight: bold;
}
.nav-tabs a {
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
}
.nav-tabs a:hover {
  background-color: #ff7a7a;
  color: white;
}
