/*
Theme Name: Wayne 360 AI Future
Theme URI: https://wayne360solutions.com/
Author: Wayne 360 Solutions
Author URI: https://wayne360solutions.com/
Description: A futuristic one-page WordPress theme for Wayne 360 Solutions, built for AI agents, chatbots, websites, and lead generation services.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: wayne360-ai-future
*/

:root {
  --bg: #05060a;
  --bg-2: #090b12;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --ink: #f7f7ed;
  --muted: #b9bdc9;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #f1f000;
  --brand-2: #d6ff3f;
  --dark: #111216;
  --success: #73ffbf;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(241, 240, 0, 0.18), transparent 26rem),
    radial-gradient(circle at 78% 6%, rgba(115, 255, 191, 0.12), transparent 24rem),
    linear-gradient(180deg, #030407 0%, var(--bg) 42%, #07090d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-shell {
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  z-index: -2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 10, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(241, 240, 0, 0.35), 0 0 30px rgba(241, 240, 0, 0.18);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: grid;
  gap: 0;
}

.brand-name strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 8px;
  color: #d8dce7;
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #101114;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 45px rgba(241, 240, 0, 0.2);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
  border-color: rgba(241, 240, 0, 0.58);
}

.hero {
  padding: 84px 0 58px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.text-gradient {
  color: var(--brand);
  text-shadow: 0 0 34px rgba(241, 240, 0, 0.18);
}

.hero-copy {
  max-width: 710px;
  color: #d8dce7;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-service-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-service-deck article {
  position: relative;
  min-height: 132px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(241, 240, 0, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-service-deck article::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  right: -38px;
  bottom: -38px;
  border: 1px solid rgba(241, 240, 0, 0.22);
  border-radius: 50%;
}

.hero-service-deck article:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 240, 0, 0.44);
  background:
    linear-gradient(145deg, rgba(241, 240, 0, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.05);
}

.hero-service-deck b {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.78rem;
}

.hero-service-deck strong,
.hero-service-deck span {
  display: block;
}

.hero-service-deck strong {
  margin-bottom: 5px;
  font-size: 1.04rem;
}

.hero-service-deck span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mini-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--brand);
}

.mini-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.ai-lab {
  position: relative;
  min-height: 590px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 82% 18%, rgba(241, 240, 0, 0.22), transparent 13rem);
  box-shadow: var(--shadow);
}

.lab-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(241, 240, 0, 0.52);
}

.traffic i:nth-child(2) {
  background: var(--success);
}

.traffic i:nth-child(3) {
  background: #ffffff;
}

.lab-title {
  color: var(--muted);
  font-size: 0.82rem;
}

.operator {
  position: relative;
  min-height: 356px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.1), rgba(7, 9, 13, 0.78)),
    radial-gradient(circle at 50% 24%, rgba(241, 240, 0, 0.24), transparent 11rem);
}

.operator::before {
  content: "";
  position: absolute;
  inset: 34px 26px auto;
  height: 130px;
  border: 1px solid rgba(241, 240, 0, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(241, 240, 0, 0.12), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 255, 255, 0.06) 33px 34px);
}

.operator-head {
  position: absolute;
  top: 120px;
  left: 50%;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  border: 4px solid var(--brand);
  border-radius: 999px;
  background: #191b20;
  box-shadow: 0 0 0 9px rgba(241, 240, 0, 0.08), 0 0 38px rgba(241, 240, 0, 0.2);
}

.operator-head::before,
.operator-head::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 14px var(--brand);
}

.operator-head::before {
  left: 24px;
}

.operator-head::after {
  right: 24px;
}

.operator-body {
  position: absolute;
  left: 50%;
  bottom: 68px;
  width: 190px;
  height: 112px;
  transform: translateX(-50%);
  border-radius: 50px 50px 8px 8px;
  background: linear-gradient(135deg, #2b2d34, #111216);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.operator-keyboard {
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: min(80%, 330px);
  height: 50px;
  transform: translateX(-50%);
  border: 1px solid rgba(241, 240, 0, 0.26);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(241, 240, 0, 0.28) 0 18px, rgba(255, 255, 255, 0.08) 19px 32px),
    rgba(0, 0, 0, 0.35);
}

.floating-card {
  position: absolute;
  width: 176px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 14, 20, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.floating-card strong {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.floating-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-card.one {
  top: 92px;
  left: -18px;
}

.floating-card.two {
  right: -16px;
  top: 210px;
}

.floating-card.three {
  left: 32px;
  bottom: 104px;
}

.lab-feed {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.feed-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feed-row b {
  color: var(--brand);
  font-size: 0.79rem;
  text-transform: uppercase;
}

.feed-row span {
  color: #d9dde7;
  font-size: 0.88rem;
}

.feed-row i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px var(--success);
}

.logo-strip {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.strip-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.strip-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #cfd3df;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

section {
  padding: 88px 0;
  position: relative;
  scroll-margin-top: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.3vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.proof-card,
.case-card,
.testimonial-card,
.process-card,
.result-card,
.contact-card,
.feature-card,
.mini-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.22);
}

.service-card {
  min-height: 292px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.service-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 78% 22%, rgba(241, 240, 0, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
}

.service-card::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -54px;
  bottom: -54px;
  border: 1px solid rgba(241, 240, 0, 0.25);
  border-radius: 50%;
}

.icon-badge {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  color: #101114;
  border-radius: 8px;
  background: var(--brand);
  font-weight: 950;
  box-shadow: 0 0 34px rgba(241, 240, 0, 0.18);
}

.service-card h3,
.case-card h3,
.testimonial-card h3,
.feature-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card p,
.case-card p,
.testimonial-card p,
.process-card p,
.result-card p,
.feature-card p,
.contact-card p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-list span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #f3f3bd;
  background: rgba(241, 240, 0, 0.08);
  border: 1px solid rgba(241, 240, 0, 0.16);
  font-size: 0.78rem;
}

.proof-section {
  padding-top: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.proof-card[open] {
  border-color: rgba(241, 240, 0, 0.38);
  background:
    radial-gradient(circle at 92% 12%, rgba(241, 240, 0, 0.14), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
}

.proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 240, 0, 0.32);
}

.proof-card::before {
  content: "";
  position: absolute;
  inset: auto -42px -52px auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(241, 240, 0, 0.24);
  border-radius: 50%;
}

.proof-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
}

.proof-card summary::-webkit-details-marker {
  display: none;
}

.proof-badge {
  flex: 0 0 auto;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #101114;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(241, 240, 0, 0.18);
}

.proof-title {
  display: grid;
  gap: 3px;
  flex: 1;
}

.proof-title strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.proof-title small {
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-card summary b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.proof-card summary b::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(241, 240, 0, 0.32);
  border-radius: 50%;
  color: var(--brand);
  background: rgba(241, 240, 0, 0.08);
  font-size: 1.1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.proof-card[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-card[open] summary b::after {
  content: "-";
  transform: rotate(180deg);
  background: rgba(241, 240, 0, 0.14);
}

.proof-card-content {
  padding: 18px 22px 22px;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #dfe3eb;
  background: rgba(255, 255, 255, 0.055);
}

.proof-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.92rem;
}

.proof-list span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: stretch;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  display: flex;
  gap: 10px;
  align-items: center;
}

.feature-card h3 span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #111216;
  background: var(--brand);
  font-size: 0.9rem;
}

.workflow-board {
  min-height: 100%;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(241, 240, 0, 0.13), transparent 32%),
    rgba(255, 255, 255, 0.055);
}

.workflow-board::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(241, 240, 0, 0.28);
  border-radius: 8px;
}

.board-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-panel {
  min-height: 148px;
  padding: 18px;
}

.mini-panel b {
  display: block;
  color: var(--brand);
  margin-bottom: 8px;
}

.mini-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-panel.wide {
  grid-column: 1 / -1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 22px;
  min-height: 210px;
}

.process-card strong {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 2.3rem;
  line-height: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(241, 240, 0, 0.36);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.case-visual {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 28%, rgba(241, 240, 0, 0.32), transparent 10rem),
    linear-gradient(135deg, #151821, #08090d);
}

.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.case-visual::before {
  width: 72%;
  height: 84px;
  left: 24px;
  top: 30px;
}

.case-visual::after {
  width: 52%;
  height: 112px;
  right: 22px;
  bottom: 24px;
  background: rgba(241, 240, 0, 0.15);
}

.case-website::before {
  height: 118px;
  background:
    linear-gradient(180deg, rgba(241, 240, 0, 0.2) 0 18px, rgba(255, 255, 255, 0.08) 19px),
    rgba(255, 255, 255, 0.08);
}

.case-agent {
  background:
    radial-gradient(circle at 48% 42%, rgba(241, 240, 0, 0.36), transparent 9rem),
    linear-gradient(135deg, #151821, #08090d);
}

.case-agent::before {
  width: 90px;
  height: 90px;
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(241, 240, 0, 0.15);
}

.case-agent::after {
  width: 170px;
  height: 74px;
  right: auto;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
}

.case-chatbot::before,
.case-chatbot::after {
  border-radius: 22px 22px 22px 8px;
}

.case-chatbot::before {
  width: 62%;
  height: 58px;
  left: 22px;
  top: 42px;
}

.case-chatbot::after {
  width: 68%;
  height: 72px;
  right: 22px;
  bottom: 42px;
}

.case-leads::before {
  width: 76px;
  height: 76px;
  left: 36px;
  top: 42px;
  border-radius: 50%;
  box-shadow:
    94px 12px 0 rgba(255, 255, 255, 0.08),
    188px 48px 0 rgba(241, 240, 0, 0.14);
}

.case-leads::after {
  width: 78%;
  height: 18px;
  left: 34px;
  right: auto;
  bottom: 48px;
}

.case-growth::before {
  width: 56%;
  height: 112px;
  left: 28px;
  top: 42px;
}

.case-growth::after {
  width: 42%;
  height: 112px;
  right: 28px;
  bottom: 34px;
}

.case-seo::before {
  width: 78%;
  height: 42px;
  top: 52px;
}

.case-seo::after {
  width: 70%;
  height: 42px;
  right: 24px;
  bottom: 54px;
}

.case-card-content {
  padding: 22px;
}

.case-type {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(241, 240, 0, 0.2);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(241, 240, 0, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.case-metrics span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #dfe3eb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.case-card a {
  color: var(--brand);
  font-weight: 900;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  padding: 24px;
}

.result-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 2.8rem;
  line-height: 1;
}

.testimonial-grid {
  column-count: 3;
  column-gap: 16px;
}

.testimonial-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 24px;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  color: #e9ecf4;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #101114;
  background: var(--brand);
  font-weight: 950;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-section {
  padding-bottom: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.contact-list a,
.contact-list span {
  display: block;
  color: #dce0ea;
}

.contact-list small {
  display: block;
  color: var(--brand);
  font-weight: 850;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #d7dbe6;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.contact-form select option {
  color: #101114;
  background: #ffffff;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(241, 240, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(241, 240, 0, 0.12);
}

.notice {
  padding: 14px 16px;
  border: 1px solid rgba(115, 255, 191, 0.35);
  border-radius: 8px;
  color: #d8ffe9;
  background: rgba(115, 255, 191, 0.08);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.site-footer h3 {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a,
.copyright {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ai-lab {
    min-height: auto;
  }

  .service-grid,
  .proof-grid,
  .case-grid,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    column-count: 2;
  }
}

@media (max-width: 900px) {
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: grid;
    gap: 6px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 8, 12, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    pointer-events: none;
    transition: max-height 240ms ease, opacity 180ms ease, transform 220ms ease;
  }

  body.menu-open .main-menu {
    max-height: 430px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-menu a {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-stats,
  .hero-service-deck,
  .service-grid,
  .proof-grid,
  .case-grid,
  .results-grid,
  .process-grid,
  .field-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    column-count: 1;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 10px;
  }

  .operator {
    min-height: 340px;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand-name span {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .feed-row {
    grid-template-columns: 1fr;
  }
}
