:root {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --border: #e2e8f0;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.brand-text {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: #cbd5e1;
}

.site-nav a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: #334155;
  color: #e2e8f0;
}

.btn-outline:hover {
  border-color: #94a3b8;
}

.btn-ghost {
  border-color: #334155;
  color: #e2e8f0;
  padding: 8px 18px;
  font-size: 14px;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px 80px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 span {
  color: #a5b4fc;
}

.hero-sub {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18px;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Modules */
.modules {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

.modules h2,
.about h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 32px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--bg-soft);
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.module-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.2);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.module-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.module-card p {
  color: #cbd5e1;
  font-size: 15px;
}

/* About */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 96px;
}

.about p {
  max-width: 640px;
  color: #cbd5e1;
  font-size: 17px;
}

/* Footer */
.site-footer {
  border-top: 1px solid #1e293b;
  padding: 24px 32px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 64px 20px 56px;
  }

  .modules,
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }
}
