/* ==========================================================
   LANDING STYLES: index.html
   Creative Cyber-Checkpoint Minimalist Dark UI
   ========================================================== */

.landing-container {
  position: relative;
  z-index: 5;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-xs);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
  text-transform: uppercase;
}

.brand-title span {
  color: var(--accent-cyan);
}

.header-badge {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-muted);
  color: var(--text-secondary);
}

.header-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s infinite;
}

/* Hero Section */
.hero-section {
  padding: 72px 0 54px;
  max-width: 860px;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.1);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 720px;
}

/* CTA and Action Row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #07090e;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.action-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Live Terminal Ribbon */
.terminal-ribbon {
  margin-top: 36px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ribbon-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
}

.ribbon-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 1.5s infinite;
}

/* Threat Vectors Section */
.vectors-section {
  margin-top: 48px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.section-index {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.vectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.vector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.vector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

.vector-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-muted);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.vector-card:hover::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card-code {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-muted);
  background: var(--bg-tertiary);
  border-radius: var(--radius-xs);
  color: var(--accent-cyan);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-stat-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid var(--danger-border);
  color: #fca5a5;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: 50px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero-section {
    padding: 44px 0 32px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary {
    width: 100%;
  }
  .terminal-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
