/* Compare pages CSS — extracted from www.adalo.com computed styles */
/* Shared across /adalo-vs-bubble, /adalo-vs-flutterflow, /adalo-vs-glide */

.avb-wrap, .avf-wrap, .avg-wrap, .avt-wrap, .avl-wrap, .avap-wrap {
  font-family: 'Work Sans', Arial, sans-serif;
  color: #424242;
  font-size: 17px;
  line-height: 1.6;
}

/* ── Hero ── */
.hero {
  background: #000;
  color: #fff;
  padding: 80px 40px 100px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 20px;
  color: #fff;
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Brand color spans ── */
.teal { color: #00A695; }
.bubble-red { color: #F2524E; }
.ff-blue { color: #027DFD; }
.glide-purple { color: #7B68EE; }
.thunkable-blue { color: #4B7BEC; }
.lovable-coral { color: #FF6B6B; }
.appy-pie-orange { color: #FF5722; }

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00A695;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 45%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.1s ease;
  box-shadow: 0 6px 0 #006B5E, inset 0 1px 1px rgba(255,255,255,0.25), 0 12px 28px rgba(0, 152, 133, 0.35);
}
.btn-gold:hover { background: #00a695; background-image: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 45%, transparent 100%); transform: translateY(3px); box-shadow: 0 3px 0 #006B5E, inset 0 1px 1px rgba(255,255,255,0.3), 0 6px 20px rgba(0, 152, 133, 0.3); }
.btn-gold:active { background: #009080; background-image: none; transform: translateY(6px); box-shadow: 0 0px 0 #006B5E, inset 0 2px 4px rgba(0,0,0,0.2), 0 2px 10px rgba(0, 152, 133, 0.15); }

.btn-gold-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFBB00;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 45%, transparent 100%);
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.1s ease;
  box-shadow: 0 6px 0 #C89200, inset 0 1px 1px rgba(255,255,255,0.4), 0 0 20px rgba(255,187,0,0.25), 0 0 40px rgba(255,187,0,0.1);
}
.btn-gold-large:hover { transform: translateY(3px); text-decoration: none; box-shadow: 0 3px 0 #C89200, inset 0 1px 1px rgba(255,255,255,0.4), 0 0 40px rgba(255,187,0,0.5), 0 0 80px rgba(255,187,0,0.25); }
.btn-gold-large:active { transform: translateY(6px); box-shadow: 0 0 0 #C89200, inset 0 2px 3px rgba(0,0,0,0.15), 0 0 20px rgba(255,187,0,0.2); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Score Banner ── */
.score-banner {
  background: #F8F4EE;
  padding: 64px 40px;
  text-align: center;
}

.score-banner h2 {
  color: #00A695;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.score-banner .subtitle {
  color: #666;
  font-size: 16px;
  margin: 0 auto 40px;
  max-width: 600px;
}

.score-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.score-pill {
  text-align: center;
}

.score-pill .score {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.score-pill.adalo .score { color: #00A695; }
.score-pill.bubble .score { color: #333; }
.score-pill.ff .score { color: #333; }
.score-pill.glide .score { color: #333; }
.score-pill.thunkable .score { color: #333; }
.score-pill.lovable .score { color: #333; }
.score-pill.appy-pie .score { color: #333; }

.score-pill .label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.score-pill .rank {
  font-size: 14px;
  font-weight: 500;
  color: #00A695;
}

.score-vs {
  color: #999;
  font-size: 18px;
  font-weight: 300;
}

.score-source {
  color: #999;
  font-size: 14px;
  margin-top: 24px;
}
.score-source a { color: #00A695; text-decoration: none; }
.score-source a:hover { text-decoration: underline; }

/* ── Sections ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section h2 {
  color: #00A695;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 24px;
  line-height: 1.3;
}

.section p {
  color: #424242;
  font-size: 16px;
  line-height: 1.7;
}

.section-header p {
  color: #666;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Wins Grid ── */
.wins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.wins-col h3 {
  padding-bottom: 16px;
  border-bottom: 2px solid #E6E6E6;
}

.wins-col.adalo h3 {
  color: #00A695;
  border-bottom-color: #00A695;
}

.wins-col.bubble h3 {
  color: #F2524E;
  border-bottom-color: #F2524E;
}

.wins-col.ff h3 {
  color: #027DFD;
  border-bottom-color: #027DFD;
}

.wins-col.glide h3 {
  color: #7B68EE;
  border-bottom-color: #7B68EE;
}

.wins-col.thunkable h3 {
  color: #4B7BEC;
  border-bottom-color: #4B7BEC;
}
.wins-col.lovable h3 {
  color: #FF6B6B;
  border-bottom-color: #FF6B6B;
}
.wins-col.appy-pie h3 {
  color: #FF5722;
  border-bottom-color: #FF5722;
}

.win-item {
  margin-bottom: 32px;
}

.win-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.win-item p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* ── Choose Grid ── */
.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.choose-card {
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  padding: 32px;
}

.choose-card h3 {
  margin-bottom: 16px;
}

.choose-card p {
  color: #555;
  line-height: 1.7;
}

.choose-card ul {
  padding-left: 20px;
  color: #555;
}

.choose-card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 15px;
}

.comparison-table th {
  background: #F8F4EE;
  padding: 14px 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #E6E6E6;
  color: #333;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #E6E6E6;
  vertical-align: top;
  color: #424242;
}

.comparison-table tr:hover td {
  background: #FAFAF8;
}

.comparison-table .yes { color: #00A695; font-weight: 500; }
.comparison-table .no { color: #999; }
.comparison-table .partial { color: #EEB21B; font-weight: 500; }

/* ── Cost Grid ── */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.cost-card {
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  padding: 32px;
}

.cost-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.cost-card p {
  margin: 0 0 8px;
  line-height: 1.7;
}

.cost-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #00A695;
  margin: 16px 0;
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E6E6E6;
  padding: 24px 0;
}

.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #999;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 16px 0 0;
  color: #555;
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(180deg, #009885, #012A25);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
  pointer-events: none;
}

.cta-section h2, .cta-section p, .cta-section .cta-buttons, .cta-section .cta-footer-links {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: none;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Chart section ── */
.comparison-page-chart {
  text-align: center;
  margin: 40px 0;
}

.comparison-page-chart img {
  max-width: 100%;
  border-radius: 12px;
}

.comparison-page-disclaimer {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin-top: 8px;
}

.category-note {
  color: #999;
  font-size: 14px;
  font-style: italic;
  margin-top: 4px;
}

/* ── Divider ── */
.divider {
  width: 1px;
  background: #E6E6E6;
  min-height: 80px;
}

/* ── Cream section background ── */
.section-cream {
  background: #F8F4EE;
}

/* ── Testimonials ── */
.testimonials-section {
  background: #00A695;
  padding: 64px 40px;
  text-align: center;
}

.testimonials-section .section-header {
  margin-bottom: 40px;
}

.testimonials-section h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.testimonial-card p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  font-style: italic;
}

.testimonial-author {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.testimonial-handle {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ── Table footnote ── */
.table-footnote {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-top: 16px;
}

.table-footnote a {
  color: #00A695;
  text-decoration: none;
}

.table-footnote a:hover {
  text-decoration: underline;
}

/* ── Cost card extras ── */
.cost-card .price-main {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin: 16px 0 4px;
}

.cost-card .price-sub {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.cost-card ul {
  padding-left: 20px;
  color: #555;
  line-height: 1.7;
}

.cost-card ul li {
  margin-bottom: 8px;
}

.cost-card .total {
  font-size: 15px;
  font-weight: 600;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #eee;
}

/* ── H2 Highlight Spans ── */
.hl { padding: 0 6px; border-radius: 4px; }
.hl-yellow { background: rgba(255, 187, 0, 0.45); }
.hl-green { background: rgba(0, 168, 152, 0.35); }
.hl-blue { background: rgba(2, 125, 253, 0.30); }
.hl-red { background: rgba(242, 82, 78, 0.35); }
.hl-pink { background: rgba(236, 72, 153, 0.35); }
.hl-purple { background: rgba(123, 104, 238, 0.35); }
.hl-gold { background: rgba(255, 187, 0, 0.50); }

/* ── Alternating Table Rows ── */
.comparison-table tr:nth-child(even) td { background: #f0efe9; }

/* ── Brand-Colored Bullet Points in Wins Sections ── */
.wins-col ul, .win-item ul { list-style: none; padding-left: 0; }
.wins-col li, .win-item li { padding: 6px 10px 6px 22px; position: relative; }
.wins-col li::before, .win-item li::before { content: '\2022'; position: absolute; left: 8px; font-weight: 700; font-size: 16px; }
.wins-col.adalo li::before { color: #00A695; }
.wins-col.bubble li::before { color: #F2524E; }
.wins-col.ff li::before { color: #027DFD; }
.wins-col.glide li::before { color: #7B68EE; }
.wins-col.thunkable li::before { color: #4B7BEC; }
.wins-col.lovable li::before { color: #FF6B6B; }
.wins-col.appy-pie li::before { color: #FF5722; }
.wins-col li:nth-child(even) { background: rgba(0,0,0,0.025); border-radius: 4px; }

/* ── Brand-Colored Choose Card Bullets ── */
.choose-card ul { list-style: none; padding-left: 0; }
.choose-card li { padding: 6px 10px 6px 22px; position: relative; font-size: 14px; line-height: 1.6; }
.choose-card li::before { content: '\2022'; position: absolute; left: 8px; color: inherit; font-weight: 700; font-size: 16px; }
.choose-card li:nth-child(even) { background: rgba(0,0,0,0.06); border-radius: 4px; }
.choose-card.adalo li::before { color: #00A695; }
.choose-card.bubble li::before { color: #F2524E; }
.choose-card.ff li::before { color: #027DFD; }
.choose-card.glide li::before { color: #7B68EE; }
.choose-card.thunkable li::before { color: #4B7BEC; }
.choose-card.lovable li::before { color: #FF6B6B; }
.choose-card.appy-pie li::before { color: #FF5722; }

/* ── Dark FAQ Section ── */
.section-faq { background: #1a1a1a; color: #fff; padding: 64px 40px; }
.section-faq .section-header { text-align: center; margin-bottom: 48px; }
.section-faq .section-header h2 { color: #fff; }
.section-faq .faq-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; max-width: 1100px; margin: 0 auto; }
.section-faq .faq-item { background: #262626; border-radius: 10px; overflow: hidden; border-bottom: none; padding: 0; }
.section-faq .faq-question { padding: 1.25rem 1.5rem 0.5rem; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.section-faq .faq-answer { padding: 0 1.5rem 1.25rem; }
.section-faq .faq-answer p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.9375rem; margin: 0 0 8px; }
.section-faq .faq-answer p:last-child { margin-bottom: 0; }
.section-faq .faq-answer a { color: #00A898; }
.section-faq .faq-answer table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.section-faq .faq-answer th { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); font-weight: 600; }
.section-faq .faq-answer td { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.section-faq .faq-answer em { color: rgba(255,255,255,0.5); }
.section-faq .faq-answer strong { color: rgba(255,255,255,0.9); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 48px 20px 60px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .score-banner { padding: 40px 20px; }
  .score-banner h2 { font-size: 24px; }
  .score-pills { flex-direction: column; gap: 24px; }
  .score-pill .score { font-size: 48px; }
  .score-vs { display: none; }
  .section { padding: 40px 20px; }
  .section h2 { font-size: 24px; }
  .wins-grid { grid-template-columns: 1fr; gap: 32px; }
  .choose-grid { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .section { overflow: hidden; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .cta-section { padding: 48px 20px; }
  .cta-section h2 { font-size: 28px; }
  .testimonials-section { padding: 40px 20px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .section-faq { padding: 40px 20px; }
  .section-faq .faq-container { grid-template-columns: 1fr; }
}
