/* ==========================================================================
   vCDIO PREMIUM DESIGN SYSTEM STYLESHEET
   Core Standards: CSS3 Flexbox & Grid, WCAG 2.1 AA Compliant, Premium Aesthetics
   ========================================================================== */

/* ---- Google Fonts & Variables ---- */
:root {
  /* Brand Colors (Calibrated & Desaturated Premium Theme) */
  --clr-bg: #0b0f19;            /* Refined Rich Navy Charcoal */
  --clr-surface: #121826;       /* Clean surface depth */
  --clr-surface-card: #182033;  /* True glassmorphic card elevated surfaces */
  --clr-accent: #3b82f6;        /* High-end Steel Cobalt Accent */
  --clr-accent-hover: #2563eb;  /* Slightly saturated Accent hover */
  --clr-text: #f1f5f9;          /* Premium Warm Light Text */
  --clr-text-muted: #94a3b8;    /* Muted Slate Text */
  --clr-border: rgba(255, 255, 255, 0.05); /* Refined extremely subtle border */
  
  /* Typography Scale (Deterministic & High-Agency Sans-Serif) */
  --ff-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --fs-headline: clamp(2.5rem, 5.5vw, 4.2rem);
  --fs-section: clamp(1.8rem, 4vw, 2.4rem);
  --fs-subhead: 1.35rem;
  --fs-body: 1rem;
  --fs-small: 0.85rem;
  
  /* Weights */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  
  /* Global Constants */
  --radius: 1rem;               /* Enhanced smooth curve radius */
  --gap: 1.5rem;                /* Generous airy visual gaps */
  --max-width: 1280px;          /* Art gallery presentation width */
}

/* ==========================================================================
   1. Global Resets & Document Structure
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--ff-sans);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 2rem;
  position: relative;
}

/* Background Glowing Elements */
.glow-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.12; /* Subtle ambient depth */
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background-color: var(--clr-accent);
}

.glow-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background-color: #3B82F6; /* Cobalt light */
}

.glow-3 {
  top: 40%;
  right: 15%;
  width: 450px;
  height: 450px;
  background-color: rgba(30, 41, 59, 0.3); /* Ultra‑subtle desaturated ambient depth */
}


/* ==========================================================================
   2. Typography & Core Elements
   ========================================================================= */
h1, h2, h3, h4 {
  color: #FFFFFF;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

h1 {
  font-size: var(--fs-headline);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--fs-section);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: var(--fs-subhead);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
}

p.muted-text {
  font-size: var(--fs-small);
  color: #94A3B8;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #60A5FA;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--clr-accent);
  color: #60A5FA;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* ==========================================================================
   3. Navigation Header
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  background: rgba(7, 10, 19, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.logo img {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo:hover img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.25));
}

.logo-icon {
  animation: pulseLogo 4s infinite alternate;
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.2)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6)); }
}

#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--clr-text-muted);
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  padding: 0.5rem 0.5rem;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background-color: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a.active {
  color: #FFFFFF;
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ==========================================================================
   4. Landing Page / Tab Routing Layouts
   ========================================================================== */
section.section {
  display: none;
  padding: 4rem var(--gap);
  max-width: var(--max-width);
  margin: 0 auto;
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

section.section.active {
  display: block;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-badge {
  color: var(--clr-accent);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   5. Hero Presentation (Overview Tab)
   ========================================================================== */
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  min-height: 60vh;
  margin-bottom: 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(17, 22, 37, 0.85) 100%),
              url('hero-bg.png') center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.05); /* Liquid Glass inner refraction border */
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
}

.hero-content {
  max-width: 720px;
  text-align: left; /* Asymmetric left aligned */
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  color: var(--clr-text-muted);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: flex-start; /* Asymmetric left aligned */
  flex-wrap: wrap;
}

/* --- Asymmetric Hero Visual Card --- */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-dashboard-card {
  background: rgba(22, 30, 51, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  transform: perspective(1000px) rotateY(-12deg) rotateX(8deg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
}

.hero-dashboard-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 35px 70px -15px rgba(59, 130, 246, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.db-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  position: relative;
}

.db-dot.green::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.db-title {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.db-metric {
  margin-bottom: 1rem;
}

.db-label {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
}

.db-val {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.db-progress-track {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.db-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-accent) 0%, #60A5FA 100%);
  border-radius: 3px;
  animation: loadDbBar 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadDbBar {
  from { width: 0%; }
}

.db-footer {
  display: flex;
  gap: 0.5rem;
}

.db-badge {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--clr-text-muted);
}

/* ==========================================================================
   6. Custom Card Patterns (The "Consultancy Card")
   ========================================================================== */
.card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  will-change: transform;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: rgba(37, 99, 235, 0.35);
}

/* Shimmer Border Overlay Effect */
.shimmer-border {
  position: relative;
  overflow: hidden;
}

.shimmer-border::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  transition: opacity 0.5s ease;
  pointer-events: none;
  opacity: 0;
}

.shimmer-border:hover::after {
  animation: shimmerFlash 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 1;
}

@keyframes shimmerFlash {
  0% {
    transform: translate(-30%, -30%) rotate(45deg);
  }
  100% {
    transform: translate(30%, 30%) rotate(45deg);
  }
}


.card-accent-top {
  position: relative;
  overflow: hidden;
}

.card-accent-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-accent);
}

.card-icon {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.card-icon svg {
  stroke: var(--clr-accent);
}

/* Playbook Card Specifics */
.playbook-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-num {
  font-size: 1.8rem;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.06);
  align-self: flex-end;
  margin-top: -1.5rem;
  margin-right: -0.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.playbook-card:hover .step-num {
  color: rgba(37, 99, 235, 0.2);
}

.impact-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  background-color: rgba(255,255,255,0.03);
  border-radius: 0.25rem;
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1rem;
}

/* Pricing Card Specifics */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.pricing-card .duration {
  font-size: 1rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
}

.pricing-card .allocation {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.pricing-card .features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card .features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

.pricing-card .features li::before {
  content: "✓";
  color: var(--clr-accent);
  margin-right: 0.5rem;
  font-weight: bold;
}

.pricing-fee {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}

/* Featured / Ribbon Card */
.pricing-card.featured {
  border-color: var(--clr-accent);
  background-color: rgba(17, 22, 37, 0.8);
  box-shadow: 0 8px 30px rgba(37,99,235,0.15);
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 35px rgba(37,99,235,0.25);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--clr-accent);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   7. Grid & Flexbox Structures
   ========================================================================== */
.grid-container {
  display: grid;
  margin-bottom: 2rem;
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.cols-1-2 {
  grid-template-columns: 1fr 2fr;
}

.gap-2 {
  gap: 2rem;
}

.self-start {
  align-self: start;
}

.flex-center-y {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   8. UI Elements: Forms & Buttons
   ========================================================================== */
.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: none;
}

.cta-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.primary-cta {
  background-color: var(--clr-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.primary-cta:hover {
  background-color: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #FFFFFF;
}

.secondary-cta {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid var(--clr-border);
}

.secondary-cta:hover {
  background-color: var(--clr-surface-card);
  border-color: var(--clr-text-muted);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Standard Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 0.375rem;
  padding: 0.75rem;
  color: #FFFFFF;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.gdpr-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.gdpr-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-accent);
  cursor: pointer;
  margin-top: 2px;
}

.gdpr-box label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  cursor: pointer;
}

/* ==========================================================================
   9. Custom Interactive Rating Pills (AI Maturity Assessment UI)
   ========================================================================== */
.question-item {
  background-color: var(--clr-surface-card);
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.02);
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease;
}

.question-item:hover {
  border-color: rgba(37,99,235,0.15);
}

.question-text {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

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

.rating-legend {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
}

.rating-pills {
  display: flex;
  gap: 0.5rem;
}

.rating-pills label {
  cursor: pointer;
}

.rating-pills label input {
  display: none; /* Hide real radio buttons completely */
}

.rating-pills label span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  transition: all 0.2s ease;
}

.rating-pills label:hover span {
  border-color: var(--clr-accent);
  color: #FFFFFF;
}

.rating-pills label input:checked + span {
  background-color: var(--clr-accent);
  border-color: #60A5FA;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.6);
  transform: scale(1.1);
}

/* Weighting Info Box */
.weighting-card {
  background-color: rgba(255,255,255,0.02);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  border-left: 3px solid var(--clr-accent);
}

.weighting-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.weighting-card ul {
  list-style: none;
  font-size: 0.85rem;
}

.weighting-card ul li {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  color: var(--clr-text-muted);
}

/* ==========================================================================
   10. Dynamic Diagnostic Result Display
   ========================================================================== */
.result-display {
  display: none;
  border-color: var(--clr-accent);
  background: linear-gradient(180deg, var(--clr-surface), rgba(37,99,235,0.02));
}

.result-display.visible {
  display: block;
  animation: slideDownFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.result-title {
  color: #10B981; /* Green success indicator */
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.result-score-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.score-num {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: #FFFFFF;
}

.score-scale {
  font-size: 1.25rem;
  color: #64748B;
}

.maturity-band-indicator {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  color: #34D399;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1.5rem;
}

.category-scores-list {
  list-style: none;
  margin: 1.5rem 0;
}

.cat-score-group {
  margin-bottom: 1rem;
}

.cat-score-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.25rem;
}

.cat-score-bar-track {
  height: 6px;
  background-color: var(--clr-bg);
  border-radius: 3px;
  overflow: hidden;
}

.cat-score-bar-fill {
  height: 100%;
  background-color: var(--clr-accent);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.advice-card {
  background-color: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--clr-accent);
}

.advice-card h4 {
  color: #38BDF8;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: var(--fw-semibold);
}

.advice-card.warning {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
  border-left-color: #F59E0B;
}

.advice-card.warning h4 {
  color: #FBBF24 !important;
}

.advice-card.success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
  border-left-color: #10B981;
}

.advice-card.success h4 {
  color: #34D399 !important;
}

.advice-card.info {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.04);
  border-left-color: #38BDF8;
}

.advice-card.info h4 {
  color: #38BDF8 !important;
}

/* Circular Gauge styling */
.result-gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-path {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.relative {
  position: relative;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* ==========================================================================
   11. Specialized Graphics & Animations
   ========================================================================== */

/* 10-20-70 Effort Allocation Visual Bars */
.ratio-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.ratio-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ratio-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
}

.ratio-bar-track {
  height: 10px;
  background-color: var(--clr-surface-card);
  border-radius: 5px;
  overflow: hidden;
}

@keyframes fillBar {
  from { width: 0; }
}

.ratio-bar-fill {
  height: 100%;
  background-color: #475569;
  border-radius: 5px;
  animation: fillBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.accent-fill {
  background: linear-gradient(90deg, var(--clr-accent), #60A5FA);
  box-shadow: 0 0 10px rgba(37,99,235,0.4);
}

.ratio-bar-group.highlight .ratio-bar-info {
  color: #FFFFFF;
  font-weight: var(--fw-semibold);
}

/* Technical Foundations Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-tag {
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background-color: var(--clr-surface-card);
  color: #FFFFFF;
}

/* Premium B2B Tables */
.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  border: 1px solid var(--clr-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th {
  background-color: var(--clr-surface-card);
  color: #FFFFFF;
  font-weight: var(--fw-semibold);
  padding: 1rem;
  border-bottom: 2px solid var(--clr-border);
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--clr-text-muted);
}

tr:hover td {
  background-color: rgba(255,255,255,0.01);
  color: #FFFFFF;
}

.highlight-row td {
  background-color: rgba(37, 99, 235, 0.04);
}

.highlight-row td:first-child {
  border-left: 4px solid var(--clr-accent);
}

/* Sleek Timeline (Project Milestones) */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 5px;
  width: 2px;
  background-color: var(--clr-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.time-badge {
  position: absolute;
  left: -2.35rem;
  top: 0.2rem;
  background-color: var(--clr-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 10px rgba(37,99,235,0.3);
}

.time-content {
  padding-left: 1rem;
}

.time-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   12. Footer Design
   ========================================================================== */
.footer-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: #FFFFFF;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta a {
  color: #64748B;
}

.footer-meta a:hover {
  color: var(--clr-accent);
}

/* ==========================================================================
   13. Clean Utilitary Offsets
   ========================================================================== */
.margin-bottom-1 { margin-bottom: 1rem; }
.margin-bottom-2 { margin-bottom: 2rem; }
.margin-bottom-3 { margin-bottom: 3rem; }
.margin-bottom-4 { margin-bottom: 4rem; }
.margin-top-1 { margin-top: 1rem; }
.margin-top-2 { margin-top: 2rem; }
.margin-top-4 { margin-top: 4rem; }

/* ==========================================================================
   14. Full Multi-Viewport Grid & Flex Layout Responsiveness
   ========================================================================== */
@media (max-width: 968px) {
  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-headline: 2.8rem;
    --fs-section: 1.8rem;
  }
  
  /* Mobile Navigation Hamburger Engine */
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(7, 10, 19, 0.95);
    border-bottom: 1px solid var(--clr-border);
    padding: 1.5rem var(--gap);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    gap: 1rem;
  }
  
  #nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  
  /* Hamburger animations */
  #nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  #nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Reflow layout to single columns */
  .cols-3,
  .cols-2,
  .cols-1-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Retain grid structure for smaller columns */
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  /* Center hero components */
  .hero-container {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem;
    gap: 2.5rem;
  }
  .hero-content {
    text-align: left;
  }
  
  /* Adjust featured card offset on mobile */
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  
  /* Stack tables responsively */
  .table-container {
    border: none;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-headline: 2.2rem;
  }
  
  .rating-pills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
  }
  
  .rating-pills label span {
    width: 100%;
  }
}

/* ==========================================================================
   15. Progressive Step-by-Step Quiz Wizard & Motion Engine
   ========================================================================== */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-fade {
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#wizard-navigation button {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#wizard-navigation button:hover {
  border-color: var(--clr-accent);
  color: #FFFFFF;
  background-color: var(--clr-surface-card);
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--clr-accent) 0%, #60A5FA 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   16. YouTube Video Cards & Cross Promotion Styles
   ========================================================================== */
.video-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.video-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.08) !important;
}

.video-card:hover .play-btn-circle {
  transform: scale(1.1) !important;
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.play-btn-circle {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.video-card:hover .video-img {
  transform: scale(1.05) !important;
  filter: brightness(0.85) !important;
}

