/*
Theme Name: XperiServ Neon Enterprise
Theme URI: https://www.xperiserv.in/
Author: XperiServ Technologies (Administered by Allientic Lab Technologies)
Author URI: https://www.xperiserv.in/
Description: Official modern Neon Dark Tech enterprise WordPress theme for XperiServ Technologies (xperiserv.in). Engineered for high-speed Core Web Vitals, Oracle Cloud (OCI) & Cloudflare TLS 1.3 deployment, Pro (₹499) & Team (₹999) pricing layouts, and verbatim statutory policy preservation.
Version: 2.7.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary / All Rights Reserved
License URI: https://www.xperiserv.in/terms-and-conditions/
Text Domain: xperiserv-neon
Tags: dark-mode, enterprise, software-engineering, custom-menu, block-theme, full-site-editing, seo-ready
*/

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* XperiServ Neon Dark Tech Color Tokens */
  --xps-bg-obsidian: #040711;
  --xps-bg-surface: #070d19;
  --xps-bg-elevated: #0f172a;
  --xps-text-primary: #f8fafc;
  --xps-text-secondary: #cbd5e1;
  --xps-text-muted: #94a3b8;
  --xps-neon-cyan: #06b6d4;
  --xps-neon-cyan-bright: #22d3ee;
  --xps-neon-blue: #2563eb;
  --xps-neon-emerald: #10b981;
  --xps-border-subtle: rgba(51, 65, 85, 0.75);
  --xps-border-neon: rgba(34, 211, 238, 0.65);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--xps-bg-obsidian);
  color: var(--xps-text-primary);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--xps-bg-obsidian);
  color: var(--xps-text-primary);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #ffffff;
}

code,
pre,
.font-mono,
.tabular-nums {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   XperiServ Neon Grid Background
   ========================================================================== */
.xperiserv-neon-grid {
  background-color: var(--xps-bg-obsidian);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(6, 182, 212, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 84% 24%, rgba(59, 130, 246, 0.11) 0%, transparent 45%),
    linear-gradient(to right, rgba(30, 41, 59, 0.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, 0.32) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* ==========================================================================
   Neon Cards & Surfaces
   ========================================================================== */
.neon-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(7, 13, 25, 0.94) 100%);
  border: 1px solid var(--xps-border-subtle);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px -10px rgba(2, 6, 23, 0.8);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.neon-card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 28px -6px rgba(6, 182, 212, 0.22);
}

.neon-card-featured {
  background: linear-gradient(180deg, rgba(14, 28, 54, 0.95) 0%, rgba(7, 13, 25, 0.98) 100%);
  border: 1px solid var(--xps-border-neon);
  border-radius: 0.75rem;
  box-shadow: 0 0 36px -6px rgba(6, 182, 212, 0.28);
}

/* ==========================================================================
   Neon Primary CTA Button
   ========================================================================== */
.neon-btn-primary,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--xps-neon-cyan) 0%, var(--xps-neon-blue) 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 22px -3px rgba(6, 182, 212, 0.45);
  transition: box-shadow 160ms ease, opacity 160ms ease;
  cursor: pointer;
}

.neon-btn-primary:hover,
.wp-block-button__link:hover {
  box-shadow: 0 0 30px -2px rgba(34, 211, 238, 0.68);
  opacity: 0.96;
}

/* ==========================================================================
   Sticky Header & Legal Reader Containers
   ========================================================================== */
.xps-sticky-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(4, 7, 17, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.xps-policy-reader {
  max-width: 65ch;
  color: var(--xps-text-secondary);
  line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
