/* Extracted page styles from industries.php */

/* =========================================================
   INDUSTRIES PAGE - PHP DATA + TSX STYLE + INTERACTIVE
========================================================= */

.kt-ind-page {
  --ind-cyan: #06b6d4;
  --ind-cyan-dark: #0891b2;
  --ind-blue: #0e3f6c;
  --ind-blue-2: #123f68;
  --ind-text: var(--text, #0f172a);
  --ind-muted: var(--text-muted, #64748b);
  --ind-bg: var(--bg, #ffffff);
  --ind-bg-2: var(--bg-2, rgba(241, 245, 249, 0.45));
  --ind-card: var(--card-bg, #ffffff);
  --ind-border: var(--border, rgba(148, 163, 184, 0.28));

  min-height: 100vh;
  padding-top: var(--nav-h, 80px);
  background: var(--ind-bg);
  color: var(--ind-text);
  overflow: hidden;
}

[data-theme="dark"] .kt-ind-page {
  --ind-text: #f8fafc;
  --ind-muted: rgba(226, 232, 240, 0.78);
  --ind-bg: #0e3f6c;
  --ind-bg-2: #123f68;
  --ind-card: rgba(255, 255, 255, 0.08);
  --ind-border: rgba(255, 255, 255, 0.16);

  background:
    radial-gradient(circle at 12% 10%, rgba(6, 182, 212, 0.18), transparent 32%),
    radial-gradient(circle at 86% 26%, rgba(255, 255, 255, 0.08), transparent 26%),
    #0e3f6c;
}

.kt-ind-page * {
  box-sizing: border-box;
}

.kt-ind-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Animated cyan separator */
.kt-ind-line {
  position: relative;
  height: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.36), transparent);
}

.kt-ind-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #06b6d4, #67e8f9, transparent);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.9);
  animation: ktIndLineMove 3.8s linear infinite;
}

@keyframes ktIndLineMove {
  0% { left: -35%; }
  100% { left: 100%; }
}

/* Buttons */
.kt-ind-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.kt-ind-btn.primary {
  background: var(--ind-cyan-dark);
  color: #fff !important;
  border: 1px solid var(--ind-cyan-dark);
  box-shadow: 0 16px 34px rgba(8, 145, 178, 0.18);
}

.kt-ind-btn.primary:hover {
  transform: translateY(-2px);
  background: var(--ind-cyan);
  border-color: var(--ind-cyan);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.22);
}

.kt-ind-btn.ghost {
  background: transparent;
  color: var(--ind-text) !important;
  border: 1px solid var(--ind-border);
}

.kt-ind-btn.ghost:hover {
  transform: translateY(-2px);
  color: var(--ind-cyan) !important;
  border-color: rgba(6, 182, 212, 0.55);
}

/* Hero */
.kt-ind-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 9vw, 132px) 0 clamp(78px, 8vw, 112px);
  border-bottom: 1px solid var(--ind-border);
}

.kt-ind-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kt-ind-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  display: block;
}

.kt-ind-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--ind-bg) 0%,
    rgba(255, 255, 255, 0.92) 54%,
    rgba(255, 255, 255, 0.38) 100%
  );
}

[data-theme="dark"] .kt-ind-hero-bg img {
  opacity: 0.35;
}

[data-theme="dark"] .kt-ind-hero-bg::after {
  background: linear-gradient(
    90deg,
    #0e3f6c 0%,
    rgba(14, 63, 108, 0.92) 54%,
    rgba(14, 63, 108, 0.52) 100%
  );
}

.kt-ind-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.kt-ind-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ind-cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kt-ind-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ind-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}

.kt-ind-hero h1 {
  max-width: 940px;
  margin: 0 0 24px;
  color: var(--ind-text);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.kt-ind-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--ind-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.kt-ind-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Quick nav cards */
.kt-ind-quick {
  padding: 64px 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(6, 182, 212, 0.08), transparent 30%),
    var(--ind-bg-2);
  border-bottom: 1px solid var(--ind-border);
}

.kt-ind-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.kt-ind-quick-card {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--ind-border);
  border-radius: 18px;
  background: #0e3f6c;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kt-ind-quick-card:hover,
.kt-ind-quick-card.is-active {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.68);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.14);
}

.kt-ind-quick-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.kt-ind-quick-card:hover img,
.kt-ind-quick-card.is-active img {
  transform: scale(1.08);
}

.kt-ind-quick-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 63, 108, 0.92), rgba(14, 63, 108, 0.25), transparent);
}

.kt-ind-quick-body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 1;
}

.kt-ind-quick-body strong {
  display: block;
  color: var(--ind-cyan);
  font-size: 0.76rem;
  line-height: 1;
  margin-bottom: 7px;
  font-weight: 950;
}

.kt-ind-quick-body span {
  display: block;
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 900;
}

/* Tabs */
.kt-ind-tabs {
  padding: 70px 0 32px;
  background: var(--ind-bg);
}

.kt-ind-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ind-border);
}

.kt-ind-tab {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ind-border);
  background: transparent;
  color: var(--ind-text);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
  transition: 0.25s ease;
}

.kt-ind-tab:hover,
.kt-ind-tab.is-active {
  color: #ffffff;
  background: var(--ind-cyan-dark);
  border-color: var(--ind-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.16);
}

/* Detail panels */
.kt-ind-details {
  padding: 52px 0 clamp(76px, 9vw, 112px);
  background: var(--ind-bg);
}

.kt-ind-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.kt-ind-panel.is-active {
  display: grid;
}

.kt-ind-panel-copy {
  animation: ktIndPanelIn 0.45s ease both;
}

@keyframes ktIndPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kt-ind-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  color: var(--ind-cyan);
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.20);
  font-size: 0.84rem;
  font-weight: 900;
}

.kt-ind-panel h2 {
  margin: 0 0 20px;
  color: var(--ind-text);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.kt-ind-panel p {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--ind-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.kt-ind-items {
  display: grid;
  gap: 13px;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.kt-ind-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ind-text);
  font-size: 0.96rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(10px);
}

.kt-ind-panel.is-active .kt-ind-items li {
  animation: ktIndFeatureIn 0.45s ease forwards;
}

.kt-ind-panel.is-active .kt-ind-items li:nth-child(1) { animation-delay: 0.05s; }
.kt-ind-panel.is-active .kt-ind-items li:nth-child(2) { animation-delay: 0.10s; }
.kt-ind-panel.is-active .kt-ind-items li:nth-child(3) { animation-delay: 0.15s; }
.kt-ind-panel.is-active .kt-ind-items li:nth-child(4) { animation-delay: 0.20s; }
.kt-ind-panel.is-active .kt-ind-items li:nth-child(5) { animation-delay: 0.25s; }

@keyframes ktIndFeatureIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kt-ind-items li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.10);
  color: var(--ind-cyan);
  font-size: 0.72rem;
  font-weight: 950;
}

[data-theme="dark"] .kt-ind-items li::before {
  background: rgba(255, 255, 255, 0.10);
}

.kt-ind-panel-media {
  perspective: 900px;
}

.kt-ind-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--ind-border);
  background: #0e3f6c;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  transform-style: preserve-3d;
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kt-ind-img-card:hover {
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow: 0 26px 70px rgba(6, 182, 212, 0.16);
}

.kt-ind-img-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.75s ease;
}

.kt-ind-img-card:hover img {
  transform: scale(1.055);
}

.kt-ind-img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 63, 108, 0.70), transparent 58%),
    radial-gradient(circle at 18% 18%, rgba(6, 182, 212, 0.22), transparent 28%);
  pointer-events: none;
}

.kt-ind-img-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
}

.kt-ind-img-caption strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.2;
}

.kt-ind-img-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 5px;
}

/* Support mix */
.kt-ind-mix {
  padding: 70px 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(6, 182, 212, 0.08), transparent 30%),
    var(--ind-bg-2);
}

.kt-ind-mix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kt-ind-mix-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--ind-card);
  border: 1px solid var(--ind-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: 0.25s ease;
}

.kt-ind-mix-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.10);
}

.kt-ind-mix-card strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(6, 182, 212, 0.10);
  color: var(--ind-cyan);
  font-size: 1rem;
}

.kt-ind-mix-card h3 {
  margin: 0 0 10px;
  color: var(--ind-text);
  font-size: 1.08rem;
  font-weight: 950;
}

.kt-ind-mix-card p {
  margin: 0;
  color: var(--ind-muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* CTA */
.kt-ind-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 112px) 0;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.24), transparent 28%),
    #0e3f6c;
}

.kt-ind-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.kt-ind-cta .kt-ind-container {
  position: relative;
  z-index: 1;
}

.kt-ind-cta h2 {
  max-width: 780px;
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.kt-ind-cta h2 span {
  color: var(--ind-cyan);
}

.kt-ind-cta p {
  max-width: 660px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.kt-ind-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.kt-ind-cta .kt-ind-btn.ghost {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
}

.kt-ind-cta .kt-ind-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
}

/* Reveal */
.kt-ind-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.kt-ind-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .kt-ind-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kt-ind-panel {
    grid-template-columns: 1fr;
  }

  .kt-ind-mix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .kt-ind-page {
    padding-top: var(--nav-h, 72px);
  }

  .kt-ind-container {
    width: min(100% - 28px, 1180px);
  }

  .kt-ind-hero {
    padding: 64px 0 70px;
  }

  .kt-ind-hero-bg::after {
    background: linear-gradient(
      90deg,
      var(--ind-bg) 0%,
      rgba(255, 255, 255, 0.96) 72%,
      rgba(255, 255, 255, 0.75) 100%
    );
  }

  [data-theme="dark"] .kt-ind-hero-bg::after {
    background: linear-gradient(
      90deg,
      #0e3f6c 0%,
      rgba(14, 63, 108, 0.94) 72%,
      rgba(14, 63, 108, 0.78) 100%
    );
  }

  .kt-ind-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }

  .kt-ind-quick {
    padding: 46px 0;
  }

  .kt-ind-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kt-ind-tabs {
    padding: 48px 0 24px;
  }

  .kt-ind-tabs-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 16px;
  }

  .kt-ind-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .kt-ind-actions,
  .kt-ind-cta-actions {
    flex-direction: column;
  }

  .kt-ind-btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .kt-ind-quick-grid {
    grid-template-columns: 1fr;
  }

  .kt-ind-quick-card {
    height: 170px;
  }

  .kt-ind-img-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kt-ind-line::before,
  .kt-ind-reveal,
  .kt-ind-items li,
  .kt-ind-img-card,
  .kt-ind-quick-card,
  .kt-ind-tab {
    animation: none !important;
    transition: none !important;
  }

  .kt-ind-reveal,
  .kt-ind-items li {
    opacity: 1 !important;
    transform: none !important;
  }
}
