:root {
  --primary: #2563eb;
  --accent: #7c3aed;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 40%, transparent);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 14px; font-size: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.header-inner-center { justify-content: center; }

.nav { display: flex; gap: 28px; font-size: 14px; color: var(--text-muted); }
.nav a:hover { color: var(--primary); }

.hero {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 50%),
    radial-gradient(circle at 80% 60%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 560px;
}

.sections { padding: 48px 0 20px; }

.section-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.section-block h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-block .section-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.section-block .section-body {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.section-block .section-body p { margin-bottom: 12px; }

.rich-content {
  font-size: 16px;
  line-height: 1.8;
  word-break: break-word;
}

.rich-content p { margin-bottom: 14px; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content strong, .rich-content b { font-weight: 700; }
.rich-content img { max-width: 100%; height: auto; }

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

.card-item {
  padding: 20px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.card-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.card-item p { font-size: 14px; color: var(--text-muted); }

.contact { padding: 8px 0 40px; }

.video-section {
  padding: 0 0 20px;
}

.video-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-inner video {
  display: block;
  width: min(720px, 100%);
  max-height: 420px;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.contact-inner {
  display: flex;
  justify-content: center;
}

.contact-btn {
  font-size: 15px;
  padding: 16px 28px;
  min-width: 200px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
}

.loading { text-align: center; color: var(--text-muted); padding: 40px; }

@media (max-width: 640px) {
  .hero {
    padding-top: 28px;
  }

  .section-block { padding: 24px; }
}
