:root {
  --header-offset: 96px;
  --neon: #00ff88;
  --neon-dark: #00cc6a;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: var(--neon);
  color: #000;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--neon);
  clip: auto !important;
  clip-path: none;
  color: #000;
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

* {
  border-color: rgba(0, 255, 136, 0.2);
  outline-color: rgba(0, 255, 136, 0.5);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  background-color: #000000;
  color: #ffffff;
}

h1 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-weight: 600;
  line-height: 1.4;
}

#contact {
  scroll-margin-top: var(--header-offset);
}

.text-gradient {
  background: linear-gradient(90deg, var(--neon), var(--neon-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-gradient {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.glow-border {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.glow-border-light {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.glow-bg {
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.2);
}

.border-glow {
  border-color: rgba(0, 255, 136, 0.2);
  transition: all 0.2s ease;
}

.border-glow:hover {
  border-color: rgba(0, 255, 136, 0.5);
}

.image-loader {
  pointer-events: none;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease;
}

.accordion-trigger i,
.accordion-trigger svg {
  transition: transform 0.28s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.accordion-trigger[data-state='open'] i,
.accordion-trigger[data-state='open'] svg {
  transform: rotate(180deg);
  color: var(--neon);
}

.accordion-trigger[data-state='open'] span {
  color: var(--neon);
}

.prose {
  color: inherit;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #ffffff;
  line-height: 1.2;
  margin: 1.6em 0 0.6em;
}

.prose h1 {
  font-size: 2.25rem;
}

.prose h2 {
  font-size: 1.8rem;
}

.prose h3 {
  font-size: 1.4rem;
}

.prose h4 {
  font-size: 1.15rem;
}

.prose h5 {
  font-size: 1rem;
}

.prose h6 {
  font-size: 0.95rem;
}

.prose p {
  margin: 0.8em 0;
}

.prose a {
  color: #00ff88;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #8affc1;
}

.prose strong {
  color: #ffffff;
}

.prose em {
  color: #cbd5f5;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 0.8em 0;
}

.prose li {
  margin: 0.35em 0;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose blockquote {
  border-left: 4px solid rgba(0, 255, 136, 0.6);
  padding: 0.5em 1em;
  margin: 1.2em 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(15, 23, 42, 0.75));
  box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12);
  border-radius: 12px;
}

.prose code {
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 6px;
  font-size: 0.95em;
}

.prose pre {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 1.2em 0;
}

.prose pre code {
  background: transparent;
  color: #d1fae5;
  padding: 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  margin: 2em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.95em;
}

.prose th,
.prose td {
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.6em 0.8em;
  text-align: left;
}

.prose th {
  color: #ffffff;
  background: rgba(0, 255, 136, 0.08);
}

.prose img,
.prose figure {
  max-width: 100%;
  margin: 1.4em auto;
}

.prose img {
  border-radius: 16px;
}

.prose figcaption {
  text-align: center;
  font-size: 0.9em;
  color: #94a3b8;
  margin-top: 0.6em;
}

.prose iframe {
  width: 100%;
  min-height: 320px;
  border-radius: 16px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.2);
}

.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100%;
  padding: 1rem;
  background: var(--neon);
  color: #000;
  font-weight: 600;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--neon-dark);
}

.wpcf7-response-output {
  margin: 1rem 0 0 !important;
  border-color: rgba(0, 255, 136, 0.4) !important;
  color: #fff;
}

.wpcf7-not-valid-tip {
  color: #f87171;
}

/* Pagination */
.navigation.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.navigation.pagination .current {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon);
  border-color: var(--neon);
}

/* Sticky footer */
body.tbs-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.tbs-site #main-content,
body.tbs-site main {
  flex: 1 0 auto;
  width: 100%;
}

body.tbs-site .tbs-footer {
  margin-top: auto;
  flex-shrink: 0;
}

/* Themed checkboxes */
.tbs-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.tbs-check__box {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 255, 136, 0.45);
  border-radius: 0.3rem;
  background: rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tbs-check__box i {
  font-size: 0.65rem;
  color: #000;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.tbs-check:hover .tbs-check__box {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.12);
}

.tbs-check__input:focus-visible + .tbs-check__box {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.25);
}

.tbs-check__input:checked + .tbs-check__box {
  background: var(--neon);
  border-color: var(--neon);
}

.tbs-check__input:checked + .tbs-check__box i {
  opacity: 1;
  transform: scale(1);
}

.tbs-check__label a {
  word-break: break-word;
}

/* Cookie banner */
.tbs-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 10050;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tbs-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tbs-cookie-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(20, 20, 20, 0.96));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 255, 136, 0.12);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .tbs-cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 1.4rem;
  }
}

.tbs-cookie-banner__text {
  margin: 0;
  color: #a3a3a3;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tbs-cookie-banner__link {
  color: var(--neon);
  text-decoration: none;
  margin-left: 0.25rem;
}

.tbs-cookie-banner__link:hover {
  text-decoration: underline;
}

.tbs-cookie-banner__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.6rem;
  background: var(--neon);
  color: #000;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tbs-cookie-banner__btn:hover {
  background: var(--neon-dark);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
}
