/* ─── GENERAL LIGHT THEME OVERRIDES & COMPONENT STYLES ─── */

/* Light theme mapping of old dark variables */
:root {
  --primary-bg: #ffffff;
  --black: #ffffff;
  --black-80: #ffffff;
  --black-70: #f8f8fa;
  --black-60: #ffffff;
  --white: #000000;
  --white-70: #000000;
  --white-60: #000000;
  --purple: #6c47ff;
  --teal: #6c47ff;
  --amber: #6c47ff;
  --rose: #6c47ff;
  --mint: #6c47ff;
  --coral: #6c47ff;
}

/* Primary: #6c47ff (purple) | Neutral: white/gray tones only */

/* Override page-specific component colors to use only purple */
.gradient-text {
  background: linear-gradient(100deg,#a78bfa 0%,#2dd4bf 50%,#7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.prompt-box {
  background: #f8f8fa;
  border: 1px solid rgba(108, 71, 255, 0.25);
  border-radius: 0.75rem;
  font-family: 'Courier New', monospace;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.prompt-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #6c47ff;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

.chat-bot {
  background: rgba(108, 71, 255, 0.08);
  border: 1px solid rgba(108, 71, 255, 0.18);
  border-radius: 0 1rem 1rem 1rem;
}

.chat-user {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem 0 1rem 1rem;
}

.agent-tab {
  cursor: pointer;
  transition: all 0.2s;
}

.agent-tab.active {
  background: rgba(108, 71, 255, 0.12);
  border-color: rgba(108, 71, 255, 0.45) !important;
  color: #6c47ff !important;
}

.agent-panel {
  display: none;
}

.agent-panel.active {
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.3s;
}

.problem-card {
  border-left: 3px solid rgba(108, 71, 255, 0.4);
  background: rgba(0, 0, 0, 0.015);
  border-radius: 0.75rem;
}

.solution-card {
  border-left: 3px solid #6c47ff;
  background: rgba(108, 71, 255, 0.04);
  border-radius: 0.75rem;
}

.case-study-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Consistent purple icon container */
.ic-purple {
  background: rgba(108, 71, 255, 0.12) !important;
}

/* Consistent neutral icon container */
.ic-neutral {
  background: rgba(0, 0, 0, 0.04) !important;
}

/* Step number circle */
.step-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #6c47ff;
  flex-shrink: 0;
}

/* Leak badge */
.leak-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(108, 71, 255, 0.12);
  color: #6c47ff;
}

/* Stat icon circle */
.stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 71, 255, 0.15);
  margin: 0 auto 1rem;
}

/* Light Theme Overrides */
body {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.bg-primary-bg {
  background-color: #ffffff !important;
}

.bg-secondary-bg {
  background-color: #f8f8fa !important;
}

h1, h2, h3, h4, h5, h6, .text-white, .text-zinc-100, .text-zinc-200, .text-zinc-300, .text-zinc-400, .text-gray-100, .text-gray-200, .text-gray-300, .text-gray-400 {
  color: #000000 !important;
}

p, .text-gray-300, .text-gray-400 {
  color: #000000 !important;
}

.text-xs, .text-sm, [style*="color:rgba(255,255,255"] {
  color: #000000 !important;
}

/* Exclude specific colors or badge text */
.gradient-text, .leak-badge, .badge-pill, .btn, .button-primary, .button-secondary {
  color: inherit;
}

.button-primary {
  color: #ffffff !important;
}

.step-num {
  color: #ffffff !important;
}

.prompt-box p {
  color: #000000 !important;
}

.prompt-box div {
  color: #6c47ff !important;
}

.chat-user div, .chat-user p {
  color: #000000 !important;
}

.chat-bot div, .chat-bot p {
  color: #000000 !important;
}

section[style*="background:rgba(255,255,255"] {
  background: rgba(0, 0, 0, 0.015) !important;
}

div[style*="background:rgba(255,255,255,0.03)"],
div[style*="background:rgba(255,255,255,0.04)"] {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

div[style*="background:rgba(0,0,0,0.4)"] {
  background: #ffffff !important;
}

span[style*="background:rgba(255,255,255"] {
  background: rgba(0, 0, 0, 0.05) !important;
  color: rgba(15, 15, 18, 0.6) !important;
}

i[style*="color:rgba(255,255,255"] {
  color: rgba(15, 15, 18, 0.4) !important;
}

span[style*="color:rgba(255,255,255"] {
  color: rgba(15, 15, 18, 0.5) !important;
}

/* Clean overrides for elements using white text colors or borders in inline styling */
[style*="color:#a78bfa"] {
  color: #6c47ff !important;
}

[style*="color:rgba(255,255,255,0.4)"],
[style*="color:rgba(255,255,255,0.45)"],
[style*="color:rgba(255,255,255,0.5)"],
[style*="color:rgba(255,255,255,0.55)"],
[style*="color:rgba(255,255,255,0.6)"] {
  color: rgba(15, 15, 18, 0.6) !important;
}

[style*="border-color:rgba(255,255,255"],
[style*="border-color: rgba(255, 255, 255"] {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[style*="background:rgba(255,255,255,0.06)"],
[style*="background:rgba(255,255,255,0.05)"],
[style*="background:rgba(255,255,255,0.04)"],
[style*="background:rgba(255,255,255,0.03)"],
[style*="background:rgba(255,255,255,0.02)"],
[style*="background:rgba(255,255,255,0.01)"] {
  background: rgba(0, 0, 0, 0.02) !important;
}

[style*="background:rgba(108,71,255,0.2)"] {
  background: rgba(108, 71, 255, 0.1) !important;
}

[style*="border:1px solid rgba(255,255,255"],
[style*="border: 1px solid rgba(255, 255, 255"],
[style*="border:1px solid rgba(255, 255, 255"] {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Helper styles extracted from HTML inline styles */
.hero-grid-bg {
  background-image: linear-gradient(rgba(108,71,255,0.15) 1px,transparent 1px), linear-gradient(90deg,rgba(108,71,255,0.15) 1px,transparent 1px);
  background-size:60px 60px;
}

.radial-blur-glow {
  background:transparent;
  filter:blur(80px);
  opacity:0.06;
}

.agency-badge-pill {
  background:rgba(108,71,255,0.08);
  border:1px solid rgba(108,71,255,0.2);
  color:#6c47ff;
}

.section-tag-purple {
  color:#6c47ff;
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.stats-container-outline {
  background:rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.1);
}

.metrics-card-white {
  background:#ffffff;
}

.bg-section-light {
  background:rgba(0,0,0,0.015);
}

.text-light-sub {
  color: rgba(15,15,18,0.7) !important;
  font-size: 0.9rem;
}

.faq-card-bg {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.bg-section-gray {
  background:#f8f8fa;
}

.tag-badge-light {
  background:rgba(0, 0, 0, 0.05);
  color:rgba(15, 15, 18, 0.6);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.user-badge-light {
  background:rgba(0, 0, 0, 0.05);
  color:rgba(15, 15, 18, 0.6);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.border-top-light {
  border-top:1px solid rgba(0, 0, 0, 0.08);
}

.tab-border-light {
  border:1px solid rgba(0, 0, 0, 0.08);
  color:rgba(15, 15, 18, 0.6);
}

.text-purple-lg {
  color:#6c47ff;
  font-size:1.25rem;
}

.tag-purple-caps {
  color:#6c47ff;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size: 0.75rem;
  font-weight: 700;
}

.mono-purple-caps {
  color:#6c47ff;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
}

.text-chat-bubble {
  color:#0f0f12 !important;
}

.prompt-text-block {
  color:#0f0f12 !important;
  font-family:'Courier New',monospace;
  line-height:1.7;
}

.text-faint-light {
  color:rgba(15, 15, 18, 0.4) !important;
}

.text-faint-normal {
  color:rgba(15, 15, 18, 0.5) !important;
}

.tag-faint-caps {
  color:rgba(15, 15, 18, 0.5) !important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size: 0.75rem;
}

.subtext-light-sm {
  color:rgba(15, 15, 18, 0.6) !important;
  font-size:0.82rem;
}

.subtext-light-normal {
  color:rgba(15, 15, 18, 0.6) !important;
  font-size:0.85rem;
}

.subtext-light-xs {
  color: #000000 !important;
  font-size:0.8rem;
}

.tag-medium-caps {
  color: #000000 !important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size: 0.75rem;
}

.subtext-light-md {
  color: #000000 !important;
}

.faq-answer-paragraph {
  color: #000000 !important;
  font-size:0.9rem;
}

/* Generic catch-alls for white transparent inline styles */
[style*="background:rgba(255,255,255"],
[style*="background: rgba(255, 255, 255"],
[style*="background:rgba(255, 255, 255"],
[style*="background: rgba(255,255,255"] {
  background: rgba(0, 0, 0, 0.02) !important;
}

[style*="background:rgba(0,0,0,0.5)"],
[style*="background: rgba(0, 0, 0, 0.5)"],
[style*="background:rgba(0,0,0,0.4)"],
[style*="background:rgba(0,0,0,0.3)"] {
  background: #ffffff !important;
}

[style*="border:1px solid rgba(255,255,255"],
[style*="border: 1px solid rgba(255, 255, 255"],
[style*="border:1px solid rgba(255, 255, 255"],
[style*="border: 1px solid rgba(255,255,255"],
[style*="border-color:rgba(255,255,255"],
[style*="border-color: rgba(255, 255, 255"],
[style*="border-color:rgba(255, 255, 255"],
[style*="border-color: rgba(255,255,255"] {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Remove background radial gradients in the hero section background */
.radial-blur-glow,
[style*="radial-gradient"] {
  display: none !important;
}
