@font-face {
  font-family: system-ui;
  src: local(".AppleSystemUIFont"), local("Segoe UI"), local("Noto Sans"), local("Roboto"), local("Ubuntu");
}

:root {
  --bg: #f6f4ee;
  --bg-alt: #fcfaf4;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --border: #e5e7eb;
  --shadow: rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 28px;
  width: auto;
  margin-right: 10px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  background: radial-gradient(1200px 400px at 20% 20%, rgba(79,70,229,0.10), rgba(6,182,212,0.08) 60%, transparent 70%), linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  padding: 88px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.slogan {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 720px;
}

.hero-cta {
  display: inline-flex;
  gap: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.hero-cta .btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #ffffff;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #ffffff;
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section.alt {
  background: var(--bg-alt);
}

.lead {
  color: var(--muted);
  max-width: 860px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .hero h1 { font-size: 32px; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px var(--shadow);
}

.card-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.card-body {
  color: var(--muted);
}

.list {
  padding-left: 16px;
  color: var(--muted);
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px var(--shadow);
}

.feature-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-body {
  color: var(--muted);
}

.adv-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: left;
}

.adv-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.adv-body {
  color: var(--muted);
}

.contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-email {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.contact-email:hover {
  color: var(--muted);
  text-decoration: underline;
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}
