/* industry-common.css — shared structural styles for industry-* pages (prefix: ind-)
   Each industry page adds its own hero animation in its own CSS file. */

/* ══════════════════════════════════════════════
   HERO (dark) — shared shell
   ══════════════════════════════════════════════ */
.ind-hero {
  background: var(--dark);
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ind-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 85% 35%, rgba(60,234,199,0.09) 0%, transparent 62%);
  pointer-events: none;
}
.ind-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,26,21,0.55));
  pointer-events: none;
}
.ind-hero > .container {
  padding-top: calc(var(--nav-h, 80px) + 2.5rem);
  padding-bottom: 3rem;
  width: 100%;
  position: relative; z-index: 1;
}
.ind-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}
.ind-hero .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.ind-hero h1 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--cream);
  margin: 0.85rem 0 0;
}
.ind-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(246,246,242,0.62);
  margin: 1.15rem 0 0;
  max-width: 48ch;
}
.ind-hero-sub2 {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,246,242,0.38);
  margin: 0.75rem 0 0;
  max-width: 54ch;
}
.ind-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.ind-hero-cta .btn-ghost {
  color: var(--teal-light);
  border-color: rgba(60,234,199,0.25);
}
.ind-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}
.ind-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(60,234,199,0.18);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: rgba(168,240,227,0.65);
  letter-spacing: 0.03em;
}
.ind-trust-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  opacity: 0.7;
  flex-shrink: 0;
}
.ind-ill-wrap {
  position: relative;
  filter: drop-shadow(0 0 60px rgba(60,234,199,0.1)) drop-shadow(0 32px 64px rgba(0,0,0,0.4));
}
.ind-ill-svg { display: block; width: 100%; height: auto; }

/* ══════════════════════════════════════════════
   SHARED SECTION SCAFFOLDING
   ══════════════════════════════════════════════ */
.ind-section { padding: 6.5rem 0; }
.ind-section-cream { background: var(--cream); }
.ind-section-cream-soft { background: var(--cream-soft); }
.ind-section-dark { background: var(--dark); position: relative; overflow: hidden; }
.ind-section-dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
}
.ind-section-dark::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.05), transparent 65%);
  pointer-events: none;
}

.ind-section-header { max-width: 820px; margin-bottom: 3rem; position: relative; z-index: 1; }
.ind-section-header.ind-centered { margin-left: auto; margin-right: auto; text-align: center; }
.ind-section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0.75rem;
}
.ind-section-p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: var(--ink-60);
  margin-top: 1rem;
  max-width: 72ch;
}
.ind-section-dark .ind-section-h2 { color: var(--cream); }
.ind-section-dark .ind-section-p  { color: rgba(246,246,242,0.62); }
.ind-section-dark .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}

/* Feature card grid */
.ind-grid { display: grid; gap: 1.5rem; margin-top: 3rem; position: relative; z-index: 1; }
.ind-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ind-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ind-card {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  border-top: 3px solid var(--teal-deep);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.ind-section-cream-soft .ind-card { background: var(--cream); }
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(0,26,21,0.08); }
.ind-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.ind-card p {
  font-size: 0.9rem;
  line-height: 1.825;
  color: var(--ink-60);
  margin: 0;
}
.ind-icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(0,46,34,0.06);
  border: 1px solid rgba(0,46,34,0.2);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark-mid);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* Dark card variant */
.ind-card-dark {
  background: var(--dark-card);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(60,234,199,0.12);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.ind-card-dark:hover { transform: translateY(-4px); border-color: rgba(60,234,199,0.35); box-shadow: 0 14px 44px rgba(0,0,0,0.45); }
.ind-card-dark h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--cream); margin-bottom: 0.6rem; }
.ind-card-dark p  { font-size: 0.9rem; line-height: 1.8; color: rgba(246,246,242,0.62); margin: 0; }
.ind-card-dark .ind-icon-chip { background: rgba(60,234,199,0.12); color: var(--teal-bright); border-color: rgba(60,234,199,0.2); }

/* Numbered rows */
.ind-numbered { display: grid; gap: 0; margin-top: 2.5rem; }
.ind-numbered-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(24,15,6,0.08);
  align-items: flex-start;
  transition: background 0.25s var(--ease-out);
}
.ind-numbered-row:last-child { border-bottom: none; }
.ind-numbered-row:hover { background: rgba(60,234,199,0.04); }
.ind-numbered-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
}
.ind-numbered-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.55rem;
}
.ind-numbered-row p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-60);
  margin: 0;
  max-width: 68ch;
}
.ind-section-dark .ind-numbered-row { border-bottom-color: rgba(60,234,199,0.12); }
.ind-section-dark .ind-numbered-row:hover { background: rgba(60,234,199,0.04); }
.ind-section-dark .ind-numbered-num { color: var(--teal-bright); }
.ind-section-dark .ind-numbered-row h3 { color: var(--cream); }
.ind-section-dark .ind-numbered-row p { color: rgba(246,246,242,0.62); }

/* Proof stats */
.ind-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 3rem 0 2rem; }
.ind-proof-card {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(24,15,6,0.07);
  border-top: 3px solid var(--teal-deep);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.ind-proof-card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(0,26,21,0.08); }
.ind-proof-stat { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(24,15,6,0.08); }
.ind-proof-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1;
}
.ind-proof-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ind-proof-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-60);
  margin: 0;
}

/* Close CTA */
.ind-close {
  background: var(--dark);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.ind-close::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(60,234,199,0.06), transparent 60%); pointer-events: none; }
.ind-close::after  { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent); }
.ind-close-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ind-close-inner .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.ind-close-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--cream);
  margin-top: 0.75rem;
}
.ind-close-inner p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: rgba(246,246,242,0.62);
  margin: 1.25rem auto 2rem;
  max-width: 60ch;
}
.ind-close-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .ind-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ind-hero-sub, .ind-hero-sub2 { max-width: none; }
  .ind-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ind-hero { min-height: auto; }
  .ind-hero > .container { padding-top: 6rem; padding-bottom: 3rem; }
  .ind-section, .ind-close { padding: 4rem 0; }
  .ind-grid-2, .ind-grid-3 { grid-template-columns: 1fr; }
  .ind-stats { grid-template-columns: 1fr; }
  .ind-numbered-row { grid-template-columns: 56px 1fr; gap: 1.25rem; }
  .ind-hero-cta .btn, .ind-close-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .ind-numbered-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .ind-card, .ind-proof-card, .ind-card-dark { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ind-ill-svg * { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* Cream-section tag color override (dark green on white bg) — section-cream-tag-fix */
.ind-section-cream .section-label,
.ind-section-cream-soft .section-label {
  color: var(--dark-mid);
  border-color: rgba(0,46,34,0.45);
  background: transparent;
}
