:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --ts: #64748b;
  --primary: #4f46e5;
  --primary-light: #eef2ff;
  --primary-dark: #4338ca;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.nav {
  background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo { font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--ts); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero {
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
  padding: 80px 0 64px; text-align: center; border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.03em;
}
.hero .highlight { color: var(--primary); }
.hero p { font-size: 1.1rem; color: var(--ts); max-width: 560px; margin: 0 auto 32px; }
.hero-search {
  display: flex; max-width: 520px; margin: 0 auto; gap: 8px;
}
.hero-search input {
  flex: 1; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem; outline: none;
}
.hero-search input:focus { border-color: var(--primary); }
.hero-search button {
  background: var(--primary); color: #fff; border: none; padding: 14px 24px; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.hero-search button:hover { background: var(--primary-dark); }
section { padding: 56px 0; }
section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; letter-spacing: -0.02em; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); text-decoration: none; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { font-size: .9rem; color: var(--ts); margin: 0; }
.footer { background: var(--surface-alt); border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; font-size: .82rem; color: var(--ts); margin-top: 32px; }
.footer a { color: var(--primary); }
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .nav-links { display: none; }
  .hero-search { flex-direction: column; }
}
