@charset "utf-8";
/* CSS Document */

/* Pro-Active Training Manual — style.css */
/* Main background: Charcoal Gray #2c3338 */

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

:root {
  --bg-charcoal: #2c3338;
  --bg-charcoal-light: #363d44;
  --bg-charcoal-dark: #22282d;
  --accent-teal: #00b8d9;
  --accent-blue: #1a73e8;
  --text-light: #e8eaed;
  --text-muted: #9aa0a6;
  --text-white: #ffffff;
  --header-height: 70px;
  --nav-height: 48px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background-color: var(--bg-charcoal);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  background-color: var(--bg-charcoal-dark);
  border-bottom: 3px solid var(--accent-teal);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.header-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.header-logo {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white; flex-shrink: 0;
}
.header-title { display: flex; flex-direction: column; }
.header-title h1 { font-size: 1.35rem; font-weight: 700; color: var(--text-white); line-height: 1.2; }
.header-title h1 span { color: var(--accent-teal); font-weight: 300; }
.header-subtitle { font-size: 0.75rem; color: var(--text-muted); }
.header-badge {
  background: transparent; border: 1.5px solid var(--accent-teal);
  color: var(--accent-teal); padding: 6px 18px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
}

/* TOP NAV */
.top-nav {
  background-color: var(--bg-charcoal-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; overflow-x: auto; scrollbar-width: none;
  position: sticky; top: var(--header-height); z-index: 999;
}
.top-nav::-webkit-scrollbar { display: none; }
.nav-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 20px; height: var(--nav-height);
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; border: none; background: transparent;
  border-bottom: 3px solid transparent; transition: all 0.2s ease;
  white-space: nowrap; text-decoration: none;
}
.nav-tab:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.nav-tab.active { color: var(--accent-teal); border-bottom-color: var(--accent-teal); background: rgba(0,184,217,0.08); }

/* SECTIONS */
.content-section { display: none; width: 100%; }
.content-section.active { display: block; }

/* HERO */
.hero-banner {
  background: linear-gradient(135deg, var(--bg-charcoal-light) 0%, #1e4976 100%);
  border: 1px solid rgba(0,184,217,0.2); border-radius: 12px;
  padding: 36px 40px; margin: 24px 24px 0;
}
.hero-banner h2 { font-size: 2rem; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.hero-banner h2 span { color: var(--accent-teal); font-weight: 300; }
.hero-banner p { color: var(--text-muted); font-size: 1rem; max-width: 700px; }

/* MODULE CARDS */
.modules-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px; padding: 24px;
}
.module-card {
  background: var(--bg-charcoal-light); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 28px 24px; cursor: pointer;
  transition: all 0.25s ease; text-align: center; text-decoration: none; display: block;
}
.module-card:hover { border-color: var(--accent-teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.module-card .card-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.module-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--accent-teal); margin-bottom: 8px; }
.module-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* HOW TO USE */
.how-to-section {
  background: var(--bg-charcoal-light); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; margin: 0 24px 24px; padding: 28px 32px;
}
.how-to-section h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-white); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.how-to-section ul { list-style: none; padding: 0; }
.how-to-section ul li { padding: 8px 0 8px 22px; position: relative; color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.how-to-section ul li:last-child { border-bottom: none; }
.how-to-section ul li::before { content: '▸'; position: absolute; left: 0; color: var(--accent-teal); }

/* SECTION CONTENT */
.section-content { padding: 24px; }
.section-header-box {
  background: linear-gradient(135deg, var(--bg-charcoal-light) 0%, #1e4976 100%);
  border: 1px solid rgba(0,184,217,0.2); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 24px;
}
.section-header-box h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.section-header-box p { color: var(--text-muted); font-size: 0.95rem; }

/* TABLE OF CONTENTS */
.toc-box {
  background: var(--bg-charcoal-light); border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--accent-teal); border-radius: 8px;
  padding: 20px 24px; margin-bottom: 24px;
}
.toc-box h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-teal); margin-bottom: 12px; }
.toc-box ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px; }
.toc-box ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; padding: 3px 0; display: block; transition: color 0.15s; }
.toc-box ul li a:hover { color: var(--accent-teal); }
.toc-box ul li a::before { content: '→ '; color: var(--accent-teal); }

/* FEATURE BLOCKS */
.feature-block { background: #fff; border-radius: 10px; margin-bottom: 24px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.feature-block-header { background: var(--bg-charcoal-dark); padding: 16px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--accent-teal); }
.feature-block-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-white); }
.feature-block-header .feature-icon { font-size: 1.2rem; }
.feature-block-body { padding: 24px; color: #333; }
.feature-block-body p { margin-bottom: 12px; font-size: 0.92rem; line-height: 1.7; color: #444; }
.feature-block-body h4 { font-size: 0.92rem; font-weight: 700; color: #222; margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #e0e0e0; }
.feature-block-body ul, .feature-block-body ol { margin-left: 20px; margin-bottom: 12px; }
.feature-block-body li { margin-bottom: 6px; font-size: 0.9rem; color: #444; }
.feature-block-body strong { color: #222; }

/* SCREENSHOTS */
.screenshot-frame { border: 2px dashed #ccc; border-radius: 8px; padding: 12px; margin: 16px 0; background: #f5f5f5; text-align: center; }
.screenshot-frame img { max-width: 100%; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.screenshot-caption { font-size: 0.8rem; color: #666; margin-top: 8px; font-style: italic; }
.screenshot-placeholder { padding: 30px; color: #999; background: #f0f0f0; border-radius: 4px; font-size: 0.85rem; }

/* CALLOUTS */
.callout { border-radius: 8px; padding: 14px 18px; margin: 14px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.callout.tip { background: #e8f5e9; border: 1px solid #4caf50; border-left: 4px solid #4caf50; }
.callout.tip::before { content: '💡'; flex-shrink: 0; }
.callout.warning { background: #fff8e1; border: 1px solid #ff9800; border-left: 4px solid #ff9800; }
.callout.warning::before { content: '⚠️'; flex-shrink: 0; }
.callout.info { background: #e3f2fd; border: 1px solid #1565c0; border-left: 4px solid #1565c0; }
.callout.info::before { content: 'ℹ️'; flex-shrink: 0; }
.callout p { color: #333; margin: 0; }

/* STEP LISTS */
.step-list { counter-reset: steps; list-style: none; padding: 0; margin: 12px 0; }
.step-list li { counter-increment: steps; padding: 10px 10px 10px 50px; position: relative; margin-bottom: 8px; background: #f9f9f9; border-radius: 6px; font-size: 0.9rem; color: #444; }
.step-list li::before { content: counter(steps); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; background: #1a73e8; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }

/* FIELD TABLES */
.field-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.875rem; }
.field-table th { background: var(--bg-charcoal-dark); color: var(--text-white); padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.field-table td { padding: 10px 14px; border-bottom: 1px solid #eee; color: #444; vertical-align: top; }
.field-table tr:nth-child(even) td { background: #f9f9f9; }
.field-table td:first-child { font-weight: 600; color: #222; }

/* ANCHORS */
.anchor-target { scroll-margin-top: calc(var(--header-height) + var(--nav-height) + 20px); }

/* FOOTER */
.site-footer { background: var(--bg-charcoal-dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; text-align: center; color: var(--text-muted); font-size: 0.8rem; }
.site-footer a { color: var(--accent-teal); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-title h1 { font-size: 1.1rem; }
  .header-badge { display: none; }
  .hero-banner { padding: 24px 20px; margin: 16px 16px 0; }
  .hero-banner h2 { font-size: 1.4rem; }
  .modules-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .section-content { padding: 16px; }
  .toc-box ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .modules-grid { grid-template-columns: 1fr; } }