/* ============================================================
   ConceptGood Consultants — preview stylesheet
   Base tokens and the components used by these three pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #16224E;
  --primary-light: #27356E;
  --secondary: #4F7BF7;
  --secondary-light: #7C9DFF;
  --accent: #14C7B8;
  --accent-light: #4FE3D5;
  --success: #22A06B;
  --danger: #E5484D;
  --dark: #1A1A2E;
  --text: #2D3436;
  --text-light: #636E72;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --border: #E0E6ED;
  --shadow: 0 4px 24px rgba(22, 34, 78, 0.08);
  --shadow-hover: 0 8px 40px rgba(22, 34, 78, 0.15);
  --gradient-primary: linear-gradient(135deg, #16224E 0%, #27356E 50%, #4F7BF7 100%);
  --gradient-accent: linear-gradient(135deg, #14C7B8 0%, #4FE3D5 100%);
  --gradient-hero: linear-gradient(135deg, #16224E 0%, #1D2A63 40%, #2A46A0 70%, #4F7BF7 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body::after {
  content: 'ConceptGood Consultants';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-family: 'Poppins', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  color: rgba(22, 34, 78, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  letter-spacing: 0.05em;
  user-select: none;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}
a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition);
}
a:hover {
  color: var(--secondary-light);
}
img {
  max-width: 100%;
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.page {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
}
.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 123, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 199, 184, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero .subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  font-weight: 300;
}
.hero .stage-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.content-narrow {
  max-width: 900px;
}
.section {
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.card-icon.blue {
  background: rgba(79, 123, 247, 0.12); color: var(--secondary);
}
.card-icon.green {
  background: rgba(39, 174, 96, 0.12); color: var(--success);
}
.card-icon.red {
  background: rgba(231, 76, 60, 0.12); color: var(--danger);
}
.card-icon.dark {
  background: rgba(22, 34, 78, 0.1); color: var(--primary);
}
.card h3 {
  font-size: 1.1rem;
  margin: 0;
}
.card p, .card li {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}
.card ul {
  list-style: none;
  padding: 0;
}
.card ul li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}
.callout {
  border-left: 4px solid var(--secondary);
  background: rgba(79, 123, 247, 0.05);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.callout h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.callout p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.pagination a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}
.footer strong {
  color: var(--primary);
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    padding: 3rem 1.5rem;
  }
  .content {
    padding: 2rem 1.25rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}
code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.86em;
  background: rgba(79, 123, 247, 0.10);
  color: var(--primary);
  padding: 0.12em 0.42em;
  border-radius: 5px;
  border: 1px solid rgba(79, 123, 247, 0.18);
}
.gantt {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow);
  margin: 1.5rem 0; overflow-x: auto;
}
.gantt-head {
  display: flex; padding-left: 190px; margin-bottom: 0.6rem; min-width: 570px;
}
.gantt-head span {
  flex: 1; text-align: center; font-size: 0.66rem;
  color: var(--text-light); font-weight: 600; min-width: 0;
}
.gantt-row {
  display: flex; align-items: center; margin-bottom: 0.45rem;
}
.gantt-lbl {
  width: 190px; flex-shrink: 0; font-size: 0.8rem;
  font-weight: 600; color: var(--primary); padding-right: 1rem;
}
.gantt-track {
  flex: 1; position: relative; height: 32px; min-width: 380px;
}
.gantt-bar {
  position: absolute; height: 26px; top: 3px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; color: var(--white);
  white-space: nowrap; padding: 0 0.7rem;
}
.viz {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow); margin: 1.5rem 0;
}
.viz-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem;
  color: var(--primary); text-align: center; margin-bottom: 0.25rem;
}
.viz-sub {
  font-size: 0.78rem; color: var(--text-light); text-align: center;
  margin-bottom: 1.5rem;
}
.rail {
  display: flex; align-items: stretch; gap: 0; flex-wrap: wrap;
}
.rail-step {
  flex: 1; min-width: 150px; position: relative;
  padding: 1rem 0.9rem; text-align: center;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin: 0 0.9rem 0.75rem 0;
}
.rail-step:last-child {
  margin-right: 0;
}
.rail-step::after {
  content: '›'; position: absolute; right: -0.72rem; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--secondary);
  font-weight: 700; line-height: 1;
}
.rail-step:last-child::after {
  content: none;
}
.rail-n {
  width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 0.45rem;
  background: var(--secondary); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}
.rail-step.gate {
  background: rgba(20,199,184,0.10); border-color: rgba(20,199,184,0.45);
}
.rail-step.gate .rail-n {
  background: var(--accent); color: var(--primary);
}
.rail-step.stop {
  background: rgba(229,72,77,0.08); border-color: rgba(229,72,77,0.40);
}
.rail-step.stop .rail-n {
  background: var(--danger);
}
.rail-t {
  font-weight: 700; font-size: 0.82rem; color: var(--primary); line-height: 1.3;
}
.rail-d {
  font-size: 0.72rem; color: var(--text-light); margin-top: 0.25rem; line-height: 1.35;
}
.kpi-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.kpi {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1rem; text-align: center;
  border-top: 4px solid var(--secondary); box-shadow: var(--shadow);
}
.kpi-v {
  font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: var(--primary); line-height: 1.1;
}
.kpi-l {
  font-size: 0.74rem; color: var(--text-light); margin-top: 0.3rem; line-height: 1.3;
}
.viz {
  overflow-x: auto;
}
.viz > .gantt {
  background: none; border: 0; box-shadow: none;
  padding: 0; margin: 0;
}
