/* ========================================================================
   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;
}

body {
  min-height: 100vh;
  font-family: 'Inter', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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;
}

@media (max-width: 1100px) {
  .plans-grid {
    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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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);
}

/* ==================== 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  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;
}

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

/* ==================== 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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;
}

.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;
}

.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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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: 'Space Grotesk', 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;
  }
}

.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;              /* descend le bloc sous le header */
  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);

  /* On enlève la grosse séparation du bas */
  border-bottom: none;
}

/* Bloc titre + sous-titre à gauche */
#versionModal .plans-title-block {
  flex: 1.4;
}

/* Titre plus compact mais bien visible */
#versionModal .plans-title-block h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

/* Sous-titre légèrement réduit */
#versionModal .plans-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Bloc texte bleu à droite présenté comme un "callout" */
#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);
}

/* On remet un peu d'air avant les cartes */
#versionModal .plans-grid {
  margin-top: 0.5rem;
}

/* === 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;
  }
}

