/*
Theme Name: SEO Conversion Landing Page
Author: WordPress Telex
Description: A high-converting SEO expert landing page designed for paid ad traffic. Features bold dark aesthetics, trust signals, service highlights, results showcase, and strategically placed CTAs.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: telex-seo-conversion
Tags: block-theme, full-site-editing, landing-page

SEO Conversion Landing Page — Built for conversions.
*/

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

/* Equal cards layout */
.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;
}

/* Stat counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-card {
  animation: countUp 0.6s ease-out both;
}

.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.45s; }

/* Glow accent on buttons */
.wp-block-button.glow-btn .wp-block-button__link {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wp-block-button.glow-btn .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 224, 150, 0.45), 0 0 48px rgba(0, 224, 150, 0.2);
}

/* Service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 224, 150, 0.12);
  border-color: rgba(0, 224, 150, 0.2);
}

/* Testimonial card */
.testimonial-card {
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(0, 224, 150, 0.3);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #00E096 0%, #00B4D8 50%, #7B61FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero pulse ring */
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 224, 150, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 224, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 224, 150, 0); }
}

.pulse-ring {
  animation: pulseRing 2s infinite;
}

/* Noise texture overlay */
.noise-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Process step number */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Scroll reveal */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
  animation: fadeInUp 0.7s ease-out both;
}

/* Form styling */
.conversion-form input,
.conversion-form textarea {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  transition: border-color 0.25s ease;
}
.conversion-form input:focus,
.conversion-form textarea:focus {
  border-color: #00E096 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 224, 150, 0.15) !important;
}

/* Divider glow */
.glow-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00E096 50%, transparent 100%);
  border: none;
  opacity: 0.5;
}

/* Logo bar grayscale */
.logo-bar img {
  filter: grayscale(1) brightness(1.8);
  opacity: 0.5;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-bar img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}