* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
nav {
  background: #1a1a2e;
  color: #fff;
  padding: 14px 0;
}

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

nav .logo {
  font-size: 1.2rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

nav a:hover {
  color: #fff;
}

/* Hero */
.hero {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero p {
  color: #bbb;
  max-width: 600px;
  margin: 0 auto;
}

/* Visitor Info */
.visitor-section {
  padding: 40px 0;
}

.visitor-section h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 10px 14px;
  border: 1px solid #ddd;
}

.info-table td:first-child {
  font-weight: bold;
  width: 180px;
  background: #f5f5f5;
}

.status-safe {
  color: green;
  font-weight: bold;
}

.status-danger {
  color: red;
  font-weight: bold;
}

.status-unknown {
  color: orange;
  font-weight: bold;
}

/* Sections */
.section {
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.section p {
  margin-bottom: 10px;
}

/* Features list */
.features-list {
  list-style: disc;
  padding-left: 24px;
}

.features-list li {
  margin-bottom: 8px;
}

.features-list li strong {
  color: #1a1a2e;
}

/* Demo comparison */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.demo-box {
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.demo-box h3 {
  margin-bottom: 8px;
}

.demo-box.blocked {
  border-color: #e74c3c;
  background: #fdf2f2;
}

.demo-box.allowed {
  border-color: #27ae60;
  background: #f2fdf5;
}

.demo-box .result {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.demo-box.blocked .result {
  background: #e74c3c;
  color: #fff;
}

.demo-box.allowed .result {
  background: #27ae60;
  color: #fff;
}

/* Flow steps */
.flow-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.flow-list li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.flow-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}

.flow-list li strong {
  display: block;
  margin-bottom: 2px;
}

/* Concepts */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.concept-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
}

.concept-card h4 {
  margin-bottom: 6px;
}

.concept-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Footer */
footer {
  background: #1a1a2e;
  color: #999;
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    display: none;
  }
}