.form-group.plan-group {
    display: block;
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
}

.plan-cards {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.plan-card {
    border: 2px solid #ddd;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    box-shadow: 0 1px 6px rgba(60,60,60,0.04);
    display: flex;
    align-items: stretch;
}

.plan-card input[type="radio"] {
    display: none;
}

.plan-card-content {
    padding: 1.25rem;
    width: 100%;
}

.plan-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.plan-period {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
    margin-left: 2px;
}

.plan-desc {
    color: #555;
    font-size: 0.95rem;
}

.badge-best {
    background: #2563eb;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 5px;
    vertical-align: middle;
}

.plan-card input[type="radio"]:checked + .plan-card-content,
.plan-card:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #2563eb44;
    background: #eef3fa;
}

.plan-card:hover {
    border-color: #4f8cff;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 700px) {
  .plan-cards {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}

.terms-links a {
    color: #2563eb;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.terms-links a:hover {
    color: #1e40af;
    text-decoration: underline solid;
}

.trial-banner {
  background: linear-gradient(90deg, #2686F2 0%, #152432 100%);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(38,134,242,0.10);
}
.trial-pill {
  background: #eaf3fc;
  color: #2686F2;
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 0.92em;
  margin-top: 3px;
  display: inline-block;
}
/* Subscription Page Enhancements */
.feature-list {
    margin-bottom: 1.8rem;
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 1px 6px rgba(60,60,60,0.03);
}
.feature-list-title {
    font-size: 1.13rem;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #2563eb;
}
.feature-list ul {
    margin: 0 0 0 1.5em;
    padding: 0;
    color: #333;
}
.feature-list li {
    margin-bottom: 0.35em;
    font-size: 1em;
}

.upgrade-alert {
    background: #eef3fa;
    border-left: 5px solid #2563eb;
    padding: 1em 1.2em;
    border-radius: 9px;
    margin-bottom: 1.3em;
    font-size: 1.07em;
    color: #23385d;
}
.upgrade-alert strong {
    color: #1e40af;
}
.upgrade-subtext {
    display: block;
    font-size: 0.98em;
    color: #4b5563;
    margin-top: 0.25em;
}

.secure-footer {
    margin-top: 1.2em;
    text-align: center;
    color: #757575;
    font-size: 0.97em;
}
.secure-footer a {
    color: #2563eb;
    text-decoration: underline;
    margin-left: 6px;
}
.secure-footer a:hover {
    color: #1e40af;
}
.secure-icon {
    font-size: 1.1em;
    line-height: 1;
    vertical-align: middle;
    margin-right: 3px;
    position: relative;
    top: -2px; /* Try -2px, -3px, or -4px */
}

.signup-note {
    font-size: 0.94rem;
    color: #6A7685;
    margin-top: 0.7rem;
    text-align: center;
    /* Optional: a little padding if you want visual breathing room */
    /* padding: 0.3em 0; */
}
