/* ai-cards.css */

/* Use Case Grid */
.use-case-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing Section */
.pricing-section {
  background-color: var(--cream);
}
.pricing-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .pricing-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .pricing-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card.highlighted {
  border: 2px solid #7BC242; /* from --green-grad */
  box-shadow: 0 8px 30px rgba(123, 194, 66, 0.15);
}
.pricing-card.highlighted:hover {
  box-shadow: 0 12px 40px rgba(123, 194, 66, 0.2);
}

/* Free tier — Tech Tuesday */
.pricing-card--free {
  background: linear-gradient(180deg, #F8F6EF 0%, #ffffff 60%);
  border: 2px dashed rgba(14, 36, 57, 0.35);
  box-shadow: 0 4px 16px rgba(14, 36, 57, 0.06);
}
.pricing-card--free:hover {
  border-color: var(--navy-deep, #0e2439);
  box-shadow: 0 12px 30px rgba(14, 36, 57, 0.10);
}
.pricing-card--free .tier-price {
  color: var(--navy-deep, #0e2439);
}
.pricing-card--free .tier-subnote {
  font-style: italic;
  color: var(--navy-deep, #0e2439);
  font-weight: 500;
}
.tier-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--navy-deep, #0e2439);
  color: var(--cream, #FDFAF3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full, 999px);
  margin-bottom: var(--space-3, 0.75rem);
}

.stamp-wrapper {
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 10;
}
.bounty-stamp {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  transform: rotate(4deg);
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}

.tier-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.tier-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--navy-deep);
}
.tier-price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

.tier-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  flex-grow: 1;
}
.tier-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7BC242;
  font-weight: bold;
}

.tier-subnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.pricing-notes {
  margin-top: var(--space-8);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.pricing-notes p {
  margin-bottom: var(--space-2);
}

/* ---- File upload field ---- */
.file-upload {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.file-upload-label {
  font-weight: 500;
  color: var(--navy-deep, var(--navy));
}
.file-upload-hint {
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  line-height: 1.5;
  font-weight: 400;
}
.file-upload input[type="file"] {
  padding: 0.9rem 1rem;
  border: 1.5px dashed rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-lg, 14px);
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text, #222);
}
.file-upload input[type="file"]:hover,
.file-upload input[type="file"]:focus {
  border-color: var(--green, #26c37a);
  background: rgba(38, 195, 122, 0.05);
  outline: none;
}
.file-upload input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: var(--radius-full, 999px);
  background: var(--navy, #0e2439);
  color: var(--cream, #fff);
  font-weight: 500;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.file-upload input[type="file"]::file-selector-button:hover {
  background: var(--green-dark, #189a5b);
}
.file-upload-list {
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  min-height: 1.1em;
  line-height: 1.5;
  word-break: break-word;
}
.file-upload-list.is-error {
  color: #c0392b;
  font-weight: 500;
}

/* ---- Submit status message ---- */
.form-status {
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.4em;
  line-height: 1.5;
  color: var(--text-muted, #666);
}
.form-status.is-error { color: #c0392b; font-weight: 500; }
.form-status.is-success { color: #189a5b; font-weight: 500; }
.form-status.is-info { color: var(--navy, #0e2439); }

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
