:root {
  --blue: #1A06FF;
  --lightblue: #3B2CFF;
  --sans: 'Inter', sans-serif;
  --serif: 'Playfair Display', serif;
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --text-primary: #080808;
  --text-secondary: #5C5C5C;
}

/* ── GLOBAL THEME SUPPORT ── */
[data-theme="dark"] {
  --bg-primary: #080808;
  --bg-secondary: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #EBEBEB;
}

body { background: var(--bg-primary); color: var(--text-primary); font-family: var(--sans); }

#pixel-blast-root {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -5; pointer-events: none; opacity: 0.6;
}

/* ── LAYOUT SYSTEM ── */
.kit-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ── KIT NAV ── */
.kit-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  background: var(--nav-glass, #FFFFFF); 
  backdrop-filter: var(--backdrop-glass, blur(20px));
  -webkit-backdrop-filter: var(--backdrop-glass, blur(20px));
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.05));
  display: flex; align-items: center; z-index: 10000;
}
[data-theme="dark"] .kit-nav { border-bottom-color: var(--border, rgba(255,255,255,0.08)); }

.nav-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
  padding: 0 32px; /* Increased for breathing room */
}
.brand { 
  display: flex;
  align-items: center;
  gap: 12px; /* Standardized gap */
  text-decoration: none;
}
.brand-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { 
  font-family: var(--sans); font-size: 14px; font-weight: 600; 
  color: var(--text-secondary); text-decoration: none; transition: all 0.2s; 
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-btn { 
  background: none; border: none; cursor: pointer; font-size: 18px; 
  opacity: 0.6; transition: opacity 0.2s; 
}
.theme-btn:hover { opacity: 1; }
.nav-cta { 
  background: var(--blue); 
  color: #FFFFFF; 
  border: none; 
  padding: 10px 24px; 
  border-radius: 8px; 
  font-weight: 700; 
  font-size: 14px; 
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(26, 6, 255, 0.3);
  text-transform: none;
  letter-spacing: normal;
}

.nav-cta:hover { 
  background: #0000CC; 
  transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(26, 6, 255, 0.4);
  filter: brightness(1.1);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 6, 255, 0.2);
}

/* ── SECTIONS ── */
.section-wrap { padding: 100px 0; width: 100%; background: var(--bg-primary); }
.section-dark { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); color: var(--text-primary); }
.section-dark .section-h-kit, .section-dark .ed-title, .section-dark .ed-body { color: var(--text-primary); }
.section-dark .ed-card { background: var(--bg-primary); border-color: rgba(26, 6, 255, 0.1); color: var(--text-primary);}
.section-dark .ed-card:hover { border-color: rgba(26, 6, 255, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.section-dark .hook-result-panel { background: var(--bg-primary); border-color: rgba(128, 128, 128, 0.1); color: var(--text-primary); }
.section-dark .score-num, .section-dark .score-label, .section-dark .verdict-text, .section-dark .metric-label, .section-dark .rewrite-text { color: var(--text-primary); }
.section-dark .metric-bar { background: rgba(128, 128, 128, 0.1); }
.section-dark .rewrite-box { background: rgba(26, 6, 255, 0.05); border-color: rgba(26, 6, 255, 0.15); }
.section-dark .score-circle-lg { background: rgba(26, 6, 255, 0.1); border-color: rgba(26, 6, 255, 0.2); }
.section-tag-kit {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px; opacity: 0.8; text-align: center;
}
.section-h-kit {
  font-family: var(--sans); font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1; margin-bottom: 24px; color: var(--text-primary); font-weight: 700;
  text-align: center;
}

/* ════ STATEMENT CARDS ════ */
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.stmt-card {
  border-radius: 24px; padding: 40px 32px; position: relative; overflow: hidden;
  transition: transform .22s ease;
}
.stmt-card:hover { transform: translateY(-8px); }
.stmt-dark { background: var(--bg-secondary); color: var(--text-primary); border: 1px solid rgba(128,128,128,0.1); }
.stmt-light { background: var(--bg-primary); border: 1px solid var(--border); color: var(--text-primary); }
[data-theme="dark"] .stmt-light { border-color: rgba(255,255,255,0.08); background: var(--bg-secondary); color: var(--text-primary);}

.stmt-blue { background: var(--blue); color: #FFFFFF; }
.stmt-headline { font-family: var(--sans); font-size: clamp(32px, 5vw, 40px); font-weight: 700; line-height: 1.15; margin-bottom: 12px; color: var(--text-primary); }
.stmt-sans { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -.03em; }
.stmt-body { font-size: 17px; line-height: 1.6; opacity: .9; color: var(--text-secondary); }
[data-theme="dark"] .stmt-body { opacity: 0.8; }

/* ════ NEW SEXY COLOR SYSTEM ════ */
:root {
  --primary: #1A06FF;   /* REQ: blue */
  --dark: #0B1220;      /* REQ: deep navy */
  --light: #F8FAFC;     /* REQ: soft white */
}

/* ════ PROCESS FLOW (PREMIUM STATIC) ════ */
.process-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at center bottom, var(--bg-secondary), var(--bg-primary));
  color: var(--text-primary);
  width: 100%;
}


.process-container {
  display: flex;
  flex-direction: column;
  gap: 32px; /* Increased for breathing room */
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.process-card {
  position: relative;
  width: 100%;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border); /* Standardized */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-card .sub-label {
  color: #1A06FF; /* REQ: SaaS premium detail */
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-card .step-title {
  color: var(--text-primary); /* REQ: Hierarchy fix */
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.process-card .step-body {
  color: var(--text-secondary); /* REQ: Hierarchy fix */
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(26, 6, 255, 0.3);
}

/* 🎯 REQ: MAKE ONE CARD POP (THE MAGIC) */
.process-card:nth-child(2) {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid rgba(26, 6, 255, 0.3);
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 2;
  position: relative;
}
.process-card:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 6, 255, 0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.process-card:nth-child(2) .step-title {
  color: var(--text-primary); /* REQ: Focus pop */
}

.process-card:nth-child(2) .step-body {
  color: var(--text-secondary); /* REQ: Support color */
}

.process-card:nth-child(2) .sub-label {
  color: #1A06FF;
}

.process-card:nth-child(2):hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 40px 80px rgba(79, 125, 243, 0.25);
  border-color: rgba(79, 125, 243, 0.5);
}

.section-h-kit {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  text-align: center;
  font-weight: 700;
}

/* REQ: KEY WORDS BLUE (HEADINGS) */
.section-h-kit span {
  color: #1A06FF;
  font-weight: 700;
  opacity: 1; /* Reset opacity for pop */
}

.step-title {
  font-family: var(--sans); /* REQ: Clean body font */
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.step-body {
  font-family: var(--sans); /* REQ: Clean body font */
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.9;
  color: var(--text-secondary);
}

.process-card:nth-child(2) .step-title {
  color: var(--text-primary);
}

.process-card:nth-child(2) .step-body {
  color: var(--text-secondary);
}


/* ════ AURA HERO ════ */
.aura-stage { position: relative; min-height: 350px; border-radius: 32px; overflow: hidden; background: #0a0e1a; cursor: none; margin-bottom: 24px;}
.aura-bg { position: absolute; inset: 0; filter: blur(40px); opacity: 0.8; }
.aura-cursor { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle,rgba(26, 6, 255, 0.3),transparent 70%); pointer-events: none; transform: translate(-50%,-50%); filter: blur(25px); transition: opacity 0.3s; opacity: 0; z-index: 2; }
.aura-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #ffffff; padding: 40px 32px; }
.aura-tag { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--lightblue); margin-bottom: 16px; border: 1px solid rgba(26, 6, 255, 0.4); padding: 6px 16px; border-radius: 99px; }
.aura-h { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 8vw, 64px); line-height: 1.05; margin-bottom: 12px; color: #ffffff !important; }
.aura-sub { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 540px; line-height: 1.6; margin-bottom: 20px;}

/* ════ EDITORIAL CARDS ════ */
/* 🎯 REQ: MAKE BUTTON / CTA POP HARDER */
.btn-primary, .nav-cta, .btn-save, .btn-next, #loading-retry-btn {
  background: #1A06FF !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(26, 6, 255, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
  padding: 14px 40px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.btn-primary:hover, .nav-cta:hover, .btn-save:hover, .btn-next:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 40px rgba(26, 6, 255, 0.55) !important;
  filter: brightness(1.1) !important;
}

.btn-primary:active, .nav-cta:active {
  transform: translateY(0) !important;
}

.ed-card { 
  border-radius: 24px; 
  padding: 40px 32px; 
  position: relative; 
  overflow: hidden; 
  color: var(--text-primary); 
  border: 1px solid rgba(128, 128, 128, 0.1); /* REQ: Subtle border */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* REQ: Feature card hover border */
.ed-card:hover { 
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
  border-color: rgba(26, 6, 255, 0.15); 
}

.ed-dark { background: #111827; color: #fff; }

/* REQ: Feature number visibility fix */
.ed-num { 
  font-family: var(--sans); 
  font-size: 80px; 
  font-weight: 800;
  color: rgba(26, 6, 255, 0.15) !important; 
  position: absolute; 
  top: 24px; 
  right: 32px; 
  line-height: 1;
}
.ed-title { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; color: var(--text-primary); }
.ed-serif { font-family: var(--sans); font-weight: 700; font-size: 28px; color: var(--blue); margin-bottom: 12px; }
.ed-body { font-size: 16px; line-height: 1.6; opacity: 0.9; color: var(--text-secondary); }
.ed-rule { width: 40px; height: 2px; background: var(--blue); margin: 12px 0; }

/* ════ HOOK SCORER FIX ════ */
.hook-tester-card { 
  background: transparent; 
  border-radius: 24px; 
  padding: 32px; 
  border: none; 
  box-shadow: none; 
}
[data-theme="dark"] .hook-tester-card { border: none; background: transparent; }

.hook-result-panel {
  background: var(--bg-secondary); border-radius: 20px; padding: 24px; 
  color: var(--text-primary); border: 1px solid rgba(128,128,128,0.1); margin-top: 24px;
}
[data-theme="dark"] .hook-result-panel { border-color: rgba(255,255,255,0.08); background: var(--bg-secondary); }

.hook-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; margin-bottom: 20px; align-items: start; }

.score-circle-lg {
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(26, 6, 255, 0.05); border: 2px solid rgba(26, 6, 255, 0.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 12px; 
}
[data-theme="dark"] .score-circle-lg { background: rgba(26, 6, 255, 0.1); border-color: rgba(26, 6, 255, 0.25); }

.score-num { font-family: var(--sans); font-size: 48px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.score-label { font-size: 10px; opacity: 0.5; font-weight: 800; letter-spacing: 0.1em; color: var(--text-primary); }

.hook-review-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; }
.verdict-text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); opacity: 0.9; }
.diagnosis-text { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

.metrics-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.metric-row { width: 100%; }
.metric-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.metric-label { font-size: 12px; font-weight: 700; color: var(--text-secondary); opacity: 0.7; }
.metric-val { font-size: 12px; font-weight: 800; color: var(--blue); }
.metric-bar { height: 6px; background: rgba(128,128,128,0.1); border-radius: 10px; overflow: hidden; }
[data-theme="dark"] .metric-bar { background: rgba(255,255,255,0.1); }
.metric-fill { height: 100%; background: var(--blue); border-radius: 10px; transition: width 0.8s ease-out; }

.rewrite-container { margin-top: 24px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px; }
[data-theme="dark"] .rewrite-container { border-top-color: rgba(255,255,255,0.08); }

.rewrite-box { 
  background: var(--bg-primary); border: 1px solid rgba(26, 6, 255, 0.1);
  padding: 24px; border-radius: 16px; margin-bottom: 16px;
}
[data-theme="dark"] .rewrite-box { background: rgba(26, 6, 255, 0.05); }
.rewrite-text { font-family: var(--sans); font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--text-primary); }

.alt-list { display: flex; flex-direction: column; gap: 10px; }
.alt-item { font-size: 13px; color: var(--text-secondary); padding-left: 12px; border-left: 2px solid rgba(128,128,128,0.2); }
[data-theme="dark"] .alt-item { border-left-color: rgba(255,255,255,0.1); }

@media (max-width: 800px) {
  .hook-grid { grid-template-columns: 1fr; gap: 32px; }
  .score-circle-lg { margin-bottom: 24px; }
  .hook-result-panel { padding: 20px; }
  .rewrite-text { font-size: 20px; }
}

@media (max-width: 900px) {
  .statement-grid, .editorial-grid { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; align-items: center; text-align: center; }
  .process-flow::before { display: none; }
  .stmt-card, .ed-card, .process-card { padding: 40px 32px; }
}
