/* General Layout */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  margin: 0;
  background: #f8f9fb;
  color: #333;
}

/* Header */
header {
  background: linear-gradient(135deg, #0077cc, #00b8d9);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header .subtitle {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Sections */
main section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

main h2 {
  color: #0077cc;
  margin-bottom: 1rem;
  border-bottom: 3px solid #00b8d9;
  display: inline-block;
  padding-bottom: 5px;
}

/* Capabilities Grid */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

.grid article {
  background: #f0f8ff;
  border-left: 5px solid #00b8d9;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Prompt Section */
.prompt-section textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
  font-family: monospace;
  background: #f9f9f9;
  color: #444;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  background: #222;
  color: #eee;
  font-size: 0.9rem;
}

nav {
  background: #222;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
}

nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #00b8d9;
}

nav a.active {
  border-bottom: 2px solid #00b8d9;
}
