:root {
  --ink: #0a0d13;
  --ink-2: #0d1119;
  --panel: #121824;
  --panel-2: #161d2b;
  --line: rgba(235, 242, 255, 0.1);
  --text: #f0f3f8;
  --muted: #9ba6ba;
  --lime: #c7f464;
  --coral: #ff6f57;
  --display: "Space Grotesk", "Avenir Next", sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(199, 244, 100, 0.075), transparent 65%),
    radial-gradient(700px 420px at -10% 24%, rgba(139, 124, 255, 0.06), transparent 60%),
    var(--ink);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background: var(--lime); color: var(--ink); }

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 19, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  transform: rotate(-8deg);
}
.brand-mark span { background: var(--text); border-radius: 2px; }
.brand-mark span:nth-child(2) { background: var(--lime); }
.brand-mark span:nth-child(3) { background: var(--coral); }

.brand-name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-name > span { color: var(--lime); }
.brand-name small {
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.nav-cta) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav > a:not(.nav-cta):hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease; }

/* Hero */
.hero { padding: 96px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(199, 244, 100, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(199, 244, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 244, 100, 0); }
}

h1, h2, h3 { font-family: var(--display); margin: 0; }

h1 {
  font-size: clamp(3rem, 6.1vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 700;
}

h1 .hl { position: relative; color: var(--lime); white-space: nowrap; }
h1 .hl::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -8px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transform: rotate(-1.2deg);
}

.lede {
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 30px 0 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px rgba(199, 244, 100, 0.16); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(199, 244, 100, 0.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--muted); }

.hero-note { color: var(--muted); font-size: 0.84rem; margin: 26px 0 0; }
.hero-note span { color: var(--coral); margin-right: 6px; }

/* Hero HUD */
.hero-visual { position: relative; padding: 14px; }

.hud-card {
  position: relative;
  background: linear-gradient(155deg, #182033, #101620 70%);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hud-lights { display: flex; gap: 6px; }
.hud-lights i { width: 8px; height: 8px; border-radius: 50%; background: #39445a; }
.hud-lights i:first-child { background: var(--coral); }
.hud-lights i:nth-child(2) { background: var(--lime); }
.hud-online { display: flex; align-items: center; gap: 7px; color: var(--lime); text-transform: uppercase; }
.hud-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.hud-screen {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hud-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 45%, black 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black 20%, transparent 76%);
}
.hud-screen::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(199, 244, 100, 0.12);
  filter: blur(60px);
}
.pad {
  position: relative;
  width: min(72%, 300px);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

.hud-prompt {
  position: absolute;
  bottom: 16px;
  left: 18px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--lime);
  opacity: 0.85;
}

.hud-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hud-stats div {
  padding: 18px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hud-stats div + div { border-left: 1px solid var(--line); }
.hud-stats strong { font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.hud-stats span { font-family: var(--mono); font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }

.float-tag {
  position: absolute;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  background: #1a2231;
  border: 1px solid rgba(199, 244, 100, 0.32);
  border-radius: 8px;
  color: var(--lime);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}
.float-tag-one { top: -8px; right: -2px; transform: rotate(3deg); }
.float-tag-two { bottom: 4px; left: -18px; transform: rotate(-4deg); color: var(--coral); border-color: rgba(255, 111, 87, 0.34); }

/* Ticker */
.ticker {
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker-track span { padding-right: 1.5rem; }
.ticker b { color: rgba(10, 13, 19, 0.45); margin: 0 1.5rem; font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-label { margin-bottom: 20px; }
h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.section-head { max-width: 38rem; }
.section-sub { color: var(--muted); margin: 20px 0 0; line-height: 1.7; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-body { padding-top: 8px; }
.about-body p { color: var(--muted); font-size: 1.06rem; line-height: 1.8; margin: 0 0 18px; }
.text-link { display: inline-block; margin-top: 10px; color: var(--lime); font-weight: 700; border-bottom: 1px solid rgba(199, 244, 100, 0.45); padding-bottom: 3px; }
.text-link:hover { border-color: var(--lime); }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 30px;
  min-height: 264px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(199, 244, 100, 0.4); }
.service-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -60px;
  bottom: -70px;
  border: 1px solid rgba(199, 244, 100, 0.13);
  border-radius: 50%;
}
.card-num { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 0.7rem; color: #66738a; }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 244, 100, 0.28);
  border-radius: 12px;
  color: var(--lime);
  background: rgba(199, 244, 100, 0.05);
}
.card-icon svg { width: 25px; height: 25px; }
.service-card h3 { font-size: 1.24rem; margin: 34px 0 10px; letter-spacing: -0.02em; }
.service-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; margin: 0; }

/* Events */
.events { background: var(--ink-2); }
.events-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 80px; align-items: start; }
.event-list { border-top: 1px solid var(--line); }
.event-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, background 0.2s ease;
}
.event-row:hover { padding-left: 16px; background: rgba(255, 255, 255, 0.018); }
.event-day {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 244, 100, 0.3);
  border-radius: 12px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.event-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.event-info strong { font-family: var(--display); font-size: 1.14rem; letter-spacing: -0.02em; }
.event-info small { color: var(--muted); font-size: 0.88rem; }
.event-arrow { color: var(--muted); font-size: 1.2rem; transition: color 0.2s ease, transform 0.2s ease; }
.event-row:hover .event-arrow { color: var(--lime); transform: translate(2px, -2px); }

/* Steps */
.step-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-list li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-num { font-family: var(--mono); color: var(--coral); font-size: 0.8rem; }
.step-list h3 { font-size: 1.3rem; margin: 18px 0 8px; letter-spacing: -0.02em; }
.step-list p { color: var(--muted); margin: 0; font-size: 0.96rem; line-height: 1.7; }

/* Contact */
.contact { padding-top: 0; }
.contact-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(120deg, #182133, #111722 70%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 58px 60px;
}
.contact-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -90px;
  top: -150px;
  border-radius: 50%;
  background: rgba(199, 244, 100, 0.1);
  filter: blur(50px);
}
.contact-copy { position: relative; z-index: 1; max-width: 30rem; }
.contact-copy p:last-child { color: var(--muted); margin: 18px 0 0; line-height: 1.7; }
.contact-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.email-link {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--lime);
  border-bottom: 1px solid rgba(199, 244, 100, 0.4);
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}
.email-link:hover { border-color: var(--lime); }
.copy-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-family: var(--mono);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover { color: var(--text); border-color: var(--muted); }
.copy-done { display: none; color: var(--lime); }
.copy-btn.copied .copy-default { display: none; }
.copy-btn.copied .copy-done { display: inline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-wrap p { color: var(--muted); font-size: 0.83rem; margin: 0; }
.brand-small .brand-mark { width: 26px; height: 26px; }
.brand-small .brand-name { font-size: 0.98rem; }

/* Reveal animation */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js .card-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js .card-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .events-grid { gap: 44px; }
}

@media (max-width: 860px) {
  .hero-grid, .about-grid, .events-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .about-grid, .events-grid { gap: 36px; }
  .section { padding: 82px 0; }
  .step-list { gap: 24px; }
  .contact-panel { padding: 44px 40px; gap: 32px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1160px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 18px 22px;
    background: rgba(13, 17, 25, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav { display: flex; }
  .site-header.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav > a:not(.nav-cta) { padding: 11px 6px; }
  .nav-cta { margin-top: 8px; justify-content: center; }

  .hero { padding: 64px 0 54px; }
  h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  h1 .hl { white-space: normal; }
  .lede { font-size: 1rem; margin-top: 24px; }
  .hero-actions { margin-top: 28px; }
  .btn { padding: 13px 20px; }

  .section { padding: 70px 0; }
  .card-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .service-card { min-height: auto; }
  .step-list { grid-template-columns: 1fr; margin-top: 40px; }
  .step-list li { padding-top: 20px; }

  .contact-panel { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .float-tag { font-size: 0.58rem; padding: 8px 10px; }
  .float-tag-one { right: -6px; }
  .float-tag-two { left: -8px; bottom: -2px; }
  .hud-screen { min-height: 220px; }
  .hud-prompt { font-size: 0.6rem; }
  .hud-stats div { padding: 14px 6px; }
  .hud-stats strong { font-size: 1.2rem; }
  .event-row { gap: 14px; padding: 16px 4px; }
  .event-day { width: 48px; height: 48px; }
  .event-info strong { font-size: 1rem; }
  .event-info small { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
