/*
Theme Name: ACCILIZE
Author: WordPress Telex
Description: A bold digital growth agency theme with dark terminal aesthetics, chartreuse accents, and analytics-inspired visuals. Signal & Surge design direction.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: accilize
Tags: block-theme, full-site-editing, dark, agency, modern

ACCILIZE — We Build What Grows.
*/

/* Equal card layouts */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* Sticky header */
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Terminal cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.terminal-cursor::after {
  content: "_";
  animation: blink 1s step-end infinite;
  color: #C8FF00;
}

/* Accent underline on hover for nav */
.nav-accent-hover a:hover {
  color: #C8FF00 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Data panel styling */
.data-panel {
  border: 1px solid #C8FF00;
  position: relative;
}
.data-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(200, 255, 0, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

/* Metric bar */
.metric-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  margin-top: 0.5rem;
}
.metric-bar-fill {
  height: 100%;
  background-color: #C8FF00;
  display: block;
}

/* Crosshair decorations */
.crosshair-tl {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-left: 1px solid #C8FF00;
  border-top: 1px solid #C8FF00;
  pointer-events: none;
}
.crosshair-br {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #C8FF00;
  border-bottom: 1px solid #C8FF00;
  pointer-events: none;
}

/* Scanline overlay */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.scanline-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(200, 255, 0, 0.08);
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Glow text */
.glow-text {
  text-shadow: 0 0 20px rgba(200, 255, 0, 0.3), 0 0 40px rgba(200, 255, 0, 0.1);
}

/* Card hover lift */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200, 255, 0, 0.08);
}

/* Section divider line */
.section-divider-accent {
  border-top: 1px solid #C8FF00 !important;
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Button pulse on hover */
.btn-pulse:hover {
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.4), 0 0 40px rgba(200, 255, 0, 0.1);
}

/* Grid pattern background */
.grid-bg {
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Form styling */
.accilize-form input,
.accilize-form textarea,
.accilize-form select {
  background: #1A1A1C;
  border: 1px solid rgba(200, 255, 0, 0.2);
  color: #FFFFFF;
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  width: 100%;
  transition: border-color 0.2s ease;
}
.accilize-form input:focus,
.accilize-form textarea:focus,
.accilize-form select:focus {
  outline: none;
  border-color: #C8FF00;
}
.accilize-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  display: block;
}

/* Link accent color on new tab icon */
a[target="_blank"]::after {
  content: none;
}