/* Feedback form styles */

body, .feedback-form-container, .feedback-form-label, .feedback-form-input, .feedback-form-textarea {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.feedback-form-container {
  max-width: 480px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 2.5rem;
}
.feedback-form-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}
.feedback-form-group {
  margin-bottom: 1.2rem;
}
.feedback-form-label {
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 0.4rem;
}
.feedback-form-input,
.feedback-form-textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9fafb;
}
.feedback-form-textarea {
  resize: vertical;
}
.feedback-form-submit {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.feedback-form-submit:hover {
  background: #1d4ed8;
}
/* Marketing layout styles for SaaS */

/* Marketing layout styles for SaaS */

.marketing-layout {
  min-height: 100vh;
  background: #f4f6f8;
  display: flex;
  flex-direction: column;
}
/* Home page hero and features styles for SaaS */
.home-hero {
  max-width: 700px;
  margin: 60px auto 40px auto;
  text-align: center;
  padding: 40px 24px 32px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.home-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: #1d3557;
  font-weight: 700;
}
.home-hero p {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 32px;
}
.home-hero .cta-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.home-hero .cta-btn:hover {
  background: #1d4ed8;
}
.home-features {
  max-width: 900px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.home-feature {
  background: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 28px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
}
.home-feature h3 {
  color: #2563eb;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.home-feature p {
  color: #374151;
  font-size: 1rem;
}

/* Plans section styles */
.home-plans {
  max-width: 900px;
  margin: 56px auto 0 auto;
}
.home-plans h2 {
  text-align: center;
  color: #1d3557;
  font-size: 2rem;
  margin-bottom: 32px;
}
.plans-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.plan-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 32px 24px;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  flex: 1 1 220px;
}
.plan-card h3 {
  color: #2563eb;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.plan-period {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 400;
}
.plan-limit {
  color: #374151;
  margin-bottom: 18px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
  color: #374151;
}
.plan-btn {
  width: 100%;
  display: inline-block;
}

.marketing-header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 18px 0 16px 0;
  text-align: right;
}

.auth-links {
  margin-right: 36px;
  font-size: 1.08rem;
}

.auth-links a,
.auth-links .logout-button {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  margin-left: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.auth-links a:hover,
.auth-links .logout-button:hover {
  color: #1d4ed8;
}

.logout-form {
  display: inline;
}

.marketing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Custom styles for How It Works section */
.how-it-works-section {
  max-width: 700px;
  margin: 48px auto 48px auto;
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.how-it-works-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
  color: #223;
}

/* Stepper styles for How It Works */
.how-steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.how-step {
  background: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  padding: 28px 20px 20px 20px;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.how-step-circle {
  width: 44px;
  height: 44px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.how-step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #223;
  margin-bottom: 8px;
  text-align: center;
}
.how-step-desc {
  color: #444;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 900px) {
  .how-steps {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .how-step {
    max-width: 100%;
    min-width: 0;
  }
}


/* ── ACORD 25 Interactive Form ───────────────────────────────────────── */

/* Full-bleed breakout — escapes the max-w-3xl article wrapper */
.acord25-section-widen {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 24px;
  box-sizing: border-box;
}

.acord25-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.acord25-hint {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 12px;
  text-align: center;
}

/* SVG form */
.acord25-svg-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: #fff;
}

.acord25-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Clickable zone styles */
.acord-zone {
  cursor: pointer;
  outline: none;
}

.acord-zone__rect {
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.acord-zone:hover .acord-zone__rect,
.acord-zone:focus .acord-zone__rect {
  fill: rgba(59, 130, 246, 0.06);
  stroke: #3b82f6;
  stroke-width: 1.5;
}

.acord-zone--active .acord-zone__rect {
  fill: rgba(59, 130, 246, 0.10) !important;
  stroke: #2563eb !important;
  stroke-width: 2 !important;
}

.acord-zone__pulse {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.acord-zone:hover .acord-zone__pulse {
  opacity: 1;
}

/* Modal popup */
.acord-panel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.acord-panel--visible {
  opacity: 1;
  pointer-events: all;
}

.acord-panel__inner {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 28px 32px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.acord-panel--visible .acord-panel__inner {
  transform: scale(1);
}

.acord-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.acord-panel__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 6px 0 0 0;
  line-height: 1.3;
}

.acord-panel__close {
  flex-shrink: 0;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  margin-top: 2px;
  line-height: 0;
}

.acord-panel__close:hover {
  background: #e5e7eb;
  color: #111827;
}

.acord-panel__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.acord-panel__body > .acord-panel__tip {
  grid-column: 1 / -1;
}

.acord-panel__what,
.acord-panel__why {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px 16px;
}

.acord-panel__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.acord-panel__tip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.6;
}

.acord-panel__tip::before {
  content: "Pro tip: ";
  font-weight: 700;
}

.acord-panel__arrow {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  grid-column: 1 / -1;
}

/* Tags */
.acord-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
}

.acord-tag--red    { background: #fee2e2; color: #991b1b; }
.acord-tag--yellow { background: #fef9c3; color: #854d0e; }
.acord-tag--blue   { background: #dbeafe; color: #1e40af; }
.acord-tag--gray   { background: #f3f4f6; color: #6b7280; }

/* Legend */
.acord25-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  justify-content: center;
}

.acord25-legend__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #6b7280;
}

.acord25-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.acord25-legend__dot--red    { background: #ef4444; }
.acord25-legend__dot--yellow { background: #f59e0b; }
.acord25-legend__dot--blue   { background: #3b82f6; }
.acord25-legend__dot--gray   { background: #9ca3af; }

/* Modal backdrop */
.acord-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.acord-overlay--visible {
  display: block;
  opacity: 1;
}

/* Prevent body scroll when modal is open */
body.acord-modal-open {
  overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .acord25-section-widen {
    padding: 0 12px;
  }

  .acord-panel {
    padding: 12px;
    align-items: flex-end;
  }

  .acord-panel__inner {
    padding: 18px 16px;
    border-radius: 14px 14px 0 0;
    max-height: 80vh;
  }

  .acord-panel__body {
    grid-template-columns: 1fr;
  }

  .acord-panel__title {
    font-size: 1rem;
  }
}
