/*
Theme Name: EthicalCracker SEO
Theme URI: https://ethicalcracker.info/
Author: EthicalCracker Security
Author URI: https://ethicalcracker.info/
Description: Lightweight cybersecurity lead-generation theme with seeded SEO service pages, schema, compliance copy, canonical URLs, and llms.txt support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ethicalcrackers-seo
*/

:root {
  --bg: #07100d;
  --panel: #101a17;
  --panel-2: #182a24;
  --ink: #f4fbf8;
  --muted: #abc4bc;
  --line: rgba(244, 251, 248, 0.14);
  --brand: #49f29c;
  --brand-2: #ffd166;
  --steel: #8fb5ff;
  --danger: #ff816f;
  --white: #fff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 16% 8%, rgba(73, 242, 156, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 18%, rgba(143, 181, 255, 0.18), transparent 26rem),
    linear-gradient(180deg, #07100d 0%, #0b1513 44%, #eef2eb 44%, #eef2eb 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 15, 0.92);
  backdrop-filter: blur(16px);
}

.nav-wrap,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(100, 244, 172, 0.4);
  border-radius: var(--radius);
  background: #12221f;
  color: var(--brand);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 280px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 20, 18, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  line-height: 1.35;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(73, 242, 156, 0.1);
  color: var(--ink);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #07100e;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 18px;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(244, 251, 248, 0.24);
  background: transparent;
  color: var(--ink);
}

.button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  padding: 72px 0 56px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98) 0%, rgba(7, 16, 13, 0.88) 50%, rgba(7, 16, 13, 0.56) 100%),
    url("assets/generated/hero-cyber-operations.webp") center right / cover no-repeat;
}

.hero.has-media {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.98) 0%, rgba(7, 16, 13, 0.9) 52%, rgba(7, 16, 13, 0.78) 100%),
    radial-gradient(circle at 88% 35%, rgba(73, 242, 156, 0.14), transparent 22rem),
    #07100d;
}

.hero::after {
  position: absolute;
  inset: auto -12% -38% auto;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(100, 244, 172, 0.18);
  background: repeating-linear-gradient(90deg, rgba(100, 244, 172, 0.08) 0 1px, transparent 1px 28px);
  content: "";
  opacity: 0.45;
  transform: rotate(-11deg);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7, 16, 13, 0) 0 46%, rgba(73, 242, 156, 0.06) 46% 47%, transparent 47%),
    radial-gradient(circle at 50% 100%, rgba(255, 209, 102, 0.12), transparent 22rem);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(100, 244, 172, 0.28);
  border-radius: 999px;
  background: rgba(100, 244, 172, 0.08);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 11px;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #d8eee6;
  text-decoration: underline;
  text-decoration-color: rgba(100, 244, 172, 0.35);
  text-underline-offset: 3px;
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before,
.breadcrumbs a + a::before {
  color: rgba(244, 251, 248, 0.48);
  content: "/";
  margin-right: 8px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--brand);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin: 18px 0;
  font-size: clamp(3rem, 6.7vw, 6.6rem);
  letter-spacing: 0;
}

.hero h1 {
  color: #f7fffB;
  font-weight: 900;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.72);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 3.05rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

h4,
h5,
h6 {
  margin: 0 0 8px;
  font-size: 1rem;
}

h6 {
  color: #0f6f46;
  font-weight: 900;
}

.lead {
  max-width: 780px;
  color: #d7e9e2;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero .lead {
  color: #f0fff8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  border: 1px solid rgba(244, 251, 248, 0.18);
  border-radius: 999px;
  background: rgba(244, 251, 248, 0.07);
  color: #d9eee7;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 8px 12px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.jump-nav a {
  border: 1px solid rgba(244, 251, 248, 0.16);
  border-radius: var(--radius);
  background: rgba(244, 251, 248, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 10px;
}

.jump-nav a:hover,
.jump-nav a:focus-visible {
  border-color: rgba(73, 242, 156, 0.42);
  color: var(--ink);
}

.assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-console {
  border: 1px solid rgba(73, 242, 156, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 27, 25, 0.94), rgba(8, 16, 13, 0.88)),
    repeating-linear-gradient(0deg, rgba(73, 242, 156, 0.05) 0 1px, transparent 1px 9px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(244, 251, 248, 0.1);
  background: rgba(0, 0, 0, 0.24);
  padding: 12px 14px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--danger);
}

.console-top span:nth-child(2) {
  background: var(--brand-2);
}

.console-top span:nth-child(3) {
  background: var(--brand);
}

.console-top strong {
  margin-left: auto;
  color: var(--muted);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.82rem;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 20px;
}

.console-main {
  border: 1px solid rgba(244, 251, 248, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 16, 13, 0.64);
  color: #daf3eb;
  font-family: "Cascadia Mono", "Consolas", monospace;
  padding: 20px;
}

.console-main p {
  margin: 0 0 12px;
}

.console-main b {
  color: var(--brand);
}

.signal-bars {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.85fr 0.4fr 0.7fr;
  gap: 8px;
  margin-top: 22px;
}

.signal-bars i {
  display: block;
  height: 54px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), rgba(73, 242, 156, 0.08));
}

.assurance-item,
.card,
.service-card,
.faq-item,
.contact-panel,
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 27, 25, 0.72);
  box-shadow: var(--shadow);
}

.assurance-item {
  min-height: 104px;
  padding: 16px;
}

.assurance-item strong {
  display: block;
  color: var(--brand-2);
  font-size: 1.45rem;
}

.main-content {
  color: #16211f;
}

.section {
  padding: 86px 0;
  background: #eef2eb;
}

.section.dark {
  background:
    radial-gradient(circle at 85% 0%, rgba(73, 242, 156, 0.1), transparent 24rem),
    #0b1513;
  color: var(--ink);
}

.section.dark .muted,
.section.dark p {
  color: var(--muted);
}

.section-head {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.muted,
.section p {
  color: #4c5f59;
}

.grid-2,
.grid-3,
.grid-4,
.grid-1 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-1 {
  grid-template-columns: 1fr;
}

.card,
.service-card,
.faq-item,
.contact-panel,
.stat {
  background: var(--white);
  color: #17211f;
  box-shadow: 0 12px 42px rgba(18, 34, 31, 0.08);
  padding: 24px;
}

.section.dark .card,
.section.dark .service-card,
.section.dark .faq-item {
  border-color: rgba(244, 251, 248, 0.12);
  background: rgba(244, 251, 248, 0.06);
  color: var(--ink);
  box-shadow: none;
}

.card ul,
.service-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.service-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover,
.card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.image-band {
  background:
    linear-gradient(135deg, rgba(73, 242, 156, 0.08), transparent 44%),
    #eef2eb;
}

.media-strip {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #081411;
}

.hacker-gallery {
  padding-top: 38px;
  padding-bottom: 38px;
  background:
    linear-gradient(135deg, rgba(73, 242, 156, 0.14), transparent 42%),
    #07100e;
}

.hacker-gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 16px;
}

.hacker-gallery-grid .media-panel {
  min-height: 260px;
  border-color: rgba(73, 242, 156, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hacker-gallery-grid img {
  height: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 11;
}

.supporting-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.supporting-media-grid .media-panel {
  border-color: rgba(73, 242, 156, 0.26);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.supporting-media-grid img {
  aspect-ratio: 4 / 3;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 34, 31, 0.16);
  border-radius: var(--radius);
  background: #0b1513;
  box-shadow: 0 24px 80px rgba(18, 34, 31, 0.18);
}

.media-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-rail {
  position: sticky;
  top: 100px;
  border-left: 4px solid var(--brand);
  padding-left: 22px;
}

.feature-rail strong {
  display: block;
  color: #0f6f46;
  font-size: 3.2rem;
  line-height: 1;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 42px rgba(18, 34, 31, 0.08);
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #dce5df;
  padding: 16px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-table td {
  color: #17211f;
}

.comparison-table th {
  background: #10201c;
  color: var(--ink);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.stat {
  min-height: 128px;
}

.stat strong {
  display: block;
  color: #0f6f46;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.stat span {
  color: #4c5f59;
  font-weight: 750;
}

.visual-grid {
  align-items: stretch;
}

.hero-media {
  align-self: center;
}

.success-list {
  margin-top: 18px;
}

.role-card strong {
  color: #0f6f46;
}

.service-card a {
  color: #0f6f46;
  font-weight: 800;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid #d8e2db;
  border-radius: 999px;
  background: #fff;
  color: #21322e;
  font-size: 0.93rem;
  padding: 7px 12px;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 54px;
}

.process .card::before {
  position: absolute;
  top: 18px;
  left: 22px;
  color: #0f6f46;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-weight: 900;
}

.notice {
  border-left: 4px solid var(--danger);
  background: #fff8f6;
  color: #39201b;
  padding: 18px 20px;
}

.cta-band {
  padding: 64px 0;
  background: #0b1513;
  color: var(--ink);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(100, 244, 172, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(100, 244, 172, 0.12), rgba(247, 201, 95, 0.08));
  padding: 34px;
}

.site-footer {
  background: #07100e;
  color: var(--muted);
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #d8eee6;
}

.footer-contact {
  margin-top: 12px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #d8eee6;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #253631;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad7d1;
  border-radius: var(--radius);
  background: #fff;
  color: #14211e;
  font: inherit;
  padding: 12px 13px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--brand);
  color: #07100e;
  padding: 8px 12px;
}

.skip-link:focus {
  left: 8px;
}

@media (max-width: 900px) {
  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .hacker-gallery-grid,
  .supporting-media-grid,
  .stats-grid,
  .split-feature,
  .cta-box,
  .footer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }

  .nav-wrap {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links {
    display: flex;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
    overflow: visible;
    padding: 2px 0 8px;
    white-space: normal;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    margin-top: 4px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero {
    padding-top: 54px;
  }
}

@media (max-width: 560px) {
  .assurance {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .cta-box {
    padding: 24px;
  }
}
