/* Only additional or overriding styles for the index (Overview) page */

/* Introduce any *new* variables here (not in style.css): */
:root {
  --highlight-duration: 2000ms; /* For highlight animation, if used via JavaScript */
}

/* Advantages Section (unique to index.html) */
.advantages-section h2 {
  font-size: var(--subheading-font-size);
  text-align: center;
  margin-bottom: 40px;
}

.advantages-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.advantage-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: var(--card-padding);
  width: calc((var(--content-width) - 60px)/4);
  box-sizing: border-box;
  text-align: center;
  position: relative;
  transition: box-shadow 0.5s ease, border-color 0.5s ease; /* Smooth transition */
}

.advantage-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.advantage-text {
  font-size: var(--text-font-size);
  line-height: 1.4;
  color: var(--light-text-color);
}

/* Optional Highlight Animation (if used by JS) */
.highlight {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

/* Beta Badge (shown next to the product name) */
.beta-badge {
  display: inline-block;
  background: #FF8C00;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

/* Plan Buttons (unique styles for the index plans) */
.plan-actions {
  margin-top: 15px;
}

.btn {
  display: inline-block;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-download {
  background: var(--primary-color);
  color: #fff;
}

.btn-purchase {
  background: var(--primary-color);
  color: #fff;
}

.btn.disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Highlight the Beta Plan Card */
.plan-card.beta {
  border: 2px solid #FF8C00;
  position: relative;
}

.plan-title.beta::after {
    content: "BETA";
    position: absolute;
    top: -10px;
    right: -5px;
    background: #FF8C00;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 4px;
}
