/*
Theme Name: NLCT
Theme URI: https://nlct.local
Author: NLCT
Author URI: https://nlct.local
Description: A modern WordPress block theme for an IT consultancy with a subtle gaming-inspired interface.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: nlct
*/

:root {
  --nlct-bg: #050a0f;
  --nlct-bg-soft: #071412;
  --nlct-panel: rgba(9, 24, 23, 0.76);
  --nlct-panel-strong: rgba(12, 33, 31, 0.84);
  --nlct-text: #eef8f6;
  --nlct-muted: #94aaa6;
  --nlct-line: rgba(148, 170, 166, 0.2);
  --nlct-cyan: #6ee7f9;
  --nlct-green: #8ff5b2;
  --nlct-blue: #8bb8ff;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 80% 12%, rgba(110, 231, 249, 0.16), transparent 28rem),
    radial-gradient(circle at 16% 40%, rgba(143, 245, 178, 0.13), transparent 24rem),
    linear-gradient(135deg, var(--nlct-bg) 0%, var(--nlct-bg-soft) 48%, #0b111c 100%);
  color: var(--nlct-text);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(110, 231, 249, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 249, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.nlct-nav {
  backdrop-filter: blur(16px);
}

.nlct-brand-mark {
  border: 1px solid rgba(143, 245, 178, 0.45);
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(143, 245, 178, 0.18);
}

.nlct-section-kicker {
  color: var(--nlct-green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nlct-muted {
  color: var(--nlct-muted);
}

.nlct-hero {
  min-height: 640px;
}

.nlct-hero h1 {
  line-height: 1;
  letter-spacing: 0;
}

.nlct-button-primary .wp-block-button__link {
  background: linear-gradient(135deg, rgba(143, 245, 178, 0.95), rgba(110, 231, 249, 0.92));
  border: 0;
  border-radius: 8px;
  color: #03100f;
  font-weight: 700;
  transition: transform 180ms ease;
}

.nlct-button-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--nlct-line);
  border-radius: 8px;
  color: var(--nlct-text);
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nlct-button-primary .wp-block-button__link:hover,
.nlct-button-secondary .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.nlct-button-secondary .wp-block-button__link:hover {
  background: rgba(110, 231, 249, 0.07);
  border-color: rgba(110, 231, 249, 0.5);
}

.nlct-panel,
.nlct-card,
.nlct-contact-card {
  background: var(--nlct-panel);
  border: 1px solid var(--nlct-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nlct-console {
  overflow: hidden;
  position: relative;
}

.nlct-console::before {
  content: "";
  display: block;
  height: 0.2rem;
  margin: -1.25rem -1.25rem 1.25rem;
  background: linear-gradient(90deg, var(--nlct-green), var(--nlct-cyan), var(--nlct-blue));
}

.nlct-console-line {
  background: rgba(2, 8, 12, 0.62);
  border: 1px solid rgba(110, 231, 249, 0.16);
  border-radius: 8px;
  color: #d9fffb;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.nlct-status {
  color: var(--nlct-green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.nlct-progress {
  background: rgba(148, 170, 166, 0.13);
  border-radius: 999px;
  height: 0.55rem;
  overflow: hidden;
}

.nlct-progress span {
  animation: nlct-load-in 900ms ease both;
  background: linear-gradient(90deg, var(--nlct-green), var(--nlct-cyan));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.nlct-band {
  background: rgba(4, 13, 16, 0.62);
  border-bottom: 1px solid var(--nlct-line);
  border-top: 1px solid var(--nlct-line);
}

.nlct-card {
  min-height: 245px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nlct-card:hover {
  background: var(--nlct-panel-strong);
  border-color: rgba(143, 245, 178, 0.42);
  transform: translateY(-4px);
}

.nlct-card-signal {
  background: linear-gradient(90deg, var(--nlct-green), transparent);
  border-radius: 999px;
  height: 0.6rem;
  width: 3.2rem;
}

.nlct-level {
  position: relative;
}

.nlct-level::before {
  background: linear-gradient(90deg, transparent, rgba(110, 231, 249, 0.58), transparent);
  content: "";
  height: 1px;
  left: 3rem;
  position: absolute;
  right: 3rem;
  top: 2.5rem;
}

.nlct-level-card {
  min-height: 230px;
  position: relative;
}

.nlct-level-marker {
  border: 1px solid rgba(110, 231, 249, 0.36);
  border-radius: 999px;
  color: var(--nlct-cyan);
  display: inline-flex;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
}

.nlct-contact-card a {
  overflow-wrap: anywhere;
}

@keyframes nlct-load-in {
  from {
    opacity: 0.2;
    transform: translateX(-35%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 781px) {
  .nlct-hero {
    min-height: auto;
  }

  .nlct-level::before {
    background: linear-gradient(transparent, rgba(110, 231, 249, 0.58), transparent);
    bottom: 0;
    height: auto;
    left: 1.5rem;
    right: auto;
    top: 0;
    width: 1px;
  }
}

@media (max-width: 600px) {
  .nlct-nav {
    align-items: flex-start;
  }

  .nlct-hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem) !important;
  }
}
