/* static/css/plans.css */
@font-face {
  font-family: 'WF Visual Sans';
  src: url('../font/WFVisualSansVF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Overall Plans Section */
.plans-section {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  padding: 60px 20px;
  min-height: 100vh;
  text-align: center;
}

.plans-title {
  font-family: 'WF Visual Sans', sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

/* Toggle */
.toggle-container {
  display: inline-flex;
  margin-bottom: 30px;
}
.toggle-button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-family: 'WF Visual Sans', sans-serif;
  font-size: 16px;
  margin: 0 5px;
  background: #e0e0e0;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.toggle-button.active {
  background: #007bff;
  color: #fff;
}

/* Card Deck */
.card-deck {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.card {
  background-color: #fff;
  width: 360px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.card-header {
  padding: 20px;
  font-size: 20px;
  text-align: center;
  color: #333;
}
.free-card .card-header  { background: #FFF9C4; }
.plus-card .card-header  { background: #FFD54F; }
.pro-card .card-header   { background: #FFB300; }

/* UPDATED: force all text blocks to start at the same spot */
.card-body {
  padding: 20px;
  flex-grow: 1;

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* <-- was space-around */
  align-items: center;
  gap: 20px;                   /* uniform spacing between price and text */

  text-align: center;
}

.card-price {
  font-size: 75px;
  font-weight: bold;
  color: #333;
  margin-bottom: 0; /* gap handled by flex gap */
}
.card-price span,
.card-price .per-month {
  font-size: 16px;
  color: #777;
  display: block;
  margin-top: 5px;
}
.card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.card-footer {
  padding: 20px;
  text-align: center;
}

/* Buttons */
.btn {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'WF Visual Sans', sans-serif;
  transition: background-color .3s;
  text-decoration: none;
}
.btn:hover       { background-color: #0056b3; }
.btn:disabled    { background-color: #007BFF; cursor: not-allowed; }

/* Payment sections share the full width */
.payment-buttons {
  width: 100%;
}

/* Converter placeholder removed */
/* .converter { … } */
