:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  --bg: #050505;
  --panel: #0b0b0f;
  --card: #0e0f14;
  --glass: rgba(12, 12, 18, 0.65);
  --ink: #f7f7f2;
  --ink-muted: #c7cbd8;
  --ink-light: #f7f7f2;
  --primary: #f4b03a;
  --primary-dark: #d9992f;
  --accent: #f4b03a;
  --border: rgba(255, 255, 255, 0.08);
  --soft-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 18% 12%, rgba(244, 176, 58, 0.08), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(244, 176, 58, 0.06), transparent 42%), var(--bg);
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page main {
  flex: 1;
}

section {
  scroll-margin-top: 120px;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0.5rem 0;
}

.container p,
.container li {
  color: rgba(247, 247, 242, 0.9);
}

header {
  position: sticky;
  top: 0;
  background: #000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-light);
}

.brand img {
  height: 36px;
  width: auto;
  display: block;
  background: #000000;
  padding: 4px 8px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--ink-light);
  font-weight: 500;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  border-color: var(--primary);
}

.nav a:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 10px;
}

.nav-links .cta {
  background: var(--primary);
  color: #000;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  border-bottom: none;
}

.hero {
  position: relative;
  padding: 4rem 0 2.25rem;
  background: radial-gradient(circle at 80% 15%, rgba(244, 176, 58, 0.16), transparent 55%),
    linear-gradient(135deg, #0a0a0d 0%, #050505 65%, #0a0a0d 100%);
  color: var(--ink-light);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/cyber-grid.svg");
  opacity: 0.35;
  mix-blend-mode: screen;
}

.hero::after {
  background: radial-gradient(circle at 30% 20%, rgba(244, 176, 58, 0.24), transparent 60%);
  opacity: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(247, 247, 242, 0.82);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-ctas.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: none;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: none;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--primary);
  color: #000;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
  transform: none;
  box-shadow: var(--shadow);
}

.btn.primary:active {
  transform: none;
}

.btn.secondary {
  background: rgba(244, 176, 58, 0.08);
  border-color: rgba(244, 176, 58, 0.3);
  color: var(--ink-light);
}

.btn.secondary:hover {
  background: rgba(244, 176, 58, 0.15);
  border-color: rgba(244, 176, 58, 0.5);
  transform: none;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(244, 176, 58, 0.2);
  border-color: rgba(244, 176, 58, 0.3);
}

.card-grid .card {
  display: flex;
  flex-direction: column;
}

.card-grid .card a {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(244, 176, 58, 0.12), transparent 60%);
  pointer-events: none;
}

.card .subtext {
  color: var(--ink-muted);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card.no-hover {
  transition: none;
  padding-top: 0.25rem;
}

.card.no-hover:hover {
  transform: none;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.28);
  border-color: var(--border);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(244, 176, 58, 0.12);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--soft-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(244, 176, 58, 0.4));
}

.hero-visual .pulse {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(244, 176, 58, 0.22), transparent 60%);
  filter: blur(30px);
  animation: pulse 8s infinite;
  z-index: -1;
}

.hero-visual .node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  animation: float 6s infinite ease-in-out;
}

.hero-visual .node:nth-child(3) {
  top: 12%;
  right: 20%;
}

.hero-visual .node:nth-child(4) {
  bottom: 15%;
  left: 12%;
  animation-delay: 1s;
}

.hero-visual .node:nth-child(5) {
  bottom: 25%;
  right: 5%;
  animation-delay: 2s;
}

.hero-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat {
  background: rgba(244, 176, 58, 0.08);
  border: 1px solid var(--soft-border);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat span {
  color: rgba(223, 232, 255, 0.8);
  font-size: 0.9rem;
}

.matrix-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.4rem;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(247, 247, 242, 0.65);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
  color: var(--ink-light);
}

.subtext {
  color: rgba(247, 247, 242, 0.78);
  margin-bottom: 1.75rem;
  max-width: 640px;
}

.subtext.compact {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
}

.testimonial cite {
  font-style: normal;
  color: var(--ink-muted);
  font-weight: 600;
}

.bio-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.bio-card figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(244, 176, 58, 0.25);
}

.bio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-two {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.list {
  padding-left: 1.25rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.service-block {
  border-left: 4px solid var(--primary);
  padding: 1rem 0 1.5rem 1.5rem;
  position: relative;
  background: linear-gradient(120deg, rgba(0, 183, 255, 0.08), transparent);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.service-block:not(:last-child) {
  margin-bottom: 2.5rem;
}

.service-block h3 {
  margin-top: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  background: radial-gradient(circle at 30% 30%, rgba(0, 183, 255, 0.4), rgba(25, 245, 199, 0.15));
  border: 1px solid rgba(0, 183, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(223, 232, 255, 0.7);
}

.badge {
  background: rgba(0, 183, 255, 0.12);
  color: var(--primary-dark);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 183, 255, 0.3);
}

.hero .badge {
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 1.25rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #091830, #111c37);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 183, 255, 0.15);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink-light);
  box-shadow: 0 20px 35px rgba(2, 10, 22, 0.45);
}

.testimonial-card p {
  margin: 0;
  font-style: italic;
}

.testimonial-card span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: rgba(223, 232, 255, 0.6);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(0, 183, 255, 0.4), transparent);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-buttons button {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.filter-buttons button.active {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.35);
}

.blog-card time {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.blog-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.post {
  background: var(--card);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.post h1 {
  margin-top: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-muted);
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-card .btn.secondary,
.blog-card .btn.secondary,
.card .btn.secondary {
  background: rgba(244, 176, 58, 0.08);
  border-color: rgba(244, 176, 58, 0.3);
  color: var(--ink-light);
}

form {
  display: grid;
  gap: 1.25rem;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.85rem;
  font: inherit;
  background: #0b0b0f;
  color: var(--ink-light);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.form-status {
  min-height: 1.5rem;
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.cta-section {
  background: radial-gradient(circle at 20% 20%, rgba(244, 176, 58, 0.22), transparent),
    linear-gradient(120deg, #0f0f14, #0b0b0f 60%, #050505);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.4rem 2.6rem;
  text-align: center;
  box-shadow: 0 35px 65px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(244, 176, 58, 0.25);
}

.cta-section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-section p {
  margin: 0 auto 1.5rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.85);
}

footer {
  padding: 2rem 0;
  text-align: center;
  color: rgba(223, 232, 255, 0.6);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ink-light);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--ink-light);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(244, 176, 58, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(244, 176, 58, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 720px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    padding: 1rem 0;
    margin: 0;
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.mobile-menu-open {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .bio-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-12px) translateX(4px);
  }
}
.card p,
.card li,
.card span,
.blog-card,
.blog-card p,
.blog-card time,
.blog-card .tags span,
.contact-card,
.contact-card p,
.contact-card label,
.contact-card li {
  color: var(--ink);
}
