/* ============================================
   Better Together Framework - Styles
   ============================================ */

/* --- Reset & Base --- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1B9AAA;
  margin-bottom: 0.75rem;
}

/* --- Layout --- */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* --- Header --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo span {
  background: linear-gradient(135deg, #1a1a2e 0%, #1B9AAA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btf-logo-icon {
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}

.nav-menu a:hover { color: #1B9AAA; }

/* --- Nav Dropdown --- */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 200;
  margin-top: 0.75rem;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #fff;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  color: #555;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: #f0fafb;
  color: #1B9AAA;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* --- Buttons --- */

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #1B9AAA;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.cta-primary:hover {
  background: #178a99;
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: #1B9AAA;
  border: 2px solid #1B9AAA;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-secondary:hover {
  background: rgba(27, 154, 170, 0.06);
  transform: translateY(-1px);
}

.cta-small {
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
}

/* --- Hero --- */

.hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f0fafb 100%);
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.hero h1 span {
  color: #1B9AAA;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #555;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
}

/* --- What Is BTF --- */

.what-btf {
  background: #fff;
}

.what-btf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.what-btf-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.what-btf-text p:last-child {
  margin-bottom: 0;
}

.what-btf-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.what-btf-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.2s;
}

.what-btf-highlight:hover {
  transform: translateX(4px);
}

.what-btf-highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.what-btf-highlight h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.what-btf-highlight p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* --- 5 Radars Section --- */

.radars-section {
  background: #f8f9fa;
}

.radars-intro {
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.radars-cta-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #1B9AAA;
  font-weight: 600;
  margin-bottom: 2.5rem;
  animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --- Interactive Radar Explorer --- */

.radar-explorer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 450px;
}

.radar-explorer-chart {
  position: relative;
}

.radar-explorer-chart svg {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  overflow: visible;
}

#radarGroup {
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: 0 0;
}

.radar-label-text {
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-box: fill-box;
  transform-origin: center;
}

.radar-dot-interactive {
  transition: r 0.25s ease, filter 0.25s ease;
}

.radar-vertex.active .radar-label-text {
  font-size: 15px;
}

/* Detail panel */

.radar-detail {
  min-height: 380px;
  display: flex;
  align-items: center;
}

.radar-detail-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  color: #999;
}

.radar-detail-placeholder-icon {
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.radar-detail-placeholder p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.radar-detail-content {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border-left: 5px solid var(--detail-color);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.radar-detail-top {
  margin-bottom: 1.5rem;
}

.radar-detail-stat {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.radar-detail-stat-label {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.25rem;
}

.radar-detail-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.radar-detail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.radar-detail-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.radar-detail-questions h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 0.5rem;
}

.radar-detail-questions ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.radar-detail-questions li {
  font-size: 0.85rem;
  color: #555;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.radar-detail-questions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--detail-color);
  opacity: 0.5;
}

.radar-detail-research {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}

/* --- Self-Assessment Section --- */

.assessment-section {
  background: #fff;
  text-align: center;
}

.assessment-intro {
  max-width: 500px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: #555;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.assessment-radar-wrap svg {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

.assessment-form {
  text-align: left;
  min-height: 260px;
}

/* Progress dots */

.assess-progress {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.assess-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e8e8ef;
  transition: all 0.3s;
}

.assess-step-dot.active {
  background: var(--dot-color);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--dot-color);
}

.assess-step-dot.done {
  background: var(--dot-color);
}

/* Question */

.assess-question {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.assess-question-text {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Scale buttons */

.assess-scale {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.assess-scale-label {
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 70px;
}

.assess-scale-label:first-child { text-align: right; }
.assess-scale-label:last-child { text-align: left; }

.assess-buttons {
  display: flex;
  gap: 0.5rem;
}

.assess-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.assess-btn:hover {
  border-color: var(--btn-color);
  color: var(--btn-color);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.assess-btn:active {
  background: var(--btn-color);
  color: #fff;
  border-color: var(--btn-color);
  transform: scale(0.95);
}

/* Result */

.assess-result {
  text-align: center;
  animation: slideIn 0.5s ease;
}

.assess-verdict {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.assess-verdict-msg {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.assess-lowest {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  padding: 0.75rem 1.25rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.assess-lowest-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.assess-result-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- How to Run It Section --- */

.how-to-run {
  background: #fff;
}

/* ========================
   HOW-TO STEPPER
   ======================== */
.how-stepper { margin-top: 2.5rem; }

.how-tabs { display: flex; align-items: center; }

.how-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.6rem;
  flex-shrink: 0;
}

.how-tab-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8eaed;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.how-tab-label {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: color 0.3s;
}

.how-tab.active .how-tab-num {
  background: #1B9AAA;
  color: #fff;
  box-shadow: 0 2px 10px rgba(27,154,170,0.35);
}

.how-tab.active .how-tab-label { color: #1B9AAA; font-weight: 600; }
.how-tab.done .how-tab-num { background: rgba(27,154,170,0.15); color: #1B9AAA; }
.how-tab.done .how-tab-label { color: #1B9AAA; }

.how-tab-line {
  flex: 1;
  height: 2px;
  background: #e8eaed;
  margin-bottom: 1.5rem;
  min-width: 16px;
  transition: background 0.4s;
}

.how-tab-line.done { background: rgba(27,154,170,0.4); }

.how-autobar {
  height: 3px;
  background: #f0f0f0;
  border-radius: 2px;
  margin: 1rem 0 2rem;
  overflow: hidden;
}

.how-autobar-fill {
  height: 100%;
  background: #1B9AAA;
  border-radius: 2px;
  width: 0;
}

.how-panels { position: relative; }

.how-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.how-panel.active {
  display: grid;
  animation: howIn 0.4s ease;
}

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

.how-panel-visual { display: flex; justify-content: center; }

.how-panel-visual svg {
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.07));
  overflow: visible;
}

.how-panel-text h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.how-panel-text p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.how-tip {
  background: rgba(27,154,170,0.08);
  border-left: 3px solid #1B9AAA;
  padding: 0.65rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.875rem;
  color: #167a87;
  font-weight: 500;
}

.how-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.how-btn-prev, .how-btn-next {
  border: 1.5px solid #dde0e3;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  background: #fff;
  color: #555;
}

.how-btn-next { background: #1B9AAA; border-color: #1B9AAA; color: #fff; }
.how-btn-prev:hover:not(:disabled) { border-color: #1B9AAA; color: #1B9AAA; }
.how-btn-next:hover:not(:disabled) { background: #167a87; }
.how-btn-prev:disabled, .how-btn-next:disabled { opacity: 0.3; cursor: default; }

.how-step-count { font-size: 0.875rem; color: #999; }

/* ========================
   ROLES SECTION
   ======================== */
.roles-section { background: #fff; }

.roles-toggle {
  display: flex;
  gap: 0;
  background: #f0f4f5;
  border-radius: 12px;
  padding: 4px;
  max-width: 380px;
  margin: 2.5rem auto 2rem;
}

.role-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 9px;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #888;
  transition: all 0.25s ease;
}

.role-tab.active { background: #1B9AAA; color: white; box-shadow: 0 2px 8px rgba(27,154,170,0.3); }
.role-tab[data-role="member"].active { background: #9B59B6; box-shadow: 0 2px 8px rgba(155,89,182,0.3); }

.roles-panels { position: relative; }

.role-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.role-panel.active { display: grid; animation: howIn 0.35s ease; }

.role-visual { display: flex; justify-content: center; }
.role-visual svg { width: 100%; max-width: 280px; filter: drop-shadow(0 6px 20px rgba(0,0,0,0.07)); }

.role-badge {
  display: inline-block;
  background: #1B9AAA;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.role-panel[data-role-panel="member"] .role-badge { background: #9B59B6; }

.role-content h3 { font-size: 1.35rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.5rem; }

.role-commitment { font-size: 0.875rem; color: #1B9AAA; font-weight: 600; margin-bottom: 1rem; }
.role-panel[data-role-panel="member"] .role-commitment { color: #9B59B6; }

.role-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }

.role-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.role-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1B9AAA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center/10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.role-panel[data-role-panel="member"] .role-list li::before { background-color: #9B59B6; }

.role-see {
  background: rgba(27,154,170,0.07);
  border-left: 3px solid #1B9AAA;
  padding: 0.65rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.875rem;
  color: #444;
  line-height: 1.5;
}

.role-panel[data-role-panel="member"] .role-see { background: rgba(155,89,182,0.07); border-color: #9B59B6; }

/* --- Templates / Resources --- */

.resources-section {
  background: #f8f9fa;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.resource-card {
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 154, 170, 0.1);
}

.resource-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.resource-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: #f0fafb;
  color: #1B9AAA;
}

/* --- Research Section --- */

.research-section {
  background: #fff;
}

.research-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.research-source {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.research-source h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.research-source p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.research-stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1B9AAA;
  margin-bottom: 0.25rem;
}

/* --- Automate Banner --- */

.automate-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2b55 60%, #1B9AAA 100%);
  text-align: center;
  color: #fff;
}

.automate-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.automate-banner p {
  font-size: 1.05rem;
  color: #c5e5ea;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.automate-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.automate-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #c5e5ea;
}

.automate-check {
  color: #5DC8D6;
  font-weight: 700;
}

.automate-banner .cta-primary {
  background: #fff;
  color: #1B9AAA;
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
}

.automate-banner .cta-primary:hover {
  background: #f0fafb;
}

/* --- Footer --- */

.site-footer {
  background: #1a1a2e;
  color: #aab;
  padding: 3rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #aab;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: #aab;
  transition: color 0.2s, transform 0.2s;
  display: flex;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.15);
}

/* --- Fade-in animations --- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open { display: flex; }

  .nav-toggle { display: flex; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-social { justify-content: center; }

  .hero { padding: 7rem 0 3rem; }

  .what-btf-grid { grid-template-columns: 1fr; gap: 2rem; }

  .radar-explorer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .radar-explorer-chart svg { max-width: 320px; }

  .radar-detail { min-height: auto; }

  .radar-detail-content { padding: 1.5rem; }

  .assessment-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .assess-scale {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .assess-scale-label:first-child { text-align: left; }

  .assess-btn { width: 44px; height: 44px; }

  .how-panel.active { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-tab-label { display: none; }
  .how-panel-visual svg { max-width: 240px; }
  .role-panel.active { grid-template-columns: 1fr; gap: 1.5rem; }
  .role-visual svg { max-width: 220px; }

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

  .research-sources { grid-template-columns: 1fr; }

  .automate-features { flex-direction: column; align-items: center; }
}
