:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

header {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

#how-it-works {
  max-width: 1200px;
  overflow: visible;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  text-align: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.highlight-box {
  background-color: #eff6ff;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

.architecture {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  margin-top: 2rem;
}

code {
  background-color: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: monospace;
  color: #e11d48;
}

.screenshot-placeholder {
  background-color: #e5e7eb;
  border: 2px dashed #9ca3af;
  border-radius: 0.5rem;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  margin-bottom: 1rem;
}

footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

/* Three Separate Circles - Horizontal Layout */
.venn-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.venn-circle {
  position: relative !important;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  opacity: 0.9;
  border: 4px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

.venn-circle h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.venn-circle p {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.venn-circle ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.venn-circle li {
  color: white;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.venn-circle.prepare {
  background-color: #2563eb !important;
  position: relative !important;
  transform: none !important;
}

.venn-circle.respond {
  background-color: #ef4444 !important;
  position: relative !important;
  transform: none !important;
}

.venn-circle.recover {
  background-color: #10b981 !important;
  position: relative !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .venn-container {
    gap: 2rem;
    padding: 1rem;
  }

  .venn-circle {
    width: 250px;
    height: 250px;
    padding: 1.5rem;
  }

  .venn-circle h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .venn-circle p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .venn-circle li {
    font-size: 0.75rem;
  }
}
