/* ============================================================
   SumGeniusAI Design System v2 — ChatGenius channel pages
   (ds2-channels.css)
   Restyles the shared section classes used by
   /services/chatgenius-channels/*.html and
   /services/instagram-caption-generator.html on ds2 tokens.
   Monochrome only. Load order: ds2-fonts.css -> ds2.css -> this.
   ============================================================ */

.container{max-width:1180px;margin:0 auto;padding:0 24px}

main{display:block}

/* ============================================================
   HERO
   ============================================================ */
.service-hero{position:relative;overflow:hidden;padding:76px 0 56px;text-align:center}
.service-hero .container{position:relative;z-index:1}
.service-hero h1{max-width:17em;margin:0 auto 22px}
.service-hero h1.gradient-text{background:none;-webkit-text-fill-color:currentColor;color:var(--text)}
.service-hero > .container > p,
.service-hero .hero-description{
  color:var(--text-2);font-size:1.125rem;line-height:1.7;
  max-width:44em;margin:0 auto 30px;
}

.breadcrumb{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
  font-size:0.8125rem;color:var(--text-3);margin-bottom:26px;
}
.breadcrumb a{color:var(--text-3);transition:color 0.2s ease}
.breadcrumb a:hover{color:var(--text)}
.breadcrumb .sep{opacity:0.6}
.breadcrumb > span:last-child{color:var(--text-2)}

.meta-badge,.hero-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:0.8125rem;font-weight:500;color:var(--text-2);
  border:1px solid var(--border);border-radius:999px;padding:7px 14px;margin-bottom:24px;
  background:var(--panel-2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
}
.meta-badge img,.hero-eyebrow img{height:14px;width:auto;filter:brightness(0) invert(1);opacity:0.9}

.cta-group{display:flex;flex-direction:column;align-items:center;gap:16px}
.cta-note{font-size:0.875rem;color:var(--text-3);margin:0}

/* Buttons (mirror ds2 .btn-primary / .btn-ghost) */
.btn-large{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:500;font-size:1.0625rem;border-radius:14px;border:1px solid transparent;
  padding:15px 30px;white-space:nowrap;
  background:var(--accent);color:#000;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.18),0 2px 6px rgba(0,0,0,0.5),0 8px 24px -6px rgba(255,255,255,0.5);
  transition:transform 0.3s var(--spring),box-shadow 0.25s ease,background 0.2s ease;
}
.btn-large:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 4px 10px rgba(0,0,0,0.5),0 14px 32px -6px rgba(255,255,255,0.6);
}
.btn-large:active{transform:translateY(0) scale(0.98)}
.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:500;font-size:1.0625rem;border-radius:14px;
  padding:15px 30px;white-space:nowrap;
  background:rgba(255,255,255,0.04);color:var(--text);border:1px solid var(--border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
  transition:transform 0.3s var(--spring),background 0.2s ease,border-color 0.2s ease;
}
.btn-outline:hover{background:rgba(255,255,255,0.08);border-color:var(--border-strong);transform:translateY(-2px)}
.service-hero .cta-group{flex-direction:row;flex-wrap:wrap;justify-content:center}
.service-hero .cta-group .cta-note{flex-basis:100%}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar{padding:10px 0 26px}
.trust-bar .container{
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  padding-top:28px;padding-bottom:28px;
}
.trust-bar-label{
  text-align:center;font-size:0.8125rem;color:var(--text-3);font-weight:500;
  letter-spacing:0.06em;text-transform:uppercase;margin:0 0 20px;
}
.trust-bar-logos{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:clamp(28px,5vw,56px);
}
.trust-bar-logos img{
  height:22px;width:auto;opacity:0.55;
  filter:brightness(0) invert(1);
  transition:opacity 0.25s ease;
}
.trust-bar-logos img:hover{opacity:0.85}

.section-divider{height:1px;background:var(--border);max-width:1132px;margin:0 auto}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section{padding:84px 0 0;position:relative}
.content-section:last-of-type{padding-bottom:40px}
.section-title{text-align:center;margin:0 auto 14px;max-width:24em}
.section-subtitle{
  text-align:center;color:var(--text-2);font-size:1.0625rem;
  max-width:44em;margin:0 auto 48px;
}
.section-title + .section-subtitle{margin-top:0}
.content-section .section-title:last-child{margin-bottom:48px}

/* Steps */
.steps-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;
}
.step-card{
  background:var(--panel);border:1px solid transparent;border-radius:var(--radius);
  box-shadow:var(--shadow-tile);padding:26px;
  display:flex;flex-direction:column;gap:12px;
  transition:transform 0.35s var(--spring),box-shadow 0.3s ease,border-color 0.3s ease;
}
.step-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.step-number{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:10px;flex:none;
  border:1px solid var(--border);background:rgba(255,255,255,0.04);
  font-weight:600;font-size:0.9rem;color:var(--text-2);
}
.step-card h3{font-size:1.0625rem;font-weight:600;letter-spacing:-0.01em}
.step-card p{color:var(--text-2);font-size:0.9375rem;line-height:1.65;margin:0}

/* Feature grid */
.feature-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;
}
.feature-card{
  background:var(--panel);border:1px solid transparent;border-radius:var(--radius);
  box-shadow:var(--shadow-tile);padding:26px;
  display:flex;flex-direction:column;gap:12px;
  transition:transform 0.35s var(--spring),box-shadow 0.3s ease,border-color 0.3s ease;
}
.feature-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.feature-icon{
  width:42px;height:42px;border-radius:12px;flex:none;
  border:1px solid var(--border);background:rgba(255,255,255,0.04);
  display:inline-flex;align-items:center;justify-content:center;
}
.feature-icon svg{width:22px;height:22px;color:var(--text-2)}
.feature-card h3{font-size:1.0625rem;font-weight:600;letter-spacing:-0.01em}
.feature-card p{color:var(--text-2);font-size:0.9375rem;line-height:1.65;margin:0}
.feature-card code{
  background:rgba(255,255,255,0.08);padding:2px 6px;border-radius:4px;font-size:0.9em;
}

/* Bento (channels index) */
.bento-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bento-card{
  background:var(--panel);border:1px solid transparent;border-radius:var(--radius);
  box-shadow:var(--shadow-tile);padding:26px;
  display:flex;flex-direction:column;gap:12px;
  position:relative;overflow:hidden;
  transition:transform 0.35s var(--spring),box-shadow 0.3s ease,border-color 0.3s ease;
}
.bento-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.bento-large{grid-column:span 2}
.bento-icon{
  width:42px;height:42px;border-radius:12px;flex:none;
  border:1px solid var(--border);background:rgba(255,255,255,0.04);
  display:inline-flex;align-items:center;justify-content:center;
}
.bento-icon svg{width:22px;height:22px;color:var(--text-2)}
.bento-card h3{font-size:1.125rem;font-weight:600;letter-spacing:-0.01em}
.bento-card h3 a{transition:color 0.2s ease}
.bento-card h3 a:hover{color:var(--text-2)}
.bento-card p{color:var(--text-2);font-size:0.9375rem;line-height:1.65;margin:0;flex:1}
.bento-link{
  color:var(--accent-l);font-weight:500;font-size:0.9375rem;
  display:inline-flex;align-items:center;gap:6px;
  transition:gap 0.25s var(--spring);
}
.bento-link:hover{gap:10px}
@media (max-width:1024px){
  .bento-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .bento-grid{grid-template-columns:1fr}
  .bento-large{grid-column:span 1}
}

/* Use cases */
.use-cases-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;
}
.use-case-card{
  background:var(--panel);border:1px solid transparent;border-radius:var(--radius);
  box-shadow:var(--shadow-tile);padding:26px;
  display:flex;flex-direction:column;gap:10px;
  transition:transform 0.35s var(--spring),box-shadow 0.3s ease,border-color 0.3s ease;
}
.use-case-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.industry-label{
  font-size:0.75rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;
  color:var(--text-3);
}
.use-case-card h3{font-size:1.0625rem;font-weight:600;letter-spacing:-0.01em}
.use-case-card p{color:var(--text-2);font-size:0.9375rem;line-height:1.65;margin:0}

/* ============================================================
   TIER / COMPARISON TABLES
   ============================================================ */
.tier-table,.comparison-table{
  max-width:820px;margin:0 auto;overflow-x:auto;
  border:1px solid var(--border);border-radius:var(--radius-sm);
  background:var(--panel);box-shadow:var(--shadow-tile);
}
.tier-row{
  display:grid;grid-template-columns:minmax(190px,2fr) repeat(4,minmax(76px,1fr));
  min-width:560px;align-items:center;
  padding:13px 20px;font-size:0.9375rem;color:var(--text-2);
  border-bottom:1px solid var(--border);
}
.comparison-row{
  display:grid;grid-template-columns:minmax(190px,1.6fr) repeat(2,minmax(110px,1fr));
  min-width:460px;align-items:center;
  padding:13px 20px;font-size:0.9375rem;color:var(--text-2);
  border-bottom:1px solid var(--border);
}
.tier-row:last-child,.comparison-row:last-child{border-bottom:none}
.tier-row.header,.comparison-row.header{
  font-size:0.8125rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--text-3);background:rgba(255,255,255,0.025);
}
.tier-row > div:not(:first-child),
.comparison-row > div:not(:first-child){text-align:center}
.tier-row > div:first-child{color:var(--text)}
.check{color:#fff;font-weight:600}
.cross{color:var(--text-3)}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section{padding:84px 0 0}
.faq-section h2{text-align:center;margin-bottom:44px}
.faq-grid{max-width:820px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--border);transition:border-color 0.25s ease}
.faq-item:first-child{border-top:1px solid var(--border)}
.faq-item:hover{border-color:var(--border-strong)}
.faq-question{
  cursor:pointer;width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 4px;font-weight:500;font-size:1.0325rem;color:var(--text);
  background:none;border:none;text-align:left;font-family:inherit;
}
.faq-icon{
  flex:none;width:26px;height:26px;border-radius:8px;
  border:1px solid var(--border);background:rgba(255,255,255,0.04);
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:400;color:var(--text-2);line-height:1;
  transition:transform 0.4s var(--spring),background 0.25s ease,border-color 0.25s ease;
}
.faq-item.active .faq-icon{
  transform:rotate(45deg);background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.35);color:#fff;
}
.faq-answer{display:none}
.faq-item.active .faq-answer{display:block}
.faq-answer-content{
  padding:0 4px 22px;color:var(--text-2);font-size:0.9675rem;line-height:1.7;max-width:60em;
}
.faq-answer-content a{color:var(--text);text-decoration:underline;text-underline-offset:3px}

/* ============================================================
   RELATED LINKS + BOTTOM CTA
   ============================================================ */
.related-features{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;
}
.related-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:0.9375rem;font-weight:500;color:var(--text-2);
  border:1px solid var(--border);border-radius:999px;padding:10px 18px;
  background:rgba(255,255,255,0.03);
  transition:color 0.2s ease,border-color 0.2s ease,transform 0.3s var(--spring);
}
.related-link:hover{color:#fff;border-color:var(--border-strong);transform:translateY(-2px)}
.related-link .arrow{color:var(--text-3)}

.bottom-cta{padding:96px 0 110px;text-align:center;position:relative;overflow:hidden}
.bottom-cta h2{margin-bottom:16px}
.bottom-cta p{color:var(--text-2);font-size:1.125rem;max-width:36em;margin:0 auto 32px}

/* ============================================================
   PRICING CARDS (caption generator page)
   ============================================================ */
.pricing-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;
  max-width:1000px;margin:0 auto;
}
.pricing-card{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow-tile);padding:28px 26px;
  display:flex;flex-direction:column;gap:10px;position:relative;
  transition:transform 0.35s var(--spring),box-shadow 0.3s ease,border-color 0.3s ease;
}
.pricing-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.pricing-card.popular{border-color:var(--border-strong);box-shadow:var(--shadow-lift)}
.popular-badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:#fff;color:#000;font-size:0.75rem;font-weight:600;
  border-radius:999px;padding:4px 14px;white-space:nowrap;
}
.tier-name{font-size:1.1875rem;font-weight:600;letter-spacing:-0.01em}
.tier-audience{font-size:0.875rem;color:var(--text-3)}
.tier-price{display:flex;align-items:baseline;gap:4px;margin:8px 0 2px}
.tier-price .amount{font-size:2.25rem;font-weight:600;letter-spacing:-0.02em}
.tier-price .period{font-size:0.9rem;color:var(--text-3)}
.tier-usage{font-size:0.875rem;color:var(--text-2)}
.tier-trial{font-size:0.8125rem;color:var(--text-2);border:1px solid var(--border);border-radius:8px;padding:6px 10px;background:rgba(255,255,255,0.03);align-self:flex-start}
.tier-includes{font-size:0.875rem;color:var(--text-3);margin:6px 0 0}
.tier-features{list-style:none;margin:8px 0 18px;padding:0;display:flex;flex-direction:column;gap:9px;flex:1}
.tier-features li{
  font-size:0.9rem;color:var(--text-2);padding-left:22px;position:relative;
}
.tier-features li::before{
  content:"\2713";position:absolute;left:0;color:#fff;font-weight:600;font-size:0.85em;
}
.tier-button{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:500;font-size:0.9375rem;border-radius:12px;
  padding:12px 22px;width:100%;
  background:rgba(255,255,255,0.04);color:var(--text);border:1px solid var(--border);
  transition:transform 0.3s var(--spring),background 0.2s ease,border-color 0.2s ease;
}
.tier-button:hover{background:rgba(255,255,255,0.08);border-color:var(--border-strong);transform:translateY(-2px)}
.tier-button.primary{
  background:var(--accent);color:#000;border-color:transparent;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.18),0 2px 6px rgba(0,0,0,0.5),0 8px 24px -6px rgba(255,255,255,0.4);
}
.tier-button.primary:hover{background:var(--accent-l)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:768px){
  .service-hero{padding:56px 0 44px}
  .content-section,.faq-section{padding-top:64px}
  .bottom-cta{padding:72px 0 96px}
  .service-hero .cta-group{flex-direction:column}
  .btn-large,.btn-outline{width:100%;max-width:340px}
}
