/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", "Apple Color Emoji", "Segoe UI Emoji"; color: #0f172a; background: #ffffff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { position: relative; z-index: 50; background: #ffffff; border-bottom: 1px solid #e2e8f0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.logo-badge { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #2563eb, #22c55e); display: grid; place-items: center; color: #fff; font-weight: 800; }

/* Navigation */
nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
nav a { padding: 10px 12px; border-radius: 8px; color: #0f172a; display: block; }
nav a:hover, nav a.active { background: #f1f5f9; }

/* Mobile nav */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.nav-toggle span { width: 18px; height: 2px; background: #0f172a; position: relative; display: block; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #0f172a; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Collapsed by default on mobile */
@media (max-width: 991px) {
  nav { position: absolute; left: 0; right: 0; top: 100%; background: #ffffff; border-bottom: 1px solid #e2e8f0; display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 12px; gap: 6px; }
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }
}

/* Hero */
.hero { padding: 80px 0; background: radial-gradient(1200px 400px at 70% -100px, #e0f2fe 0%, transparent 60%); }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p { font-size: 18px; color: #475569; margin: 0 0 28px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #2563eb; color: #fff; border-radius: 10px; border: 1px solid #1e40af; box-shadow: 0 6px 18px rgba(37,99,235,0.25); }
.cta.secondary { background: #0f172a; border-color: #0b1220; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,0.28); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 60px 0; }
.section-title { font-size: 28px; margin: 0 0 16px; }
.muted { color: #64748b; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { grid-column: span 12; padding: 20px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #475569; }

/* Forms */
form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 14px; }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #cbd5e1; outline: none; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.inline { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.inline > * { grid-column: span 12; }
.helper { font-size: 12px; color: #64748b; }
.error { color: #b91c1c; font-size: 13px; }

/* Footer */
footer { border-top: 1px solid #e2e8f0; padding: 30px 0; color: #475569; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.footer-col { grid-column: span 12; }
.copyright { font-size: 13px; color: #64748b; }

/* Responsive */
@media (min-width: 640px) {
  .card { grid-column: span 6; }
  .inline > * { grid-column: span 6; }
}
@media (min-width: 1024px) {
  .card { grid-column: span 4; }
}

