* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8fafc;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e3a8a;
}
.logo img {
  height: 48px;
  width: auto;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
}
nav a:hover { color: #dc2626; }

.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: white;
  padding: 60px 0;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p { font-size: 1.15rem; margin-bottom: 24px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
}
.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn.primary {
  background: #dc2626;
  color: white;
}
.btn.primary:hover { background: #b91c1c; }
.btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn.full { width: 100%; margin-top: 10px; }

.courses, .about, .register, .contact {
  padding: 70px 0;
}
.courses { background: white; }
h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #1e3a8a;
  text-align: center;
}
.subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.course-card {
  background: #f1f5f9;
  padding: 24px;
  border-radius: 12px;
  border-top: 4px solid #dc2626;
}
.course-card h3 { margin-bottom: 10px; color: #1e3a8a; }
.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
  margin: 12px 0 4px;
}
.duration { color: #64748b; font-size: 0.9rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
}

.register { background: #f1f5f9; }
.reg-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
label {
  display: block;
  font-weight: 500;
  margin-bottom: 16px;
}
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
}
.waiver-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}
.waiver-text {
  max-height: 180px;
  overflow-y: auto;
  background: white;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}
.checkbox input { width: auto; margin-top: 4px; }
.small { font-size: 0.85rem; color: #64748b; margin-top: 8px; }
.success {
  max-width: 700px;
  margin: 20px auto;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}
.success.hidden { display: none; }
.payment-placeholder {
  margin-top: 20px;
  padding: 16px;
  background: white;
  border-radius: 8px;
}

.contact { text-align: center; }
footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-content, .about-grid, .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  nav { display: none; } /* simple mobile: hide nav or add hamburger later */
}
