/* ══════════════════════════════════════════════════
   Ontable — Info Page (Variant 2) — extra styles
   Builds on top of style.css (imported below)
   ══════════════════════════════════════════════════ */
@import url("style.css");

/* ── Hero (light variant) ── */
.hero2 {
  background: linear-gradient(180deg, #FBFAF8 0%, var(--bg) 100%);
  padding: 56px 24px 0; color: var(--text-1);
}
.hero2-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
}
.hero2-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 20px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; margin-bottom: 16px;
}
.hero2 h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.3; margin-bottom: 14px; color: var(--text-1); }
.hero2 h1 span { color: var(--primary); }
.hero2 p { font-size: 15px; color: var(--text-2); max-width: 440px; margin-bottom: 24px; }
.hero2-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero2-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero2-trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.hero2-trust-item .ti { color: var(--primary); font-size: 18px; }

/* ── Dashboard sidebar mockup ── */
.dash2-mock {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; overflow: hidden; min-height: 340px;
}
.dash2-sidebar {
  width: 108px; flex-shrink: 0; background: linear-gradient(180deg, #450A0A, var(--primary));
  padding: 16px 8px; color: #fff;
}
.dash2-sidebar-brand { font-size: 13px; font-weight: 900; margin-bottom: 18px; padding: 0 4px; display:flex; align-items:center; gap:6px; }
.dash2-sidebar-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,.65);
  padding: 9px 4px; border-radius: 10px; margin-bottom: 4px;
}
.dash2-sidebar-item.active { background: rgba(255,255,255,.15); color: #fff; }
.dash2-sidebar-item .ti { font-size: 17px; }
.dash2-main { flex: 1; padding: 18px 20px; min-width: 0; }
.dash2-main-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash2-main-title { font-size: 14px; font-weight: 800; }
.dash2-main-date { font-size: 11px; color: var(--text-3); }
.dash2-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dash2-kpi { background: var(--bg); border-radius: 10px; padding: 10px 8px; text-align: center; }
.dash2-kpi-val { font-size: 16px; font-weight: 900; color: var(--primary); }
.dash2-kpi-lbl { font-size: 9.5px; color: var(--text-3); margin-top: 2px; }
.dash2-list-title { font-size: 11.5px; font-weight: 800; color: var(--text-2); margin-bottom: 8px; }
.dash2-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 10px; border-radius: 9px; background: var(--bg); margin-bottom: 6px; font-size: 11.5px;
}
.dash2-row-name { font-weight: 700; }
.dash2-row-sub { font-size: 10px; color: var(--text-3); }
.dash2-badge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 20px; }
.dash2-badge.warn { background: var(--gold-light, #FEF3C7); color: #92400e; }
.dash2-badge.ok { background: var(--success-light); color: #065f46; }

/* ── Problem vs Solution ── */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.compare-col { border-radius: var(--radius); padding: 24px; }
.compare-col.bad { background: #FEF2F2; border: 1px solid #FECACA; }
.compare-col.good { background: #F0FDF4; border: 1px solid #BBF7D0; }
.compare-col h3 { font-size: 16px; font-weight: 900; margin-bottom: 16px; }
.compare-col.bad h3 { color: #B91C1C; }
.compare-col.good h3 { color: #15803D; }
.compare-line { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 13.5px; }
.compare-line .ti { flex-shrink: 0; font-size: 17px; margin-top: 1px; }
.compare-line.bad .ti { color: #DC2626; }
.compare-line.good .ti { color: #16A34A; }
.compare-line strong { display: block; font-size: 13.5px; }
.compare-line span.sub { display: block; font-size: 12px; color: var(--text-2); }
.compare-arrow {
  align-self: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
}

/* ── Pricing toggle ── */
.price-toggle-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.price-toggle {
  display: inline-flex; background: var(--bg); border: 1px solid var(--border);
  border-radius: 30px; padding: 4px; gap: 4px;
}
.price-toggle button {
  border: none; background: none; padding: 8px 18px; border-radius: 24px;
  font-size: 13px; font-weight: 700; color: var(--text-2); cursor: pointer; position: relative;
}
.price-toggle button.active { background: var(--primary); color: #fff; }
.price-toggle .save-badge {
  position: absolute; top: -20px; right: -12px; background: var(--gold); color: #78350F;
  font-size: 9px; font-weight: 900; padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}

/* ── Pricing card v2 tweaks ── */
.price-card .price-cta-note { font-size: 11px; color: var(--text-3); margin-top: 8px; }
.price-card .price-strike { font-size: 12px; color: var(--text-3); text-decoration: line-through; margin-left: 4px; }
.price-users { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }

/* ── Feature comparison table ── */
.compare-table-wrap { overflow-x: auto; margin-top: 40px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 600px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 700; color: var(--text-2); }
.compare-table thead th { font-weight: 900; color: var(--text-1); background: var(--bg); }
.compare-table td .ti-check { color: var(--success); font-size: 17px; }
.compare-table td .dash { color: var(--text-3); }

/* ── Trust logos ── */
.trust-strip { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.trust-logo {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900;
}
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.trust-stat { text-align: center; }
.trust-stat-val { font-size: 22px; font-weight: 900; color: var(--primary); }
.trust-stat-lbl { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

/* ── Bottom CTA banner ── */
.cta-banner {
  background: linear-gradient(120deg, #450A0A, var(--primary) 60%, var(--primary-mid));
  border-radius: 20px; padding: 40px 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.cta-banner p { font-size: 14.5px; opacity: .8; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; opacity: .9; margin-top: 10px; }

/* ── Articles (index.html section) ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.articles-empty { text-align: center; color: var(--text-3); padding: 24px 0; grid-column: 1 / -1; }
.articles-more { text-align: center; margin-top: 28px; }
.articles-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; background: var(--white);
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
a.page-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { opacity: .4; }
.article-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.article-card-cover {
  height: 160px; display: flex; align-items: center; justify-content: center; font-size: 48px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
}
.article-card-cover.has-text {
  padding: 18px 22px; text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #E8604C 100%); color: #fff;
}
.article-card-cover.has-text span {
  font-size: 20px; font-weight: 900; line-height: 1.45; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-cover.has-image { background: var(--primary-light); }
.article-card-cover.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.article-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-card-date { font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.article-card-title { font-size: 15.5px; font-weight: 800; color: var(--text-1); line-height: 1.4; }
.article-card-excerpt {
  font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-link { font-size: 12.5px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.article-card-link .ti { font-size: 15px; }

/* ── Article detail (article.html) ── */
.article-page-head { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 24px; }
.article-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.article-back-link:hover { color: var(--primary); text-decoration: none; }
.article-loading, .article-notfound { text-align: center; padding: 80px 24px; color: var(--text-3); }
.article-notfound h2 { font-size: 20px; color: var(--text-1); margin-bottom: 10px; }
.article-date { text-align: center; font-size: 12.5px; color: var(--text-3); font-weight: 700; margin: 32px 0 8px; }
.article-title { text-align: center; font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; max-width: 760px; margin: 0 auto; line-height: 1.4; }
.article-image { display: block; max-width: min(100%, 560px); height: auto; margin: 28px auto 0; border-radius: 16px; }
.article-image[hidden] { display: none; }
.article-content {
  max-width: 720px; margin: 40px auto; font-size: 17.5px; line-height: 1.9; color: var(--text-1);
}
.article-content h1, .article-content h2, .article-content h3 { font-weight: 900; margin: 28px 0 12px; line-height: 1.4; }
.article-content h1 { font-size: 26px; } .article-content h2 { font-size: 22px; } .article-content h3 { font-size: 19px; }
.article-content p { margin-bottom: 16px; white-space: pre-wrap; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content li { margin-bottom: 6px; }
.article-content a { font-weight: 700; }
.article-content img { border-radius: var(--radius); margin: 16px 0; }
.article-content blockquote { border-left: 3px solid var(--primary); padding-left: 16px; color: var(--text-2); margin: 16px 0; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ── Founding Partner banner ── */
.founder-banner {
  background: linear-gradient(135deg, #5C1010 0%, var(--primary) 55%, var(--primary-mid) 100%);
  border-radius: 20px; padding: 32px; color: #fff; box-shadow: var(--shadow-lg);
}
.founder-banner-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.founder-chip { display: flex; align-items: center; gap: 10px; }
.founder-crown { font-size: 28px; }
.founder-chip-title { font-size: 15px; font-weight: 900; letter-spacing: .3px; }
.founder-chip-sub { font-size: 12px; color: rgba(255,255,255,.75); }
.founder-banner-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.founder-badge-new { background: var(--gold); color: #78350F; font-size: 11px; font-weight: 900; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.founder-deadline { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 8px 12px; font-size: 11px; font-weight: 700; line-height: 1.5; text-align: right; }
.founder-deadline .ti { margin-right: 4px; }

.founder-banner-mid { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.founder-banner-mid h3 { font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.founder-banner-mid > p { font-size: 12.5px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.founder-perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.founder-perk { display: flex; gap: 10px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px; }
.founder-perk-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #78350F;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0;
}
.founder-perk-title { font-size: 14px; font-weight: 800; }
.founder-perk-sub { font-size: 12px; color: rgba(255,255,255,.7); margin: 2px 0 6px; }
.founder-perk-tag { display: inline-block; background: rgba(255,255,255,.15); font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

.founder-banner-extra { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.founder-extra-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; flex: 1; min-width: 220px; }
.founder-extra-item .ti { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.founder-extra-item strong { display: block; font-size: 13px; font-weight: 800; }
.founder-extra-item span { color: rgba(255,255,255,.7); font-size: 11.5px; }

.founder-cta { display: flex; width: fit-content; margin: 0 auto; }
.founder-fineprint { text-align: center; font-size: 10.5px; color: rgba(255,255,255,.55); margin-top: 12px; }

/* ── Problem box ── */
.problem-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; }
.problem-solved-note { text-align: center; font-weight: 800; color: var(--primary); margin-top: 28px; font-size: 14.5px; }

/* ── How-it-works flow ── */
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 112px; }
.flow-step-icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.flow-step-title { font-size: 13px; font-weight: 800; }
.flow-step-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.flow-arrow { color: var(--text-3); font-size: 18px; flex-shrink: 0; }

/* ── Section header with inline link (commission explain) ── */
.section-head-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.section-head-link { font-size: 13px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.why-card-highlight { margin-top: 8px; font-weight: 700; color: var(--text-1); font-size: 14px; }
.why-card-highlight span { color: var(--text-2); font-weight: 500; }
.price-note-founder { color: var(--gold-dark); font-weight: 800; }

/* ── Bottom CTA trust row ── */
.cta-banner-trust { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; font-weight: 700; opacity: .85; margin-top: 12px; }
.cta-banner-trust .ti { color: var(--gold); margin-right: 4px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); margin: 0 auto; }
  .dash2-kpi-row { grid-template-columns: 1fr 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .founder-perks-grid { grid-template-columns: 1fr; }
  .founder-banner-badges { width: 100%; justify-content: space-between; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-steps { flex-direction: column; }
}
@media (max-width: 560px) {
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-actions { align-items: center !important; }
  .cta-banner-trust { justify-content: center; }
  .articles-grid { grid-template-columns: 1fr; }
}
