/* ============================================================
   industry.css  —  Shared styles for all industry vertical pages
   ============================================================ */

/* ── CSS Custom Properties (set per-page via <style> in <head>) ──
   --ind-a         : hero gradient start colour
   --ind-b         : hero gradient end colour
   --ind-accent    : primary accent (buttons, icons, highlights)
   --ind-accent-lt : 12% opacity version of accent for icon backgrounds
   --ind-glow      : orb radial colour (rgba)
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
.ind-hero {
  background: linear-gradient(140deg, var(--ind-a, #0f172a), var(--ind-b, #1e293b));
  min-height: 540px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ind-hero-orb {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: var(--ind-glow, radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 65%));
  pointer-events: none;
}
.ind-hero-orb2 {
  position: absolute;
  bottom: -180px;
  left: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--ind-glow, radial-gradient(circle, rgba(99,102,241,.10) 0%, transparent 65%));
  pointer-events: none;
  opacity: .5;
}
.ind-hero-inner {
  padding-top: 110px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.ind-hero .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .82rem; }
.ind-hero .breadcrumb-item a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.ind-hero .breadcrumb-item a:hover { color: #fff; }
.ind-hero .breadcrumb-item.active { color: rgba(255,255,255,.8); }
.ind-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); content: "›"; }

/* Industry tag */
.ind-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--ind-border, rgba(99,102,241,.35));
  background: var(--ind-tag-bg, rgba(99,102,241,.12));
  color: var(--ind-tag-color, #a5b4fc);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Hero headline */
.ind-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.ind-title span {
  background: var(--ind-gradient, linear-gradient(90deg, #a5b4fc, #c4b5fd));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ind-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 0;
}

/* Hero stat pills */
.ind-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.ind-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 18px;
  backdrop-filter: blur(8px);
}
.ind-stat-pill .stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ind-stat-pill .stat-label {
  font-size: .77rem;
  color: rgba(255,255,255,.6);
  line-height: 1.3;
  max-width: 80px;
}

/* Hero icon visual */
.ind-icon-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ind-icon-bg, linear-gradient(135deg, rgba(99,102,241,.2), rgba(168,85,247,.1)));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.ind-icon-wrap i { font-size: 5.5rem; color: var(--ind-icon-color, #a5b4fc); }


/* ── OVERVIEW ───────────────────────────────────────────────── */
.ind-overview { background: #fff; padding: 100px 0; }
.ind-overview-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
}
.ind-overview-card .ov-stat {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ind-accent, #6366f1);
  line-height: 1;
  margin-bottom: 6px;
}
.ind-overview-card .ov-label {
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Check list (reused from service-detail) */
.ind-check-list { display: flex; flex-direction: column; gap: 13px; }
.ind-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: #334155;
  line-height: 1.6;
}
.ind-check i { color: var(--ind-accent, #6366f1); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }


/* ── CHALLENGES ─────────────────────────────────────────────── */
.ind-challenges { background: #0f172a; padding: 100px 0; }
.ind-challenges .section-tag { background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.14); }
.ind-challenges .section-title { color: #f1f5f9; }
.ind-challenges .section-divider { background: var(--ind-accent, #6366f1); }
.challenge-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: background .3s, transform .3s;
}
.challenge-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.ch-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: rgba(239,68,68,.12);
  color: #fca5a5;
}
.challenge-card h6 { font-size: .98rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.challenge-card p { font-size: .86rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0; }


/* ── SOLUTIONS ──────────────────────────────────────────────── */
.ind-solutions { background: #f8fafc; padding: 100px 0; }
.solution-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ind-accent, #6366f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.solution-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.09); transform: translateY(-4px); }
.solution-card:hover::before { transform: scaleX(1); }
.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: var(--ind-accent-lt, rgba(99,102,241,.1));
  color: var(--ind-accent, #6366f1);
}
.solution-card h5 { font-size: 1.05rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.solution-card p { font-size: .88rem; color: #64748b; line-height: 1.75; margin: 0; }


/* ── FEATURES ───────────────────────────────────────────────── */
.ind-features { background: #fff; padding: 100px 0; }
.feature-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f1f5f9; }
.feature-row:last-child { border-bottom: none; }
.feat-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ind-accent-lt, rgba(99,102,241,.1));
  color: var(--ind-accent, #6366f1);
  font-size: .95rem;
}
.feature-row h6 { font-size: .95rem; font-weight: 700; color: #1e293b; margin: 0 0 3px; }
.feature-row p { font-size: .85rem; color: #64748b; margin: 0; line-height: 1.6; }
.ind-feature-visual {
  background: linear-gradient(140deg, var(--ind-a, #0f172a), var(--ind-b, #1e293b));
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.ind-feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ind-feature-visual h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.ind-feature-visual p { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 28px; position: relative; }
.feat-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.feat-stat-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.feat-stat-box .fsb-num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.feat-stat-box .fsb-label { font-size: .77rem; color: rgba(255,255,255,.5); margin-top: 4px; }


/* ── CTA STRIP ──────────────────────────────────────────────── */
.ind-cta { background: linear-gradient(135deg, var(--ind-accent, #4f46e5), var(--ind-cta-end, #3730a3)); padding: 90px 0; position: relative; overflow: hidden; }
.ind-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ind-cta-inner { position: relative; z-index: 1; }
.ind-cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.ind-cta p { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.ind-cta-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.ind-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 600;
}
.ind-cta-badge i { font-size: .9rem; }


/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ind-hero-inner { padding-top: 90px; padding-bottom: 60px; }
  .ind-icon-wrap { width: 180px; height: 180px; }
  .ind-icon-wrap i { font-size: 4rem; }
}
@media (max-width: 767px) {
  .ind-stats { gap: 8px; }
  .feat-stat-grid { grid-template-columns: 1fr 1fr; }
  .ind-feature-visual { padding: 28px 22px; }
}
