/* ========================================================================
   PROGI-CHECK PROFESSIONAL CYBERSECURITY DESIGN
   Complete CSS matching test.html structure
   ======================================================================== */

:root {
  /* Core Colors */
  --primary: #0A0F1C;
  --secondary: #1A2332;
  --accent: #00E5FF;
  --accent-dark: #00B8D4;
  
  /* Grays */
  --white: #FFFFFF;
  --gray-100: #F8FAFC;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  
  /* Status */
  --danger: #FF1744;
  --warning: #FFB300;
  --success: #00C853;
  
  /* Premium Colors */
  --pro-gold: #FFD700;
  --standard-blue: #2196F3;
  
  /* Backgrounds */
  --bg-body: #0A0F1C;
  --bg-card: rgba(26, 35, 50, 0.8);
  --border-soft: rgba(148, 163, 184, 0.2);
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-soft: #64748B;
}

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

html, body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: 
    radial-gradient(ellipse at top, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0A0F1C 0%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  padding-top: 3rem;
  overflow-y: auto;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(20, 27, 43, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 229, 255, 0.15);
  animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-main);
  font-weight: 700;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.modal-checkbox:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.25);
}

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

.modal-checkbox label {
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.modal-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-btn:disabled {
  background: var(--gray-600);
  color: var(--gray-400);
  cursor: not-allowed;
  opacity: 0.5;
}

.modal-btn:not(:disabled) {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

.modal-btn:not(:disabled):hover {
  background: linear-gradient(135deg, #00F0FF, var(--accent));
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* ==================== PLANS MODAL ==================== */
.modal-plans {
  max-width: 1300px;
  padding: 2.5rem;
}

.plans-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.plans-title-block h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.plans-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.plans-context {
  font-size: 0.875rem;
  color: var(--gray-400);
  max-width: 650px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(0, 229, 255, 0.03);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

@media (max-width: 1200px) {
  .plans-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .plans-grid, .plans-grid-four {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==================== PLAN CARDS ==================== */
.plan-card {
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.7), rgba(20, 27, 43, 0.9));
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
}

.plan-card.selected {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 229, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(26, 35, 50, 0.9));
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--standard-blue), #1976D2);
  color: white;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.plan-badge-pro {
  background: linear-gradient(135deg, var(--pro-gold), #FFA500);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.plan-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-icon-free {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 212, 255, 0.05));
  color: var(--accent);
}

.plan-icon-standard {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
  color: var(--standard-blue);
}

.plan-icon-pro {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.05));
  color: var(--pro-gold);
}

.plan-header-text {
  flex: 1;
}

.plan-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.plan-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.plan-price-block {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.plan-price-standard {
  color: var(--standard-blue);
  text-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

.plan-price-pro {
  background: linear-gradient(135deg, var(--pro-gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-conversions {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.plan-price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 1.5rem;
  margin: 0;
}

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

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.plan-feature-highlight {
  font-weight: 600;
  color: var(--text-main);
}

.plan-feature-heading {
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.75rem;
}

.plan-feature-sub {
  padding-left: 1.5rem;
  color: var(--gray-400);
  font-size: 0.8125rem;
}

.plan-feature-sub::before {
  content: '→';
  color: var(--gray-500);
}

.plan-value-block {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-value-block h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-value-block ul {
  list-style: none;
  margin: 0;
}

.plan-value-block li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
  line-height: 1.5;
}

.plan-value-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan-value-pro {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.03);
}

.plan-value-pro h4 {
  color: var(--pro-gold);
}

.plan-value-pro li::before {
  color: var(--pro-gold);
}

.plan-cta {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
}

.plan-cta-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.plan-cta-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: #00F0FF;
  color: #00F0FF;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.plan-cta-primary {
  background: linear-gradient(135deg, var(--standard-blue), #1976D2);
  color: white;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.plan-cta-primary:hover {
  background: linear-gradient(135deg, #42A5F5, var(--standard-blue));
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
  transform: translateY(-2px);
}

.plan-cta-pro {
  background: linear-gradient(135deg, var(--pro-gold), #FFA500);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.plan-cta-pro:hover {
  background: linear-gradient(135deg, #FFE54C, var(--pro-gold));
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}
/* ==================== PRO+ STYLES ==================== */
.plan-proplus {
  border-color: rgba(160, 80, 255, 0.3);
}

.plan-proplus:hover {
  border-color: rgba(160, 80, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 24px rgba(160,80,255,0.25);
}

.plan-proplus.selected {
  border-color: #A050FF;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 40px rgba(160,80,255,0.35);
  background: linear-gradient(180deg, rgba(160,80,255,0.07), rgba(26,35,50,0.9));
}

.plan-badge-proplus {
  background: linear-gradient(135deg, #A050FF, #7020CC);
  color: white;
  box-shadow: 0 4px 12px rgba(160, 80, 255, 0.4);
}

.plan-icon-proplus {
  background: linear-gradient(135deg, rgba(160,80,255,0.15), rgba(112,32,204,0.05));
  color: #A050FF;
}

.plan-price-proplus {
  background: linear-gradient(135deg, #A050FF, #7020CC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-value-proplus {
  border-color: rgba(160, 80, 255, 0.35);
  background: rgba(160, 80, 255, 0.04);
}

.plan-value-proplus h4 {
  color: #A050FF;
}

.plan-value-proplus li::before {
  color: #A050FF;
}

.plan-cta-proplus {
  background: linear-gradient(135deg, #A050FF, #7020CC);
  color: white;
  box-shadow: 0 4px 12px rgba(160, 80, 255, 0.35);
}

.plan-cta-proplus:hover {
  background: linear-gradient(135deg, #B870FF, #A050FF);
  box-shadow: 0 6px 20px rgba(160, 80, 255, 0.5);
  transform: translateY(-2px);
}

/* Version badge PRO+ */
.version-badge.proplus {
  background: linear-gradient(135deg, #A050FF, #7020CC);
  color: white;
  box-shadow: 0 0 12px rgba(160,80,255,0.4);
}


/* ==================== KEY SECTION ==================== */
.key-section {
  display: none;
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.03);
  border: 2px solid rgba(0, 229, 255, 0.2);
}

.key-section.show {
  display: block;
}

.key-section h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.license-input {
  width: 100%;
  padding: 0.875rem;
  font-family: 'DM Mono', monospace;
  font-size: 1.125rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--gray-400);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  transition: all 0.3s;
  margin-bottom: 0.75rem;
}

.license-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.license-input.valid {
  border-color: var(--success);
  background: rgba(0, 200, 83, 0.05);
}

.license-input.invalid {
  border-color: var(--danger);
  background: rgba(255, 23, 68, 0.05);
}

.license-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
  display: none;
}

.license-error.show {
  display: block;
}

.key-validate-btn {
  margin-top: 1rem;
}

.key-help {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.key-help a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.key-help a:hover {
  color: #00F0FF;
  text-decoration: underline;
}

/* ==================== PAYMENT METHODS ==================== */
.plans-payment {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
}

.plans-payment h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.plans-payment-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.payment-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.03);
}

.payment-icon {
  width: 40px;
  height: 40px;
}

.payment-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.payment-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plans-footer-btn {
  margin-top: 2rem;
}

.continue-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  background: var(--gray-600) !important;
}

/* ==================== HEADER ==================== */
header {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--accent);
}

.header-pt {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.header-pt:hover {
  color: var(--text-main);
}

.header-pt strong {
  color: var(--accent);
}

/* ==================== MAIN LAYOUT ==================== */
main {
  margin-top: 72px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section {
  display: none;
  animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.active {
  display: block;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
  text-align: center;
  padding: 3rem 1rem 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta-hint {
  font-size: 0.85rem;
  color: rgba(0, 229, 255, 0.75);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
  animation: fadeInDown 0.8s ease forwards;
  opacity: 0;
}

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

@keyframes ctaPulse {
  0%   { box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4), 0 0 0 0 rgba(0, 229, 255, 0.5); }
  60%  { box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4), 0 0 0 18px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4), 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes ctaBounceIn {
  0%   { transform: scale(0.85); opacity: 0; }
  70%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  padding: 1rem 2.25rem;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: ctaBounceIn 0.7s ease forwards, ctaPulse 2.2s ease-in-out 0.7s infinite;
  position: relative;
}

.hero-cta::after {
  content: " →";
  font-size: 1.2rem;
  transition: transform 0.3s;
  display: inline-block;
}

.hero-cta:hover {
  background: linear-gradient(135deg, #00F0FF, var(--accent));
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.6);
  transform: translateY(-3px) scale(1.03);
  animation: none;
}

.hero-cta:hover::after {
  transform: translateX(5px);
}

/* ==================== FEATURES ==================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.5), rgba(20, 27, 43, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.feature-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==================== DIC BANNER ==================== */
.dic-banner {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(0, 212, 255, 0.03));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.dic-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.dic-banner h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
}

.dic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.dic-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.dic-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.05);
}

.dic-item h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.dic-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==================== WHY SECTION ==================== */
.why-section,
.categories-section,
#global-stats {
  margin-top: 4rem;
}

.why-section h3,
.categories-section h3,
#global-stats h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

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

.text-muted {
  color: var(--text-muted);
}

.mb-6 {
  margin-bottom: 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-item {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.5), rgba(20, 27, 43, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.why-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.why-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-weight: 600;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==================== CATEGORIES ==================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.cat-item {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.5), rgba(20, 27, 43, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.cat-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 229, 255, 0.15);
  transform: translateY(-3px);
}

.cat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  padding: 10px;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.cat-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cat-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==================== GLOBAL STATS ==================== */
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.stats-explanation {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 0 1rem;
}

.stats-explanation strong {
  color: var(--accent); /* ✅ Corrigé : cyan au lieu de primary (noir) */
  font-weight: 600;
}


.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.mini-donut {
  max-width: 120px;
  margin: 0 auto;
}

/* Conteneur pour positionner la valeur au centre du donut */
.donut-container {
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

.donut-container.mini-donut {
  max-width: 120px;
}

/* Valeur centrée dans le donut */
.donut-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main); /* ✅ Corrigé : blanc cassé au lieu de primary (noir) */
  text-align: center;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mini-donut .donut-value {
  font-size: 1.25rem;
}


.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .charts-row {
    grid-template-columns: 1fr;
  }
}

.bar-card,
.donut-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.bar-card h4,
.donut-card h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.audit-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.audit-counter span:first-child {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.counter-unit {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==================== FORM SECTION ==================== */
.form-section {
  max-width: 600px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent);
}

.version-badge.standard {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
  border-color: rgba(33, 150, 243, 0.3);
  color: var(--standard-blue);
}

.version-badge.pro {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.05));
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--pro-gold);
}

.form-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group .required {
  color: var(--danger);
  margin-left: 0.25rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.form-group input::placeholder {
  color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
  background: rgba(0, 229, 255, 0.03);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

#jobTitleOtherContainer {
  display: none;
}

.inline-hint {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  font-style: italic;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00F0FF, var(--accent));
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(148, 163, 184, 0.05);
  color: var(--text-main);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #00F0FF, var(--accent));
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* ==================== QUIZ SECTION ==================== */
.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quiz-header h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.progress-container {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.2);
  height: 12px;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.progress-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.category-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.category-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.85);
  margin-bottom: 1.5rem;
  margin-top: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.question-hint {
  font-size: 0.80rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.70);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.question-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.question-dic {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.question-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: 600;
}

.options {
  display: grid;
  gap: 1rem;
}

.option-btn {
  width: 100%;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
  transition: left 0.5s;
}

.option-btn:hover {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
  color: var(--text-main);
  transform: translateX(4px);
}

.option-btn:hover::before {
  left: 100%;
}

.option-btn.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 212, 255, 0.08));
  color: var(--text-main);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

/* ==================== RESULTS SECTION ==================== */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.results-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.results-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 18px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 229, 255, 0.2);
}

.card:hover::before {
  opacity: 0.1;
}

.card-graph {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.15);
}

.card h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 700;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 280px;
}

/* Force Chart.js legend text to white */
.chart-container canvas {
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .chart-container {
    height: 240px;
  }
}

.score-card {
  min-width: 280px;
  text-align: center;
}

.score-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  border-radius: 20px;
}

.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
}

.score-value {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

.score-caption {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.counter {
  /* For animations.js */
}

/* ==================== CATEGORIES SCORES ==================== */
#categoryScores {
  margin-top: 2rem;
}

.category-score-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(100, 116, 139, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.category-score-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
}

.category-score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.category-score-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e5e7eb;
  font-family: 'DM Sans', sans-serif;
}

.category-score-value {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  min-width: 80px;
  text-align: center;
}

.category-score-value.low {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.category-score-value.medium {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}

.category-score-value.high {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
}

.category-score-bar {
  background: rgba(15, 23, 42, 0.8);
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.category-score-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease;
}

.category-score-fill.low {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.category-score-fill.medium {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.category-score-fill.high {
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.category-score-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==================== SOLUTIONS & RECOMMENDATIONS ==================== */
.solutions-section,
.recommendations {
  margin-top: 2.5rem;
}

.solutions-section h3,
.recommendations h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#solutionsList,
#recommendationsList {
  display: grid;
  gap: 1.25rem;
}

.solution-card,
.recommendation-item {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.solution-card:hover,
.recommendation-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

/* ==================== FEEDBACK ==================== */
.feedback-section {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(20, 27, 43, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
}

.feedback-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.feedback-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

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

.rating-select input[type="radio"] {
  width: 40px;
  height: 40px;
  appearance: none;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.rating-select input[type="radio"]::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rating-select input[type="radio"]:hover {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
}

.rating-select input[type="radio"]:checked {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 212, 255, 0.08));
}

.rating-select input[type="radio"]:checked::after {
  color: var(--accent);
}

#feedbackComment {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  resize: vertical;
  transition: all 0.3s;
}

#feedbackComment::placeholder {
  color: var(--gray-500);
}

#feedbackComment:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
  background: rgba(0, 229, 255, 0.03);
}

.feedback-actions {
  margin-top: 1rem;
}

/* ==================== RESULTS CTA ==================== */
.results-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(0, 212, 255, 0.03));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 18px;
}

.results-cta h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.results-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.95), rgba(0, 212, 255, 0.95));
  color: var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==================== FOOTER ==================== */
footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #00F0FF;
  text-decoration: underline;
}

.footer-tagline {
  font-style: italic;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ==================== ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-dark), var(--accent));
  border-radius: 6px;
  border: 2px solid var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), #00F0FF);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  header {
    padding: 0.875rem 1rem;
  }

  .modal-plans {
    padding: 1.5rem;
  }

  .plans-grid {
    gap: 1.25rem;
  }

  .hero {
    padding: 2rem 1rem 3rem;
  }

  .container,
  .page {
    padding: 1.5rem 1rem;
  }

  .form-card,
  .question-card {
    padding: 1.75rem;
  }

  .nav-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 1.5rem;
  }

  .hero::before {
    width: 400px;
    height: 400px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  header {
    padding: 0.75rem 1rem;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .header-pt {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
    flex-shrink: 0;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .logo-text {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.option {
    position: relative;
    z-index: 10;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
}

.option:hover {
    background: rgba(255,255,255,0.04);
}

.options {
    position: relative;
    z-index: 10;
}

.question-card {
    position: relative;
    z-index: 1;
}


/* == Nouveau style "hero" pour la bande des formules == */

/* On cible uniquement la modale des formules, pas les autres */
#versionModal .modal-plans {
  margin-top: 80px;
  padding-top: 1.5rem;
}

/* Bande du haut : carte stylée, compacte */
#versionModal .plans-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #0b1220, #020617);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom: none;
}

#versionModal .plans-title-block { flex: 1.4; }

#versionModal .plans-title-block h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

#versionModal .plans-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

#versionModal .plans-context {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
}

#versionModal .plans-grid { margin-top: 0.5rem; }

/* ===== MOBILE : modal formules ===== */
@media (max-width: 768px) {
  /* Overlay : scroll depuis le haut, juste sous le header */
  #versionModal.modal-overlay {
    padding: 0;
    padding-top: 60px; /* hauteur du header mobile */
    align-items: flex-start;
  }

  #versionModal .modal-plans {
    margin-top: 0;
    padding: 1rem;
    border-radius: 16px 16px 0 0;
    min-height: calc(100vh - 60px);
  }

  /* Header compact : colonne au lieu de ligne */
  #versionModal .plans-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  #versionModal .plans-title-block h2 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  /* Sous-titre masqué sur mobile — trop long */
  #versionModal .plans-subtitle {
    display: none;
  }

  /* Callout droit réduit */
  #versionModal .plans-context {
    font-size: 0.78rem;
    padding: 0.6rem 0.9rem;
    line-height: 1.45;
  }

  /* Cartes en colonne unique, compactes */
  #versionModal .plans-grid,
  #versionModal .plans-grid-four {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Réduire le padding des cartes plan */
  .plan-card {
    padding: 1rem !important;
  }

  /* Masquer la liste de features détaillées sur mobile — trop long */
  .plan-features {
    display: none;
  }

  /* Masquer le bloc "pourquoi cette formule vaut son prix" */
  .plan-value-block {
    display: none;
  }

  /* Prix plus compact */
  .plan-price {
    font-size: 1.5rem !important;
    margin: 0.4rem 0 !important;
  }

  /* Tagline plus petite */
  .plan-tagline {
    font-size: 0.78rem !important;
  }

  /* Bouton "Choisir" pleine largeur */
  .plan-cta {
    width: 100%;
    padding: 0.65rem !important;
    font-size: 0.85rem !important;
    margin-top: 0.75rem;
  }

  /* Badge "Recommandé" plus petit */
  .plan-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.6rem !important;
  }
}

/* === FIX DARK MODE POUR LES MENUS DÉROULANTS === */

/* style du menu déroulant quand il est ouvert */
select option {
  background-color: #0A0F1C !important;  /* même fond que ton thème */
  color: #F1F5F9 !important;             /* texte clair */
  padding: 10px !important;
}

/* hover dans la liste */
select option:hover {
  background-color: #112233 !important;
  color: #00E5FF !important; /* couleur accent */
}

/* pour Safari et mobile : obligatoire */
select {
  color-scheme: dark;
}

/* ==================== CHART.JS LEGEND FIX ==================== */
/* Force all Chart.js legend text to white */
#chart-donut + div,
.chartjs-legend,
.chartjs-legend-text {
  color: #ffffff !important;
}

/* Ensure Canvas legend items are white */
canvas {
  color-scheme: dark;
}


/* ==================== RADAR COMPARISON RESPONSIVE ==================== */
@media (max-width: 768px) {
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================================
   DASHBOARD RÉSULTATS AMÉLIORÉ - PROGICHECK
   ============================================================================
   Design professionnel avec valeurs, pourcentages et explications claires
*/

/* Container principal du dashboard */
.results-dashboard {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 40px 30px;
  border-radius: 16px;
  margin: 30px auto;
  max-width: 1400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.results-dashboard h2 {
  color: #22D3EE;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.results-dashboard .subtitle {
  color: #94A3B8;
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Grille des cards principales (DIC + Score global) */
.dashboard-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* Card individuelle */
.dashboard-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22D3EE, #3B82F6);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(34, 211, 238, 0.3);
  border-color: rgba(34, 211, 238, 0.5);
}

/* Titre de la card */
.dashboard-card-title {
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-card-title .icon {
  font-size: 18px;
}

/* Score principal avec cercle */
.score-circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 20px auto;
}

.score-value-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 48px;
  font-weight: 700;
  color: #22D3EE;
  line-height: 1;
}

.score-total {
  font-size: 20px;
  color: #64748B;
}

.score-percentage {
  font-size: 16px;
  color: #94A3B8;
  margin-top: 5px;
}

/* Explication sous le score */
.score-explanation {
  background: rgba(34, 211, 238, 0.1);
  border-left: 3px solid #22D3EE;
  padding: 12px 15px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.6;
}

.score-explanation strong {
  color: #22D3EE;
  display: block;
  margin-bottom: 5px;
}

/* Badge de niveau de risque */
.risk-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.risk-badge.low {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.risk-badge.medium {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.risk-badge.high {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Section graphique des piliers */
.pillars-chart-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}

.pillars-chart-section h3 {
  color: #F1F5F9;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grille des piliers */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.4);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.pillar-name {
  color: #F1F5F9;
  font-size: 14px;
  font-weight: 600;
}

.pillar-score {
  font-size: 18px;
  font-weight: 700;
  color: #22D3EE;
}

.pillar-score-total {
  font-size: 12px;
  color: #64748B;
}

/* Barre de progression du pilier */
.pillar-progress-bar {
  background: rgba(30, 41, 59, 0.8);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.pillar-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
  background: linear-gradient(90deg, #22D3EE, #3B82F6);
}

/* Explication du pilier */
.pillar-explanation {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* Tooltip info */
.info-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  color: #22D3EE;
  font-size: 14px;
  margin-left: 5px;
}

.info-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: #F1F5F9;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Animation d'apparition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-card,
.pillar-item {
  animation: fadeInUp 0.6s ease forwards;
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  .results-dashboard {
    padding: 25px 20px;
  }
  
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .score-circle-container {
    width: 150px;
    height: 150px;
  }
  
  .score-number {
    font-size: 38px;
  }
}

.stat-value {
  margin-top: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #e5e7eb;
}

.stat-explanation {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== HOMEPAGE STATS SECTION ====== */

.stats-section {
  margin-top: 4rem;
  text-align: center;
}

.stats-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.stats-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.8rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.2);
  backdrop-filter: blur(12px);
}

.stat-card h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-main);
}

.stat-value {
  font-size: 1.7rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.stats-lower-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.bar-card, .audit-card {
  background: rgba(255,255,255,0.05);
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.2);
}

.audit-counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.audit-unit {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.results-header-clean {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.results-header-icon {
  font-size: 2rem;
  padding: .5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

/* ===== HEADER RESULTATS CLEAN ===== */

.results-header-clean {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.results-header-clean h2 {
  margin: 0;
  font-size: 1.5rem;
}

.results-header-clean p {
  margin: .2rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.results-header-icon {
  font-size: 2rem;
  padding: .4rem .6rem;
  background: rgba(15,23,42,0.9);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
}

/* ===== DASHBOARD LAYOUT ===== */

/* Ligne 1 : Score Global seul (pleine largeur) */
.dashboard-score-global-row {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.dashboard-score-global-row .dashboard-card {
  width: 100%;
}

/* Ligne 2 : Cartes DIC (3 colonnes égales) */
.dashboard-dic-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .dashboard-dic-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .dashboard-dic-cards-row {
    grid-template-columns: 1fr;
  }
}

/* Pilier cards déjà couvertes dans style.css, on harmonise juste un peu */

.pillar-item {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(100, 116, 139, 0.4);
  border-radius: 16px;
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}

.pillar-name {
  font-weight: 600;
}

.pillar-score {
  font-weight: 700;
}

/* Texte IA */

.ai-recommendations-body {
  line-height: 1.7;
  font-size: 0.95rem;
  min-height: 200px;
}
.ai-recommendations-body h2,
.ai-recommendations-body h3,
.ai-recommendations-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.ai-recommendations-body ul {
  margin-left: 1.2rem;
  padding-left: 0;
}
.btn-nouveau-test {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: #14d9e0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn-nouveau-test:hover {
  background: #14d9e0;
}
