:root {
  --bg: #0f1115;
  --bg-alt: #151822;
  --text: #e8eaf0;
  --text-muted: #a3a8b8;
  --accent: #5b8cff;
  --card-bg: #1a1d29;
  --border: #262a3a;
}

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

body {
  font-family: "Satoshi", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  #custom-cursor { opacity: 1; }
  a, button, input, textarea { cursor: none; }
}

#custom-cursor.is-active circle {
  fill: rgba(91, 140, 255, 0.15);
}

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

a { color: var(--accent); text-decoration: none; }

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15,17,21,0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand { font-weight: 700; font-size: 1.1rem; }
.brand span { color: var(--accent); }

.nav nav a { margin-left: 24px; color: var(--text-muted); font-weight: 500; }
.nav nav a:hover { color: var(--text); }

.hero {
  padding: 100px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 700px;
  margin: 0 auto 16px;
}

.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover { opacity: 0.9; }

.section { padding: 72px 24px; }
.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 32px;
  text-align: center;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

#chi-sono p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  text-align: center;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label { font-size: 0.9rem; color: var(--text-muted); margin-top: 10px; }

.contact-form input, .contact-form textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form .btn { margin-top: 18px; }

.form-status { color: var(--accent); font-size: 0.9rem; min-height: 1.2em; }

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

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

.page-hero { padding: 64px 24px 40px; text-align: center; }
.page-hero h1 { font-size: 2rem; max-width: 700px; margin: 0 auto 16px; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.lede {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.step { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.step .num { display: block; color: var(--accent); font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.experience-block { max-width: 760px; margin: 0 auto 48px; }
.experience-block h3 { font-size: 1.15rem; margin-bottom: 2px; }
.experience-block .role-meta { color: var(--accent); font-size: 0.85rem; margin-bottom: 14px; font-weight: 600; }
.experience-block ul { padding-left: 20px; color: var(--text-muted); }
.experience-block li { margin-bottom: 8px; font-size: 0.95rem; }

.workshop-modules { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto 40px; }
.workshop-module {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.workshop-module .mod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.workshop-module h3 { font-size: 1rem; }
.workshop-module .duration { color: var(--accent); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.workshop-module p { color: var(--text-muted); font-size: 0.92rem; }

.note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 600px;
  margin: 0 auto;
}

.center-cta { text-align: center; margin-top: 16px; }

@media (max-width: 600px) {
  .nav nav a { margin-left: 14px; font-size: 0.9rem; }
  .hero h1 { font-size: 1.8rem; }
  .workshop-module .mod-head { flex-direction: column; gap: 4px; }
}
