/*
Theme Name: Spandiv Neo Brutalism
Theme URI: https://spandiv.xyz/
Author: Spandiv
Author URI: https://spandiv.xyz/
Description: Spandiv Neo Brutalism: Anti-Gravity Coding â€” a bold, vibrant neo-brutalist theme for Spandiv Digital Agency.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spandiv-neo
Tags: neo-brutalism, full-width-template, custom-menu, featured-images, blog
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --yellow: #FACC15;
  --yellow-d: #EAB308;
  --cyan: #22D3EE;
  --cyan-d: #06B6D4;
  --green: #39FF14;
  --green-d: #22c55e;
  --purple: #A855F7;
  --white: #FAFAFA;
  --offwhite: #F4F4F5;
  --black: #18181B;
  --black-s: #27272A;
  --border: 3px solid #18181B;
  --radius: 12px;
  --shadow: 5px 5px 0 #18181B;
  --shadow-s: 3px 3px 0 #18181B;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--black);
  background-color: var(--offwhite);
  background-image: radial-gradient(#18181b22 1px, transparent 0);
  background-size: 24px 24px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1.30;
  color: var(--black);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* Neo Card */
.neo-card {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.18s var(--spring), box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.neo-card:hover {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 #18181B;
}

/* Neo Button */
.neo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 12px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--spring), box-shadow 0.15s ease;
  white-space: nowrap;
}

.neo-btn:hover {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 #18181B;
}

.neo-btn-yellow {
  background: var(--yellow);
  color: var(--black);
}

.neo-btn-black {
  background: var(--black);
  color: var(--white);
}

.neo-btn-white {
  background: var(--white);
  color: var(--black);
}

.neo-btn-outline {
  background: transparent;
  color: var(--black);
}

/* Neo Badge */
.neo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--black);
}

.neo-badge-yellow {
  background: var(--yellow);
}

.neo-badge-cyan {
  background: var(--cyan);
}

.neo-badge-green {
  background: var(--green);
}

.neo-badge-white {
  background: var(--white);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.65s var(--spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.05s;
}

.delay-2 {
  transition-delay: 0.12s;
}

.delay-3 {
  transition-delay: 0.19s;
}

.delay-4 {
  transition-delay: 0.26s;
}

.delay-5 {
  transition-delay: 0.33s;
}

/* ============================================================
   FLOATING CODE SNIPPETS
   ============================================================ */
.code-float {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 6px 14px;
  box-shadow: var(--shadow-s);
  position: absolute;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 2;
  color: var(--black);
  will-change: transform;
}

.code-float .kw {
  color: #7C3AED;
}

.code-float .fn {
  color: #DB2777;
}

.code-float .str {
  color: #16A34A;
}

@keyframes float-a {

  0%,
  100% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

@keyframes float-b {

  0%,
  100% {
    transform: translateY(0px) rotate(2deg);
  }

  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes float-c {

  0%,
  100% {
    transform: translateY(-6px) rotate(-1deg);
  }

  50% {
    transform: translateY(8px) rotate(2.5deg);
  }
}

.float-a {
  animation: float-a 5.5s ease-in-out infinite;
}

.float-b {
  animation: float-b 6.8s ease-in-out infinite 0.8s;
}

.float-c {
  animation: float-c 7.2s ease-in-out infinite 1.5s;
}

.float-d {
  animation: float-a 4.9s ease-in-out infinite 2s;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.neo-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
  background-image: radial-gradient(#18181b18 1px, transparent 0);
  background-size: 20px 20px;
}

.neo-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.neo-navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.neo-navbar .nav-logo .logo-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 6px;
  padding: 2px 7px;
  box-shadow: 2px 2px 0 var(--black);
  color: var(--black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.neo-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.neo-navbar .nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  padding: 7px 14px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.15s var(--spring);
}

.neo-navbar .nav-links a:hover {
  background: var(--yellow);
  border-color: var(--black);
  box-shadow: 2px 2px 0 var(--black);
  transform: translate(2px, 2px);
}

.neo-navbar .nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ── Mobile Full-Screen Overlay ── */
.mob-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  overflow: hidden;
  /* Hidden by default */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.mob-nav-overlay.mob-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* Overlay backdrop pattern */
.mob-nav-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#18181b08 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.mob-nav-overlay>* {
  position: relative;
  z-index: 1;
}

/* Panel containers */
.mob-nav-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mob-nav-main {
  transform: translateX(0);
}

.mob-nav-main.mob-pushed {
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-nav-sub {
  transform: translateX(100%);
  z-index: 2;
}

.mob-nav-sub.mob-sub-active {
  transform: translateX(0);
}

/* ── Staggered item entrance animation ── */
@keyframes mobItemSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Items start invisible, animate on open */
.mob-nav-overlay .mob-nav-item,
.mob-nav-overlay .mob-sub-label,
.mob-nav-overlay .mob-info-card,
.mob-nav-overlay .mob-info-card-agency {
  opacity: 0;
  transform: translateY(16px);
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item,
.mob-nav-overlay.mob-open .mob-nav-main .mob-sub-label {
  animation: mobItemSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item:nth-child(1) {
  animation-delay: 0.05s;
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item:nth-child(2) {
  animation-delay: 0.1s;
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item:nth-child(3) {
  animation-delay: 0.15s;
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item:nth-child(4) {
  animation-delay: 0.2s;
}

.mob-nav-overlay.mob-open .mob-nav-main .mob-nav-item:nth-child(5) {
  animation-delay: 0.25s;
}

/* Sub-menu items stagger when sub is active */
.mob-nav-sub.mob-sub-active .mob-nav-item,
.mob-nav-sub.mob-sub-active .mob-sub-label,
.mob-nav-sub.mob-sub-active .mob-info-card,
.mob-nav-sub.mob-sub-active .mob-info-card-agency {
  animation: mobItemSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mob-nav-sub.mob-sub-active .mob-sub-label:nth-child(1) {
  animation-delay: 0.06s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(2) {
  animation-delay: 0.1s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(3) {
  animation-delay: 0.15s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(4) {
  animation-delay: 0.2s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(5) {
  animation-delay: 0.25s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(6) {
  animation-delay: 0.3s;
}

.mob-nav-sub.mob-sub-active .mob-sub-label:nth-child(7) {
  animation-delay: 0.32s;
}

.mob-nav-sub.mob-sub-active .mob-nav-item:nth-child(8) {
  animation-delay: 0.35s;
}

.mob-nav-sub.mob-sub-active .mob-info-card {
  animation-delay: 0.35s;
}

.mob-nav-sub.mob-sub-active .mob-info-card-agency {
  animation-delay: 0.35s;
}

/* ── Header slide-down animation ── */
@keyframes mobHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mob-nav-overlay.mob-open .mob-nav-header {
  animation: mobHeaderDrop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Sub title bounce ── */
@keyframes mobTitleBounce {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mob-nav-sub.mob-sub-active .mob-sub-title {
  animation: mobTitleBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s forwards;
  opacity: 0;
}

/* ── CTA footer pop ── */
@keyframes mobCtaPop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mob-nav-overlay.mob-open .mob-nav-footer {
  animation: mobCtaPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  opacity: 0;
}

/* Header bar */
.mob-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 3px solid var(--black);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 60px;
}

.mob-nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--black);
}

.mob-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 3px 3px 0 var(--black);
  flex-shrink: 0;
}

.mob-close-btn:active {
  box-shadow: 0 0 0 var(--black);
  transform: translate(3px, 3px);
}

/* Back button */
.mob-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px 8px 4px;
  border-radius: 8px;
  transition: background 0.15s;
}

.mob-back-btn:active {
  background: rgba(0, 0, 0, 0.06);
}

/* Sub-menu title */
.mob-sub-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--black);
  padding: 16px 20px 4px;
}

/* Sub-menu section label */
.mob-sub-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a1a1aa;
  padding: 12px 6px 6px;
}

/* Body (scrollable area) */
.mob-nav-body {
  flex: 1;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Nav item */
.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  min-height: 52px;
}

.mob-nav-item:active {
  background: var(--yellow);
  border-color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

/* Icon wrapper */
.mob-nav-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

/* Arrow for sub-menu trigger */
.mob-nav-arrow {
  margin-left: auto;
  color: #a1a1aa;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.mob-nav-has-sub:active .mob-nav-arrow {
  transform: translateX(3px);
}

/* Sub item text block */
.mob-nav-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mob-nav-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
}

.mob-nav-item-desc {
  font-weight: 500;
  font-size: 0.75rem;
  color: #71717a;
  margin-top: 2px;
  line-height: 1.3;
}

/* Footer CTA */
.mob-nav-footer {
  padding: 16px 20px;
  border-top: 3px solid var(--black);
  background: var(--white);
  position: sticky;
  bottom: 0;
}

.mob-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.15s;
}

.mob-nav-cta:active {
  box-shadow: 0 0 0 var(--black);
  transform: translate(4px, 4px);
}

/* Info card in sub-menus */
.mob-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 16px 20px;
  padding: 16px;
  border-radius: 12px;
  border: 3px solid var(--black);
  background: var(--cyan);
  box-shadow: 4px 4px 0 var(--black);
}

/* Hamburger → X animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hide overlay on desktop */
@media (min-width: 769px) {
  .mob-nav-overlay {
    display: none !important;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#18181b18 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.30;
  letter-spacing: -0.03em;
  color: var(--black);
}

.highlight {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 0 8px;
  box-shadow: 3px 3px 0 var(--black);
  display: inline;
}

.highlight-cyan {
  background: var(--cyan);
}

.highlight-green {
  background: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  color: #52525B;
  line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--black);
}

.hero-stats .stat span {
  font-size: 0.8rem;
  color: #71717A;
  font-weight: 600;
}

/* Hero visual â€” right side stacked card mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-main-card {
  border: var(--border);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--black);
  overflow: hidden;
  background: var(--white);
}

.hero-main-card .card-header {
  background: var(--black);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-main-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-main-card .dot-r {
  background: #EF4444;
}

.hero-main-card .dot-y {
  background: #FACC15;
}

.hero-main-card .dot-g {
  background: #22C55E;
}

.hero-main-card .card-header span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
}

.hero-main-card .card-body-inner {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--black-s);
}

.hero-main-card .card-body-inner .ln {
  color: #A1A1AA;
  margin-right: 16px;
}

.hero-main-card .card-body-inner .kw {
  color: #7C3AED;
}

.hero-main-card .card-body-inner .fn {
  color: #DB2777;
}

.hero-main-card .card-body-inner .str {
  color: #16A34A;
}

.hero-main-card .card-body-inner .cm {
  color: #71717A;
}

.hero-mini-card {
  position: absolute;
  border: 2px solid var(--black);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--black);
  background: var(--white);
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-mini-1 {
  bottom: -24px;
  left: -30px;
  background: var(--yellow);
  transform: rotate(-4deg);
  animation: float-b 5s ease-in-out infinite;
}

.hero-mini-2 {
  top: -20px;
  right: -20px;
  background: var(--cyan);
  transform: rotate(3deg);
  animation: float-a 6s ease-in-out infinite 1s;
}

.hero-mini-3 {
  bottom: 60px;
  right: -35px;
  background: var(--green);
  transform: rotate(-2deg);
  animation: float-c 7s ease-in-out infinite 0.5s;
}

/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.marquee-section {
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-section.yellow {
  background: var(--yellow);
}

.marquee-section.black {
  background: var(--black);
}

.marquee-section.cyan {
  background: var(--cyan);
}

.marquee-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
}

.marquee-section.black .marquee-item {
  color: var(--white);
}

.marquee-item .star {
  font-size: 1.2rem;
}

.marquee-item .sep {
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-section.black .marquee-item .sep {
  background: var(--white);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--cyan);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-section::before,
.about-section::after {
  content: "✦";
  position: absolute;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.08);
  font-weight: 900;
  line-height: 1;
  animation: float-a 5s ease-in-out infinite;
}

.about-section::before {
  top: -10px;
  left: 40px;
  transform: rotate(-15deg);
}

.about-section::after {
  bottom: -10px;
  right: 60px;
  transform: rotate(20deg);
}

.about-eyebrow {
  margin-bottom: 20px;
}

.about-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.1;
}

.about-body {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.65;
  color: #1C1C1E;
}

.about-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.about-trust .trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-trust .trust-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.about-trust .trust-item span {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

/* ============================================================
   SERVICES BENTO GRID
   ============================================================ */
.services-section,
.review-section {
  padding: 80px 0;
  position: relative;
}

.services-section .section-header,
.review-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}

.services-section .section-title,
.review-section .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.services-section .section-sub,
.review-section .section-sub {
  font-size: 1rem;
  color: #52525B;
  max-width: 520px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-card {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s var(--spring), box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.bento-card:hover {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--black);
}

.bento-card.yellow {
  background: var(--yellow);
}

.bento-card.white {
  background: var(--white);
}

.bento-card.cyan {
  background: var(--cyan);
}

.bento-card.green {
  background: var(--green);
}

.bento-card.black {
  background: var(--black);
  color: var(--white);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card .svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 3px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.05em;
}

.bento-card.black .svc-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.bento-card .svc-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.bento-card .svc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.bento-card .svc-desc {
  font-size: 0.88rem;
  color: #3F3F46;
  line-height: 1.6;
}

.bento-card.black .svc-desc {
  color: rgba(255, 255, 255, 0.7);
}

.bento-card .svc-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  width: fit-content;
  transition: gap 0.2s var(--spring);
}

.bento-card:hover .svc-arrow {
  gap: 12px;
}

/* ============================================================
   GOALS / TAGS SECTION
   ============================================================ */
.goals-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.goals-section .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  max-width: 700px;
  margin: 0 auto 12px;
}

.goals-section .section-sub {
  font-size: 1rem;
  color: #52525B;
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

.goals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.goal-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: var(--border);
  border-radius: 99px;
  padding: 14px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.15s var(--spring), box-shadow 0.15s ease;
  cursor: pointer;
}

.goal-tag:hover {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--black);
}

.goal-tag.y {
  background: var(--yellow);
}

.goal-tag.c {
  background: var(--cyan);
}

.goal-tag.g {
  background: var(--green);
}

.goal-tag.w {
  background: var(--white);
}

.goal-tag.p {
  background: #F3E8FF;
}

.goal-tag .tag-icon {
  font-size: 1.2rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--green);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .deco-shape {
  position: absolute;
  border: var(--border);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.cta-section .deco-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--yellow);
  top: -30px;
  left: 10%;
  transform: rotate(-10deg);
}

.cta-section .deco-diamond {
  width: 90px;
  height: 90px;
  background: var(--cyan);
  bottom: -20px;
  right: 12%;
  transform: rotate(30deg);
  border-radius: 12px;
}

.cta-section .deco-star {
  font-size: 4rem;
  position: absolute;
  top: 20px;
  right: 25%;
  color: rgba(0, 0, 0, 0.15);
  font-weight: 900;
  pointer-events: none;
  animation: float-a 5s ease-in-out infinite;
}

.cta-section .inner {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.1;
}

.cta-sub {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
  color: #1C1C1E;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-4px);
  }
}

.btn-bounce {
  animation: bounce 1.8s ease-in-out infinite;
  display: inline-flex !important;
}

.btn-bounce:hover {
  animation-play-state: paused;
}

/* ============================================================
   FOOTER
   ============================================================ */
.neo-footer {
  background: var(--black);
  border-top: var(--border);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-col .footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col .footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-col .contact-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  transition: all 0.15s var(--spring);
}

.footer-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: translate(2px, 2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-bottom .footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .neo-navbar .nav-links {
    display: none;
  }

  .neo-navbar .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    padding: 60px 0 50px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .goals-grid {
    gap: 10px;
  }

  .about-trust {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .code-float {
    display: none;
  }

  .section-padding {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .neo-btn {
    justify-content: center;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .about-title {
    font-size: 1.7rem;
  }
}

/* ============================================================
   NAVIGATION â€” wp_nav_menu() output styles
   ============================================================ */

/* Top-level list */
.neo-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each top-level li */
.neo-nav-item {
  position: relative;
  list-style: none;
}

/* Top-level link */
.neo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  padding: 7px 14px;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.15s var(--spring), border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--spring);
  cursor: pointer;
  white-space: nowrap;
  background: none;
}

.neo-nav-link:hover,
.neo-nav-link:focus-visible {
  background: var(--yellow);
  border-color: var(--black);
  box-shadow: 2px 2px 0 var(--black);
  transform: translate(2px, 2px);
  outline: none;
}

/* Active/current page */
.neo-nav-item.current-menu-item>.neo-nav-link,
.neo-nav-item.current-menu-ancestor>.neo-nav-link {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Chevron icon */
.neo-dropdown-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s var(--spring);
  display: inline-block;
  line-height: 1;
}

.neo-nav-item.has-dropdown.is-open>.neo-nav-link .neo-dropdown-chevron {
  transform: rotate(180deg);
}

/* â”€â”€ DROPDOWN PANEL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Old dropdown styles removed â€” mega menu is now styled via Tailwind in header.php */

/* â”€â”€ MOBILE MENU LIST â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.neo-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.neo-mobile-list li {
  list-style: none;
}

.neo-mobile-list a {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.15s ease;
}

.neo-mobile-list a:hover {
  background: var(--yellow);
  border-color: var(--black);
}

/* Mobile sub-menu */
.neo-mobile-list .sub-menu {
  list-style: none;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--yellow);
  margin: 4px 8px 4px 16px;
}

.neo-mobile-list .sub-menu a {
  font-size: 0.9rem;
  padding: 8px 14px;
}

/* ============================================================
   MEGA MENU PANEL
   ============================================================ */
.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
  width: max-content;
  max-width: min(1028px, calc(100vw - 40px));
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 12px 32px rgba(0, 0, 0, 0.08);
  background-image: radial-gradient(#18181b10 1px, transparent 0);
  background-size: 20px 20px;
  /* Animation */
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s var(--spring);
  pointer-events: none;
}

.mega-panel.mega-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Smaller panels for menus with less content */
.mega-panel.mega-sm {
  max-width: min(620px, calc(100vw - 40px));
}

@media (max-width: 768px) {
  .mega-panel {
    display: none !important;
  }
}

/* ============================================================
   SERVICE PAGE STYLES (shared across all service landing pages)
   ============================================================ */

/* ── Service Hero ─────────────────────────────────────────── */
.jpw-hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.jpw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#18181b18 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 0;
}

/* ── Service Value Props (Cyan band) ─────────────────────── */
.jpw-value {
  background: var(--cyan);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jpw-value::before,
.jpw-value::after {
  content: "✦";
  position: absolute;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.08);
  font-weight: 900;
  line-height: 1;
  animation: float-a 5s ease-in-out infinite;
}

.jpw-value::before {
  top: -10px;
  left: 40px;
  transform: rotate(-15deg);
}

.jpw-value::after {
  bottom: -10px;
  right: 60px;
  transform: rotate(20deg);
}

/* ── Service FAQ Accordion (shared) ──────────────────────── */
.svc-faq-item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s var(--spring), box-shadow 0.18s ease;
}

.svc-faq-item:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--black);
}

.svc-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.svc-faq-trigger:hover {
  background: rgba(0, 0, 0, 0.03);
}

.svc-faq-chevron {
  font-size: 0.7rem;
  transition: transform 0.3s var(--spring);
  flex-shrink: 0;
}

.svc-faq-item.open .svc-faq-chevron {
  transform: rotate(180deg);
}

.svc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.svc-faq-item.open .svc-faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.svc-faq-answer p {
  font-size: 0.92rem;
  color: #52525B;
  line-height: 1.7;
  margin: 0;
}

.svc-faq-item.open .svc-faq-trigger {
  background: var(--yellow);
}

/* ── Service Page Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .jpw-hero {
    padding: 60px 0 50px;
    min-height: auto;
  }
}

/* ============================================================
   TRUSTINDEX GOOGLE REVIEWS OVERRIDE (SPANDIV NEO BRUTALISM)
   ============================================================ */
/* Ensure the widget max-width and margin are consistent */
body #review .ti-widget.ti-goog {
  margin: 0 auto !important;
  max-width: 1200px !important;
}

/* Review Item Card */
body #review .ti-widget.ti-goog .ti-review-item>.ti-inner {
  background-color: var(--white) !important;
  border: 3px solid var(--black) !important;
  border-radius: 12px !important;
  box-shadow: 6px 6px 0px 0px var(--black) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  padding: 24px !important;
  height: 100% !important;
}

body #review .ti-widget.ti-goog .ti-review-item:hover>.ti-inner {
  transform: translate(6px, 10px) !important;
  box-shadow: 0px 0px 0px 0px var(--black) !important;
}

/* Reviewer Name */
body #review .ti-widget.ti-goog .ti-review-header .ti-name {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: var(--black) !important;
}

/* Review Content */
body #review .ti-widget.ti-goog .ti-review-content {
  font-family: 'Inter', sans-serif !important;
  color: #52525B !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
}

/* Overall Rating / Footer Text */
body #review .ti-widget.ti-goog .ti-rating-text strong.ti-rating {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 900 !important;
  color: var(--black) !important;
}

body #review .ti-widget.ti-goog .ti-rating-text span {
  font-family: 'Inter', sans-serif !important;
  color: #52525B !important;
}

/* Profile Image Border (Optional) */
body #review .ti-widget.ti-goog .ti-profile-img img {
  border: 2px solid var(--black) !important;
}

/* Controls (arrows) */
body #review .ti-widget.ti-goog .ti-controls .ti-next,
body #review .ti-widget.ti-goog .ti-controls .ti-prev {
  background-color: var(--yellow) !important;
  border: 2px solid var(--black) !important;
  box-shadow: 2px 2px 0 var(--black) !important;
  opacity: 1 !important;
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
}

body #review .ti-widget.ti-goog .ti-controls .ti-next:hover,
body #review .ti-widget.ti-goog .ti-controls .ti-prev:hover {
  background-color: var(--cyan) !important;
  transform: translate(1px, 1px) !important;
  box-shadow: 1px 1px 0 var(--black) !important;
}

body #review .ti-widget.ti-goog .ti-controls .ti-next:before,
body #review .ti-widget.ti-goog .ti-controls .ti-prev:before {
  border-color: var(--black) !important;
}

body #review .ti-widget.ti-goog .ti-reviews-container-wrapper {
  padding-bottom: 8px !important;
}

/* ============================================================
   404 ERROR PAGE
   ============================================================ */
.error404-section {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.error404-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#18181b18 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 0;
}

.error404-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Decorative Shapes ── */
.error404-deco {
  position: absolute;
  border: var(--border);
  z-index: 0;
  pointer-events: none;
}

.error404-deco-1 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.35;
  top: 10%;
  left: 8%;
  animation: float-a 6s ease-in-out infinite;
}

.error404-deco-2 {
  width: 80px;
  height: 80px;
  background: var(--cyan);
  opacity: 0.3;
  bottom: 15%;
  right: 10%;
  border-radius: 12px;
  transform: rotate(45deg);
  animation: float-b 7s ease-in-out infinite 1s;
}

.error404-deco-3 {
  width: 60px;
  height: 60px;
  background: var(--green);
  opacity: 0.25;
  top: 30%;
  right: 6%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: float-c 5.5s ease-in-out infinite 0.5s;
}

/* ── Glitch 404 Number ── */
.error404-number-wrap {
  position: relative;
  margin-bottom: 8px;
}

.error404-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.04em;
  position: relative;
  text-shadow:
    4px 4px 0 var(--yellow),
    8px 8px 0 var(--cyan);
  animation: glitch404 3s ease-in-out infinite;
}

@keyframes glitch404 {
  0%, 100% {
    text-shadow:
      4px 4px 0 var(--yellow),
      8px 8px 0 var(--cyan);
    transform: translate(0);
  }
  2% {
    text-shadow:
      -4px 2px 0 var(--cyan),
      6px -3px 0 var(--yellow);
    transform: translate(-3px, 2px);
  }
  4% {
    text-shadow:
      4px 4px 0 var(--yellow),
      8px 8px 0 var(--cyan);
    transform: translate(0);
  }
  50% {
    text-shadow:
      4px 4px 0 var(--yellow),
      8px 8px 0 var(--cyan);
    transform: translate(0);
  }
  52% {
    text-shadow:
      3px -2px 0 var(--green),
      -5px 4px 0 var(--yellow);
    transform: translate(2px, -2px);
  }
  54% {
    text-shadow:
      4px 4px 0 var(--yellow),
      8px 8px 0 var(--cyan);
    transform: translate(0);
  }
}

/* ── Code Editor Card ── */
.error404-card {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  margin-bottom: 8px;
}

.error404-card:hover {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 #18181B;
}

.error404-card-header {
  background: var(--black);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.error404-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.error404-card-header .dot-r { background: #ef4444; }
.error404-card-header .dot-y { background: #facc15; }
.error404-card-header .dot-g { background: #22c55e; }

.error404-card-header span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #a1a1aa;
  margin-left: auto;
}

.error404-card-body {
  padding: 20px;
  background: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--black);
}

.error404-card-body .ln {
  color: #a1a1aa;
  margin-right: 16px;
  user-select: none;
}

.error404-card-body .kw {
  color: #7C3AED;
}

.error404-card-body .fn {
  color: #DB2777;
}

.error404-card-body .str {
  color: #16A34A;
}

.error404-card-body .cm {
  color: #a1a1aa;
}

/* ── Badge ── */
.error404-badge {
  margin-bottom: 4px;
}

/* ── Title ── */
.error404-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--black);
}

/* ── Description ── */
.error404-desc {
  font-size: 1.05rem;
  color: #52525B;
  line-height: 1.7;
  max-width: 560px;
}

/* ── Action Buttons ── */
.error404-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Quick Links ── */
.error404-links {
  margin-top: 24px;
  width: 100%;
  max-width: 540px;
}

.error404-links-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #71717A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.error404-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.error404-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: transform 0.18s var(--spring), box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  color: var(--black);
}

.error404-link-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--black);
  background: var(--yellow);
}

.error404-link-icon {
  font-size: 1.6rem;
}

.error404-link-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ── 404 Responsive ── */
@media (max-width: 768px) {
  .error404-section {
    padding: 70px 0 60px;
    min-height: auto;
  }

  .error404-number {
    font-size: clamp(4.5rem, 22vw, 8rem);
    text-shadow:
      3px 3px 0 var(--yellow),
      6px 6px 0 var(--cyan);
  }

  .error404-card {
    max-width: 100%;
  }

  .error404-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .error404-deco-1 {
    width: 70px;
    height: 70px;
    top: 5%;
    left: 2%;
  }

  .error404-deco-2 {
    width: 50px;
    height: 50px;
    bottom: 8%;
    right: 4%;
  }

  .error404-deco-3 {
    width: 40px;
    height: 40px;
    top: 15%;
    right: 2%;
  }

  .error404-actions {
    flex-direction: column;
    width: 100%;
  }

  .error404-actions .neo-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .error404-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .error404-desc {
    font-size: 0.95rem;
  }

  .error404-card-body {
    font-size: 0.7rem;
    padding: 14px;
  }
}