/* ── Industries Page ──────────────────────────────────────────────────── */

/* Page header */
.page-header {
  background: var(--navy-deeper); padding: 80px 36px 96px;
  text-align: center; position: relative; overflow: hidden;
}
.ph-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 380px;
  background: radial-gradient(ellipse, rgba(75,82,212,0.45) 0%, transparent 68%);
  pointer-events: none;
}
.page-header h1    { font-size: clamp(34px, 5.5vw, 58px); font-weight: 800; color: var(--white); letter-spacing: -2px; max-width: 700px; margin: 0 auto 20px; position: relative; }
.page-header h1 em { color: #00bcd4; font-style: normal; }
.page-header p     { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 44px; position: relative; }

/* Industry tabs */
.ind-tabs-wrap {
  position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 6px; display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: center;
}
.ind-tab {
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s; border: none;
  background: transparent; white-space: nowrap;
}
.ind-tab:hover  { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.07); }
.ind-tab.active { background: var(--white); color: var(--navy-deeper); font-weight: 500; }

/* Industry sections (tab panels) */
.industry-section        { display: none; }
.industry-section.active { display: block; }

/* Industry hero band */
.ind-hero       { padding: 72px 36px 80px; position: relative; overflow: hidden; }
.ind-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ind-hero-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 100px; padding: 6px 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.5px; margin-bottom: 20px; }
.ind-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.ind-hero h2    { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.ind-hero p     { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.ind-cta-row    { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stat cards */
.ind-stats       { display: flex; flex-direction: column; gap: 14px; }
.ind-stat-card   { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; box-shadow: 0 4px 24px rgba(26,31,143,0.06); }
.ind-stat-icon   { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ind-stat-val    { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.ind-stat-label  { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Pain → Solution */
.pain-sol        { background: var(--white); padding: 72px 36px; border-top: 1px solid var(--border); }
.pain-sol-inner  { max-width: 1100px; margin: 0 auto; }
.pain-sol-header { text-align: center; margin-bottom: 52px; }
.pain-sol-header h3 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.5px; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ps-card { border-radius: 16px; padding: 26px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.ps-card.problem  { background: #FEF6F6; border-color: rgba(192,57,43,0.15); }
.ps-card.solution { background: var(--navy-light); border-color: rgba(26,31,143,0.2); }
.ps-tag           { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.ps-card.problem  .ps-tag { background: rgba(192,57,43,0.12); color: #922B21; }
.ps-card.solution .ps-tag { background: rgba(0,188,212,0.12); color: var(--navy); }
.ps-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ps-card.problem  h4 { color: #7B241C; }
.ps-card.solution h4 { color: var(--navy-deeper); }
.ps-card p  { font-size: 14px; line-height: 1.65; }
.ps-card.problem  p  { color: #922B21; opacity: 0.8; }
.ps-card.solution p  { color: var(--navy-dark); }
.ps-arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); padding: 10px 0; grid-column: 1 / -1; }

/* Use cases */
.use-cases        { background: var(--off-white); padding: 72px 36px; }
.use-cases-inner  { max-width: 1100px; margin: 0 auto; }
.use-cases-header { text-align: center; margin-bottom: 52px; }
.use-cases-header h3 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.5px; }
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.uc-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: box-shadow 0.2s, border-color 0.2s; }
.uc-card:hover { border-color: rgba(26,31,143,0.25); box-shadow: 0 6px 28px rgba(26,31,143,0.08); }
.uc-num  { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--navy); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.uc-num::before { content: ''; display: block; width: 20px; height: 2px; background: var(--navy); }
.uc-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
.uc-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.uc-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.uc-pill     { background: var(--navy-light); color: var(--navy); font-size: 12px; padding: 4px 12px; border-radius: 100px; }

/* Conversation mockup */
.convo-strip  { background: var(--white); padding: 72px 36px; border-top: 1px solid var(--border); }
.convo-inner  { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.convo-text h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.convo-text p  { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.convo-points  { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.convo-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.chat-mockup  { background: var(--off-white); border-radius: 20px; padding: 20px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.chat-header  { background: var(--navy); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.chat-avatar  { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.chat-name    { font-size: 13px; font-weight: 500; color: white; }
.chat-status  { font-size: 11px; color: rgba(255,255,255,0.6); }
.chat-msg     { padding: 11px 14px; border-radius: 12px; font-size: 13px; max-width: 82%; line-height: 1.5; }
.chat-msg.in  { background: var(--white); color: var(--text); border-radius: 12px 12px 12px 2px; border: 1px solid var(--border); }
.chat-msg.out { background: var(--navy); color: white; align-self: flex-end; border-radius: 12px 12px 2px 12px; }
.chat-msg.bot { background: var(--navy-light); color: var(--navy-deeper); border-radius: 12px 12px 12px 2px; }
.chat-meta    { font-size: 10px; color: var(--muted); margin-top: 2px; }
.chat-meta.right { text-align: right; }

/* Results band */
.results-band  { background: var(--navy-deeper); padding: 64px 36px; }
.results-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.results-inner h3 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; color: var(--white); margin-bottom: 48px; letter-spacing: -0.5px; }
.results-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px; }
.result-item   { padding: 32px 20px; border-right: 1px solid rgba(255,255,255,0.08); }
.result-item:last-child { border-right: none; }
.result-val    { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--white); letter-spacing: -1.5px; line-height: 1; }
.result-val span { font-size: 22px; }
.result-label  { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* Industry CTA */
.ind-cta { background: var(--navy); padding: 72px 36px; text-align: center; }
.ind-cta h3 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: var(--white); letter-spacing: -1px; max-width: 600px; margin: 0 auto 16px; }
.ind-cta p  { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 440px; margin: 0 auto 36px; }
.ind-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 760px) {
  .ind-hero-inner, .convo-inner { grid-template-columns: 1fr; }
  .page-header   { padding: 60px 20px 72px; }
  .ind-tabs-wrap { padding: 4px; }
  .ind-tab       { padding: 8px 14px; font-size: 13px; }
  .pain-sol, .use-cases, .convo-strip, .results-band, .ind-cta { padding: 52px 20px; }
  .result-item   { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px; }
  .result-item:last-child { border-bottom: none; }
}
