/* UI Fixes & Improvements — loaded after style.css */

/* ── Trial Email Modal ───────────────────────────────── */
.trial-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,10,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}
.trial-modal-box {
  background: #fffef9;
  border: 1px solid rgba(232,114,12,.18);
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(232,114,12,.18), 0 4px 20px rgba(0,0,0,.12);
  text-align: center;
  animation: fadeSlideIn 0.25s ease;
  position: relative;
}
.trial-modal-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.trial-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.trial-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.trial-modal-desc strong {
  color: var(--primary);
}
.trial-modal-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(232,114,12,.25);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
  transition: border-color .2s;
  margin-bottom: 0.4rem;
}
.trial-modal-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,114,12,.12);
}
.trial-modal-error {
  color: #c0392b;
  font-size: 0.82rem;
  min-height: 1.2em;
  margin-bottom: 0.5rem;
  text-align: left;
}
.trial-modal-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  margin-bottom: 0.65rem;
}
.trial-modal-skip {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-bottom: 0.8rem;
  display: block;
  width: 100%;
  text-align: center;
}
.trial-modal-skip:hover { color: var(--primary); }
.trial-modal-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}
/* Confirm state */
.trial-modal-state-confirm {
  padding-top: 0.5rem;
}
.trial-modal-loader {
  height: 4px;
  background: rgba(232,114,12,.15);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 1.5rem;
}
.trial-modal-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #ffd06b);
  border-radius: 99px;
  animation: trialProgress 3.5s ease-in-out forwards;
}
@keyframes trialProgress {
  from { width: 0% }
  to   { width: 100% }
}
@keyframes fadeIn {
  from { opacity: 0 }
  to   { opacity: 1 }
}
.honeypot-field { display: none !important; }


/* ── Trust Bar: more breathing room ─────────────────── */
.trust-bar {
  gap: 2rem;
  margin-top: 3rem;
}
.trust-item {
  padding: .35rem .6rem;
  background: rgba(255,255,255,.6);
  border-radius: 50px;
  border: 1px solid rgba(232,114,12,.1);
}

/* ── Testimonial Cards: elevation & structure ────────── */
.testimonial-card {
  border: 1px solid rgba(232,114,12,.1);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(232,114,12,.05), 0 1px 3px rgba(0,0,0,.04);
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(232,114,12,.13), 0 4px 12px rgba(0,0,0,.06);
  transform: translateY(-3px);
  border-color: rgba(232,114,12,.2);
}
.testimonial-stars {
  font-size: 1rem;
  margin-bottom: .1rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,114,12,.12), rgba(245,166,35,.22));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  border: 1px solid rgba(232,114,12,.15);
}
.testimonial-author {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(232,114,12,.07);
}
.testimonial-text {
  font-size: .95rem;
  line-height: 1.65;
  color: #2d2d2d;
  font-style: italic;
}

/* ── Pricing: Featured card more contrast ────────────── */
.pricing-card.featured {
  border-width: 2px;
  border-color: var(--primary);
  background: linear-gradient(155deg, #fffef9 0%, #fff7ed 100%);
}
.pricing-card.featured .btn-primary {
  padding: .85rem 1.4rem;
  font-size: .95rem;
  box-shadow: 0 4px 18px rgba(232,114,12,.35);
}
.pricing-card.featured .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(232,114,12,.5);
}

/* ── FAQ: Cleaner indicator ──────────────────────────── */
.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s ease;
  margin-left: auto;
}
.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

/* ── Footer headings: ensure h4 gets proper styling ─── */
.footer-col h3,
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

/* ── Search CTA button: smooth mobile transition ─────── */
@media (max-width: 520px) {
  .search-submit-btn {
    border-radius: var(--radius);
    font-size: .9rem;
    padding: .8rem 1.2rem;
  }
}
