/* Custom styles for Argus documentation */
/* Clean design with blue/teal accents */

/* ============================================
   HEADER & FOOTER - Dark Slate Theme
   ============================================ */

.md-header {
  background: #0f172a !important;
}

.md-tabs {
  background: #1e293b !important;
}

.md-footer {
  background: #0f172a !important;
}

.md-footer-meta {
  background: #0f172a !important;
}

/* ============================================
   HOME PAGE - HERO SECTION
   ============================================ */

.argus-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.argus-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.argus-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.argus-hero-logo {
  width: 300px;
  height: 300px;
  margin-bottom: 2rem;
}

.argus-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.argus-hero-tagline {
  font-size: 1.5rem;
  color: #94a3b8;
  margin: 0 0 1rem 0;
  font-weight: 400;
}

.argus-hero-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.argus-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.argus-btn {
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.argus-btn-primary {
  background: #3b82f6;
  color: white;
}

.argus-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  color: white;
}

.argus-btn-secondary {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #475569;
}

.argus-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #64748b;
  color: #f8fafc;
}

.argus-hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.argus-hero-badges img {
  height: 22px;
}

/* ============================================
   HOME PAGE - FEATURES SECTION
   ============================================ */

.argus-features {
  padding: 5rem 2rem;
  background: var(--md-default-bg-color);
}

.argus-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.argus-features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 3rem 0;
  color: var(--md-default-fg-color);
}

.argus-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.argus-feature-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--md-default-fg-color--lightest);
  transition: all 0.2s ease;
  background: var(--md-default-bg-color);
}

.argus-feature-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.argus-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.argus-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke: white;
}

.argus-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--md-default-fg-color);
}

.argus-feature-card p {
  font-size: 0.95rem;
  color: var(--md-default-fg-color--light);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   HOME PAGE - USE CASES SECTION
   ============================================ */

.argus-usecases {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--md-default-bg-color) 0%, #f1f5f9 100%);
}

[data-md-color-scheme="slate"] .argus-usecases {
  background: linear-gradient(180deg, var(--md-default-bg-color) 0%, #1e293b 100%);
}

.argus-usecases-container {
  max-width: 1200px;
  margin: 0 auto;
}

.argus-usecases h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2.5rem 0;
  color: var(--md-default-fg-color);
}

.argus-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.argus-usecase-item {
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--md-default-fg-color--lightest);
  background: var(--md-default-bg-color);
  transition: all 0.2s ease;
}

.argus-usecase-item:hover {
  border-color: #06b6d4;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.1);
}

.argus-usecase-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--md-default-fg-color);
}

.argus-usecase-item p {
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   HOME PAGE - QUICK START SECTION
   ============================================ */

.argus-quickstart {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.argus-quickstart-container {
  max-width: 800px;
  margin: 0 auto;
}

.argus-quickstart h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #f8fafc;
}

.argus-quickstart-subtitle {
  text-align: center;
  color: #94a3b8;
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
}

.argus-code-block {
  background: #0f172a;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #334155;
  overflow-x: auto;
}

.argus-code-block pre {
  margin: 0;
  background: transparent;
}

.argus-code-block code {
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.argus-code-block .comment {
  color: #64748b;
}

/* ============================================
   HOME PAGE - CTA SECTION
   ============================================ */

.argus-cta {
  padding: 5rem 2rem;
  background: var(--md-default-bg-color);
  text-align: center;
}

.argus-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--md-default-fg-color);
}

.argus-cta > p {
  color: var(--md-default-fg-color--light);
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
}

/* ============================================
   FEATURE CARDS (for other pages)
   ============================================ */

.grid.cards > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.grid.cards > ul > li {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.grid.cards > ul > li:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* ============================================
   CODE BLOCKS
   ============================================ */

.highlight {
  border-radius: 8px;
  overflow: hidden;
}

.md-typeset pre > code {
  border-radius: 8px;
}

/* ============================================
   ADMONITIONS
   ============================================ */

.md-typeset .admonition {
  border-radius: 8px;
}

/* ============================================
   TABLES
   ============================================ */

.md-typeset table:not([class]) {
  font-size: 0.85rem;
}

.md-typeset table:not([class]) th {
  background-color: var(--md-default-fg-color--lightest);
}

/* ============================================
   RISK LEVEL COLORS
   ============================================ */

.risk-critical {
  color: #ef4444;
  font-weight: 600;
}

.risk-high {
  color: #f97316;
  font-weight: 600;
}

.risk-medium {
  color: #eab308;
  font-weight: 600;
}

.risk-low {
  color: #3b82f6;
}

.risk-none {
  color: #22c55e;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media screen and (max-width: 960px) {
  .argus-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media screen and (max-width: 600px) {
  .argus-hero {
    padding: 3rem 1.5rem;
  }

  .argus-hero h1 {
    font-size: 2.5rem;
  }

  .argus-hero-tagline {
    font-size: 1.25rem;
  }

  .argus-hero-logo {
    width: 200px;
    height: 200px;
  }

  .argus-features,
  .argus-usecases,
  .argus-quickstart,
  .argus-cta {
    padding: 3rem 1.5rem;
  }

  .argus-features-grid,
  .argus-usecases-grid {
    grid-template-columns: 1fr;
  }

  .grid.cards > ul {
    grid-template-columns: 1fr;
  }
}
