/*
Theme Name: Ghostwall
Theme URI: https://ghostwall.app
Author: Ghostwall Team
Author URI: https://ghostwall.app
Description: Official WordPress theme for Ghostwall — the privacy-first Android app featuring DNS Shield, Tor routing, per-app firewall, GPS spoofing, and app scanning. Fully customizable with 15 color schemes, multiple font options, and conversion-optimized layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ghostwall
Tags: privacy, security, vpn, android, app-landing, dark, customizer, full-site-editing, responsive, seo-friendly
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — Fortress Edition
   ============================================================ */
:root {
  /* Shield / primary */
  --gw-primary:       #39ff14;
  --gw-primary-dark:  #1fcc00;
  --gw-primary-glow:  rgba(57,255,20,0.25);
  /* Enemy / threat */
  --gw-danger:        #ff3d5a;
  --gw-danger-glow:   rgba(255,61,90,0.25);
  /* Background & surfaces */
  --gw-bg:            #080d14;
  --gw-bg-alt:        #0e1520;
  --gw-surface:       #14202e;
  --gw-surface-2:     #1a2a3e;
  /* Text */
  --gw-text:          #e8f0ff;
  --gw-text-muted:    #6b809a;
  /* Accent / electric blue */
  --gw-accent:        #00b4ff;
  --gw-accent-glow:   rgba(0,180,255,0.2);
  /* Gold for achievements */
  --gw-gold:          #ffc93c;
  /* Borders */
  --gw-border:        rgba(57,255,20,0.12);
  --gw-border-dim:    rgba(255,255,255,0.06);
  /* Shape */
  --gw-radius:        12px;
  --gw-radius-sm:     8px;
  --gw-radius-lg:     20px;
  /* Shadow */
  --gw-shadow:        0 4px 32px rgba(0,0,0,0.6);
  --gw-shadow-green:  0 0 32px rgba(57,255,20,0.2);
  /* Typography */
  --gw-font-body:     'Inter', system-ui, sans-serif;
  --gw-font-heading:  'Inter', system-ui, sans-serif;
  --gw-font-mono:     'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --gw-max-width:     1200px;
  --gw-transition:    0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--gw-font-body);
  background-color: var(--gw-bg);
  color: var(--gw-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gw-primary); text-decoration: none; transition: color var(--gw-transition); }
a:hover { color: var(--gw-primary-dark); }
a:focus-visible { outline: 2px solid var(--gw-primary); outline-offset: 3px; border-radius: 3px; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--gw-font-heading);
  line-height: 1.2;
  color: var(--gw-text);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { margin-bottom: 1rem; color: var(--gw-text-muted); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; color: var(--gw-text-muted); }

code, pre {
  font-family: var(--gw-font-mono);
  font-size: 0.9em;
}
pre {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 1.25rem;
  overflow-x: auto;
}
code { background: var(--gw-surface); padding: 0.15em 0.45em; border-radius: 4px; }

blockquote {
  border-left: 4px solid var(--gw-primary);
  padding: 1rem 1.5rem;
  background: var(--gw-surface);
  border-radius: 0 var(--gw-radius-sm) var(--gw-radius-sm) 0;
  font-style: italic;
  color: var(--gw-text-muted);
  margin: 1.5rem 0;
}

hr { border: none; border-top: 1px solid var(--gw-border); margin: 2rem 0; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.gw-container {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.gw-section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.gw-section--alt { background: var(--gw-bg-alt); }
.gw-section--surface { background: var(--gw-surface); }

.gw-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 2rem; }
.gw-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.gw-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; }
.gw-flex   { display: flex; gap: 1rem; }
.gw-flex--center { align-items: center; justify-content: center; }
.gw-flex--between { align-items: center; justify-content: space-between; }
.gw-flex--wrap { flex-wrap: wrap; }
.gw-text-center { text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.gw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--gw-font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--gw-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--gw-transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.gw-btn--primary {
  background: var(--gw-primary);
  color: #050a08;
  border-color: var(--gw-primary);
  text-shadow: none;
  font-weight: 700;
}
.gw-btn--primary:hover {
  background: var(--gw-primary-dark);
  border-color: var(--gw-primary-dark);
  color: #050a08;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gw-primary-glow), 0 0 0 1px rgba(57,255,20,0.2);
}
.gw-btn--outline {
  background: transparent;
  color: var(--gw-primary);
  border-color: var(--gw-primary);
}
.gw-btn--outline:hover {
  background: var(--gw-primary);
  color: #1E293B;
  transform: translateY(-2px);
}
.gw-btn--ghost {
  background: transparent;
  color: var(--gw-text);
  border-color: var(--gw-border);
}
.gw-btn--ghost:hover {
  border-color: var(--gw-primary);
  color: var(--gw-primary);
}
.gw-btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.gw-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.gw-btn--full { width: 100%; justify-content: center; }

.gw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(206,231,171,0.12);
  color: var(--gw-primary);
  border: 1px solid rgba(206,231,171,0.25);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.gw-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30,41,59,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gw-border);
  transition: background var(--gw-transition), box-shadow var(--gw-transition);
}
.gw-header--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.gw-header__inner {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding: 1rem clamp(1rem,4vw,2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.gw-header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gw-text);
  text-decoration: none;
}
.gw-header__logo img { height: 36px; width: auto; }
.gw-header__logo-text span { color: var(--gw-primary); }

.gw-nav { display: flex; align-items: center; gap: 0.25rem; }
.gw-nav a {
  color: var(--gw-text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--gw-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--gw-transition);
  text-decoration: none;
}
.gw-nav a:hover,
.gw-nav a.current-menu-item { color: var(--gw-text); background: var(--gw-surface); }

.gw-header__cta { display: flex; align-items: center; gap: 0.75rem; }

/* Mobile toggle */
.gw-menu-toggle {
  display: none;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gw-text);
  line-height: 1;
}

@media (max-width: 768px) {
  .gw-nav, .gw-header__cta { display: none; }
  .gw-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .gw-mobile-menu-open .gw-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gw-bg-alt);
    border-bottom: 1px solid var(--gw-border);
    padding: 1rem;
    gap: 0.25rem;
  }
  .gw-mobile-menu-open .gw-header__cta {
    display: flex;
    position: absolute;
    top: calc(100% + 5rem);
    left: 0;
    right: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--gw-bg-alt);
    border-bottom: 1px solid var(--gw-border);
    flex-direction: column;
  }
  .gw-header { position: relative; }
}

/* ============================================================
   MONO UTILITY
   ============================================================ */
.gw-mono {
  font-family: var(--gw-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gw-primary);
  text-transform: uppercase;
}

/* ============================================================
   STATUS DOT (pulsing green LED)
   ============================================================ */
.gw-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gw-primary);
  box-shadow: 0 0 6px var(--gw-primary), 0 0 12px var(--gw-primary);
  animation: gw-status-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes gw-status-pulse {
  0%,100% { box-shadow: 0 0 6px var(--gw-primary), 0 0 12px var(--gw-primary); }
  50%      { box-shadow: 0 0 10px var(--gw-primary), 0 0 24px var(--gw-primary), 0 0 40px var(--gw-primary-glow); }
}

/* ============================================================
   HERO SECTION — FORTRESS
   ============================================================ */
.gw-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 8rem);
  background: var(--gw-bg);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(57,255,20,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(0,180,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255,61,90,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Fortress background art */
.gw-fortress-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.gw-fortress-wall {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: repeating-linear-gradient(
    90deg,
    var(--gw-surface-2) 0px, var(--gw-surface-2) 60px,
    transparent 60px, transparent 68px
  ),
  linear-gradient(to top, var(--gw-surface-2) 0%, transparent 100%);
  opacity: 0.4;
}
.gw-fortress-tower {
  position: absolute;
  bottom: 0;
  width: 90px;
  height: 200px;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  opacity: 0.35;
}
.gw-fortress-tower--left  { left: 8%; }
.gw-fortress-tower--right { right: 8%; }
.gw-fortress-tower::before {
  content: '';
  position: absolute;
  top: -30px; left: -15px; right: -15px;
  height: 30px;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-bottom: none;
}
/* Merlons (battlements) */
.gw-fortress-tower::after {
  content: '';
  position: absolute;
  top: -50px; left: 0; right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--gw-surface) 0, var(--gw-surface) 16px,
    transparent 16px, transparent 26px
  );
}

.gw-shield-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,255,20,0.04) 0%, transparent 70%);
  animation: gw-shield-breathe 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gw-shield-breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: 0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

/* Attackers */
.gw-attackers { position: absolute; inset: 0; pointer-events: none; }
.gw-attacker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation-timing-function: cubic-bezier(0.36, 0.07, 0.19, 0.97);
  animation-iteration-count: infinite;
  filter: drop-shadow(0 0 6px var(--gw-danger-glow));
}
.gw-attacker span:first-child { font-size: 1.75rem; }
.gw-attacker__label {
  font-family: var(--gw-font-mono);
  font-size: 0.6rem;
  color: var(--gw-danger);
  background: rgba(255,61,90,0.12);
  border: 1px solid rgba(255,61,90,0.3);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}
/* Each attacker flies in from a different direction */
.gw-attacker--1 { top: 20%; left: 5%;  animation: gw-attack-left  5s 0s    infinite; }
.gw-attacker--2 { top: 65%; left: 3%;  animation: gw-attack-left  6s 1.2s  infinite; }
.gw-attacker--3 { top: 40%; right: 5%; animation: gw-attack-right 5.5s 0.4s infinite; }
.gw-attacker--4 { top: 15%; right: 8%; animation: gw-attack-right 7s 2.1s  infinite; }
.gw-attacker--5 { top: 75%; right: 4%; animation: gw-attack-right 6.5s 0.9s infinite; }
.gw-attacker--6 { top: 10%; left: 12%; animation: gw-attack-left  8s 3s    infinite; }

@keyframes gw-attack-left {
  0%   { transform: translateX(0)    scale(1)    rotate(0deg);   opacity: 0; }
  15%  { opacity: 1; }
  45%  { transform: translateX(140px) scale(1.15) rotate(8deg);  opacity: 1; }
  55%  { transform: translateX(110px) scale(0.9)  rotate(-10deg); opacity: 1; }
  75%  { transform: translateX(60px)  scale(1)   rotate(5deg);   opacity: 0.7; }
  100% { transform: translateX(0)    scale(1)    rotate(0deg);   opacity: 0; }
}
@keyframes gw-attack-right {
  0%   { transform: translateX(0)     scale(1)    rotate(0deg);   opacity: 0; }
  15%  { opacity: 1; }
  45%  { transform: translateX(-140px) scale(1.15) rotate(-8deg); opacity: 1; }
  55%  { transform: translateX(-110px) scale(0.9)  rotate(10deg); opacity: 1; }
  75%  { transform: translateX(-60px)  scale(1)   rotate(-5deg);  opacity: 0.7; }
  100% { transform: translateX(0)     scale(1)    rotate(0deg);   opacity: 0; }
}
@media (max-width: 768px) { .gw-attackers { display: none; } }
/* Hero layout */
.gw-hero__inner {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .gw-hero__inner { grid-template-columns: 1fr; }
  .gw-hero__visual { order: -1; display: flex; justify-content: center; }
}

/* Fortress status bar */
.gw-fortress-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(57,255,20,0.07);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.gw-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.gw-hero__title strong {
  color: var(--gw-primary);
  text-shadow: 0 0 30px var(--gw-primary-glow);
  display: block;
}
.gw-hero__desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 52ch;
  color: var(--gw-text-muted);
  line-height: 1.75;
}
.gw-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.gw-hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gw-border);
}
.gw-stat { display: flex; flex-direction: column; }
.gw-stat__value {
  display: inline;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gw-primary);
  line-height: 1;
  text-shadow: 0 0 20px var(--gw-primary-glow);
}
.gw-stat__value--suffix { font-size: 1.3rem; }
.gw-stat__label { font-size: 0.75rem; color: var(--gw-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* Hero visual — shield rings + phone */
.gw-hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.gw-shield-visual { position: relative; width: min(340px, 90%); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gw-shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gw-primary);
  animation: gw-ring-expand 3s ease-in-out infinite;
}
.gw-shield-ring--1 { animation-delay: 0s;    opacity: 0.25; }
.gw-shield-ring--2 { animation-delay: 1s;    opacity: 0.15; transform: scale(1.15); }
.gw-shield-ring--3 { animation-delay: 2s;    opacity: 0.08; transform: scale(1.3); }
@keyframes gw-ring-expand {
  0%,100% { box-shadow: 0 0 0 0 var(--gw-primary-glow); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

.gw-phone-mockup {
  width: min(220px, 70%);
  aspect-ratio: 9/19;
  background: var(--gw-surface);
  border-radius: 32px;
  border: 2px solid var(--gw-border);
  box-shadow: var(--gw-shadow), var(--gw-shadow-green);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.gw-phone-mockup img { width: 100%; height: 100%; object-fit: cover; }
.gw-phone-mockup::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--gw-bg);
  border-radius: 0 0 14px 14px;
}

/* ============================================================
   LIVE THREAT FEED
   ============================================================ */
.gw-threat-bar {
  background: var(--gw-bg-alt);
  border-top: 1px solid rgba(255,61,90,0.2);
  border-bottom: 1px solid rgba(255,61,90,0.2);
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.gw-threat-bar__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  border-right: 1px solid rgba(255,61,90,0.2);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--gw-font-mono);
  font-size: 0.72rem;
  color: var(--gw-danger);
  letter-spacing: 0.08em;
}
.gw-threat-bar__label .gw-status-dot {
  background: var(--gw-danger);
  box-shadow: 0 0 6px var(--gw-danger), 0 0 12px var(--gw-danger);
}
@keyframes gw-threat-status-pulse {
  0%,100% { box-shadow: 0 0 6px var(--gw-danger), 0 0 12px var(--gw-danger); }
  50%      { box-shadow: 0 0 10px var(--gw-danger), 0 0 24px var(--gw-danger-glow); }
}
.gw-threat-bar__track-wrap { flex: 1; overflow: hidden; min-width: 0; }
.gw-threat-bar__track {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--gw-font-mono);
  font-size: 0.78rem;
  color: var(--gw-danger);
  padding-left: 1.5rem;
  animation: gw-threat-scroll 28s linear infinite;
}
@keyframes gw-threat-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gw-threat-bar:hover .gw-threat-bar__track { animation-play-state: paused; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.gw-section-header { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gw-section-header .gw-badge { margin-bottom: 0.85rem; }
.gw-section-header h2 { margin-bottom: 0.75rem; }
.gw-section-header p { max-width: 56ch; margin-inline: auto; }

/* ============================================================
   BADGE VARIANTS
   ============================================================ */
.gw-badge--danger {
  background: rgba(255,61,90,0.1);
  color: var(--gw-danger);
  border-color: rgba(255,61,90,0.25);
}
.gw-badge--pro {
  background: rgba(0,180,255,0.1);
  color: var(--gw-accent);
  border-color: rgba(0,180,255,0.25);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
}

/* ============================================================
   VILLAIN CARDS
   ============================================================ */
.gw-villains { position: relative; }
.gw-villain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}
.gw-villain-card {
  background: var(--gw-surface);
  border: 1px solid rgba(255,61,90,0.15);
  border-radius: var(--gw-radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: all var(--gw-transition);
  position: relative;
  overflow: hidden;
}
.gw-villain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gw-danger);
  opacity: 0.5;
  transition: opacity var(--gw-transition);
}
.gw-villain-card:hover {
  border-color: rgba(255,61,90,0.35);
  transform: translateX(4px);
  box-shadow: 0 0 24px rgba(255,61,90,0.08), inset 0 0 0 1px rgba(255,61,90,0.08);
}
.gw-villain-card:hover::before { opacity: 1; }
.gw-villain-card__icon { font-size: 2rem; text-align: center; filter: grayscale(0.3); }
.gw-villain-card__body { min-width: 0; }
.gw-villain-card__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gw-text);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gw-villain-card__desc { font-size: 0.82rem; color: var(--gw-text-muted); line-height: 1.55; margin: 0; }
.gw-villain-card__status {
  font-family: var(--gw-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gw-primary);
  background: rgba(57,255,20,0.08);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: var(--gw-radius-sm);
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--gw-primary-glow);
}
@media (max-width: 480px) {
  .gw-villain-card { grid-template-columns: 44px 1fr; }
  .gw-villain-card__status { display: none; }
}

/* ============================================================
   DEFENSE (FEATURE) CARDS
   ============================================================ */
.gw-defense-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.gw-defense-card {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.gw-defense-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gw-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gw-defense-card:hover {
  border-color: rgba(57,255,20,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(57,255,20,0.08);
}
.gw-defense-card:hover::after { opacity: 1; }
.gw-defense-card--pro::after { background: linear-gradient(90deg, transparent, var(--gw-accent), transparent); }
.gw-defense-card--pro:hover { border-color: rgba(0,180,255,0.3); }
.gw-defense-card__icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: var(--gw-radius);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.gw-defense-card:hover .gw-defense-card__icon {
  background: rgba(57,255,20,0.12);
  border-color: rgba(57,255,20,0.3);
  box-shadow: 0 0 16px var(--gw-primary-glow);
}
.gw-defense-card--pro .gw-defense-card__icon { background: rgba(0,180,255,0.06); border-color: rgba(0,180,255,0.15); }
.gw-defense-card--pro:hover .gw-defense-card__icon { background: rgba(0,180,255,0.12); box-shadow: 0 0 16px var(--gw-accent-glow); }
.gw-defense-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gw-text);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.gw-defense-card__desc { font-size: 0.875rem; color: var(--gw-text-muted); line-height: 1.65; margin: 0; }

/* ============================================================
   BATTLE STATS
   ============================================================ */
.gw-battle-stats {
  background: var(--gw-bg);
  border-top: 1px solid var(--gw-border);
  border-bottom: 1px solid var(--gw-border);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.gw-battle-stats::before {
  content: 'STATS';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(57,255,20,0.02);
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
}
.gw-battle-stats__grid {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2.5rem;
}
.gw-battle-stat {}
.gw-battle-stat__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gw-primary);
  text-shadow: 0 0 24px var(--gw-primary-glow);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: var(--gw-font-mono);
}
.gw-battle-stat__label {
  font-size: 0.8rem;
  color: var(--gw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.gw-battle-stat__bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.gw-battle-stat__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gw-primary-dark), var(--gw-primary));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gw-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gw-battle-stat__fill--gold { background: linear-gradient(90deg, #e6a800, var(--gw-gold)); box-shadow: 0 0 8px rgba(255,201,60,0.4); }
.gw-battle-stats.in-view .gw-battle-stat__fill { transform: scaleX(1); }

/* ============================================================
   SCREENSHOTS / APP PREVIEW SECTION
   ============================================================ */
.gw-screenshots {
  overflow: hidden;
}
.gw-screenshots-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gw-primary) var(--gw-surface);
}
.gw-screenshots-scroll::-webkit-scrollbar { height: 4px; }
.gw-screenshots-scroll::-webkit-scrollbar-track { background: var(--gw-surface); border-radius: 2px; }
.gw-screenshots-scroll::-webkit-scrollbar-thumb { background: var(--gw-primary); border-radius: 2px; }
.gw-screenshot-frame {
  flex: 0 0 auto;
  width: min(220px, 55vw);
  aspect-ratio: 9/19;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--gw-border);
  scroll-snap-align: start;
  box-shadow: var(--gw-shadow);
}
.gw-screenshot-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   HOW IT WORKS — FORTRESS CONSTRUCTION
   ============================================================ */
.gw-steps { display: flex; flex-direction: column; gap: 0; }
.gw-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}
.gw-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 64px; left: 31px;
  width: 2px;
  height: calc(100% - 64px);
  background: linear-gradient(to bottom, var(--gw-primary) 0%, rgba(57,255,20,0.1) 100%);
}
.gw-step__num {
  width: 64px; height: 64px;
  background: var(--gw-surface);
  border: 2px solid rgba(57,255,20,0.3);
  border-radius: var(--gw-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--gw-transition);
  box-shadow: 0 0 0 0 var(--gw-primary-glow);
}
.gw-step:hover .gw-step__num {
  border-color: var(--gw-primary);
  box-shadow: 0 0 20px var(--gw-primary-glow);
  background: rgba(57,255,20,0.06);
}
.gw-step__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--gw-text); }
.gw-step__desc { font-size: 0.875rem; color: var(--gw-text-muted); margin: 0; line-height: 1.7; }

/* ============================================================
   PRICING — CHOOSE YOUR ARSENAL
   ============================================================ */
.gw-pricing-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }

.gw-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  align-items: start;
}
.gw-pricing-card {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 2rem;
  position: relative;
}
.gw-pricing-card--featured {
  border-color: var(--gw-primary);
  box-shadow: 0 0 0 1px var(--gw-primary), 0 16px 40px rgba(206,231,171,0.1);
}
.gw-pricing-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
}
.gw-pricing-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.gw-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}
.gw-pricing-card__amount { font-size: 2.5rem; font-weight: 800; color: var(--gw-primary); }
.gw-pricing-card__period { color: var(--gw-text-muted); font-size: 0.9rem; }
.gw-pricing-card__desc { font-size: 0.9rem; color: var(--gw-text-muted); margin-bottom: 1.5rem; }
.gw-pricing-card__features { list-style: none; padding: 0; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.gw-pricing-card__features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--gw-text-muted);
}
.gw-pricing-card__features li::before {
  content: '✓';
  color: var(--gw-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.gw-pricing-card__features li.disabled { opacity: 0.4; }
.gw-pricing-card__features li.disabled::before { content: '✕'; color: var(--gw-text-muted); }

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.gw-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.gw-testimonial-card {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 1.75rem;
}
.gw-testimonial-card__stars { color: #f59e0b; letter-spacing: 0.1em; margin-bottom: 0.75rem; font-size: 1.1rem; }
.gw-testimonial-card__body { font-style: italic; color: var(--gw-text); margin-bottom: 1rem; font-size: 0.95rem; }
.gw-testimonial-card__author { display: flex; align-items: center; gap: 0.65rem; }
.gw-testimonial-card__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gw-bg-alt); flex-shrink: 0; overflow: hidden; }
.gw-testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.gw-testimonial-card__name { font-size: 0.875rem; font-weight: 700; color: var(--gw-text); }
.gw-testimonial-card__source { font-size: 0.75rem; color: var(--gw-text-muted); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.gw-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.gw-faq-item {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius);
  overflow: hidden;
}
.gw-faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--gw-font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--gw-text);
  cursor: pointer;
  text-align: left;
  transition: background var(--gw-transition);
}
.gw-faq-item__question:hover { background: rgba(255,255,255,0.03); }
.gw-faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gw-primary);
}
.gw-faq-item.is-open .gw-faq-item__chevron { transform: rotate(180deg); }
.gw-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.gw-faq-item.is-open .gw-faq-item__answer { max-height: 600px; }
.gw-faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--gw-text-muted);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA — FORTRESS SECTION
   ============================================================ */
.gw-final-cta { position: relative; }
.gw-cta-section {
  background: linear-gradient(135deg, var(--gw-surface-2) 0%, var(--gw-bg-alt) 100%);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem,5vw,4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gw-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gw-primary), transparent);
  box-shadow: 0 0 20px var(--gw-primary);
}
.gw-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(57,255,20,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.gw-cta-section__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 900;
  color: rgba(57,255,20,0.03);
  letter-spacing: 0.15em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.gw-cta-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; filter: drop-shadow(0 0 20px var(--gw-primary-glow)); }
.gw-cta-section h2 { margin-bottom: 0.75rem; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.gw-cta-section p { max-width: 52ch; margin-inline: auto; font-size: 1.05rem; }
.gw-cta-section .gw-flex { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.gw-footer {
  background: var(--gw-bg-alt);
  border-top: 1px solid var(--gw-border);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.gw-footer__grid {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) {
  .gw-footer__grid { grid-template-columns: 1fr 1fr; }
  .gw-footer__brand { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .gw-footer__grid { grid-template-columns: 1fr; }
}
.gw-footer__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.2rem; font-weight: 800; color: var(--gw-text); text-decoration: none;
  margin-bottom: 0.85rem;
}
.gw-footer__logo img { height: 30px; }
.gw-footer__logo span { color: var(--gw-primary); }
.gw-footer__tagline { font-size: 0.875rem; color: var(--gw-text-muted); margin-bottom: 1.25rem; max-width: 32ch; }
.gw-footer__social { display: flex; gap: 0.75rem; }
.gw-footer__social a {
  width: 36px; height: 36px;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gw-text-muted);
  transition: all var(--gw-transition);
  font-size: 1rem;
}
.gw-footer__social a:hover { color: var(--gw-primary); border-color: var(--gw-primary); background: rgba(206,231,171,0.08); }
.gw-footer__col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gw-text); margin-bottom: 1rem; }
.gw-footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.gw-footer__links a { font-size: 0.9rem; color: var(--gw-text-muted); transition: color var(--gw-transition); }
.gw-footer__links a:hover { color: var(--gw-primary); }
.gw-footer__bottom {
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--gw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.gw-footer__copy { font-size: 0.825rem; color: var(--gw-text-muted); }
.gw-footer__legal { display: flex; gap: 1.25rem; }
.gw-footer__legal a { font-size: 0.825rem; color: var(--gw-text-muted); transition: color var(--gw-transition); }
.gw-footer__legal a:hover { color: var(--gw-primary); }

/* ============================================================
   BREADCRUMBS / PAGINATION / ARCHIVE META
   ============================================================ */
.gw-breadcrumbs {
  font-size: 0.825rem;
  color: var(--gw-text-muted);
  margin-bottom: 1.5rem;
}
.gw-breadcrumbs a { color: var(--gw-text-muted); }
.gw-breadcrumbs a:hover { color: var(--gw-primary); }
.gw-breadcrumbs span { color: var(--gw-text); }

.gw-archive-description { color: var(--gw-text-muted); max-width: 56ch; margin-inline: auto; margin-top: 0.5rem; }

.gw-pagination { margin-top: 2.5rem; }
.gw-pagination ul { list-style: none; padding: 0; margin: 0; gap: 0.5rem; }
.gw-pagination .page-numbers,
.gw-pagination a,
.gw-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  border-radius: var(--gw-radius-sm);
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  color: var(--gw-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--gw-transition);
}
.gw-pagination a:hover { border-color: var(--gw-primary); color: var(--gw-primary); }
.gw-pagination .current { background: var(--gw-primary); border-color: var(--gw-primary); color: #1E293B; }
.gw-pagination .dots { background: transparent; border-color: transparent; }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.gw-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
}
.gw-post-card {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  overflow: hidden;
  transition: all var(--gw-transition);
  display: flex; flex-direction: column;
}
.gw-post-card:hover {
  border-color: var(--gw-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.gw-post-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.gw-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gw-post-card:hover .gw-post-card__thumb img { transform: scale(1.04); }
.gw-post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.gw-post-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; color: var(--gw-text-muted); }
.gw-post-card__cat { color: var(--gw-primary); font-weight: 600; }
.gw-post-card__title { font-size: 1.05rem; font-weight: 700; color: var(--gw-text); line-height: 1.35; }
.gw-post-card__title a { color: inherit; }
.gw-post-card__title a:hover { color: var(--gw-primary); }
.gw-post-card__excerpt { font-size: 0.875rem; color: var(--gw-text-muted); flex: 1; margin: 0; }
.gw-post-card__read-more { font-size: 0.875rem; font-weight: 600; color: var(--gw-primary); margin-top: auto; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.gw-single-layout {
  display: grid;
  grid-template-columns: minmax(0,2.5fr) minmax(0, 340px);
  gap: 3rem;
  max-width: var(--gw-max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
  padding-block: clamp(2rem,5vw,4rem);
}
@media (max-width: 1024px) {
  .gw-single-layout { grid-template-columns: 1fr; }
}
.gw-post-header { margin-bottom: 2rem; }
.gw-post-header__cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.gw-post-header__title { margin-bottom: 1rem; }
.gw-post-header__meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; font-size: 0.875rem; color: var(--gw-text-muted); }
.gw-post-featured-img { border-radius: var(--gw-radius-lg); overflow: hidden; margin-bottom: 2rem; }
.gw-post-featured-img img { width: 100%; }
.gw-post-content { font-size: 1.025rem; line-height: 1.85; }
.gw-post-content h2 { margin: 2.5rem 0 1rem; }
.gw-post-content h3 { margin: 2rem 0 0.75rem; }
.gw-post-content p { color: var(--gw-text); }
.gw-post-content a { color: var(--gw-primary); text-decoration: underline; text-underline-offset: 3px; }
.gw-post-content ul, .gw-post-content ol { margin-bottom: 1.25rem; }
.gw-post-content li { color: var(--gw-text); }
.gw-post-content img { border-radius: var(--gw-radius); margin-block: 1.5rem; }

/* sidebar */
.gw-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.gw-sidebar-widget {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 1.5rem;
}
.gw-sidebar-widget__title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--gw-text); }

/* ============================================================
   COMMENTS
   ============================================================ */
.gw-comments { margin-top: 1rem; }
.gw-comments__title { margin-bottom: 1.5rem; }
.gw-comments__closed { color: var(--gw-text-muted); margin-bottom: 1.5rem; }

.gw-comment-list,
.gw-comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gw-comment-list .children { padding-left: clamp(1rem, 4vw, 2.5rem); }
.gw-comment-list > li + li,
.gw-comment-list .children > li { margin-top: 1.5rem; }

.comment-body {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 1.25rem 1.5rem;
}
.comment-author { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-style: normal; font-weight: 700; color: var(--gw-text); font-size: 0.95rem; }
.comment-metadata { font-size: 0.8rem; }
.comment-metadata a { color: var(--gw-text-muted); }
.comment-content p { color: var(--gw-text); margin-bottom: 0.75rem; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 0.65rem; }
.comment-reply-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gw-primary);
}
.bypostauthor > .comment-body { border-color: var(--gw-primary); }
.pingback, .trackback { color: var(--gw-text-muted); padding: 0.75rem 0; }

#respond, .comment-respond {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}
.comment-reply-title { margin-bottom: 1.25rem; }
.comment-notes, .logged-in-as { color: var(--gw-text-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--gw-text); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--gw-bg);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0.65rem 0.9rem;
  color: var(--gw-text);
  font-family: var(--gw-font-body);
  font-size: 0.95rem;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--gw-primary); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; }
.comment-form-cookies-consent label { margin-bottom: 0; }
.form-submit { margin-bottom: 0 !important; }

/* ============================================================
   DOWNLOAD APP SECTION
   ============================================================ */
.gw-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius);
  padding: 0.65rem 1.25rem;
  transition: all var(--gw-transition);
}
.gw-store-badge:hover {
  border-color: var(--gw-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: var(--gw-text);
}
.gw-store-badge__icon { font-size: 1.75rem; }
.gw-store-badge__text { line-height: 1.2; }
.gw-store-badge__sub { font-size: 0.7rem; color: var(--gw-text-muted); display: block; }
.gw-store-badge__name { font-size: 0.95rem; font-weight: 700; color: var(--gw-text); display: block; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.gw-comparison-wrap { overflow-x: auto; }
.gw-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.gw-comparison-table th,
.gw-comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gw-border);
}
.gw-comparison-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gw-text-muted); }
.gw-comparison-table td:first-child { text-align: left; color: var(--gw-text); }
.gw-comparison-table th:first-child { text-align: left; }
.gw-comparison-table thead th.gw-col--ghost { color: var(--gw-primary); font-size: 0.95rem; }
.gw-comparison-table .gw-check { color: var(--gw-primary); font-size: 1.1rem; }
.gw-comparison-table .gw-cross { color: var(--gw-text-muted); font-size: 1.1rem; }
.gw-comparison-table tbody tr:hover td { background: var(--gw-surface); }

/* ============================================================
   WORDPRESS STANDARD CLASSES
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--gw-text-muted); text-align: center; margin-top: 0.35rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignnone { display: block; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 0 0 1rem; } }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto; width: auto;
  background: var(--gw-bg);
  border: 2px solid var(--gw-primary);
  border-radius: var(--gw-radius-sm);
  color: var(--gw-primary);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 999;
}

/* ============================================================
   UTILITY
   ============================================================ */
.gw-mt-sm { margin-top: 0.75rem; }
.gw-mt-md { margin-top: 1.5rem; }
.gw-mt-lg { margin-top: 2.5rem; }
.gw-mb-sm { margin-bottom: 0.75rem; }
.gw-mb-md { margin-bottom: 1.5rem; }
.gw-mb-lg { margin-bottom: 2.5rem; }
.gw-hidden { display: none !important; }
.gw-sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes gw-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gw-fade-up { animation: gw-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }
.gw-fade-up--delay-1 { animation-delay: 0.12s; }
.gw-fade-up--delay-2 { animation-delay: 0.24s; }
.gw-fade-up--delay-3 { animation-delay: 0.36s; }
.gw-fade-up--delay-4 { animation-delay: 0.48s; }

/* Counter number animation */
@keyframes gw-count-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glow pulse on primary elements */
@keyframes gw-glow-pulse {
  0%,100% { box-shadow: 0 0 12px var(--gw-primary-glow); }
  50%      { box-shadow: 0 0 28px var(--gw-primary-glow), 0 0 48px rgba(57,255,20,0.1); }
}

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

/* ============================================================
   SCROLLBAR (WebKit)
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gw-bg); }
::-webkit-scrollbar-thumb { background: var(--gw-surface); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gw-primary); }
