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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
}

.logo { font-weight: 700; font-size: 1.4rem; }

nav ul { display: flex; gap: 1.5rem; list-style: none; }
nav a { color: #fff; text-decoration: none; opacity: .9; }
nav a:hover { opacity: 1; text-decoration: underline; }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.hero-content p { margin: 1rem 0 2rem; font-size: 1.2rem; }

.btn {
  display: inline-block;
  background: #fff;
  color: #1e3c72;
  padding: .8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }

/* Sections */
.section { padding: 4rem 8%; text-align: center; }
.section.alt { background: #f5f7fa; }
.section h2 { font-size: 2rem; margin-bottom: 1.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Form */
form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

label { display: block; margin: .8rem 0 .3rem; font-weight: 600; }

input, textarea {
  width: 100%;
  padding: .7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #2a5298;
  box-shadow: 0 0 0 3px rgba(42,82,152,.15);
}

form .btn {
  margin-top: 1.2rem;
  background: #1e3c72;
  color: #fff;
  width: 100%;
}

.status { margin-top: 1rem; text-align: center; font-weight: 600; }
.status.success { color: #1a7f37; }
.status.error { color: #c0392b; }

footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: #aaa;
  font-size: .9rem;
}