/*
Theme Name: WordPrais Engineering — Автономные AI-системы
Theme URI: https://wordprais.ru/
Author: Андрей Русских
Author URI: https://wordprais.ru/
Description: Русский инженерный минимализм. Архитектура автономных AI-агентов, кастомных MCP-серверов и систем браузерной автоматизации бизнеса под ключ.
Version: 2.1.0
Text Domain: wordprais-eng
*/

:root {
  --wp-bg: #0B0E14;
  --wp-panel: #141923;
  --wp-panel-hover: #1A2230;
  --wp-panel-accent: #111622;
  --wp-border: #222938;
  --wp-border-focus: #2563EB;
  --wp-text-main: #F8FAFC;
  --wp-text-muted: #94A3B8;
  --wp-text-dim: #64748B;
  --wp-blue: #2563EB;
  --wp-blue-hover: #1D4ED8;
  --wp-blue-glow: rgba(37, 99, 235, 0.25);
  --wp-emerald: #10B981;
  --wp-purple: #A855F7;
  --wp-amber: #F59E0B;
  --wp-font-heading: 'Onest', sans-serif;
  --wp-font-body: 'Golos Text', sans-serif;
  --wp-font-mono: 'JetBrains Mono', monospace;
  --wp-radius: 12px;
  --wp-radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--wp-bg);
  color: var(--wp-text-main);
  font-family: var(--wp-font-body);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background blueprint engineering grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(34, 41, 56, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 41, 56, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Scale (Golden Ratio Inspired) */
h1, h2, h3, h4, .font-heading {
  font-family: var(--wp-font-heading);
  color: var(--wp-text-main);
  font-weight: 700;
  line-height: 1.22;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

h4 {
  font-size: clamp(17px, 2vw, 19px);
  margin-bottom: 8px;
}

p {
  color: var(--wp-text-muted);
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wp-border);
  z-index: 100;
  padding: 16px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--wp-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--wp-text-main);
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--wp-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--wp-blue);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wp-text-muted);
}

.header-nav a:hover {
  color: var(--wp-text-main);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wp-blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--wp-radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px var(--wp-blue-glow);
}

.header-cta-btn:hover {
  background: var(--wp-blue-hover);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--wp-radius-sm);
  font-family: var(--wp-font-heading);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--wp-blue);
  color: #fff;
  box-shadow: 0 4px 20px var(--wp-blue-glow);
}

.btn-primary:hover {
  background: var(--wp-blue-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--wp-panel);
  color: var(--wp-text-main);
  border-color: var(--wp-border);
}

.btn-secondary:hover {
  background: var(--wp-panel-hover);
  border-color: var(--wp-text-muted);
}

.btn-max {
  background: rgba(168, 85, 247, 0.12);
  color: var(--wp-purple);
  border-color: rgba(168, 85, 247, 0.4);
}

.btn-max:hover {
  background: rgba(168, 85, 247, 0.22);
}

/* Hero Section */
.hero-section {
  padding: 72px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 20px;
  color: #60A5FA;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--wp-font-mono);
  margin-bottom: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--wp-text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--wp-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--wp-font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--wp-text-main);
}

.trust-label {
  font-size: 12.5px;
  color: var(--wp-text-dim);
}

.hero-blueprint-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 24px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wp-border);
  margin-bottom: 20px;
  font-family: var(--wp-font-mono);
  font-size: 12px;
  color: var(--wp-text-dim);
}

.blueprint-header-dots {
  display: flex;
  gap: 6px;
}

.bp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wp-border);
}

.bp-dot.active {
  background: var(--wp-emerald);
  box-shadow: 0 0 8px var(--wp-emerald);
}

/* Section Headings */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--wp-border);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}

.section-tag {
  font-family: var(--wp-font-mono);
  font-size: 12.5px;
  color: var(--wp-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

/* Core Solutions Grid (SVG Mechanics) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.solution-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 32px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  border-color: var(--wp-border-focus);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.solution-svg-box {
  width: 100%;
  height: 180px;
  background: #0D111A;
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.solution-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--wp-font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
}

.solution-metrics {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--wp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-price {
  font-family: var(--wp-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--wp-emerald);
}

.metric-term {
  font-size: 12.5px;
  color: var(--wp-text-dim);
}

/* ==========================================================================
   PLUGINS CATALOG GRID (15 CURSOR PLUGINS)
   ========================================================================== */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 24px;
}

.plugin-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.plugin-card:hover {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.plugin-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.plugin-badge-agents {
  font-family: var(--wp-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wp-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
}

.plugin-badge-cat {
  font-size: 11px;
  color: #60A5FA;
  font-family: var(--wp-font-mono);
}

.plugin-card-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.plugin-card-desc {
  font-size: 14px;
  color: var(--wp-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.plugin-card-economy {
  font-size: 12.5px;
  background: #0E131C;
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  color: #CBD5E1;
}

.plugin-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-link-free {
  font-size: 12px;
  font-family: var(--wp-font-mono);
  color: var(--wp-emerald);
  font-weight: 600;
}

.btn-link-free:hover {
  text-decoration: underline;
  color: #34D399;
}

/* ==========================================================================
   MODAL WINDOW FOR PLUGIN ARCHITECTURE
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 13, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-dialog {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border-focus);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 32px var(--wp-blue-glow);
  border-radius: var(--wp-radius);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--wp-text-dim);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--wp-text-main);
}

.modal-subagents-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.modal-agent-item {
  background: #0D111A;
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
}

.modal-agent-item strong {
  font-family: var(--wp-font-mono);
  color: #60A5FA;
  display: inline-block;
  margin-right: 8px;
}

/* ==========================================================================
   ROADMAP & SEMANTIC CLUSTERS (SEO / GEO 2026)
   ========================================================================== */
.clusters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.cluster-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 24px;
  position: relative;
}

.cluster-badge {
  font-family: var(--wp-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--wp-emerald);
  margin-bottom: 10px;
}

.cluster-keywords {
  font-family: var(--wp-font-mono);
  font-size: 11.5px;
  color: #60A5FA;
  background: #0D111A;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 10px 0 14px;
}

.cluster-solution {
  font-size: 13px;
  color: var(--wp-text-muted);
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141923;
  border: 1px solid var(--wp-blue);
  color: #F8FAFC;
  font-family: var(--wp-font-mono);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--wp-blue-glow);
}

.timeline-body {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 24px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.timeline-days {
  font-family: var(--wp-font-mono);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.12);
  color: #60A5FA;
}

.timeline-deliverable {
  font-size: 13px;
  background: #0E131C;
  border: 1px solid var(--wp-border);
  padding: 10px 14px;
  border-radius: var(--wp-radius-sm);
  margin-top: 14px;
  color: #E2E8F0;
}

/* ==========================================================================
   BLOG & KNOWLEDGE BASE STYLES
   ========================================================================== */
.blog-archive-header {
  text-align: center;
  margin-bottom: 54px;
}

.blog-free-banner {
  background: #141923;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--wp-radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.blog-post-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.blog-post-card:hover {
  border-color: var(--wp-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.card-meta {
  font-family: var(--wp-font-mono);
  font-size: 12px;
  color: var(--wp-text-dim);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.meta-dot {
  color: var(--wp-border);
}

.card-title {
  font-size: 20px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.card-title a:hover {
  color: #60A5FA;
}

.card-excerpt {
  font-size: 14.5px;
  color: var(--wp-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer-link a {
  font-family: var(--wp-font-mono);
  font-size: 13px;
  color: var(--wp-blue);
  font-weight: 600;
}

.card-footer-link a:hover {
  color: #60A5FA;
}

.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.blog-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.blog-pagination a, .blog-pagination span.current {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--wp-radius-sm);
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  font-family: var(--wp-font-mono);
  font-size: 13.5px;
}

.blog-pagination span.current {
  background: var(--wp-blue);
  border-color: var(--wp-blue);
  color: #fff;
}

/* Single Article Styling */
.blog-breadcrumbs {
  font-family: var(--wp-font-mono);
  font-size: 12.5px;
  color: var(--wp-text-dim);
  margin-bottom: 28px;
}

.blog-breadcrumbs a {
  color: var(--wp-text-muted);
}

.bc-sep {
  margin: 0 8px;
  color: var(--wp-border);
}

.single-article-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 48px;
  max-width: 940px;
  margin: 0 auto;
}

.single-article-header {
  border-bottom: 1px solid var(--wp-border);
  padding-bottom: 32px;
  margin-bottom: 36px;
}

.article-meta-row {
  font-family: var(--wp-font-mono);
  font-size: 13px;
  color: var(--wp-text-dim);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.single-article-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}

.single-article-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--wp-text-muted);
}

.article-entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: #CBD5E1;
}

.article-entry-content h2 {
  margin: 40px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wp-border);
}

.article-entry-content h3 {
  margin: 28px 0 14px;
}

.article-entry-content ul, .article-entry-content ol {
  margin: 18px 0 24px 28px;
}

.article-entry-content li {
  margin-bottom: 8px;
}

.article-entry-content pre {
  background: #080B10;
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-sm);
  padding: 20px;
  overflow-x: auto;
  font-family: var(--wp-font-mono);
  font-size: 13px;
  margin: 24px 0;
  color: #E2E8F0;
}

.article-entry-content code {
  font-family: var(--wp-font-mono);
  background: rgba(37, 99, 235, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #60A5FA;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: var(--wp-radius);
  padding: 32px;
  margin: 48px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.article-cta-icon {
  font-size: 32px;
  line-height: 1;
}

.article-cta-body h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.author-signature-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--wp-border);
  margin-top: 48px;
}

.author-avatar-stub {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wp-blue);
  color: #fff;
  font-family: var(--wp-font-mono);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--wp-blue-glow);
}

.author-name {
  font-family: var(--wp-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--wp-text-main);
}

.author-role {
  font-size: 13px;
  color: var(--wp-text-dim);
  margin-top: 4px;
}

.post-nav-row {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--wp-border);
  font-family: var(--wp-font-mono);
  font-size: 13.5px;
  color: #60A5FA;
}

/* ==========================================================================
   GPU-ACCELERATED CSS ANIMATIONS FOR SVG CHARACTERS & BLUEPRINTS
   ========================================================================== */
@keyframes scanLaser {
  0% { transform: translateY(0px); opacity: 0.2; }
  50% { transform: translateY(85px); opacity: 0.9; }
  100% { transform: translateY(0px); opacity: 0.2; }
}

.sivka-scan-line {
  animation: scanLaser 3.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; r: 2px; }
  50% { opacity: 1; r: 3.5px; }
}

.svg-pulse-dot, .svg-eye-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes arrowSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.sivka-arrow-group, .conveyor-arrow {
  animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes cursorMove {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(30px, -20px); }
  60% { transform: translate(50px, -10px); }
}

.sivka-mouse-cursor {
  animation: cursorMove 4s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.svg-shield-pulse {
  transform-origin: 42px 42px;
  animation: shieldPulse 2.5s ease-in-out infinite;
}

@keyframes needleWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(20deg); }
}

.svg-gauge-needle {
  transform-origin: 42px 40px;
  animation: needleWiggle 3s ease-in-out infinite;
}

@keyframes dashPulse {
  0% { stroke-dashoffset: 150; }
  100% { stroke-dashoffset: 0; }
}

.svg-pulse-wave {
  stroke-dasharray: 150;
  animation: dashPulse 2.5s linear infinite;
}

@keyframes eqBounce {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}

.eq-bar {
  transform-origin: bottom;
  animation: eqBounce 1s ease-in-out infinite alternate;
}

.bar-1 { animation-delay: 0.1s; }
.bar-2 { animation-delay: 0.3s; }
.bar-3 { animation-delay: 0.5s; }
.bar-4 { animation-delay: 0.2s; }
.bar-5 { animation-delay: 0.6s; }
.bar-6 { animation-delay: 0.4s; }
.bar-7 { animation-delay: 0.7s; }

@keyframes playRipple {
  0% { r: 8px; opacity: 1; }
  100% { r: 16px; opacity: 0; }
}

.svg-play-pulse {
  transform-origin: 28px 40px;
  animation: playRipple 2s ease-out infinite;
}

@keyframes swordShine {
  0%, 100% { stroke: #F59E0B; filter: drop-shadow(0 0 2px #F59E0B); }
  50% { stroke: #FDE047; filter: drop-shadow(0 0 8px #F59E0B); }
}

.svg-sword-glow {
  animation: swordShine 3s ease-in-out infinite;
}

@keyframes ledBlink {
  0%, 100% { fill: #10B981; }
  50% { fill: #047857; }
}

.server-led {
  animation: ledBlink 1.4s infinite;
}
.led-2 { animation-delay: 0.7s; }

@keyframes hubRing {
  0% { r: 16px; opacity: 0.8; }
  100% { r: 34px; opacity: 0; }
}

.svg-hub-pulse {
  transform-origin: 35px 35px;
  animation: hubRing 2.8s ease-out infinite;
}

@keyframes satFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.sat-node {
  animation: satFloat 3.5s ease-in-out infinite alternate;
}

/* Calculator Section */
.calc-card {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.calc-control-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14.5px;
}

.calc-value-badge {
  font-family: var(--wp-font-mono);
  font-weight: 700;
  color: var(--wp-blue);
  background: rgba(37, 99, 235, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.calc-range-slider {
  width: 100%;
  height: 6px;
  background: var(--wp-border);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wp-blue);
  box-shadow: 0 0 10px var(--wp-blue);
  cursor: pointer;
  transition: transform 0.1s;
}

.calc-result-box {
  background: #0E121B;
  border: 1px solid var(--wp-border-focus);
  border-radius: var(--wp-radius);
  padding: 32px;
  text-align: center;
}

.result-total-num {
  font-family: var(--wp-font-mono);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--wp-emerald);
  margin: 12px 0 6px;
}

.result-payback {
  font-size: 13.5px;
  color: var(--wp-text-muted);
  margin-bottom: 24px;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--wp-border);
  text-align: left;
}

.compare-table th {
  font-family: var(--wp-font-mono);
  font-size: 13px;
  color: var(--wp-text-dim);
  text-transform: uppercase;
}

.compare-table td:nth-child(2) {
  color: #EF4444;
}

.compare-table td:nth-child(3) {
  color: var(--wp-emerald);
  font-weight: 600;
}

/* Legal Box */
.legal-box {
  background: var(--wp-panel);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.legal-badge-pill {
  display: inline-block;
  font-family: var(--wp-font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--wp-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: #07090D;
  border-top: 1px solid var(--wp-border);
  padding: 48px 0 36px;
  font-size: 13.5px;
  color: var(--wp-text-dim);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-grid, .calc-card, .legal-box {
    grid-template-columns: 1fr;
  }
  .header-nav {
    display: none;
  }
  .single-article-card {
    padding: 24px;
  }
  .article-cta-box {
    flex-direction: column;
  }
}
