/*
Theme Name: PegasusDLT Cyber
Theme URI: https://pegasusdlt.com/
Author: PegasusDLT
Description: A modern cyber-tech WordPress theme for technology infrastructure, web development, blockchain, and managed systems.
Version: 1.0.0
Text Domain: pegasusdlt-cyber
*/

:root {
  --bg: #05060d;
  --bg-deep: #010208;
  --surface: rgba(13, 17, 35, 0.76);
  --surface-strong: #10152a;
  --surface-light: rgba(255, 255, 255, 0.055);
  --text: #f5f7ff;
  --muted: #a8b1ca;
  --line: rgba(157, 182, 255, 0.15);
  --cyan: #36e5ff;
  --blue: #5271ff;
  --purple: #a855f7;
  --pink: #ff45c7;
  --lime: #b5ff5e;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(82, 113, 255, 0.15), transparent 25%),
    radial-gradient(circle at 82% 20%, rgba(255, 69, 199, 0.11), transparent 23%),
    radial-gradient(circle at 50% 85%, rgba(54, 229, 255, 0.1), transparent 28%),
    var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(54, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -30%;
  pointer-events: none;
  opacity: 0.38;
  filter: blur(55px);
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(54, 229, 255, 0.22) 60deg,
      transparent 125deg,
      rgba(168, 85, 247, 0.2) 190deg,
      transparent 245deg,
      rgba(255, 69, 199, 0.15) 310deg,
      transparent 360deg
    );
  animation: cosmicRotate 25s linear infinite;
}

@keyframes cosmicRotate {
  to {
    transform: rotate(360deg);
  }
}

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

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-main {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 25px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.section-title {
  max-width: 800px;
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cyber-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 22px;
  position: relative;
  border: 1px solid rgba(54, 229, 255, 0.65);
  border-radius: 10px;
  color: #061017;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(54, 229, 255, 0.13), 0 0 28px rgba(54, 229, 255, 0.26);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cyber-button:hover {
  transform: translateY(-3px);
  background: #9cf7ff;
  box-shadow: 0 12px 38px rgba(54, 229, 255, 0.38);
}

.cyber-button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cyber-button--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(54, 229, 255, 0.08);
}

/* Navigation */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 5, 14, 0.78);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.custom-logo-link,
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.custom-logo {
  width: auto;
  max-height: 46px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(54, 229, 255, 0.75);
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(54, 229, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(54, 229, 255, 0.12);
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-name {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.17rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-name span {
  color: var(--cyan);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  display: block;
  color: #d9def0;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
  color: var(--cyan);
}

.primary-navigation .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 7px;
  color: var(--cyan);
  font-size: 0.78rem;
}

.primary-navigation .sub-menu {
  display: block;
  width: 240px;
  padding: 10px;
  position: absolute;
  top: calc(100% + 20px);
  left: -16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  background: rgba(9, 13, 30, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(10px);
  backdrop-filter: blur(18px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.primary-navigation .sub-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.primary-navigation .sub-menu li + li {
  margin-top: 2px;
}

.primary-navigation .sub-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.primary-navigation .sub-menu a:hover {
  background: rgba(54, 229, 255, 0.09);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  position: relative;
  margin: auto;
  background: var(--cyan);
  transition: transform 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 145px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  width: 600px;
  height: 600px;
  position: absolute;
  top: 0;
  right: -200px;
  border: 1px solid rgba(54, 229, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(54, 229, 255, 0.02),
    0 0 0 140px rgba(168, 85, 247, 0.018),
    0 0 120px rgba(54, 229, 255, 0.15);
  animation: pulseOrb 7s ease-in-out infinite alternate;
}

@keyframes pulseOrb {
  from {
    transform: scale(0.92);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  gap: 54px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 13px var(--lime);
}

.hero h1 {
  max-width: 830px;
  margin: 21px 0 25px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(3.2rem, 6.8vw, 6.7rem);
  font-weight: 750;