/* LevelUp Techne — site styles */
:root {
  --bg: #000915;          /* matches the logo background */
  --bg-2: #040f22;
  --surface: #0a1830;
  --surface-2: #0e2040;
  --line: rgba(130, 170, 255, 0.14);
  --line-strong: rgba(130, 170, 255, 0.28);
  --text: #eaf0fd;
  --muted: #98a8c8;
  --blue: #2f7bff;
  --blue-2: #5a9bff;
  --lime: #8be22b;
  --lime-2: #b2f25f;
  --danger: #ff6b6b;
  --grad: linear-gradient(100deg, var(--lime) 0%, #47c8a0 45%, var(--blue) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--lime-2); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font: 600 .95rem/1 var(--font);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #00101f; box-shadow: 0 8px 24px -10px rgba(139, 226, 43, .6); }
.btn-primary:hover { color: #00101f; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(71, 200, 160, .7); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--lime); background: rgba(139,226,43,.06); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 9, 21, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(0, 9, 21, .9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); }
.brand span b { color: var(--lime); font-weight: 700; }
.brand span i { font-style: normal; color: var(--blue-2); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; color: var(--text); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(47,123,255,.22), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(139,226,43,.12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  opacity: .5;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-art::before {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--lime), var(--blue), #47c8a0, var(--lime));
  filter: blur(50px); opacity: .35; z-index: -1;
  animation: spin 18s linear infinite;
}
.hero-art img { width: 100%; border-radius: 28px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head .eyebrow { justify-content: center; }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card {
  padding: 38px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(10,24,48,.4));
  border: 1px solid var(--line);
}
.audience-card .icon-box { margin-bottom: 20px; }
.audience-card p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }

/* Icon box */
.icon-box {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,226,43,.16), rgba(47,123,255,.16));
  border: 1px solid var(--line-strong);
  color: var(--lime);
}
.icon-box svg { width: 24px; height: 24px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.service-card h3 { margin-top: 20px; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card .ask { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .ask svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .ask svg { transform: translateX(3px); }
.service-card.featured { border-color: rgba(139,226,43,.45); box-shadow: 0 0 0 1px rgba(139,226,43,.15), 0 20px 40px -24px rgba(139,226,43,.5); }
.tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(139,226,43,.15); color: var(--lime); }
.services-note { text-align: center; color: var(--muted); margin-top: 40px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* About */
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.about-photo { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-strong); position: relative; z-index: 1; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: var(--grad); opacity: .85; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--text); font-weight: 600; }
.about-text .btn { margin-top: 12px; }

/* Certifications */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.cert {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
}
.cert .icon-box { width: 44px; height: 44px; flex: none; }
.cert .icon-box svg { width: 22px; height: 22px; }
.cert h4 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin: 0 0 2px; letter-spacing: 0; }
.cert span { color: var(--muted); font-size: .88rem; }
.cert.in-progress { border-style: dashed; }
.cert.in-progress .icon-box { color: var(--blue-2); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  padding: 64px; border-radius: 24px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(139,226,43,.2), transparent 70%),
              radial-gradient(600px 300px at 100% 100%, rgba(47,123,255,.28), transparent 70%),
              var(--surface);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 520px; }

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 50% 0%, rgba(47,123,255,.22), transparent 70%); }
.page-hero .container { text-align: center; max-width: 720px; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { color: var(--muted); font-size: 1.12rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; padding-bottom: 110px; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card .icon-box { width: 46px; height: 46px; flex: none; }
.info-card h3 { font-family: var(--font); font-size: .95rem; font-weight: 600; margin: 0 0 2px; letter-spacing: 0; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }
.info-card a:hover { color: var(--lime-2); }

.form-card { padding: 40px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2398a8c8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #5d6d8e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(139,226,43,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(139,226,43,.1); border: 1px solid rgba(139,226,43,.4); color: var(--lime-2); }
.form-status.err { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: #ffb0b0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 36px; background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; color: #64739a; font-size: .85rem; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art::before { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .about-inner, .contact-layout { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; order: -1; }
  .about-photo { max-width: 300px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0, 9, 21, .97); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .btn { margin-top: 16px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .audience-grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  body { font-size: 16px; }
  .hero { padding: 32px 0 70px; }
  .hero-inner { gap: 32px; }
  .hero-art { max-width: 210px; }
  .hero-art img { border-radius: 20px; }
  .section { padding: 76px 0; }
  .services-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .certs-grid { grid-template-columns: 1fr; }
  .audience-card, .form-card { padding: 26px 20px; }
  .cta-band { padding: 32px 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .contact-layout { padding-bottom: 76px; }
}
