/* ==========================================================================
   COMPETITOR RADAR — PREMIUM DARK FINTECH DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #07090E;
  --bg-card: #0F141C;
  --bg-card-hover: #161D29;
  --bg-input: #121824;
  --border-muted: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(163, 230, 53, 0.3);
  
  --accent-lime: #A3E635;
  --accent-lime-glow: rgba(163, 230, 53, 0.2);
  --accent-lime-dim: #65a30d;
  
  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
  
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #151D2A 0%, var(--bg-dark) 70%);
  min-height: 100vh;
}

/* Grid Background Overlay */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.accent-text {
  color: var(--accent-lime);
  text-shadow: 0 0 20px var(--accent-lime-glow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lime);
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid rgba(163, 230, 53, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 10px var(--accent-lime);
}

/* Navigation Header */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-muted);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  box-shadow: 0 0 15px var(--accent-lime-glow);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-lime);
  color: #07090E;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 0 25px rgba(163, 230, 53, 0.3);
}

.btn-primary:hover {
  background: #b5f048;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(163, 230, 53, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-muted);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Radar Graphic Composition */
.radar-card-comp {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.radar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-muted);
}

.radar-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.radar-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 15px var(--accent-lime);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(163, 230, 53, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

.radar-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.radar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  transition: var(--transition-smooth);
}

.radar-item:hover {
  background: rgba(163, 230, 53, 0.04);
  border-color: var(--border-accent);
}

.radar-item-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-lime {
  background: rgba(163, 230, 53, 0.15);
  color: var(--accent-lime);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid var(--border-muted);
}

/* Sections Global */
.section-padding {
  padding: 120px 0;
  border-top: 1px solid var(--border-muted);
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Editorial Cards (Problem Section) */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition-smooth);
}

.editorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Process Visualization (How It Works) */
.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-bottom: 48px;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-lime);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-agent {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hitl-banner {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.08) 0%, rgba(15, 20, 28, 0.9) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hitl-content h4 {
  font-size: 1.2rem;
  color: var(--accent-lime);
  margin-bottom: 4px;
}

.hitl-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Dark Premium Form (Live Scan & Observation) */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-lime);
  box-shadow: 0 0 15px var(--accent-lime-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Competitor Results Grid */
.competitors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.comp-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.comp-result-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.comp-result-card.selected-card {
  border-color: var(--accent-lime);
  background: rgba(163, 230, 53, 0.03);
  box-shadow: 0 0 30px var(--accent-lime-glow);
}

.comp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.comp-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.comp-why {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 48px;
}

.comp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Analysis Report Cards */
.analysis-report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.status-hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-muted);
}

.status-badge-large {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 16px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.report-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.report-block h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.report-block p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Response Options Cards */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.option-card.hold-option {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.option-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.option-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.option-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.option-reasoning, .option-risk {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.human-notice-card {
  background: rgba(163, 230, 53, 0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.human-notice-icon {
  font-size: 2rem;
  color: var(--accent-lime);
}

/* Illustrative Workflow Demo Section */
.workflow-box {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wf-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.wf-arrow {
  color: var(--accent-lime);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Error State UI */
.error-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.error-title {
  color: #FCA5A5;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-muted);
  padding: 60px 0 40px;
  background: var(--bg-dark);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .problem-grid, .process-flow, .competitors-grid, .options-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.8rem;
  }
  .workflow-steps {
    flex-direction: column;
  }
}
