/*
Theme Name: Askanurag Voltage
Theme URI: https://askanurag.com/
Author: Anurag Sharma (built by Dev / empire-dev)
Author URI: https://askanurag.com/about-me/
Description: The Voltage design system as a standalone WordPress block theme for @askanurag's personal brand. Electric violet + vivid lime + hot pink on deep purple-black. Archivo uppercase display + Inter body. Trinity-locked palette. 100px pill CTAs. Atmospheric glows only, never drop shadows.
Version: 1.10.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary, @askanurag personal brand
License URI: https://askanurag.com/
Text Domain: askanurag-voltage
Tags: full-site-editing, block-styles, custom-colors, custom-logo, custom-menu, featured-images, one-column, three-columns, four-columns, accessibility-ready, blog, portfolio, podcast
*/

/* ============================================================
   VOLTAGE — DESIGN SYSTEM v1.0
   Locked: 2026-04-17
   Canonical reference: /askanurag-landing/path-w.html
   Full spec: /01-Strategy-and-Brand/Brand-Bible/voltage-design-system.md
   ============================================================ */

:root {
  /* Background stack */
  --bg: #0A0014;
  --bg-elev: #14011F;
  --bg-card: #1C0730;
  --bg-hover: #26123D;

  /* Trinity accents */
  --lime: #D9F99D;
  --lime-bright: #BEF264;
  --purple: #A855F7;
  --purple-dark: #7E22CE;
  --purple-light: #C084FC;
  --pink: #EC4899;
  --pink-bright: #F472B6;

  /* Text */
  --text: #FAF5FF;
  --text-dim: rgba(250, 245, 255, 0.75);
  --text-muted: rgba(250, 245, 255, 0.5);
  --text-faint: rgba(250, 245, 255, 0.25);

  /* Borders & glows */
  --border: rgba(168, 85, 247, 0.2);
  --border-strong: rgba(168, 85, 247, 0.4);
  --shadow-lime: 0 0 40px rgba(217, 249, 157, 0.25);
  --shadow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --shadow-pink: 0 0 40px rgba(236, 72, 153, 0.2);

  /* Radius (100px pill is the signature CTA shape) */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 100px;

  /* Layout */
  --container: 1200px;
  --section-v: 120px;

  /* Motion */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   GLOBAL — Body & base typography
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--lime); color: var(--bg); }

a { transition: color var(--transition-fast); }

/* Override Blocksy defaults — site root containers */
#main-container,
.ct-container,
.entry-content,
.content-area,
[data-prefix="single_blog_post"],
[data-prefix="page"] {
  background: var(--bg);
  color: var(--text);
}

/* ============================================================
   TYPOGRAPHY — Display = Archivo UPPERCASE, Body = Inter
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.entry-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1.05;
}

h1 { font-size: clamp(48px, 9vw, 104px); line-height: 0.95; letter-spacing: -3px; }
h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -2px; }
h3 { font-size: clamp(28px, 4vw, 36px); line-height: 1.1; letter-spacing: -1px; }
h4 { font-size: 24px; letter-spacing: -0.5px; }
h5 { font-size: 20px; letter-spacing: -0.3px; }
h6 { font-size: 16px; letter-spacing: 0; }

p, li, blockquote, .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   BUTTONS — 100px pill, no rectangles ever
   ============================================================ */
.wp-block-button__link,
.wp-element-button,
.button,
button[type="submit"],
input[type="submit"],
.wpcf7-submit {
  border-radius: var(--radius-full) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 2px solid transparent !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer;
}

/* Primary lime CTA */
.wp-block-button:not(.is-style-outline):not(.is-style-secondary):not(.is-style-purple) .wp-block-button__link,
.is-style-lime .wp-block-button__link,
button[type="submit"],
.wpcf7-submit {
  background: var(--lime) !important;
  color: var(--bg) !important;
  border-color: var(--lime) !important;
}
.wp-block-button:not(.is-style-outline):not(.is-style-secondary):not(.is-style-purple) .wp-block-button__link:hover,
.is-style-lime .wp-block-button__link:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--lime-bright) !important;
  border-color: var(--lime-bright) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lime);
}

/* Secondary purple */
.is-style-purple .wp-block-button__link,
.is-style-secondary .wp-block-button__link {
  background: var(--purple) !important;
  color: var(--text) !important;
  border-color: var(--purple) !important;
}
.is-style-purple .wp-block-button__link:hover,
.is-style-secondary .wp-block-button__link:hover {
  background: var(--purple-dark) !important;
  border-color: var(--purple-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* Ghost outline */
.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--text) !important;
  border: 2px solid rgba(250, 245, 255, 0.2) !important;
}
.is-style-outline .wp-block-button__link:hover {
  border-color: var(--lime) !important;
  color: var(--lime) !important;
}

/* ============================================================
   CARDS — 2px borders, 16px/24px radius, atmospheric glows
   ============================================================ */
.wp-block-group.is-style-voltage-card,
.is-style-voltage-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-smooth);
}
.wp-block-group.is-style-voltage-card:hover,
.is-style-voltage-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

/* Featured card (flagship) */
.is-style-voltage-featured {
  background: linear-gradient(145deg, var(--purple-dark), var(--bg-card));
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 32px;
  transform: scale(1.04);
  box-shadow: var(--shadow-lime);
}

/* ============================================================
   SECTION TAGS / EYEBROWS — pill, rotated -2°
   ============================================================ */
.voltage-section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--lime);
  color: var(--bg);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transform: rotate(-2deg);
  margin-bottom: 20px;
}

.voltage-section-tag--pink {
  background: var(--pink);
  color: var(--text);
}

.voltage-section-tag--purple {
  background: var(--purple);
  color: var(--text);
}

/* ============================================================
   PULSE DOT — live status indicator
   ============================================================ */
.voltage-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: voltage-pulse 2s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes voltage-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

/* ============================================================
   HERO — animated gradient orbs
   ============================================================ */
.voltage-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 140px 24px 100px;
  /* Trinity gradient mesh — sits beneath the animated orbs (::before/::after).
     Static, low-opacity, no animation — adds depth without competing for
     attention. Lime introduced here completes the trinity in the hero
     without requiring a third animated DOM node. */
  background-image:
    radial-gradient(ellipse 55% 45% at 18% 28%, rgba(217, 249, 157, 0.07), transparent 62%),
    radial-gradient(ellipse 50% 40% at 82% 72%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(ellipse 45% 35% at 50% 95%, rgba(236, 72, 153, 0.06), transparent 60%);
}
.voltage-hero::before,
.voltage-hero::after,
.voltage-hero .voltage-orb-3 {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  animation: voltage-orb 18s ease-in-out infinite alternate;
}
.voltage-hero::before {
  width: 700px; height: 700px;
  background: var(--purple);
  opacity: 0.5;
  top: -20%; right: -15%;
}
.voltage-hero::after {
  width: 500px; height: 500px;
  background: var(--pink);
  opacity: 0.3;
  bottom: -20%; left: -10%;
  animation-delay: -6s;
}
.voltage-hero > * { position: relative; z-index: 2; }
@keyframes voltage-orb {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.1); }
  100% { transform: translate(-30px,20px) scale(0.95); }
}

/* ============================================================
   TRUSTED-BY MARQUEE
   ============================================================ */
.voltage-marquee {
  overflow: hidden;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.voltage-marquee__inner {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.voltage-marquee__track {
  display: flex;
  gap: 56px;
  animation: voltage-scroll 35s linear infinite;
  width: max-content;
}
.voltage-marquee__item {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@keyframes voltage-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   STATS — alternating trinity colors
   ============================================================ */
.voltage-stat {
  text-align: center;
  padding: 12px 16px; /* v1.9.0: tightened proof-not-flex per Change 7 */
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border);
  min-width: 120px;
}
.voltage-stat__num {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 30px; /* v1.9.0: 36 → 30 (~15% size-down) per Change 7 */
  line-height: 1;
  letter-spacing: -1px;
}
.voltage-stat__num--lime   { color: var(--lime); }
.voltage-stat__num--purple { color: var(--purple-light); }
.voltage-stat__num--pink   { color: var(--pink-bright); }
.voltage-stat__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  font-weight: 700;
}

/* ============================================================
   NAVIGATION — Glass header with lime @ logo
   ============================================================ */
header.site-header,
.site-header,
[data-prefix="site_header"] {
  background: rgba(10, 0, 20, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
}

.site-title-name,
.site-logo-container .ct-image-container .site-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  letter-spacing: -1px !important;
  color: var(--text) !important;
  text-transform: none;
}

.site-title-name .voltage-at,
.site-title .voltage-at {
  color: var(--lime);
}

/* Nav links */
.menu-item > a,
.ct-menu-link,
nav.main-navigation a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-dim) !important;
  transition: color var(--transition-fast);
}
.menu-item > a:hover,
.ct-menu-link:hover {
  color: var(--lime) !important;
}

/* ============================================================
   FOOTER — bg-elev background, purple-light column titles
   ============================================================ */
footer.site-footer,
[data-prefix="footer"] {
  background: var(--bg-elev) !important;
  border-top: 1px solid var(--border);
  color: var(--text-dim) !important;
  padding-top: 64px !important;
  padding-bottom: 32px !important;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .widget-title,
.site-footer .ct-widget-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--purple-light) !important;
  margin-bottom: 14px !important;
  letter-spacing: 2px !important;
}

.site-footer a {
  color: var(--text-dim) !important;
  transition: color var(--transition-fast);
}
.site-footer a:hover {
  color: var(--lime) !important;
}

/* ============================================================
   FORMS — Inputs, textareas, contact form 7
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select,
.wpcf7-form-control {
  background: var(--bg-card) !important;
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-full) !important;
  color: var(--text) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  padding: 12px 20px !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
textarea,
textarea.wpcf7-form-control {
  border-radius: var(--radius-md) !important;
}

input:focus, textarea:focus, select:focus, .wpcf7-form-control:focus {
  border-color: var(--lime) !important;
  box-shadow: var(--shadow-lime) !important;
  outline: none !important;
}
::placeholder { color: var(--text-muted); }

/* ============================================================
   PLATFORM PILLS (podcast platforms)
   ============================================================ */
.voltage-platform {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-dim);
  margin-right: 6px;
  text-decoration: none !important;
  transition: all var(--transition-fast);
}
.voltage-platform:hover {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}

/* ============================================================
   PILLAR BADGE (percentage)
   ============================================================ */
.voltage-pct {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  background: var(--pink);
  color: var(--text);
  border-radius: var(--radius-full);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ============================================================
   BLOG POST — single post styling
   ============================================================ */
.entry-content p,
.entry-content li {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  max-width: 720px;
}

.entry-content blockquote {
  border-left: 4px solid var(--lime);
  padding: 24px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  font-style: italic;
  margin: 32px 0;
}

.entry-content a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--lime-bright); }

.entry-content img {
  border-radius: var(--radius-md);
}

/* ============================================================
   FILM GRAIN OVERLAY
   --------------------------------------------------------------
   Static SVG noise layer at 3% opacity over the entire viewport.
   Makes the purple-black palette feel filmic / shot-on-camera
   instead of flat-rendered. No animation, no JS, no perf cost.
   pointer-events:none — never blocks clicks.
   mix-blend-mode:overlay — interacts naturally with the dark bg
   without bleaching light surfaces in cards.
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .voltage-pulse-dot,
  .voltage-hero::before,
  .voltage-hero::after,
  .voltage-marquee__track,
  .wp-block-button__link:hover,
  .is-style-voltage-card:hover {
    animation: none !important;
    transform: none !important;
  }
  * { transition: none !important; }
  html { scroll-behavior: auto !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-v: 80px; }
  h1 { font-size: clamp(40px, 8vw, 64px); letter-spacing: -2px; }
  h2 { font-size: clamp(32px, 6vw, 48px); }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }
  h1 { font-size: 40px; letter-spacing: -1.5px; }
  h2 { font-size: 32px; letter-spacing: -1px; }
  .voltage-hero { padding: 100px 20px 60px; min-height: auto; }
  .voltage-section-tag { font-size: 11px; }
}

/* ——— END VOLTAGE THEME STYLES ——— */
