/* Novoment Academy - Global Styles */
:root {
  --bg: #050816;
  --bg-alt: #0b1021;
  --bg-light: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.55);
  --max-width: 1120px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 60%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
}

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.logo a {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 0.2s ease-out;
}
.main-nav a:hover {
  color: var(--text);
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* Hero */
.site-main {
  flex: 1;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 2.7vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}
.hero-text h1 span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--muted);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), rgba(15, 23, 42, 0.85));
}

.hero-card {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.28);
}
.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.hero-card li {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-card li strong {
  color: var(--text);
}

/* Sections */
.section {
  padding: 2.75rem 0;
}
.section-light {
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.12), rgba(15, 23, 42, 0.97));
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.7rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.narrow {
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-subtle);
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.06rem;
}
.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.card-link {
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}

/* Stats & Highlights */
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.stat-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.9rem 0.95rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.95));
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.stat-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0.15rem 0 0.25rem;
}
.stat-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.highlight-box {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.13), rgba(15, 23, 42, 0.95));
  box-shadow: var(--shadow-subtle);
}
.highlight-box h3 {
  margin-top: 0;
}
.highlight-box p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Lists */
.checklist {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.numbered {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.numbered li {
  counter-increment: step;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.numbered li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  margin-right: 0.45rem;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1120;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(56, 189, 248, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(148, 163, 184, 0.6);
}
.btn-outline:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--accent-strong);
}
.btn.small {
  padding: 0.38rem 0.95rem;
  font-size: 0.82rem;
}

/* Forms */
.form {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.form-row {
  margin-bottom: 0.9rem;
}
.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: #020617;
  border-radius: 0.7rem;
  border: 1px solid rgba(107, 114, 128, 0.9);
  padding: 0.5rem 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}
.form-row input[type=checkbox] {
  width: auto;
  margin-right: 0.5rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top, #020617, #020617 55%, #000 100%);
  padding: 2rem 0 1.2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.4fr;
  gap: 1.75rem;
  font-size: 0.9rem;
}
.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
}
.site-footer a {
  text-decoration: none;
}
.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.3rem;
}
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    inset: 4.25rem 0 auto 0;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
    flex-direction: column;
  }
  .main-nav.open {
    display: flex;
  }
  .hero {
    padding-top: 2.5rem;
  }
  .hero-text h1 span {
    font-size: 0.85rem;
  }
  .stat-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
