:root {
  --bitcoin-orange: #f7931a;
  --bitcoin-orange-light: #ffa94d;
  --bitcoin-orange-dark: #e67e00;
  --lightning-blue: #3d9ae8;
  --onchain-green: #28a745;
  --contactless-purple: #6f42c1;
  --info-yellow: #fff9e6;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --medium-gray: #6c757d;
  --border-radius: 8px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  line-height: 1.6;
}

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

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  text-align: center;
  color: var(--bitcoin-orange);
  margin-bottom: 10px;
  font-size: 2em;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #555;
}

.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  align-items: center;
}

.intro-content {
  flex: 1;
  min-width: 300px;
}

.intro-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-title {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 20px;
}

.intro-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.materials-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.materials-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.tab-button {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #555;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: var(--bitcoin-orange);
}

.tab-button.active {
  color: var(--bitcoin-orange);
  border-bottom-color: var(--bitcoin-orange);
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content.active {
  display: block;
}

.whatsapp-message {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.whatsapp-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.whatsapp-message-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
}

.whatsapp-message-content {
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  white-space: pre-line;
}

.copy-button {
  background-color: var(--bitcoin-orange);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.copy-button:hover {
  background-color: var(--bitcoin-orange-dark);
}

.material-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.material-card-header {
  background-color: var(--bitcoin-orange);
  color: white;
  padding: 15px;
}

.material-card-title {
  margin: 0;
  font-size: 1.2em;
}

.material-card-content {
  padding: 15px;
}

.material-card-description {
  color: #555;
  margin-bottom: 15px;
}

.material-card-footer {
  padding: 15px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-button {
  background-color: var(--bitcoin-orange);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.download-button:hover {
  background-color: var(--bitcoin-orange-dark);
}

.material-preview {
  width: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.case-study {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.case-study-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.case-study-icon {
  font-size: 2em;
  color: var(--bitcoin-orange);
  margin-right: 15px;
}

.case-study-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
}

.case-study-content {
  color: #555;
  line-height: 1.6;
}

.case-study-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.case-study-stat {
  flex: 1;
  min-width: 150px;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.case-study-stat-value {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--bitcoin-orange);
  margin-bottom: 5px;
}

.case-study-stat-label {
  color: #666;
  font-size: 0.9em;
}

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

.resource-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.resource-card-header {
  background-color: var(--bitcoin-orange);
  color: white;
  padding: 15px;
}

.resource-card-title {
  margin: 0;
  font-size: 1.2em;
}

.resource-card-content {
  padding: 15px;
}

.resource-card-description {
  color: #555;
  margin-bottom: 15px;
}

.resource-card-footer {
  padding: 15px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .materials-tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-button {
    border-bottom: 1px solid #ddd;
    text-align: left;
    padding: 15px;
  }

  .tab-button.active {
    border-bottom: 1px solid #ddd;
    border-left: 3px solid var(--bitcoin-orange);
  }

  .case-study-stats {
    flex-direction: column;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .intro-section {
    flex-direction: column-reverse;
  }
}