/* ===================================================================
   GoToTask — Modern Comparison Design System (compare-pages.css)
   World-Class UI for GoToTask vs Trello, Asana, ClickUp & Monday.com
   =================================================================== */

/* ── 1. Page Canvas & Layout ── */
.gtt-compare-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  color: #0f172a;
  font-family: inherit;
}

/* ── 2. Atmospheric Comparison Hero ── */
.gtt-compare-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.gtt-compare-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.15rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: #4f46e5;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.gtt-compare-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.gtt-compare-title {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1.15rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.gtt-compare-gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gtt-compare-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #475569;
  max-width: 780px;
  margin: 0 auto 2rem;
}

/* Quick Takeaway Banner */
.gtt-compare-takeaway {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-left: 5px solid #4f46e5;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  text-align: left;
  max-width: 920px;
  margin: 0 auto 3rem;
  box-shadow: 0 4px 16px -2px rgba(79, 70, 229, 0.06);
}

.gtt-compare-takeaway-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4338ca;
  margin-bottom: 0.5rem;
}

.gtt-compare-takeaway p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #1e293b;
}

/* ── 3. Tale of the Tape: Side-by-Side Profile Cards ── */
.gtt-tape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.gtt-tape-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.gtt-tape-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
}

.gtt-tape-card--featured {
  border: 2px solid #4f46e5;
  box-shadow: 0 12px 32px -4px rgba(79, 70, 229, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.gtt-tape-badge-recommended {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.gtt-tape-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.gtt-tape-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gtt-tape-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  background: #0f172a;
}

.gtt-tape-name {
  font-size: 1.45rem;
  font-weight: 850;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.gtt-tape-tagline {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.15rem 0 0;
}

.gtt-tape-score {
  text-align: right;
}

.gtt-tape-score-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.gtt-tape-score-label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gtt-tape-summary {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.5rem;
}

.gtt-tape-list-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.gtt-tape-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gtt-tape-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.935rem;
  line-height: 1.5;
  color: #334155;
}

.gtt-tape-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}

.gtt-item--pro svg { color: #10b981; }
.gtt-item--con svg { color: #ef4444; }

.gtt-tape-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-top: auto;
}

.gtt-tape-pricing-val {
  font-size: 1.25rem;
  font-weight: 850;
  color: #0f172a;
}

.gtt-tape-pricing-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.25rem;
  line-height: 1.45;
}

/* ── 4. In-Depth Comparative Article Content ── */
.gtt-compare-prose {
  margin-bottom: 3.5rem;
}

.gtt-compare-section-title {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 3rem 0 1.25rem;
  line-height: 1.25;
}

.gtt-compare-prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 1.5rem;
}

.gtt-compare-prose strong {
  color: #0f172a;
  font-weight: 750;
}

/* Highlighted Callout Cards */
.gtt-compare-callout {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  border-radius: 0 16px 16px 0;
  padding: 1.65rem 1.85rem;
  margin: 2.25rem 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.gtt-callout-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4338ca;
  margin-bottom: 0.6rem;
}

.gtt-compare-callout p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
}

/* ── 5. Full Feature Comparison Scorecard Table ── */
.gtt-table-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.05);
  margin: 2.5rem 0 3.5rem;
}

.gtt-table-header-box {
  padding: 1.75rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.gtt-table-header-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.gtt-table-header-box p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.gtt-compare-scorecard {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.gtt-compare-scorecard th {
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.gtt-compare-scorecard th.gtt-col-gt {
  background: #eef2ff;
  color: #4338ca;
  border-bottom-color: #818cf8;
}

.gtt-compare-scorecard td {
  padding: 1.15rem 1.5rem;
  font-size: 0.94rem;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.gtt-compare-scorecard tr:last-child td {
  border-bottom: none;
}

.gtt-compare-scorecard tr:hover td {
  background: #fafbfc;
}

.gtt-compare-scorecard tr:hover td.gtt-col-gt {
  background: #f5f7ff;
}

.gtt-compare-scorecard td.gtt-col-gt {
  background: #fcfdff;
  font-weight: 600;
  border-left: 1px solid #e0e7ff;
  border-right: 1px solid #e0e7ff;
}

.gtt-capability-name {
  font-weight: 750;
  color: #0f172a;
  display: block;
}

.gtt-capability-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.gtt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.gtt-status--yes {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.gtt-status--no {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.gtt-status--partial {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ── 6. Tool Sprawl & ROI Calculator Box ── */
.gtt-roi-box {
  background: linear-gradient(135deg, #090919 0%, #0f1235 50%, #151842 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.4);
}

.gtt-roi-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.gtt-roi-header h3 {
  font-size: 1.85rem;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.gtt-roi-header p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.65;
}

.gtt-roi-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.gtt-roi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.85rem 1.65rem;
  backdrop-filter: blur(12px);
}

.gtt-roi-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #ffffff;
}

.gtt-roi-card--gt {
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.4);
}

.gtt-roi-breakdown {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.gtt-roi-breakdown li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 0.4rem;
}

.gtt-roi-total {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 0.5rem;
}

.gtt-roi-savings {
  font-size: 0.85rem;
  font-weight: 750;
  color: #34d399;
  margin-top: 0.25rem;
}

/* ── 7. FAQ Accordion Grid ── */
.gtt-faq-section {
  margin: 3.5rem 0;
}

.gtt-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gtt-faq-card,
.gtt-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.65rem 1.5rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.gtt-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.gtt-faq-card h4,
.gtt-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.65rem;
  line-height: 1.35;
  cursor: pointer;
}

.gtt-faq-question svg {
  color: #6366f1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.gtt-faq-item.is-open .gtt-faq-question svg {
  transform: rotate(180deg);
}

.gtt-faq-card p,
.gtt-faq-answer p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ── 8. Bottom Switch & Free Trial CTA ── */
.gtt-compare-cta {
  background: linear-gradient(135deg, #090919 0%, #0d102e 50%, #17194a 100%);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.35);
  margin-top: 4rem;
}

.gtt-compare-cta h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.gtt-compare-cta p {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.gtt-compare-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gtt-compare-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.45);
  transition: all 0.22s ease;
}

.gtt-compare-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.6);
}

.gtt-compare-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  font-weight: 750;
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.22s ease;
}

.gtt-compare-btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.gtt-compare-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

.gtt-compare-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gtt-compare-badges svg {
  color: #10b981;
}

/* ── 9. Alternatives Hub Styles (views/compare/index.php) ── */
.gtt-alt-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.gtt-alt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gtt-alt-card:hover {
  transform: translateY(-5px);
  border-color: #818cf8;
  box-shadow: 0 16px 32px -6px rgba(79, 70, 229, 0.12);
}

.gtt-alt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gtt-alt-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gtt-alt-card h3 {
  font-size: 1.35rem;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.gtt-alt-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.5rem;
}

.gtt-alt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 750;
  color: #4f46e5;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.gtt-alt-card:hover .gtt-alt-card-link {
  gap: 0.75rem;
}

/* ── 10. Responsive Breakpoints ── */
@media (max-width: 991px) {
  .gtt-tape-grid,
  .gtt-roi-cards,
  .gtt-faq-grid,
  .gtt-alt-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gtt-compare-scorecard th,
  .gtt-compare-scorecard td {
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 640px) {
  .gtt-compare-hero {
    padding: 2.5rem 0 2rem;
  }
  .gtt-compare-wrapper {
    padding: 0 1rem 3rem;
  }
  .gtt-tape-card {
    padding: 1.5rem 1.25rem;
  }
  .gtt-roi-box {
    padding: 2rem 1.25rem;
  }
  .gtt-compare-cta {
    padding: 2.5rem 1.25rem;
  }
}
