/* ================================================================
   RidgeRun – Industry Experience Hub
   White background · Brand: #021FE2 · #94D8F0 · #232E3C
================================================================ */

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #021FE2;
  --blue-mid:    #116DFF;
  --cyan:        #94D8F0;
  --softblue:    #98CEFF;
  --navy:        #232E3C;
  --text:        #3D4E62;
  --text-dim:    #8F8F8F;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F7FC;
  --bg-blue:     #EBF0FF;
  --border:      #E2E2E2;
  --border-blue: #C0CEFF;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(2,31,226,0.08);
  --shadow:    0 4px 20px rgba(2,31,226,0.12);
  --shadow-lg: 0 12px 40px rgba(2,31,226,0.16);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);

  --font-title: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:  'Inter', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================================================
   VIEWS — fade transition between cards ↔ detail
================================================================ */
#app {
  position: relative;
  min-height: 100vh;
}

.view {
  display: none;
}

.view--active {
  display: block;
  animation: fadeUp 0.3s var(--ease) both;
}

/* ================================================================
   VIEW 1 — Industry selector (redesigned)
================================================================ */
#view-industries {
  padding: 80px 0 100px;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(2,31,226,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(148,216,240,0.13) 0%, transparent 45%),
    linear-gradient(160deg, #ffffff 0%, #f2f5ff 55%, #eaf4fd 100%);
}

.industries-bg-deco {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Dot grid pattern */
#view-industries::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2,31,226,0.065) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.section-logo {
  height: 46px;
  width: auto;
  margin: 0 auto 36px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(2,31,226,0.12));
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(2,31,226,0.09) 0%, rgba(148,216,240,0.18) 100%);
  border: 1px solid rgba(2,31,226,0.18);
  border-radius: 50px;
  padding: 7px 18px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Industry grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.industry-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(220,225,240,0.9);
  border-radius: 20px;
  padding: 26px 22px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  outline: none;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 20px rgba(2,31,226,0.05);
  transition:
    border-color 0.25s var(--ease),
    box-shadow   0.25s var(--ease),
    transform    0.25s var(--ease),
    background   0.25s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.industry-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(2,31,226,0.16);
  background: linear-gradient(160deg, #ffffff 0%, #f4f6ff 100%);
}

.industry-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Gradient top accent */
.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  border-radius: 20px 20px 0 0;
}
.industry-card:hover::before { opacity: 1; }

/* Selected state */
.industry-card--selected {
  border-color: var(--blue) !important;
  background: linear-gradient(160deg, #ffffff 0%, #edf0ff 100%) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(2,31,226,0.16) !important;
}
.industry-card--selected::before { opacity: 1; }
.industry-card--selected::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow: 0 2px 8px rgba(2,31,226,0.35);
}

/* Icon */
.industry-card__icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #e8eeff 0%, #d8e2ff 100%);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(2,31,226,0.1);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.industry-card__icon svg { width: 26px; height: 26px; }
.industry-card:hover .industry-card__icon {
  background: linear-gradient(135deg, var(--blue) 0%, #3351ff 100%);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(2,31,226,0.32);
}

/* Title */
.industry-card__title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Desc */
.industry-card__desc {
  font-size: 0.845rem;
  color: var(--text-dim);
  line-height: 1.62;
  flex: 1;
  margin-bottom: 16px;
}

/* CTA */
.industry-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), gap 0.2s var(--ease);
  margin-top: auto;
  align-self: flex-start;
}
.industry-card__arrow svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.industry-card:hover .industry-card__arrow { opacity: 1; gap: 8px; }
.industry-card:hover .industry-card__arrow svg { transform: translateX(2px); }

/* ================================================================
   VIEW 2 — Industry detail
================================================================ */
#view-detail {
  padding: 32px 0 72px;
}

/* Top bar */
.detail-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-back svg { width: 14px; height: 14px; }
.btn-back:focus { outline: none; }
.btn-back:hover { border-color: var(--blue); color: var(--blue); }

.detail-topbar__industry {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.detail-topbar__icon {
  width: 32px; height: 32px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.detail-topbar__icon svg { width: 16px; height: 16px; }
.detail-topbar__name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

/* Detail layout */
.detail-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.panel-sidebar {
  position: sticky;
  top: 24px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 2px;
}
.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  text-align: left;
  cursor: pointer;
}
.sidebar-tab svg { width: 15px; height: 15px; color: var(--text-dim); flex-shrink: 0; }
.sidebar-tab:focus { outline: none; }
.sidebar-tab:hover { background: var(--bg-soft); color: var(--navy); }
.sidebar-tab.active {
  background: var(--bg-blue);
  color: var(--blue);
  font-weight: 600;
}
.sidebar-tab.active svg { color: var(--blue); }

/* ── Tab stage ──────────────────────────────────────────────── */
.panel-main { min-width: 0; }

.tab-stage { /* no fixed height — panels use display none/flex */ }

.tab-panel {
  display: none;           /* hidden: takes zero space */
  flex-direction: column;
  gap: 20px;
}
.tab-panel.active {
  display: flex;           /* visible: takes natural height */
  animation: fadeUp 0.25s var(--ease) both;
}

/* ── Shared content blocks ───────────────────────────────────── */
.panel-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2A3A52 100%);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.panel-hero::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(148,216,240,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.panel-hero__tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.panel-hero__title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.panel-hero__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 26px;
}
.panel-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.content-block {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.block-title svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; }
.block-subtitle { font-size: 0.845rem; color: var(--text-dim); margin-bottom: 20px; }

/* Challenges */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 16px;
}
.challenge-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.challenge-card:hover { border-color: var(--border-blue); background: var(--bg-blue); }
.challenge-card__body  { flex: 1; min-width: 0; }
.challenge-card__icon  {
  width: 64px; height: 64px;
  background: var(--bg-blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.challenge-card__icon svg { width: 32px; height: 32px; }
.challenge-card__title { font-size: 0.845rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.challenge-card__desc  { font-size: 0.78rem; color: var(--text-dim); line-height: 1.55; }

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.solution-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.solution-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.solution-card__badge {
  display: inline-block;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-blue);
  border: 1px solid var(--border-blue);
  border-radius: 50px; padding: 2px 9px; width: fit-content;
}
.solution-card__title { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.solution-card__desc  { font-size: 0.76rem; color: var(--text-dim); line-height: 1.55; flex: 1; }
.solution-card__link {
  font-size: 0.76rem; font-weight: 600; color: var(--blue);
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.2s var(--ease);
}
.solution-card__link:hover { gap: 8px; }

/* Use Cases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.usecase-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.usecase-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.usecase-card__body { flex: 1; min-width: 0; }
.usecase-card__icon {
  width: 64px; height: 64px;
  background: var(--bg-blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.usecase-card__icon svg { width: 32px; height: 32px; }
.usecase-card:hover .usecase-card__icon { background: var(--blue); color: #fff; }
.usecase-card__label {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 7px;
}
.usecase-card__title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.usecase-card__desc  { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
/* Products */
.products-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.product-item {
  display: flex; align-items: center; gap: 15px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.product-item:hover { border-color: var(--blue); background: var(--bg-blue); }
.product-item__icon {
  width: 40px; height: 40px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.product-item__icon svg { width: 18px; height: 18px; }
.product-item__info { flex: 1; min-width: 0; }
.product-item__name  { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.product-item__desc  { font-size: 0.76rem; color: var(--text-dim); line-height: 1.5; }
.product-item__ideal { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.product-item__ideal-tag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--bg-blue);
  border: 1px solid var(--border-blue);
  border-radius: 50px;
  padding: 2px 9px;
}
.product-item__tag {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-blue);
  border: 1px solid var(--border-blue);
  border-radius: 50px; padding: 3px 9px; flex-shrink: 0;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 16px;
}
.resource-card {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.resource-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.resource-card__icon {
  width: 40px; height: 40px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  color: var(--blue);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.resource-card__icon svg { width: 20px; height: 20px; }
.resource-card:hover .resource-card__icon { background: var(--blue); color: #fff; }
.resource-card__body { flex: 1; min-width: 0; }
.resource-card__type {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 3px;
}
.resource-card__title { font-size: 0.845rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.resource-card__desc  { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; margin-top: 5px; }

/* ── Diagnostic ─────────────────────────────────────────────── */
.diagnostic-form { margin-top: 4px; }
.diag-step { display: none; }
.diag-step.active { display: block; animation: fadeUp 0.3s var(--ease) both; }
.diag-step__header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.diag-step__num {
  font-family: var(--font-title);
  font-size: 2rem; font-weight: 700;
  color: var(--border-blue); line-height: 1; flex-shrink: 0;
}
.diag-step__question { font-size: 0.975rem; font-weight: 600; color: var(--navy); line-height: 1.4; padding-top: 4px; }
.diag-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.diag-option {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-size: 0.875rem; color: var(--text);
}
.diag-option:hover { border-color: var(--blue); background: var(--bg-blue); color: var(--navy); }
.diag-option input[type="radio"] { accent-color: var(--blue); width: 15px; height: 15px; }
.diag-option:has(input:checked) { border-color: var(--blue); background: var(--bg-blue); color: var(--navy); font-weight: 500; }
.diag-option--described { align-items: flex-start; }
.diag-option__content   { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.diag-option__label     { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.diag-option__desc      { font-size: 0.76rem; color: var(--text-dim); line-height: 1.5; }
.diag-step__actions { display: flex; gap: 10px; }

.diag-result { text-align: center; padding: 40px 20px; animation: fadeUp 0.35s var(--ease) both; }
.diag-result__icon {
  width: 64px; height: 64px;
  background: var(--bg-blue);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.diag-result__icon svg { width: 30px; height: 30px; color: var(--blue); }
.diag-result__title { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.diag-result__text { font-size: 0.9rem; color: var(--text-dim); max-width: 440px; margin: 0 auto 20px; line-height: 1.75; }
.diag-result__tags { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.diag-result__tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-blue);
  border: 1px solid var(--border-blue);
  border-radius: 50px; padding: 4px 11px;
}
.diag-result .btn { margin: 5px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2,31,226,0.25);
}
.btn--primary:hover { background: var(--blue-mid); box-shadow: 0 6px 20px rgba(2,31,226,0.35); transform: translateY(-1px); }
.btn--primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-blue); }
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   SCROLLBAR
================================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ================================================================
   RESPONSIVE — TABLET ≤ 1024px
================================================================ */
@media (max-width: 1024px) {
  .industry-grid  { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout  { grid-template-columns: 190px 1fr; gap: 18px; }
}

/* ================================================================
   RESPONSIVE — MOBILE ≤ 768px
================================================================ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  #view-industries { padding: 36px 0 56px; }
  #view-detail     { padding: 20px 0 56px; }

  .industry-grid { grid-template-columns: 1fr; }

  /* Detail: stack sidebar + main */
  .detail-layout { grid-template-columns: 1fr; }

  /* Sidebar → horizontal scroll tabs */
  .panel-sidebar { position: static; }
  .panel-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
    gap: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .panel-sidebar__nav::-webkit-scrollbar { display: none; }
  .sidebar-tab { white-space: nowrap; flex-shrink: 0; font-size: 0.78rem; padding: 8px 11px; }
  .sidebar-tab svg { display: none; }

  /* Tab stage height on mobile */
  .tab-stage { min-height: 300px; }

  .panel-hero { padding: 24px 20px; }
  .content-block { padding: 20px 16px; }
  .challenges-grid, .usecases-grid,
  .solutions-grid, .resources-grid { grid-template-columns: 1fr; }

  .detail-topbar { gap: 10px; }
  .detail-topbar .btn--sm { margin-left: auto; }
}
