/*
Theme Name: WP Developer Theme
Theme URI: https://wp.org.ru
Author: WP.ORG.RU
Author URI: https://wp.org.ru
Description: Профессиональная тёмная тема для сайта WordPress-разработчика с поддержкой WooCommerce. Кибер-индустриальный дизайн с лаймовым акцентом.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-developer-theme
Tags: dark, portfolio, woocommerce, custom-menu, one-column, two-columns
*/

/* ============================================================
   LOCAL FONTS (TASK 31)
   ============================================================ */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #0e0e10;
  --bg-card: #18181a;
  --fg: #f2f2f2;
  --primary: #ccff2f;
  --primary-fg: #0e0e10;
  --muted: #28282c;
  --muted-fg: #8a8a96;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --font-sans: 'Manrope', sans-serif;
  --font-display: 'Unbounded', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --primary-hover: #b8e62a;
  --red: #ef4444;
  --green: #22c55e;
  --terminal-green: #4FCF85;
  --telegram-blue: #229ED9;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--primary-fg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 1rem; }
}

.section-title {
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================================
   UTILITY & LAYOUT
   ============================================================ */
.z-relative {
  position: relative;
  z-index: 2;
}

.relative-container {
  position: relative;
  z-index: 2;
}

.transparent-bg {
  background: transparent !important;
}

.opacity-30 {
  opacity: 0.3 !important;
}

.MatrixAnimation {
  pointer-events: none;
}

.rd-pricing-wrapper {
  position: relative;
}

.rd-neuro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.d-flex {
  display: flex !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.MatrixAnimation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(14, 14, 16, 0.42) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.site-header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

@media (max-width: 768px) {
  .site-header .container,
  .header-inner {
    height: 60px;
  }
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-logo:hover {
  color: var(--primary);
  opacity: 1;
}

.site-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(204, 255, 47, 0.2);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.site-logo:hover .logo-icon {
  background: var(--primary);
  color: var(--primary-fg);
}

.site-logo .logo-sub {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--muted-fg);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.2s;
}

.site-logo:hover .logo-sub {
  color: var(--primary);
}

.site-logo>div,
.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  line-height: 1;
  font-weight: 700;
}

.site-logo>div>span:first-child {
  line-height: 1;
}

/* --- Nav links --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a,
.main-nav .menu-item>a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  padding: 0.5rem 1rem;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
}

/* Прямые ссылки навигации — не переносятся */
.main-nav>li>a,
.main-nav>.menu-item>a {
  white-space: nowrap;
  align-items: center;
}

.main-nav a:hover,
.main-nav .current-menu-item>a,
.main-nav .current_page_item>a {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
}

/* --- Dropdown Menu --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 800px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 100;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Featured блок — слева, 1/3 ширины, текст прижат к низу */
.nav-dropdown-featured {
  width: 33.333%;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(204, 255, 47, 0.2) 0%, rgba(204, 255, 47, 0.05) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
}

.nav-dropdown-featured a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1rem 1.25rem;
  width: 100%;
  transition: background 0.2s;
  box-sizing: border-box;
}

.nav-dropdown-featured a:hover {
  background: rgba(204, 255, 47, 0.1);
}

.nav-dropdown-featured svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.nav-dropdown-featured strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.25rem;
  margin-top: 0.35rem;
}

.nav-dropdown-featured span {
  font-size: 0.688rem;
  color: var(--muted-fg);
  line-height: 1.3;
  font-family: var(--font-sans);
  transition: color 0.2s;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.nav-dropdown-featured a:hover span {
  color: var(--fg);
}

/* Обёртка для услуг — справа, 2/3 ширины, 2 колонки */
.nav-dropdown-services {
  width: 66.667%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.5rem;
  align-content: start;
}

/* Заголовки пунктов услуг */
.nav-svc-title {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1;
}

.nav-dropdown-menu>li:not(.nav-dropdown-featured) a,
.nav-dropdown-services a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--fg);
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu>li:not(.nav-dropdown-featured) a span,
.nav-dropdown-services a span {
  font-size: 0.75rem;
  color: var(--muted-fg);
  font-weight: 400;
  font-family: var(--font-mono);
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  transition: color 0.2s;
}

.nav-dropdown-menu>li:not(.nav-dropdown-featured) a:hover,
.nav-dropdown-services a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-menu>li:not(.nav-dropdown-featured) a:hover span,
.nav-dropdown-services a:hover span {
  color: var(--fg);
}

@media (max-width: 991px) {
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-featured {
    display: none;
  }

  .nav-dropdown-services {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

/* --- Contact icon buttons in navbar --- */
.nav-contacts,
.header-contacts {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  height: 32px;
  align-items: center;
}

.nav-contact-btn,
.contact-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-contact-btn:hover,
.contact-icon-btn:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
}

.nav-contact-btn svg,
.contact-icon-btn svg {
  width: 16px;
  height: 16px;
}

.header-search-form,
.nav-search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.header-search-form {
  position: relative;
  width: 36px;
  flex: 0 0 36px;
  height: 36px;
  margin-left: 0.5rem;
  overflow: visible;
  border: 0;
  background: transparent;
  z-index: 20;
  transition: width 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-search-form.is-open {
  width: 36px;
  border-color: transparent;
  background: transparent;
}

.header-search-form input,
.nav-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  outline: none;
}

.header-search-form input {
  position: absolute;
  top: 0;
  right: 36px;
  width: 0;
  max-width: none;
  height: 36px;
  opacity: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  transition: width 0.25s ease, opacity 0.16s ease, padding 0.25s ease;
}

.header-search-form.is-open input {
  width: 220px;
  opacity: 1;
  padding: 0 0.75rem;
  pointer-events: auto;
}

.header-search-form input::placeholder,
.nav-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.header-search-form button,
.nav-search-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.header-search-form button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.32);
}

.header-search-form.is-open button {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.72);
}

.header-search-form button:hover,
.nav-search-form button:hover {
  background: var(--primary);
  color: #000;
}

.header-search-form svg,
.nav-search-form svg {
  width: 16px;
  height: 16px;
}

.mobile-nav-search {
  display: none;
}

.mobile-nav-socials {
  display: none;
}

/* --- "Оставить заявку" button in navbar --- */
.nav-cta-btn,
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(204, 255, 47, 0.5);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  height: 36px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.nav-cta-btn:hover,
.header-cta-btn:hover {
  background: var(--primary);
  color: var(--primary-fg);
  opacity: 1;
}

/* --- Hamburger / Mobile toggle --- */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .nav-contacts,
  .header-contacts {
    display: none;
  }

  .header-search-form {
    display: none;
  }

  .nav-cta-btn,
  .header-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 100;
  }

  .main-nav.open a {
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 14px;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero p {
    max-width: 100%;
    font-size: 1.125rem;
    padding-left: 1rem;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 255, 47, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-tag-cloud {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #000;
}

.hero-tag-cloud::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-tag {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-mono);
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes tagFloat {
  0% {
    transform: translate(0, 0) scale(calc(var(--tag-scale) * 0.9));
    opacity: 0;
  }

  10% {
    opacity: var(--tag-opacity);
  }

  25% {
    transform: translate(-3%, 3%) scale(var(--tag-scale));
  }

  50% {
    transform: translate(3%, -3%) scale(calc(var(--tag-scale) * 0.95));
    opacity: calc(var(--tag-opacity) * 0.7);
  }

  75% {
    transform: translate(-2%, 2%) scale(var(--tag-scale));
  }

  90% {
    opacity: var(--tag-opacity);
  }

  100% {
    transform: translate(0, 0) scale(calc(var(--tag-scale) * 0.9));
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-container,
.hero-text-block {
  position: relative;
  z-index: 2;
}

.hero-entrance-1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(204, 255, 47, 0.1);
  border: 1px solid rgba(204, 255, 47, 0.2);
  color: var(--primary);
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: #fff;
  max-width: 100%;
}

.hero h1 .accent {
  background: linear-gradient(to right, var(--primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted-fg);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }

  .hero-entrance-1 {
    margin-top: 1rem;
  }
}

/* ============================================================
   TERMINAL TICKER BAR
   ============================================================ */
.terminal-ticker {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
}

.terminal-ticker .container {
  overflow: hidden;
  padding: 1rem 0;
}

.terminal-ticker-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--terminal-green);
  letter-spacing: 0.05em;
}

.terminal-ticker-items span {
  white-space: nowrap;
}

.tc {
  display: inline-block !important;
  width: 10px !important;
  height: 1.2em !important;
  background-color: #4FCF85 !important;
  margin-left: 2px !important;
  animation: tcB 1s step-end infinite !important;
  vertical-align: middle !important;
  position: relative !important;
}

@keyframes tcB {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .terminal-ticker {
    min-height: 185px;
    align-content: flex-start;
  }

  .terminal-ticker-items {
    flex-wrap: wrap;
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .terminal-ticker-items span {
    padding: 0.25rem 0;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-fg);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.btn-dark {
  background: var(--primary-fg);
  color: var(--fg);
}

.btn-dark:hover {
  background: #1a1a1e;
  color: var(--fg);
}

.btn-lg {
  height: 56px;
  padding: 0 2rem;
  font-size: 14px;
}

.btn-telegram {
  border: 1px solid var(--telegram-blue);
  color: var(--telegram-blue);
  background: transparent;
}

.btn-telegram:hover {
  background: rgba(34, 158, 217, 0.1);
  color: var(--telegram-blue);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.section-dark {
  background: #000;
}

.section-bg {
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-header-left {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-header-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-header-left .section-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .section-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-label {
  display: block;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-fg);
  font-size: 1.1rem;
}

/* ============================================================
   GRID
   ============================================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

/* ============================================================
   CORPORATE PAGE & SHARED COMPONENTS
   ============================================================ */

/* Flip Cards */
.rd-stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.rd-flip-card {
    height: 320px;
    perspective: 1000px;
}

.rd-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.rd-flip-card:hover .rd-flip-inner {
    transform: rotateY(180deg);
}

.rd-flip-front, .rd-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.rd-flip-back {
    background: var(--bg-card-dark, #111);
    transform: rotateY(180deg);
}

.rd-flip-num {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: var(--font-mono);
    font-size: 14px;
    opacity: 0.3;
}

.rd-flip-icon {
    margin-bottom: 2rem;
    color: var(--primary);
}

.rd-flip-title {
    font-weight: 700;
}

.rd-flip-hint {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 10px;
    opacity: 0.3;
}

.rd-flip-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted-fg);
    margin-bottom: 1.5rem;
}

.rd-flip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Glow Button (Conic Gradient) */
.rd-glow-btn {
    position: relative;
    padding: 2px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
}

.rd-glow-btn::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 300%;
    background: conic-gradient(from var(--border-angle), transparent 20%, var(--primary) 40%, transparent 60%);
    animation: borderRotate 4s linear infinite;
    top: -100%;
    left: -25%;
}

.rd-glow-btn-inner {
    position: relative;
    z-index: 1;
    background: #000;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 3px;
    width: 100%;
    display: flex;
    justify-content: center;
}

@keyframes borderRotate {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Canvas Wrappers */
.binary-rain-wrapper {
    position: relative;
    overflow: hidden;
}

.binary-rain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rd-neuro-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.opacity-30 { opacity: 0.3; }
.z-relative { position: relative; z-index: 1; }
.transparent-bg { background: transparent !important; }

/* Grid Utilities */
.md-grid-cols-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lg-grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .lg-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rd-gap-2 { gap: 2rem; }
.rd-gap-4 { gap: 4rem; }

/* Pricing Adjustments */
.rd-pricing-section { padding: 8rem 0; }
.rd-pricing-wrapper { background: #000; border-top: 1px solid var(--border); }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {

  .grid-3,
  .grid-3-strict {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4,
  .grid-4-strict {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   CARDS (generic)
   ============================================================ */
.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* ============================================================
   SERVICE CARDS (4-col grid, hover effects)
   ============================================================ */
.service-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* Вращающийся градиентный бордер — аналог Codespot (только для карточек на главной) */
.grid-4>.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background:
    conic-gradient(from var(--border-angle), transparent 60%, var(--primary) 80%, transparent 100%) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: borderRotate 4s linear infinite;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(204, 255, 47, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-card .card-link {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.service-card .card-link:hover {
  opacity: 0.8;
}

/* ============================================================
   COMPARISON SECTION
   ============================================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-left {
  border: 1px solid rgba(204, 255, 47, 0.3);
  background: rgba(204, 255, 47, 0.05);
  padding: 2rem;
  position: relative;
}

.comparison-left .comparison-badge {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.comparison-right {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  opacity: 0.7;
  filter: grayscale(1);
}

.comparison-right h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comparison-list li:last-child {
  margin-bottom: 0;
}

.comparison-list .check-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-list .x-icon {
  width: 24px;
  height: 24px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-list h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.comparison-right .comparison-list h4 {
  color: var(--muted-fg);
}

.comparison-list p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

.comparison-right .comparison-list p {
  color: #52525b;
}

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(204, 255, 47, 0.5);
}

.tech-card .tech-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.5s;
  margin-bottom: 1.5rem;
}

.tech-card:hover .tech-icon {
  color: var(--primary);
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.tech-card:hover h3 {
  color: var(--primary);
}

.tech-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.7;
}

.grid-bg {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  opacity: 0.2;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
  }
}

.about-photo-wrap {
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about-photo-wrap {
    width: 50%;
  }
}

.about-photo-frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  transform: translate(1rem, 1rem);
  pointer-events: none;
}

.about-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.about-photo-wrap:hover .about-photo {
  filter: grayscale(0);
}

.about-content {
  width: 100%;
}

@media (min-width: 768px) {
  .about-content {
    width: 50%;
  }
}

.about-label {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content .about-lead {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.about-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted-fg);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
  }
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s;
}

.process-step:hover {
  border-color: var(--primary);
}

.process-step-icon {
  width: 64px;
  height: 64px;
  background: #000;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fg);
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, color 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.process-step:hover .process-step-icon {
  border-color: var(--primary);
  color: var(--primary);
}

.process-step-icon svg {
  width: 24px;
  height: 24px;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-step h3,
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  border-color: rgba(204, 255, 47, 0.5);
}

.review-stars {
  display: flex;
  color: var(--primary);
  margin-bottom: 1rem;
  gap: 0.125rem;
}

.review-stars svg,
.review-stars .star-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  color: var(--primary);
}

.review-text {
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.review-service {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--fg);
  width: 100%;
  text-align: left;
  transition: color 0.2s;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  font-family: var(--font-sans);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted-fg);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* ============================================================
   CTA / CONTACT FORM SECTION (lime bg)
   ============================================================ */
.cta-section {
  padding: 8rem 0;
  background: var(--primary);
  color: var(--primary-fg);
}

.cta-section a {
  color: var(--primary-fg);
}

.cta-section a:hover {
  opacity: 0.7;
}

.cta-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .cta-grid {
    flex-direction: row;
  }
}

.cta-info {
  flex: 1;
}

.cta-info h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--primary-fg);
}

.cta-info>p {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-contact-list {
  list-style: none;
}

.cta-contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.cta-contact-list li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-fg);
  flex-shrink: 0;
}

.cta-contact-list li a {
  color: var(--primary-fg);
  text-decoration: none;
}

.cta-contact-list li a:hover {
  text-decoration: underline;
  opacity: 1;
}

.cta-contact-list .cta-hours {
  font-size: 0.875rem;
  opacity: 0.7;
}

.cta-contact-list .cta-hours .dot {
  background: transparent;
}

.cta-form-wrap {
  flex: 1;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .cta-form-wrap {
    padding: 3rem;
  }
}

.cta-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  color: var(--primary-fg);
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  color: var(--primary-fg);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(14, 14, 16, 0.5);
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: var(--primary-fg);
  outline: none;
}

.cta-form textarea {
  min-height: 185px;
  resize: vertical;
}

.cta-form .form-group {
  margin-bottom: 1.5rem;
}

.cta-form .btn-submit {
  width: 100%;
  background: var(--primary-fg);
  color: #fff;
  height: 56px;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cta-form .btn-submit:hover {
  background: #1a1a1e;
}

.cta-form .form-note {
  font-size: 12px;
  opacity: 0.6;
  text-align: center;
  margin-top: 1rem;
}

/* --- Legacy CTA Block (removed duplicate, see contact page styles below) --- */

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: #000;
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-about .footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.footer-about .footer-logo .primary-dot {
  color: var(--primary);
}

.footer-about p,
.footer-description {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.7;
  max-width: 400px;
}

.footer-socials,
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  opacity: 1;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-col h3,
.footer-col h4,
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-col-title-hidden {
  color: transparent;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .footer-col-title-hidden {
    display: none;
  }
}

.footer-col ul,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  padding: 0.5rem 0;
}

.footer-col a {
  color: var(--muted-fg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  opacity: 1;
}

.footer-col a .chevron {
  width: 12px;
  height: 12px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-col a:hover .chevron {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 12px;
  color: var(--muted-fg);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.footer-copyright {
  font-size: inherit;
  color: inherit;
  font-family: inherit;
  text-transform: inherit;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-status,
.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-status {
  margin-right: 0.5rem;
}

.footer-status-dot,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  }
}

.footer-status-text,
.status-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: rgba(204, 255, 47, 0.05);
  transform: translateY(-1rem);
  position: relative;
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 11px;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
}

.pricing-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-fg);
}

.pricing-list {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.pricing-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.125rem;
  color: #fff;
}

.portfolio-overlay p {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

/* ============================================================
   CHAT DEMO
   ============================================================ */
.chat-demo {
  border: 1px solid var(--border);
  background: #000;
  padding: 2rem;
  position: relative;
}

.chat-demo .badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.5rem 1rem;
  font-weight: 700;
  transform: rotate(12deg);
}

.chat-msg {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chat-msg.ai {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-msg .user-avatar {
  background: rgba(255, 255, 255, 0.2);
}

.chat-msg .ai-avatar {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-fg);
  font-size: 14px;
}

.chat-bubble {
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.chat-msg:not(.ai) .chat-bubble {
  background: rgba(255, 255, 255, 0.1);
  border-top-left-radius: 0;
}

.chat-msg.ai .chat-bubble {
  background: rgba(204, 255, 47, 0.1);
  border: 1px solid rgba(204, 255, 47, 0.2);
  border-top-right-radius: 0;
}

/* ============================================================
   CODE BLOCK
   ============================================================ */
.code-block {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
}

.code-comment {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-fg);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  white-space: pre-wrap;
}

.code-block .highlight {
  color: var(--primary);
}

.pulse-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-opacity 1.5s ease-in-out infinite;
}

.pulse-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.pulse-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pulse-opacity {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  padding-top: 120px;
  padding-bottom: 4rem;
  min-height: 70vh;
}

.page-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
  color: var(--muted-fg);
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.entry-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--muted-fg);
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(204, 255, 47, 0.05);
  color: var(--fg);
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content a:hover {
  text-decoration: none;
}

.entry-content code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.125rem 0.375rem;
  font-size: 0.875em;
  border: 1px solid var(--border);
}

.entry-content pre {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.entry-content th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  background: rgba(255, 255, 255, 0.03);
}

.entry-content td {
  color: var(--muted-fg);
}

.entry-content img {
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.sidebar {
  width: 100%;
  max-width: 360px;
}

.sidebar .widget:last-child {
  margin-bottom: 0;
}

.widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget li:last-child {
  border: none;
}

.widget a {
  color: var(--fg);
  font-size: 0.875rem;
  text-decoration: none;
}

.widget a:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .sidebar {
    max-width: none;
  }
}

/* ============================================================
   FORMS (general WordPress)
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-fg);
}

.search-form {
  display: flex;
  gap: 0;
}

.search-form input {
  flex: 1;
  border-right: none;
}

.search-form button,
.search-form .search-submit {
  background: var(--primary);
  color: var(--primary-fg);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.search-form button:hover,
.search-form .search-submit:hover {
  background: var(--primary-hover);
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
  margin-top: 4rem;
}

.comments-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
}

.comment {
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.comment-author {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}

.comment-metadata a {
  color: var(--muted-fg);
}

.comment-content p {
  color: var(--muted-fg);
  margin-bottom: 0.5rem;
}

.reply a {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.comment-respond {
  margin-top: 2rem;
}

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.pagination a,
.pagination .current,
.nav-links a,
.nav-links .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover,
.nav-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  opacity: 1;
}

.pagination .current,
.nav-links .current {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 8rem 0;
}

.error-404 h1 {
  font-size: 8rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--muted-fg);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-fg);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumbs a {
  color: var(--muted-fg);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* --- Product Grid --- */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  transition: background 0.3s, border-color 0.3s;
}

.woocommerce ul.products li.product:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(204, 255, 47, 0.3);
}

.woocommerce ul.products li.product a img {
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg);
  padding: 0.75rem 0 0.5rem;
  transition: color 0.2s;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--primary);
}

.woocommerce ul.products li.product .price {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 1.125rem !important;
  font-family: var(--font-display);
}

.woocommerce ul.products li.product .price del {
  color: var(--muted-fg) !important;
  opacity: 0.6;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce span.onsale {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.25rem 0.75rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
}

/* --- WooCommerce Buttons --- */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #place_order {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.5rem !important;
  transition: background 0.2s !important;
  line-height: 1.5 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
  background: var(--primary-hover) !important;
  color: var(--primary-fg) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--primary-hover) !important;
}

.woocommerce a.button.alt.disabled,
.woocommerce button.button.alt.disabled,
.woocommerce a.button.alt:disabled,
.woocommerce button.button.alt:disabled {
  background: var(--muted) !important;
  color: var(--muted-fg) !important;
  opacity: 0.6;
  cursor: not-allowed;
}

.woocommerce a.added_to_cart {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-left: 0.5rem;
}

/* --- Star Rating --- */
.woocommerce .star-rating span::before {
  color: var(--primary) !important;
}

.woocommerce .star-rating::before {
  color: var(--muted) !important;
}

/* --- Messages --- */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--primary) !important;
  background: rgba(204, 255, 47, 0.05) !important;
  color: var(--fg) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--primary) !important;
}

.woocommerce-error {
  border-top-color: var(--red) !important;
  background: rgba(239, 68, 68, 0.05) !important;
  color: var(--fg) !important;
}

.woocommerce-error::before {
  color: var(--red) !important;
}

.woocommerce-error li,
.woocommerce-message,
.woocommerce-info {
  font-family: var(--font-sans);
}

/* --- Single Product --- */
.woocommerce div.product div.images {
  border: 1px solid var(--border);
}

.woocommerce div.product div.images img {
  border: none;
}

.woocommerce div.product .product_title {
  font-family: var(--font-display);
  color: var(--fg);
  font-size: 2rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--primary) !important;
  font-size: 1.5rem !important;
  font-weight: 700;
  font-family: var(--font-display);
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--muted-fg);
  line-height: 1.7;
}

/* --- Product Tabs --- */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 3rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 2rem !important;
  border-bottom: 1px solid var(--border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: var(--border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--bg) !important;
  border-bottom-color: var(--bg) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--muted-fg) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--primary) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--fg) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: var(--muted-fg);
  line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

/* --- Cart & Checkout Tables --- */
.woocommerce table.shop_table {
  border-color: var(--border) !important;
  border-collapse: collapse;
}

.woocommerce table.shop_table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border) !important;
}

.woocommerce table.shop_table td {
  border-color: var(--border) !important;
  color: var(--fg);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
  color: var(--fg);
  font-weight: 500;
}

.woocommerce table.shop_table td.product-name a:hover {
  color: var(--primary);
}

/* --- Quantity --- */
.woocommerce .quantity .qty {
  background: var(--bg-card) !important;
  color: var(--fg) !important;
  border-color: var(--border) !important;
  border-radius: 0 !important;
  width: 60px;
  text-align: center;
}

/* --- Coupon --- */
.woocommerce .coupon input {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--fg) !important;
  padding: 0.5rem 1rem;
  border-radius: 0 !important;
}

/* --- Cart Totals & Checkout --- */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* --- Form Inputs in Checkout --- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select {
  background: var(--bg-card) !important;
  color: var(--fg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--primary) !important;
  outline: none;
  box-shadow: none !important;
}

.woocommerce form .form-row label {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce form .form-row label .required {
  color: var(--primary);
}

/* --- Pagination --- */
.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--bg-card) !important;
  color: var(--fg) !important;
  border: 1px solid var(--border) !important;
  padding: 0.5rem 1rem !important;
  min-width: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
  border-color: var(--primary) !important;
}

/* --- Ordering / Results --- */
.woocommerce .woocommerce-ordering select {
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 0;
}

.woocommerce .woocommerce-result-count {
  color: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* --- Price Filter Widget --- */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: var(--muted) !important;
  border-radius: 0 !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--primary) !important;
  border-radius: 0 !important;
  border: none !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--primary) !important;
}

/* --- Mini Cart Widget --- */
.woocommerce .widget_shopping_cart .total {
  border-top: 1px solid var(--border);
  color: var(--fg);
}

.woocommerce .widget_shopping_cart .total .amount {
  color: var(--primary);
  font-weight: 700;
}

/* --- My Account --- */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  border: 1px solid var(--border);
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border);
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(204, 255, 47, 0.1);
  color: var(--primary);
  border-left: 2px solid var(--primary);
}

/* --- Reviews in Product --- */
.woocommerce #reviews #comments ol.commentlist li {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border: 1px solid var(--border);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.02);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
  color: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 12px;
}

.woocommerce #reviews #comments ol.commentlist li .description p {
  color: var(--muted-fg);
}

/* --- Checkout Payment --- */
.woocommerce-checkout #payment {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--border) !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  border-bottom: 1px solid var(--border);
}

.woocommerce-checkout #payment div.payment_box {
  background: rgba(204, 255, 47, 0.05) !important;
  color: var(--fg) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(204, 255, 47, 0.05) !important;
}

/* --- Select2 (used in WooCommerce checkout) --- */
.select2-container--default .select2-selection--single {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  height: auto !important;
  padding: 0.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--fg) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%);
}

.select2-dropdown {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
}

.select2-container--default .select2-results__option {
  color: var(--fg);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
}

/* ============================================================
   GLASS PANEL
   ============================================================ */
.glass-panel {
  background: rgba(24, 24, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   TEXT STROKE (decorative)
   ============================================================ */
.text-stroke {
  -webkit-text-stroke: 1px currentColor;
  color: transparent;
}

.text-stroke-sm {
  -webkit-text-stroke: 0.5px currentColor;
  color: transparent;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
}

.fade-in-delay-4 {
  animation-delay: 0.4s;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-entrance {
  opacity: 0;
  transform: translateY(30px);
}

.hero.hero-ready .hero-entrance {
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.hero-ready .hero-entrance-1 {
  animation-delay: 0s;
}

.hero.hero-ready .hero-entrance-2 {
  animation-delay: 0.15s;
}

.hero.hero-ready .hero-entrance-3 {
  animation-delay: 0.3s;
}

.hero.hero-ready .hero-entrance-4 {
  animation-delay: 0.45s;
}

.hero h1.hero-entrance {
  opacity: 1;
  transform: none;
}

.hero.hero-ready h1.hero-entrance {
  animation: none;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.1s;
}

.stagger-3 {
  transition-delay: 0.15s;
}

.stagger-4 {
  transition-delay: 0.2s;
}

.stagger-5 {
  transition-delay: 0.25s;
}

.stagger-6 {
  transition-delay: 0.3s;
}

.stagger-7 {
  transition-delay: 0.35s;
}

.stagger-8 {
  transition-delay: 0.4s;
}

.stagger-9 {
  transition-delay: 0.45s;
}

.stagger-10 {
  transition-delay: 0.5s;
}

.stagger-11 {
  transition-delay: 0.55s;
}

.stagger-12 {
  transition-delay: 0.6s;
}

.stagger-13 {
  transition-delay: 0.65s;
}

.stagger-14 {
  transition-delay: 0.7s;
}

.stagger-15 {
  transition-delay: 0.75s;
}

.stagger-16 {
  transition-delay: 0.8s;
}

.stagger-17 {
  transition-delay: 0.85s;
}

.stagger-18 {
  transition-delay: 0.9s;
}

.stagger-19 {
  transition-delay: 0.95s;
}

.stagger-20 {
  transition-delay: 1s;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-animate {
  animation: ticker-scroll 30s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: var(--border);
  }

  50% {
    border-color: rgba(204, 255, 47, 0.4);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes typewriter-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.cursor-blink::after {
  content: '|';
  animation: typewriter-cursor 1s step-end infinite;
  color: var(--terminal-green);
  font-weight: 300;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-fg);
}

.text-fg {
  color: var(--fg);
}

.text-white {
  color: #fff;
}

.text-red {
  color: var(--red);
}

.text-green {
  color: var(--green);
}

.text-terminal {
  color: var(--terminal-green);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-bold {
  font-weight: 700;
}

.font-light {
  font-weight: 300;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.15em;
}

.tracking-tighter {
  letter-spacing: -0.02em;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.7;
}

.italic {
  font-style: italic;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-auto {
  margin-top: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.p-0 {
  padding: 0;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-20 {
  padding-top: 5rem;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.hidden {
  display: none;
}

.border {
  border: 1px solid var(--border);
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.border-l {
  border-left: 1px solid var(--border);
}

.border-r {
  border-right: 1px solid var(--border);
}

.border-primary {
  border-color: var(--primary);
}

.border-white-10 {
  border-color: var(--border);
}

.bg-black {
  background: #000;
}

.bg-bg {
  background: var(--bg);
}

.bg-card {
  background: var(--bg-card);
}

.bg-primary {
  background: var(--primary);
}

.bg-primary-5 {
  background: rgba(204, 255, 47, 0.05);
}

.bg-white-5 {
  background: rgba(255, 255, 255, 0.05);
}

.bg-white-10 {
  background: rgba(255, 255, 255, 0.1);
}

.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-100 {
  opacity: 1;
}

.grayscale {
  filter: grayscale(1);
}

.grayscale-0 {
  filter: grayscale(0);
}

.cursor-pointer {
  cursor: pointer;
}

.select-none {
  user-select: none;
}

.pointer-events-none {
  pointer-events: none;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.transition-all {
  transition: all 0.3s;
}

.transition-colors {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.transition-opacity {
  transition: opacity 0.2s;
}

.transition-transform {
  transition: transform 0.3s;
}

  color: var(--primary);
}

  background: rgba(255, 255, 255, 0.05);
}

  border-color: var(--primary);
}

  opacity: 1;
}

  filter: grayscale(0);
}

.rounded-none {
  border-radius: 0;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.space-y-2>*+* {
  margin-top: 0.5rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-8>*+* {
  margin-top: 2rem;
}

.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--primary);
  z-index: 1000;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
    display: block;
  }

  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
    display: flex;
  }

    display: grid;
  }

    display: none;
  }

    flex-direction: row;
  }

    grid-template-columns: repeat(2, 1fr);
  }

    grid-template-columns: repeat(3, 1fr);
  }

    grid-template-columns: 1.5fr repeat(4, 1fr);
  }

    width: 50%;
  }

    font-size: 3rem;
  }

    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
    flex-direction: row;
  }

    grid-template-columns: repeat(3, 1fr);
  }

    grid-template-columns: repeat(4, 1fr);
  }

    width: 50%;
  }
}

/* ============================================================
   WORDPRESS CORE OVERRIDES
   ============================================================ */
.wp-block-image img {
  border: 1px solid var(--border);
}

.wp-block-quote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  background: rgba(204, 255, 47, 0.05);
  margin: 1.5rem 0;
}

.wp-block-quote p {
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.wp-block-quote cite {
  color: var(--muted-fg);
  font-size: 0.875rem;
  font-style: normal;
  font-family: var(--font-mono);
}

.wp-block-code {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.wp-block-code code {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.wp-block-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.wp-block-separator {
  border-color: var(--border);
  opacity: 1;
}

.wp-block-button__link {
  background: var(--primary) !important;
  color: var(--primary-fg) !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 1rem 2rem !important;
}

.wp-block-button__link:hover {
  background: var(--primary-hover) !important;
}

.has-background {
  border-radius: 0 !important;
}

.alignwide {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Admin bar offset */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--fg);
  transition: color 0.3s;
}

.contact-row:hover .contact-icon-box {
  border-color: var(--primary);
  color: var(--primary);
}

.contact-row:hover .contact-value {
  color: var(--primary);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: #000;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.3s;
}

.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.cta-block h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-block p {
  color: var(--muted-fg);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-contacts {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.cta-contact-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  transition: all 0.3s;
}

.cta-contact-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Анимация вращения для бордера */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to {
    --border-angle: 360deg;
  }
}

/* Карточка услуги — обёртка-ссылка */
.service-card-link {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Вращающийся градиентный бордер (::before) — всегда активен */
.service-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background:
    conic-gradient(from var(--border-angle), transparent 60%, var(--primary) 80%, transparent 100%) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: borderRotate 4s linear infinite;
}

.service-card-link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Иконка-стрелка и заголовок при ховере */
.service-card-link:hover .service-arrow {
  opacity: 1;
}

.service-card-link:hover .service-title {
  color: var(--primary);
}

.service-card-link:hover .service-icon {
  transform: scale(1.1);
}

/* Верхняя часть карточки (иконка + заголовок) */
.service-card-header {
  margin-bottom: 0.25rem;
}

.service-card-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.service-icon {
  transition: transform 0.3s;
}

.service-arrow {
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

/* Тело карточки (описание + цена) */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.service-card-desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

/* Блок цены */
.service-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-price-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.service-price-value {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Сетка секции «Как строится работа» — 2 колонки на десктопе */
.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .process-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Этапы работы — вертикальный список */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 768px) {
  .page-content .container>div>div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

  .site-header,
  .site-footer,
  .mobile-toggle,
  .nav-contacts,
  .header-contacts,
  .nav-cta-btn,
  .header-cta-btn,
  .cta-section,
  .terminal-ticker {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* ============================================================
   МОИ СТИЛИ
   ============================================================ */
.grecaptcha-badge {
  display: none !important;
}

/* ============================================================
   REFACTORED INLINE STYLES
   ============================================================ */

/* --- 404.php --- */
.error-404-wrapper {
  text-align: center;
  padding-top: 200px;
  min-height: 80vh;
}

.error-404-title {
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: 1rem;
}

.error-404-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}


/* --- Общий класс для страниц без hero --- */
.page-content-padded {
  padding-top: 110px;
}

/* --- archive.php / index.php --- */
.archive-header-reduced {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.archive-header-reduced h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.archive-desc-reduced {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
}

.blog-card-thumb {
  width: 100%;
  margin-bottom: 1rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .blog-card-thumb {
  transform: scale(1.02);
}

.blog-card-title {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title:hover {
  color: var(--primary);
}

.blog-card-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 11px;
}

.blog-pagination-wrap {
  margin-top: 3rem;
  text-align: center;
}

.custom-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.custom-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.2s;
  font-family: var(--font-mono);
}

.custom-pagination .page-numbers:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(79, 207, 133, 0.5);
  color: var(--primary);
}

.custom-pagination .page-numbers.current {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.custom-pagination .prev.page-numbers,
.custom-pagination .next.page-numbers {
  width: auto;
  padding: 0 1.5rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.archive-card-title-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.archive-card-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.archive-card-link:hover {
  color: var(--primary) !important;
}

.archive-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.archive-card-more {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  text-decoration: none;
}

.archive-pagination-wrap {
  margin-top: 4rem;
  text-align: center;
}

.archive-empty-wrap {
  text-align: center;
  padding: 4rem 0;
}

.archive-empty-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.archive-empty-text {
  color: var(--muted-fg);
}

.archive-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin-top: 2rem;
  text-decoration: none;
  transition: all 0.2s;
}

.archive-empty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Global CTA --- */
.global-cta-section {
  padding: 5rem 0;
}

.global-cta-container {
  padding: 0 1rem;
  text-align: center;
}

.global-cta-box {
  max-width: 896px;
  margin: 0 auto;
  background: var(--primary);
  color: #000;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.global-cta-bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.1;
  pointer-events: none;
}

.global-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.global-cta-desc {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
  font-size: 1.125rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.global-cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 10;
  align-items: center;
}

@media (min-width: 768px) {
  .global-cta-actions {
    flex-direction: row !important;
  }
}

.global-cta-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  height: 56px;
  padding: 0 2rem;
  border: none;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background 0.2s;
  min-width: 250px;
  text-decoration: none;
}

.global-cta-primary-btn:hover {
  background: #1a1a1a;
}

.global-cta-icons-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* --- archive-portfolio.php --- */
.port-hero {
  min-height: 90vh;
}

.port-hero-dash {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.port-hero-arrow {
  margin-left: 0.5rem;
  display: inline-block;
  animation: bounceDown 1.5s ease infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.port-ticker-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.port-ticker-container {
  display: flex;
  overflow: hidden;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.port-ticker-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 14px;
  color: var(--terminal-green, #4FCF85);
  letter-spacing: 0.05em;
  padding: 0 1rem;
}

.port-ticker-rel {
  position: relative;
}

.port-filters-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.port-filters-container {
  padding: 1.25rem 0;
}

.port-filters-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.port-filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted-fg);
  background: transparent;
}

.port-filter-btn.active {
  border-color: var(--primary);
  color: #000;
  background: var(--primary);
}

.port-filter-count {
  opacity: 0.5;
  margin-left: 0.25rem;
}

.port-grid-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.port-hero-content {
  padding-top: 40px;
}

.port-grid-box {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4rem;
}

.port-card-article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.port-card-article:hover {
  border-color: rgba(79, 207, 133, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.port-card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 992px) {
  .port-card-link {
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    min-height: 400px;
  }
  .port-card-article:nth-child(even) .port-card-link {
    grid-template-columns: 1fr 1.2fr;
  }
  .port-card-article:nth-child(even) .port-card-img-wrap {
    order: 2;
  }
}

.port-card-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #0a0a0a;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.port-card-article:nth-child(even) .port-card-img-wrap {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,0.05);
}

.port-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  position: absolute;
  inset: 0;
}

.port-card-article:hover .port-card-img {
  transform: scale(1.05);
}

.port-card-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-mono);
  color: var(--muted-fg);
  font-size: 0.85rem;
}

.port-card-badges {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.port-card-badge-item {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.port-card-desc-wrap {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .port-card-desc-wrap {
    padding: 3.5rem;
  }
}

.port-card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.port-card-excerpt {
  color: var(--muted-fg);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.port-card-result {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(79, 207, 133, 0.05);
  border-left: 3px solid var(--primary);
}

.port-card-result-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.port-card-result-text {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
}

.port-card-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.port-card-tech-item {
  padding: 0.35rem 0.85rem;
  background: rgba(79, 207, 133, 0.08);
  border: 1px solid rgba(79, 207, 133, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(79, 207, 133, 0.9);
}

.port-card-more-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.port-card-more-link svg {
  transition: transform 0.3s;
}

.port-card-article:hover .port-card-more-link svg {
  transform: translateX(4px);
}

.port-pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.port-pagination-item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.port-empty-wrap {
  text-align: center;
  padding: 6rem 0;
}

.port-empty-icon {
  margin-bottom: 2rem;
}

.port-empty-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.port-empty-text {
  color: var(--muted-fg);
}

.port-empty-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.port-empty-btn:hover {
  background: #fff;
}

.port-cta-section {
  padding: 5rem 0;
}

.port-cta-container {
  text-align: center;
}

.port-cta-box {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--primary);
  color: #000;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.port-cta-bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.1;
  pointer-events: none;
}

.port-cta-svg {
  color: #000;
}

.port-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
  color: #000;
}

.port-cta-text {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
  font-size: 1.125rem;
}

.port-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  height: 3.5rem;
  padding: 0 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.port-cta-btn:hover {
  background: #333;
}

/* Стили из тега <style> archive-portfolio.php */
@media (min-width: 768px) {
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.portfolio-card:hover {
  border-color: rgba(79, 207, 133, 0.3) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.05);
}

/* Пагинация портфолио */
.port-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted-fg);
  text-decoration: none;
  transition: all 0.2s;
}

.port-pagination-wrap .page-numbers.current {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.port-pagination-wrap .page-numbers:hover:not(.current) {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* --- footer.php --- */
.active-footer-link {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   FRONT PAGE SECTIONS & UTILS
   ============================================================ */
.hero-divider {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.btn-icon-right {
  margin-left: 0.5rem;
}

.services-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
}

.binary-rain-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.binary-rain-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.section-transparent {
  position: relative;
  z-index: 1;
  background: transparent;
}

.container-relative {
  position: relative;
}

.grid-gap-1 {
  gap: 1px !important;
}

/* Tech stack heartbeat animation */
@keyframes borderHeartbeat {
  0% {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  10% {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }

  20% {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  30% {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }

  40%,
  100% {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.tech-card-solid {
  background: var(--bg-card);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: borderHeartbeat 3s infinite;
}

.section-bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Banner */
.cta-banner-section {
  padding: 5rem 0;
}

.cta-banner-container {
  padding: 0 1rem;
  text-align: center;
}

.cta-banner-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--primary);
  color: #000;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner-icon-bg {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.1;
  pointer-events: none;
}

.cta-banner-icon-bg svg {
  color: #000;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
  color: #000;
}

.cta-banner-desc {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
  font-size: 1.125rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .cta-banner-actions {
    flex-direction: row;
  }
}

.cta-banner-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  height: 3.5rem;
  padding: 0 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.cta-banner-btn-main:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.cta-banner-socials {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.cta-banner-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;
  transition: background 0.2s;
}

.cta-banner-social-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
}

/* ============================================================
   SITE AUDIT PAGE
   ============================================================ */
.audit-hero-title {
  white-space: pre-line;
}

.audit-section {
  padding: 6rem 0;
}

.audit-section-muted {
  background: rgba(255, 255, 255, 0.04);
}

.audit-section-dark {
  background: #000;
}

.audit-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: stretch;
}

.audit-split-top {
  align-items: flex-start;
}

.audit-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.audit-copy p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 42rem;
}

.audit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audit-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.audit-mini-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}

.audit-mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  background: #000;
  flex: 0 0 auto;
}

.audit-mini-icon svg,
.audit-feature-card svg,
.audit-deliverable svg,
.pricing-feature svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audit-mini-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.audit-mini-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.audit-report-preview {
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.06), transparent 35%),
    #050505;
  padding: 1.5rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.audit-report-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 47, 0.08), transparent);
  transform: translateX(-100%);
  animation: audit-report-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.audit-report-top,
.audit-report-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.audit-report-top strong {
  color: #f87171;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.25;
}

.audit-report-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.audit-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 0 rgba(248, 113, 113, 0.35);
  animation: audit-status-pulse 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}

.audit-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.audit-scoreboard div {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.8rem;
  position: relative;
  overflow: hidden;
  animation: audit-score-glow 5.5s ease-in-out infinite;
}

.audit-scoreboard div::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 47, 0.8), transparent);
  transform: translateX(-100%);
  animation: audit-card-scan 4.8s ease-in-out infinite;
}

.audit-scoreboard div:nth-child(2) {
  animation-delay: 0.35s;
}

.audit-scoreboard div:nth-child(2)::after {
  animation-delay: 0.45s;
}

.audit-scoreboard div:nth-child(3) {
  animation-delay: 0.7s;
}

.audit-scoreboard div:nth-child(3)::after {
  animation-delay: 0.9s;
}

.audit-scoreboard strong {
  display: block;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.audit-scoreboard span {
  display: block;
  color: var(--muted-fg);
  font-size: 0.75rem;
  line-height: 1.35;
}

.audit-report-list {
  display: grid;
  gap: 0.875rem;
  margin: 1.5rem 0;
}

.audit-report-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transform: translateY(10px);
  animation: audit-row-in 0.52s ease forwards;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.audit-report-row:nth-child(2) {
  animation-delay: 0.12s;
}

.audit-report-row:nth-child(3) {
  animation-delay: 0.24s;
}

.audit-report-row:nth-child(4) {
  animation-delay: 0.36s;
}

.audit-report-row:nth-child(5) {
  animation-delay: 0.48s;
}

.audit-report-row:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.055);
}

.audit-report-row-danger {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.audit-report-row-warn {
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.08);
}

.audit-report-row-ok {
  border-color: rgba(79, 207, 133, 0.28);
  background: rgba(79, 207, 133, 0.07);
}

.audit-report-level {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #000;
  background: var(--primary);
  padding: 0.25rem 0.38rem;
  align-self: start;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.audit-report-row strong {
  display: block;
  margin-bottom: 0.25rem;
}

.audit-report-row p {
  color: var(--muted-fg);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.audit-report-footer {
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.audit-report-footer span {
  border: 1px solid var(--border);
  padding: 0.35rem 0.55rem;
  color: var(--fg);
}

.audit-infographic-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 75% 10%, rgba(204, 255, 47, 0.12), transparent 28%), #0b0b0c;
}

.audit-infographic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.audit-infographic-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.audit-infographic-copy p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 40rem;
}

.audit-priority-visual {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.audit-priority-visual::before {
  content: '';
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -8rem;
  top: -8rem;
  background: rgba(204, 255, 47, 0.12);
  filter: blur(70px);
  pointer-events: none;
}

.audit-priority-lane {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.audit-priority-lane span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg);
}

.audit-priority-lane i {
  display: block;
  height: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.audit-priority-lane i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--primary);
  animation: audit-bar-grow 1.2s ease both;
}

.audit-bar-critical {
  --w: 92%;
}

.audit-bar-important {
  --w: 68%;
}

.audit-bar-next {
  --w: 42%;
}

.audit-lane-danger i::after {
  background: #f87171;
}

.audit-lane-warn i::after {
  background: #facc15;
}

.audit-priority-lane b {
  grid-column: 2;
  color: var(--muted-fg);
  font-size: 0.88rem;
  font-weight: 400;
}

.audit-card-grid,
.audit-priority-grid,
.audit-format-grid,
.audit-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.audit-feature-card svg {
  width: 2.5rem;
  height: 2.5rem;
}

.audit-engines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.audit-engine-card {
  position: relative;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.audit-engine-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(204, 255, 47, 0.34);
  transform: translateX(-120%);
  animation: audit-card-scan 6s ease-in-out infinite;
  pointer-events: none;
}

.audit-engine-card:nth-child(2)::before {
  animation-delay: 0.45s;
}

.audit-engine-card:nth-child(3)::before {
  animation-delay: 0.9s;
}

.audit-engine-card:nth-child(4)::before {
  animation-delay: 1.35s;
}

.audit-engine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 255, 47, 0.38);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.12), transparent 46%),
    rgba(0, 0, 0, 0.42);
}

.audit-engine-dot {
  display: inline-flex;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 rgba(204, 255, 47, 0.28);
  animation: audit-engine-pulse 2.4s ease-in-out infinite;
  margin-bottom: 1.1rem;
}

.audit-engine-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.audit-engine-card p {
  position: relative;
  z-index: 1;
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.audit-feature-card,
.audit-step,
.audit-priority-card,
.audit-format-card,
.audit-deliverable,
.audit-implementation-step {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.audit-feature-card:hover,
.audit-step:hover,
.audit-priority-card:hover,
.audit-format-card:hover,
.audit-deliverable:hover,
.audit-implementation-step:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 255, 47, 0.35);
}

.audit-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.audit-step {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
}

.audit-step span,
.audit-priority-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
}

.audit-step h3,
.audit-priority-card h3,
.audit-format-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.audit-step p,
.audit-priority-card p,
.audit-format-card p {
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.audit-deliverables {
  display: grid;
  gap: 0.9rem;
}

.audit-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.audit-deliverable svg,
.pricing-feature svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.audit-deliverable span {
  color: var(--fg);
  line-height: 1.55;
}

.audit-implementation-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(204, 255, 47, 0.11), transparent 30%),
    #050505;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.audit-implementation-section .btn {
  width: fit-content;
  margin-top: 1.75rem;
}

.audit-implementation-rail {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
}

.audit-implementation-rail::before {
  content: '';
  position: absolute;
  left: 0.38rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: rgba(204, 255, 47, 0.28);
}

.audit-implementation-rail::after {
  content: '';
  position: absolute;
  left: 0.38rem;
  top: 0.6rem;
  width: 1px;
  height: calc(100% - 1.2rem);
  background: var(--primary);
  transform-origin: top;
  animation: audit-rail-grow 2.2s ease both;
}

.audit-implementation-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateY(12px);
  animation: audit-step-in 0.58s ease forwards;
}

.audit-implementation-step:nth-child(2) {
  animation-delay: 0.16s;
}

.audit-implementation-step:nth-child(3) {
  animation-delay: 0.32s;
}

.audit-implementation-step > span {
  position: relative;
  z-index: 2;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.32rem;
  box-shadow: 0 0 0 rgba(204, 255, 47, 0.28);
  animation: audit-engine-pulse 2.2s ease-in-out infinite;
}

.audit-implementation-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.audit-implementation-step p {
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.68;
  margin: 0;
}

.audit-priority-card,
.audit-format-card {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
}

.audit-format-card {
  background: rgba(255, 255, 255, 0.03);
}

.audit-pricing-grid .pricing-card {
  display: flex;
  flex-direction: column;
}

.audit-pricing-grid .pricing-features {
  flex: 1;
}

.pricing-feature svg {
  width: 1rem;
  height: 1rem;
}

.pulse-dot {
  animation: audit-pulse 2s ease-in-out infinite;
}

@keyframes audit-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes audit-report-sweep {
  0%,
  55% {
    transform: translateX(-120%);
  }

  75%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes audit-bar-grow {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes audit-status-pulse {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.28);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0 0.45rem rgba(248, 113, 113, 0);
  }
}

@keyframes audit-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes audit-score-glow {
  0%,
  100% {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.035);
  }

  50% {
    border-color: rgba(204, 255, 47, 0.28);
    background: rgba(204, 255, 47, 0.055);
  }
}

@keyframes audit-card-scan {
  0%,
  50% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes audit-engine-pulse {
  0%,
  100% {
    opacity: 0.65;
    box-shadow: 0 0 0 0 rgba(204, 255, 47, 0.2);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0 0.5rem rgba(204, 255, 47, 0);
  }
}

@keyframes audit-rail-grow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes audit-step-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .audit-card-grid,
  .audit-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-priority-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-format-grid,
  .audit-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-engines-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .audit-infographic {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 1024px) {
  .audit-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 767px) {
  .audit-section {
    padding: 4rem 0;
  }

  .audit-report-preview,
  .audit-priority-card,
  .audit-format-card,
  .audit-step,
  .audit-engine-card,
  .audit-implementation-step {
    padding: 1.25rem;
  }

  .audit-mini-card {
    padding: 1rem;
  }

  .audit-scoreboard {
    grid-template-columns: 1fr;
  }

  .audit-priority-lane {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .audit-priority-lane b {
    grid-column: 1;
  }

  .audit-implementation-rail {
    padding-left: 0;
  }

  .audit-implementation-rail::before,
  .audit-implementation-rail::after {
    display: none;
  }
}

/* Hero Entrance 3 - Mobile Font Size Adjustment */
@media (max-width: 767px) {
  .hero-entrance-3 {
    font-size: 1.1rem !important;
    /* Уменьшаем шрифт абзаца на мобилках */
    line-height: 1.4 !important;
  }
}

/* ============================================================
   MOBILE MENU (from header.php)
   ============================================================ */
@media (max-width: 1024px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .header-search-form {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    left: auto;
    width: 100%;
    max-width: none;
    height: calc(100dvh - 80px);
    background: rgba(10, 10, 10, 0.96);
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 0;
  }

  .main-nav.active {
    right: 0;
    left: 0;
  }

  .main-nav.open {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    max-width: none;
  }

  .main-nav .nav-list {
    display: flex;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .main-nav .mobile-nav-search {
    display: block;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav .nav-search-form {
    height: 42px;
  }

  .main-nav .nav-search-form input {
    padding: 0 0.85rem;
  }

  .main-nav .nav-search-form button {
    flex-basis: 42px;
  }

  .main-nav .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav .nav-list li.mobile-nav-search {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .main-nav .mobile-nav-socials {
    display: block;
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
  }

  .mobile-nav-socials-label {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-nav-socials-row {
    display: flex;
    gap: 0.75rem;
  }

  .mobile-nav-socials-row .contact-icon-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--fg);
  }

  .mobile-nav-socials-row .contact-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .main-nav .nav-list li a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .main-nav .nav-dropdown-menu {
    position: static !important;
    display: none;
    width: 100% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
  }

  .main-nav .nav-dropdown.open .nav-dropdown-menu {
    display: block !important;
  }

  .main-nav .nav-dropdown-featured {
    display: none !important;
  }

  .main-nav .nav-dropdown-services {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .main-nav .nav-dropdown-services a {
    padding: 0.75rem 2rem;
  }
}

/* ============================================================
   BREADCRUMBS (from header.php)
   ============================================================ */
.site-breadcrumbs-wrapper {
  position: absolute;
  top: 117px;
  left: 0;
  width: 100%;
  z-index: 50;
  pointer-events: none;
}

.site-breadcrumbs-wrapper .container {
  display: flex;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

.site-breadcrumbs {
  pointer-events: auto;
  font-family: var(--font-mono, monospace);
  color: var(--terminal-green, #4FCF85);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}

.site-breadcrumbs a {
  color: var(--terminal-green, #4FCF85) !important;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-breadcrumbs a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.site-breadcrumbs span.breadcrumb_last {
  color: var(--terminal-green, #4FCF85) !important;
  opacity: 0.7;
  font-weight: normal !important;
}

.breadcrumbs-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background-color: var(--terminal-green, #4FCF85);
  vertical-align: text-bottom;
  margin-left: 6px;
  animation: breadcrumbs-blink 1s step-end infinite;
}

@keyframes breadcrumbs-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .site-breadcrumbs-wrapper {
    top: 60px; /* Высота мобильной шапки */
    z-index: 90;
  }

  .site-breadcrumbs {
    white-space: normal !important;
    font-size: 13px !important; /* На скрине слишком мелкие, поправим */
    line-height: 1.4;
    padding: 0.5rem 0;
  }

  .header-status {
    margin-right: 0 !important;
    gap: 0.25rem !important;
  }

  .header-status .status-text {
    font-size: 0.65rem !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
  }
}

/* ============================================================
   KNOWLEDGE BASE (INDEX.PHP & ARCHIVE.PHP)
   ============================================================ */
.knowledge-base-container {
  padding-top: 110px;
}

.knowledge-base-header {
  margin-bottom: 3rem;
  text-align: center;
}

.knowledge-base-header h1 {
  margin-bottom: 0.5rem;
}

.knowledge-base-header p {
  color: var(--muted-fg);
  max-width: 600px;
  margin: 0 auto;
}

.knowledge-hold {
  min-height: calc(90vh - 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 6rem 0;
}

.knowledge-hold h1 {
  margin: 1rem 0 1.5rem;
  max-width: 780px;
}

.knowledge-hold p {
  color: var(--muted-fg);
  max-width: 720px;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.knowledge-hold-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.knowledge-article-thumb {
  width: 100%;
  margin-bottom: 1rem;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: var(--muted);
}

.knowledge-article-title {
  color: var(--fg);
  transition: color 0.2s;
}

.knowledge-article-title:hover {
  color: var(--primary);
}

.knowledge-article-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 11px;
  display: inline-flex;
}

.knowledge-pagination {
  margin-top: 3rem;
  text-align: center;
}

.knowledge-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.knowledge-pagination .page-numbers {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.knowledge-pagination .page-numbers.current,
.knowledge-pagination .page-numbers:hover {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

/* ============================================================
   PAGE.PHP (SERVICES & PAGES)
   ============================================================ */

/* --- Terminal Ticker Section (Page) --- */
.page-ticker-section {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.page-ticker-container {
  display: flex;
  overflow: hidden;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.page-ticker-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 14px;
  color: var(--terminal-green);
  letter-spacing: 0.05em;
  padding: 0 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.page-ticker-wrapper .tc-item {
  flex: 0 0 auto;
}

/* --- Section Why --- */
.page-section-why {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.why-desc {
  color: var(--muted-fg);
  margin-bottom: 2rem;
  line-height: 1.625;
  font-size: 1rem;
}

.why-points-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-point-item {
  display: flex;
  gap: 1rem;
}

.why-point-icon {
  width: 3rem;
  height: 3rem;
  background: #000;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.why-point-text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
}

.why-neon-blur {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.06;
  filter: blur(100px);
  border-radius: 9999px;
  pointer-events: none;
}

.feature-grid-blocks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-block {
  background: #000;
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-block-title {
  font-weight: 700;
}

.feature-block-offset-down {
  transform: translateY(2rem);
}

.feature-block-offset-up {
  transform: translateY(-2rem);
}

/* --- Section Features --- */
.page-section-features {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.features-subtitle {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.features-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.features-desc {
  color: var(--muted-fg);
  font-size: 1rem;
  line-height: 1.625;
}

.service-feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.service-feature-card:hover {
  border-color: rgba(79, 207, 133, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.service-feature-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.service-feature-card:hover .service-feature-icon {
  transform: scale(1.1);
}

.service-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-feature-text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin: 0;
}

/* --- Section List & Tech --- */
.page-section-list {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: #000;
}

.list-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 2rem;
}

.list-desc {
  color: var(--muted-fg);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-item-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.list-item-text {
  font-weight: 500;
}

.tech-stack-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.5rem;
}

.tech-stack-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: rgba(79, 207, 133, 0.8);
}

.tech-quote-wrap {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tech-quote {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-style: italic;
}

/* --- Fallback Content --- */
.page-fallback-section {
  border-bottom: 1px solid var(--border);
}

.page-fallback-container {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* --- Process Section --- */
.page-section-process {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: #000;
}

.process-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 6rem;
}

.process-steps-wrap {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
}

.process-step.last {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: rgba(79, 207, 133, 0.5);
  transition: color 0.3s;
}

.process-step:hover .process-step-num {
  color: var(--primary);
}

.process-step-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step-desc {
  color: var(--muted-fg);
  line-height: 1.625;
}

/* --- Pricing Section --- */
.page-section-pricing {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
}

.pricing-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.premium {
  border: 1px solid var(--primary);
  background: rgba(79, 207, 133, 0.05);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.pricing-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.pricing-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card.premium .pricing-btn {
  background: var(--primary);
  color: #000;
  border: none;
  transition: opacity 0.2s;
}

.pricing-card.premium .pricing-btn:hover {
  opacity: 0.9;
  background: var(--primary);
}

/* === Responsive Helpers === */
@media (min-width: 768px) {
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md-flex-row {
    flex-direction: row;
  }

  .pricing-card.premium {
    transform: translateY(-1rem);
  }

  .process-sidebar {
    flex: 1;
    min-width: 300px;
  }
}

@media (max-width: 767px) {

  .feature-block-offset-down,
  .feature-block-offset-up {
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Process Layout (page.php fix) --- */
.process-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .process-layout {
    flex-direction: row;
  }

  .process-sidebar {
    flex: 1;
    min-width: 300px;
  }
}

/* ============================================================
   SEO-PROMOTION PAGE — Unique Components
   ============================================================ */

/* --- SEO Dashboard (Analytics mockup) --- */
.seo-dashboard {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.seo-dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.seo-dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.seo-dashboard-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-left: 0.5rem;
}

.seo-dashboard-body {
  padding: 1.5rem;
}

.seo-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.seo-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 0.25rem;
}

.seo-metric-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.seo-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.seo-metric-up {
  color: var(--primary);
}

.seo-chart {
  margin-top: 1rem;
  position: relative;
}

.seo-chart-svg {
  width: 100%;
  height: 80px;
}

.seo-chart-label {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: var(--muted-fg);
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

/* --- SEO Timeline (5 stages) --- */
.seo-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.seo-timeline-item {
  display: flex;
  gap: 2rem;
  position: relative;
}

.seo-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
}

.seo-timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: #000;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.seo-timeline-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(79, 207, 133, 0.1) 100%);
  margin-top: 0;
}

.seo-timeline-content {
  padding-bottom: 3rem;
  flex: 1;
}

.seo-timeline-item.last .seo-timeline-content {
  padding-bottom: 0;
}

.seo-timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
}

.seo-timeline-desc {
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.seo-timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Mobile: timeline */
@media (max-width: 640px) {
  .seo-timeline-item {
    gap: 1rem;
  }

  .seo-timeline-marker {
    width: 36px;
  }

  .seo-timeline-num {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .seo-metric-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SEO-PROMOTION PAGE — Extended Components (v2)
   ============================================================ */

/* --- Shared section spacing --- */
.seo-section {
  padding: 6rem 0;
}

.seo-section-dark {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Position Tracker Table --- */
.seo-positions-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0a0a0a;
}

.seo-pos-header {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr 0.8fr;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
}

.seo-pos-row {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr 0.8fr;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
  transition: background 0.2s;
  opacity: 0;
  transform: translateY(10px);
  animation: seoRowAppear 0.5s forwards;
}

.seo-pos-row:hover {
  background: rgba(79, 207, 133, 0.03);
}

.seo-pos-row:last-child {
  border-bottom: none;
}

@keyframes seoRowAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-pos-col-key {
  font-size: 0.875rem;
  font-weight: 500;
}

.seo-pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.seo-pos-badge.top3 {
  background: rgba(79, 207, 133, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.seo-pos-badge.top10 {
  background: rgba(79, 207, 133, 0.08);
  border-color: rgba(79, 207, 133, 0.3);
  color: rgba(79, 207, 133, 0.8);
}

.seo-pos-up {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  animation: seoPulseUp 2s infinite;
}

@keyframes seoPulseUp {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.seo-pos-col-engine {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
}

@media (max-width: 640px) {

  .seo-pos-header,
  .seo-pos-row {
    grid-template-columns: 1.5fr 0.5fr 0.5fr;
  }

  .seo-pos-col-engine {
    display: none;
  }

  .seo-pos-col-key {
    font-size: 0.75rem;
  }
}

/* --- SEO Funnel --- */
.seo-funnel {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seo-funnel-step {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scaleX(0.5);
  animation: seoFunnelIn 0.6s forwards;
}

@keyframes seoFunnelIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.seo-funnel-bar {
  width: var(--funnel-width, 100%);
  background: linear-gradient(90deg, rgba(79, 207, 133, 0.12) 0%, rgba(79, 207, 133, 0.04) 100%);
  border: 1px solid rgba(79, 207, 133, 0.2);
  border-radius: 0.25rem;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.seo-funnel-bar:hover {
  background: rgba(79, 207, 133, 0.08);
  border-color: var(--primary);
}

.seo-funnel-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.seo-funnel-value {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.seo-funnel-value small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted-fg);
}

/* --- Case Study Before/After --- */
.seo-case {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0a0a0a;
}

.seo-case-side {
  flex: 1;
  padding: 2rem;
}

.seo-case-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: rgba(79, 207, 133, 0.03);
}

.seo-case-arrow svg {
  animation: seoCaseArrowPulse 1.5s infinite;
}

@keyframes seoCaseArrowPulse {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(4px);
    opacity: 0.7;
  }
}

.seo-case-arrow-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seo-case-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.seo-case-label-red {
  color: #ef4444;
}

.seo-case-label-green {
  color: var(--primary);
}

.seo-case-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seo-case-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.seo-case-num {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.seo-case-num-red {
  color: #ef4444;
}

.seo-case-num-green {
  color: var(--primary);
}

.seo-case-desc {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.seo-case-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 1.5rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .seo-case {
    flex-direction: column;
  }

  .seo-case-arrow {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .seo-case-arrow svg {
    transform: rotate(90deg);
  }

  @keyframes seoCaseArrowPulse {

    0%,
    100% {
      transform: rotate(90deg) translateX(0);
      opacity: 1;
    }

    50% {
      transform: rotate(90deg) translateX(4px);
      opacity: 0.7;
    }
  }

  .seo-case-arrow-label {
    margin-top: 0;
  }
}

/* --- Comparison Table --- */
.seo-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.seo-compare-col {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0a0a0a;
}

.seo-compare-heading {
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.seo-compare-bad .seo-compare-heading {
  background: rgba(239, 68, 68, 0.05);
  border-bottom-color: rgba(239, 68, 68, 0.15);
}

.seo-compare-good .seo-compare-heading {
  background: rgba(79, 207, 133, 0.05);
  border-bottom-color: rgba(79, 207, 133, 0.15);
}

.seo-compare-item {
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
  color: var(--muted-fg);
}

.seo-compare-item:last-child {
  border-bottom: none;
}

.seo-compare-good .seo-compare-item {
  color: #fff;
}

.seo-compare-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 640px) {
  .seo-compare {
    grid-template-columns: 1fr;
  }
}

/* --- Algorithm Scroll --- */
.seo-algo-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 207, 133, 0.3) transparent;
  padding-bottom: 1rem;
}

.seo-algo-scroll::-webkit-scrollbar {
  height: 4px;
}

.seo-algo-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.seo-algo-scroll::-webkit-scrollbar-thumb {
  background: rgba(79, 207, 133, 0.3);
  border-radius: 2px;
}

.seo-algo-track {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 2rem;
  width: max-content;
}

.seo-algo-card {
  width: 280px;
  flex-shrink: 0;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.seo-algo-card:hover {
  border-color: rgba(79, 207, 133, 0.3);
  transform: translateY(-4px);
}

.seo-algo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.seo-algo-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seo-algo-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
}

.seo-algo-impact {
  font-size: 0.8rem;
  color: var(--muted-fg);
  line-height: 1.6;
  margin: 0;
}

/* --- Guarantee Cards --- */
.seo-guarantee-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.seo-guarantee-card:hover {
  border-color: rgba(79, 207, 133, 0.4);
  transform: translateY(-4px);
}

.seo-guarantee-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(79, 207, 133, 0.08);
  border: 1px solid rgba(79, 207, 133, 0.2);
}

.seo-guarantee-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.seo-guarantee-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin: 0;
}

/* --- CountUp animation helper --- */
.seo-metric-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-fg);
}

/* --- Chart line draw animation --- */
.seo-chart-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: seoDrawLine 2s ease-out forwards;
}

.seo-chart-fill {
  opacity: 0;
  animation: seoChartFadeIn 1s 1.5s forwards;
}

@keyframes seoDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes seoChartFadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   SEO-PROMOTION — Animations & Fixes (v3)
   ============================================================ */

/* --- Particles canvas --- */
.seo-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Laser scan on positions table --- */
.seo-positions-table {
  position: relative;
}

.seo-laser-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
  animation: seoLaserScan 4s ease-in-out infinite;
}

@keyframes seoLaserScan {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* --- Pulsing borders on guarantee cards --- */
.seo-pulse-border {
  animation: seoPulseBorder 3s ease-in-out infinite;
}

@keyframes seoPulseBorder {

  0%,
  100% {
    border-color: var(--border);
  }

  50% {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 207, 133, 0.4);
  }
}

/* --- Algorithm Grid (replaces horizontal scroll) --- */
.seo-algo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .seo-algo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .seo-algo-grid {
    grid-template-columns: 1fr;
  }
}

.seo-algo-card {
  width: auto;
}

/* --- Funnel mobile fix (min-width) --- */
.seo-funnel-bar {
  min-width: 280px;
}

@media (max-width: 640px) {
  .seo-funnel-bar {
    min-width: 0;
    padding: 0.75rem 1rem;
  }

  .seo-funnel-label {
    font-size: 0.75rem;
  }

  .seo-funnel-value {
    font-size: 0.9rem;
  }
}

/* --- Dashboard glow animation --- */
.seo-dashboard {
  animation: seoDashGlow 4s ease-in-out infinite;
}

@keyframes seoDashGlow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(79, 207, 133, 0);
  }

  50% {
    box-shadow: 0 0 30px rgba(79, 207, 133, 0.08);
  }
}

/* SITE-REDESIGN Styles v1 */
.rd-hero-wireframe {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 250px;
  height: auto;
  opacity: .12;
  pointer-events: none;
  z-index: 1
}

@keyframes rdStrokeDraw {
  to {
    stroke-dashoffset: 0
  }
}

@media(max-width:768px) {
  .rd-hero-wireframe {
    width: 140px;
    bottom: 1rem;
    right: 1rem
  }
}

.rd-section {
  padding: 5rem 0
}

.rd-section-dark {
  background: var(--bg-secondary, #0a0a0a)
}

.rd-transform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem
}

@media(max-width:768px) {
  .rd-transform-grid {
    grid-template-columns: 1fr
  }
}

.rd-transform-card {
  position: relative;
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  border-radius: 4px;
  overflow: hidden;
  transition: border-radius .6s cubic-bezier(.34, 1.56, .64, 1), border-color .4s ease, box-shadow .4s ease;
  cursor: default
}

.rd-transform-card:hover {
  border-radius: 20px;
  border-color: rgba(79, 207, 133, .3);
  box-shadow: 0 0 30px rgba(79, 207, 133, .08)
}

.rd-transform-before {
  padding: 2rem;
  background: rgba(255, 60, 60, .03);
  transition: opacity .5s ease, transform .5s ease
}

.rd-transform-card:hover .rd-transform-before {
  opacity: 0;
  transform: scale(.95);
  position: absolute;
  inset: 0
}

.rd-transform-after {
  padding: 2rem;
  background: rgba(79, 207, 133, .03);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .5s ease, transform .5s ease
}

.rd-transform-card:hover .rd-transform-after {
  opacity: 1;
  transform: scale(1);
  position: relative
}

.rd-transform-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem
}

.rd-transform-before .rd-transform-icon {
  background: rgba(255, 60, 60, .1);
  color: #ff5f57
}

.rd-transform-after .rd-transform-icon {
  background: rgba(79, 207, 133, .1);
  color: var(--primary)
}

.rd-transform-label {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: var(--fg, #fff)
}

.rd-transform-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.rd-transform-list li {
  font-size: .9rem;
  padding: .3rem 0;
  color: var(--muted-fg, rgba(255, 255, 255, .65));
  line-height: 1.5
}

.rd-transform-before .rd-transform-list li {
  color: rgba(255, 120, 120, .7)
}

.rd-transform-after .rd-transform-list li {
  color: rgba(79, 207, 133, .85)
}

.rd-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0
}

.rd-blob-1 {
  width: 200px;
  height: 200px;
  background: rgba(79, 207, 133, .12);
  top: -30px;
  right: -20px;
  animation: rdBlobMorph 8s ease-in-out infinite
}

.rd-blob-2 {
  width: 150px;
  height: 150px;
  background: rgba(79, 207, 133, .08);
  bottom: -20px;
  left: 10px;
  animation: rdBlobMorph 10s ease-in-out infinite reverse
}

@keyframes rdBlobMorph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30%/40% 50% 60% 50%
  }

  25% {
    border-radius: 70% 30% 50% 50%/30% 30% 70% 70%
  }

  50% {
    border-radius: 50% 60% 30% 60%/60% 40% 60% 40%
  }

  75% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
  }
}

.rd-metrics-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px)
}

.rd-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem
}

.rd-metric {
  text-align: center
}

.rd-metric-label {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-fg, rgba(255, 255, 255, .5));
  margin-bottom: .5rem
}

.rd-metric-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem
}

.rd-metric-old {
  font-size: 1.1rem;
  color: #ff5f57;
  text-decoration: line-through;
  opacity: .6
}

.rd-metric-arrow {
  color: var(--muted-fg, rgba(255, 255, 255, .3));
  font-size: 1.2rem
}

.rd-metric-new {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary)
}

.rd-metric-up {
  color: #28c840
}

.rd-metric-bar-section {
  display: flex;
  align-items: center;
  gap: 1rem
}

.rd-metric-bar-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-fg, rgba(255, 255, 255, .5));
  white-space: nowrap
}

.rd-metric-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: 4px;
  overflow: hidden
}

.rd-metric-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #28c840);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(.25, 1, .5, 1)
}

.rd-metric-bar-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap
}

.rd-stages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem
}

@media(max-width:1024px) {
  .rd-stages-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:640px) {
  .rd-stages-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:400px) {
  .rd-stages-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  .rd-flip-card {
    height: 380px
  }

  .rd-flip-card .rd-flip-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
}

.rd-flip-card {
  perspective: 800px;
  height: 480px;
  cursor: pointer
}

.rd-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1);
  transform-style: preserve-3d
}

.rd-flip-card:hover .rd-flip-inner {
  transform: rotateY(180deg)
}

.rd-flip-front,
.rd-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center
}

.rd-flip-front {
  background: rgba(255, 255, 255, .02)
}

.rd-flip-back {
  background: rgba(79, 207, 133, .03);
  border-color: rgba(79, 207, 133, .15);
  transform: rotateY(180deg);
  justify-content: flex-start;
  padding-top: 2rem;
  text-align: left;
  align-items: flex-start
}

.rd-flip-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .2;
  font-family: monospace;
  margin-bottom: .75rem
}

.rd-flip-back .rd-flip-num {
  font-size: 1.2rem;
  margin-bottom: .5rem
}

.rd-flip-icon {
  margin-bottom: 1rem
}

.rd-flip-title {
  font-weight: 600;
  color: var(--fg, #fff)
}

.rd-flip-hint {
  position: absolute;
  bottom: 1rem;
  font-size: .7rem;
  color: var(--muted-fg, rgba(255, 255, 255, .3));
  letter-spacing: .08em;
  text-transform: uppercase
}

.rd-flip-desc {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted-fg, rgba(255, 255, 255, .65));
  margin-bottom: 1rem;
  word-wrap: break-word;
  hyphens: auto;
}

.rd-flip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  overflow: hidden;
  width: 100%;
}

.rd-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem
}

@media(max-width:768px) {
  .rd-checklist-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {
  .rd-checklist-grid {
    grid-template-columns: 1fr
  }
}

.rd-check-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .3s ease, transform .3s ease
}

.rd-check-card:hover {
  border-color: rgba(79, 207, 133, .2);
  transform: translateY(-4px)
}

.rd-check-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(79, 207, 133, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem
}

.rd-check-title {
  font-weight: 600;
  color: var(--fg, #fff);
  margin-bottom: .5rem
}

.rd-check-desc {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--muted-fg, rgba(255, 255, 255, .6))
}

@property --rd-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false
}

@keyframes rdRotate {
  0% {
    --rd-angle: 0deg
  }

  100% {
    --rd-angle: 360deg
  }
}

.rd-glow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: none;
  background: none;
  position: relative;
  padding: 1px;
  text-decoration: none;
  transition: all .18s ease-in-out;
  transform: translate3d(0, 0, 0);
  width: 100%;
  margin-top: auto
}

.rd-glow-btn::after,
.rd-glow-btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  background-image: conic-gradient(from var(--rd-angle) at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 25%, var(--primary) 50%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0) 100%);
  animation: rdRotate 5s infinite linear
}

.rd-glow-btn::before {
  filter: blur(15px)
}

.rd-glow-btn-inner {
  position: relative;
  display: flex;
  width: 100%;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  z-index: 1;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(40px);
  justify-content: center;
  text-decoration: none;
  transition: all .18s ease
}

.rd-glow-btn:hover .rd-glow-btn-inner {
  background: rgba(79, 207, 133, .1);
  color: #8affc0
}

.rd-glow-btn:active {
  transform: scale(.95)
}

.rd-transform-card,
.rd-check-card,
.rd-flip-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease, border-radius .6s cubic-bezier(.34, 1.56, .64, 1), border-color .4s ease, box-shadow .4s ease
}

.rd-visible .rd-transform-card,
.rd-visible .rd-check-card,
.rd-visible .rd-flip-card {
  opacity: 1;
  transform: translateY(0)
}

.rd-visible .rd-transform-card:nth-child(1),
.rd-visible .rd-check-card:nth-child(1),
.rd-visible .rd-flip-card:nth-child(1) {
  transition-delay: 0s
}

.rd-visible .rd-transform-card:nth-child(2),
.rd-visible .rd-check-card:nth-child(2),
.rd-visible .rd-flip-card:nth-child(2) {
  transition-delay: .1s
}

.rd-visible .rd-transform-card:nth-child(3),
.rd-visible .rd-check-card:nth-child(3),
.rd-visible .rd-flip-card:nth-child(3) {
  transition-delay: .2s
}

.rd-visible .rd-transform-card:nth-child(4),
.rd-visible .rd-check-card:nth-child(4),
.rd-visible .rd-flip-card:nth-child(4) {
  transition-delay: .3s
}

.rd-visible .rd-check-card:nth-child(5),
.rd-visible .rd-flip-card:nth-child(5) {
  transition-delay: .4s
}

.rd-visible .rd-check-card:nth-child(6) {
  transition-delay: .5s
}

.rd-guarantee-card {
  transition: border-color .3s ease, transform .3s ease
}

.rd-guarantee-card:hover {
  transform: translateY(-4px)
}

/* --- Neuro Background Shader --- */
.rd-pricing-section {
  position: relative;
  overflow: hidden;
  background-color: #050a06;
  /* Dark base color */
}

.rd-pricing-section .container {
  position: relative;
  z-index: 2;
}

.rd-neuro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

/* Opaque backgrounds for pricing cards over WebGL shader */
.rd-pricing-section .pricing-card {
  background-color: #0b0f0c;
  position: relative;
  z-index: 5;
}

.rd-pricing-section .pricing-card.premium {
  background-color: #0d1410;
}

/* --- Bokeh Background Section --- */
.rd-bokeh-section {
  position: relative;
  overflow: hidden;
  background-color: #0b110d;
  /* Very dark base */
}

.rd-bokeh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.rd-bokeh-section .container {
  position: relative;
  z-index: 2;
}

/* Make compare cards opaque */
.rd-bokeh-section .seo-compare-col {
  background-color: #0d120f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.rd-bokeh-section .seo-compare-good {
  background-color: #081a10;
  border-color: rgba(79, 207, 133, 0.2);
}


/* --- Animated Background Text Heading --- */
.rd-animated-heading-wrap {
  display: block;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.rd-animated-text-fill {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  /* Keep original casing or capitalize if needed */
  margin: 0;

  /* Using CSS background gradient instead of image for precise green color control */
  background: linear-gradient(-45deg, var(--primary) 25%, #2a8a50 50%, var(--primary) 75%);
  background-size: 200% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  -webkit-animation: rdAitfGreen 4s linear infinite;
  animation: rdAitfGreen 4s linear infinite;
}

@-webkit-keyframes rdAitfGreen {
  to {
    background-position: 200% center;
  }
}

@keyframes rdAitfGreen {
  to {
    background-position: 200% center;
  }
}

@keyframes rdAitf {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@media(max-width: 768px) {
  .rd-animated-heading-wrap {
    padding: 1em 0;
    border-width: 2px 0;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
  }
}

/* --- Demo Disclaimer --- */
.rd-demo-disclaimer {
  margin-top: 3rem;
  text-align: center;
  color: var(--muted-fg, rgba(255, 255, 255, 0.65));
  font-size: 0.9rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* --- Utility Grid Classes --- */
.rd-gap-2 {
  display: grid;
  gap: 2rem;
}

.rd-gap-4 {
  display: grid;
  gap: 4rem;
}

.rd-items-center {
  align-items: center;
}

/* ============================================================
   CONTENT FILLING PAGE (page-content-filling.php)
   ============================================================ */

/* --- Hero SVG Декор --- */
.cf-hero-docs {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: clamp(200px, 30vw, 420px);
  opacity: 0.18;
  pointer-events: none;
}

.cf-doc-rect,
.cf-doc-line,
.cf-doc-dot {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

/* --- Виды контента: Cards Grid --- */
.cf-particles-section {
  position: relative;
  overflow: hidden;
}

.cf-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cf-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cf-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cf-type-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(24px);
}

.cf-type-card.rd-visible,
.cf-type-card[style*="animation-delay"] {
  animation: cfCardIn 0.5s ease forwards;
}

@keyframes cfCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cf-type-card:hover {
  border-color: var(--primary, #4fcf85);
  background: rgba(79, 207, 133, 0.04);
  transform: translateY(-4px);
}

.cf-type-icon {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cf-type-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border: 1px solid;
  border-radius: 2px;
  width: fit-content;
}

.cf-type-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.cf-type-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
  margin: 0;
}

/* --- Content Audit Dashboard --- */
.cf-neon-blob {
  position: absolute;
  inset: 0;
  background: var(--primary, #4fcf85);
  opacity: 0.04;
  filter: blur(80px);
  border-radius: 9999px;
  pointer-events: none;
}

.cf-content-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
}

.cf-dashboard-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-audit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cf-audit-row:last-of-type {
  border-bottom: 0;
}

.cf-audit-label {
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.cf-audit-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.cf-audit-bad {
  color: #f87171;
}

.cf-audit-warn {
  color: #fbbf24;
}

.cf-audit-good {
  color: var(--primary, #4fcf85);
}

.cf-audit-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.cf-audit-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cf-audit-progress-label {
  font-size: 0.8rem;
  color: var(--muted-fg);
  white-space: nowrap;
  flex-shrink: 0;
}

.cf-audit-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 2px;
}

.cf-audit-progress-track .rd-metric-bar-fill {
  height: 100%;
  width: 0%;
  transition: width 1.5s ease;
}

/* --- Bokeh section --- */
.cf-bokeh-section {
  position: relative;
  overflow: hidden;
}

/* --- Guarantee card (Content page) --- */
.cf-guarantee-card {
  position: relative;
}

/* --- Непрозрачные блоки сравнения (на фоне матрицы) --- */
.cf-compare-opaque .seo-compare-col {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.cf-compare-opaque .seo-compare-heading,
.cf-compare-opaque .seo-compare-item {
  color: var(--fg, #e5e5e5);
  opacity: 1;
}

/* Убедимся, что binary-rain-wrapper не обрезает контент */
.binary-rain-wrapper {
  position: relative;
  overflow: visible;
}

/* ============================================================
   ПРАВИЛО: блоки поверх фоновой анимации (Matrix, частицы)
   должны иметь непрозрачный фон, чтобы текст был читаем.
   Применять ко всем секциям внутри .binary-rain-wrapper.
   ============================================================ */

/* --- Секция «Почему без контента сайт не работает?» --- */
.page-section-why {
  position: relative;
  z-index: 2;
}

.page-section-why .why-point-item {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  position: relative;
  z-index: 2;
}

.page-section-why .cf-content-dashboard {
  background: var(--bg-card, #0d0d0d);
  position: relative;
  z-index: 2;
}

/* --- Секция «Реальный результат: интернет-магазин инструментов» --- */
.seo-section.seo-section-dark .seo-case-side {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.seo-section.seo-section-dark .seo-case {
  position: relative;
  z-index: 2;
}

/* --- Секция «Что вы получите» --- */
.page-section-list {
  position: relative;
  z-index: 2;
}

.page-section-list .list-items {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.75rem;
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
}

.page-section-list .tech-stack-box {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* ============================================================
   PAGE-SITE-ACCELERATION: стили
   ============================================================ */

/* --- Сетка аудит-карточек (Секция 1) --- */
.accel-audit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .accel-audit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .accel-audit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.accel-audit-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.accel-audit-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.accel-audit-card.accel-laser-active {
  border-color: rgba(79, 207, 133, 0.4);
  box-shadow: 0 0 20px rgba(79, 207, 133, 0.1);
}

.accel-audit-card.accel-laser-active::before {
  width: 100%;
}

.accel-audit-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.accel-audit-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  color: var(--fg, #e5e5e5);
  line-height: 1.4;
}

.accel-audit-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.accel-audit-badge-bad {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.accel-audit-badge-warn {
  background: rgba(251, 191, 36, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.accel-audit-desc {
  font-size: 0.8rem;
  color: var(--muted-fg, rgba(255,255,255,0.5));
  margin: 0 0 1rem;
  line-height: 1.5;
}

.accel-audit-compare {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.accel-audit-before {
  font-family: var(--font-mono, monospace);
  font-size: 0.875rem;
  color: #ef4444;
  font-weight: 600;
}

.accel-audit-after {
  font-family: var(--font-mono, monospace);
  font-size: 0.875rem;
  color: var(--primary, #4fcf85);
  font-weight: 600;
}

.accel-audit-arrow {
  flex-shrink: 0;
}

/* --- Дашборд PageSpeed (Score Circles) --- */
.accel-speed-dashboard {
  background: var(--bg-card, #0d0d0d);
  position: relative;
  z-index: 2;
}

.accel-score-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
}

.accel-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.accel-score-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.accel-score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
}

.accel-score-circle-red {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.accel-score-circle-green {
  background: rgba(79, 207, 133, 0.1);
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(79, 207, 133, 0.2);
}

.accel-score-sub {
  font-size: 0.7rem;
  color: var(--muted-fg);
  text-align: center;
}

.accel-score-arrow-col {
  flex-shrink: 0;
}

/* --- Непрозрачные блоки сравнения (на фоне матрицы) --- */
.accel-compare-opaque .seo-compare-col {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.accel-compare-opaque .seo-compare-heading,
.accel-compare-opaque .seo-compare-item {
  color: var(--fg, #e5e5e5);
  opacity: 1;
}

/* --- Particles section positioning --- */
.accel-particles-section {
  position: relative;
  overflow: hidden;
}

/* ============================================================
   PAGE-PRODUCT-PARSING: стили
   ============================================================ */

/* --- Particles section --- */
.parse-particles-section {
  position: relative;
  overflow: hidden;
}

/* --- Сетка источников (6 карточек) --- */
.parse-sources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .parse-sources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .parse-sources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.parse-source-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.parse-source-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.45s ease;
}

.parse-source-card.parse-laser-active {
  border-color: rgba(79, 207, 133, 0.35);
  box-shadow: 0 0 22px rgba(79, 207, 133, 0.09);
}

.parse-source-card.parse-laser-active::before {
  width: 100%;
}

.parse-source-icon {
  margin-bottom: 1rem;
}

.parse-source-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 0.5rem;
}

.parse-source-desc {
  font-size: 0.825rem;
  color: var(--muted-fg, rgba(255, 255, 255, 0.5));
  line-height: 1.55;
  margin: 0;
}

/* --- Терминал-лог --- */
.parse-terminal-dashboard {
  background: var(--bg-card, #0d0d0d);
  position: relative;
  z-index: 2;
}

.parse-terminal-body {
  padding: 0;
  max-height: 280px;
  overflow: hidden;
  position: relative;
}

.parse-terminal-pre {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 1rem 1.25rem 0.5rem;
  white-space: pre-wrap;
}

.parse-terminal-live {
  padding: 0 1.25rem 1rem;
  max-height: 160px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.parse-terminal-line {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  animation: parseLineIn 0.2s ease both;
}

@keyframes parseLineIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ptc-ok   { color: var(--primary, #4fcf85); }
.ptc-info { color: #38bdf8; }
.ptc-warn { color: #f59e0b; }
.ptc-dim  { color: rgba(255, 255, 255, 0.35); }

/* --- Непрозрачные блоки сравнения --- */
.parse-compare-opaque .seo-compare-col {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.parse-compare-opaque .seo-compare-heading,
.parse-compare-opaque .seo-compare-item {
  color: var(--fg, #e5e5e5);
  opacity: 1;
}

/* ============================================================
   PAGE-AI-CONTENT-GENERATION: стили
   ============================================================ */

/* --- Hero section positioning --- */
.ai-hero-section {
  position: relative;
  overflow: hidden;
}

/* --- Liquid Buttons Grid --- */
.ai-liquid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .ai-liquid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ai-liquid-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-liquid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.ai-liquid-badge {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1.35rem;
  border: 1px solid rgba(204, 255, 47, 0.45);
  background: linear-gradient(135deg, rgba(204, 255, 47, 0.16), rgba(79, 207, 133, 0.08));
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-liquid-desc {
  font-size: 0.825rem;
  color: var(--muted-fg, rgba(255, 255, 255, 0.5));
  line-height: 1.55;
  margin: 0;
  padding-left: 4px;
}

/* --- Workflow Steps Dashboard --- */
.ai-workflow-dashboard {
  background: var(--bg-card, #0d0d0d);
  position: relative;
  z-index: 2;
}

.ai-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.25rem 0.5rem;
}

.ai-workflow-row {
  display: grid;
  grid-template-columns: 28px 1fr 80px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono, monospace);
  color: rgba(255, 255, 255, 0.6);
}

.ai-workflow-step-num {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.65rem;
}

.ai-workflow-step-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
}

.ai-workflow-bar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}

/* Переиспользуем rd-metric-bar-fill для анимации */
.ai-workflow-bar-track .rd-metric-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Непрозрачные блоки сравнения для AI --- */
.ai-compare-opaque .seo-compare-col {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.ai-compare-opaque .seo-compare-heading,
.ai-compare-opaque .seo-compare-item {
  color: var(--fg, #e5e5e5);
  opacity: 1;
}

/* ============================================================
   ABOUT PAGE (page-about.php)
   ============================================================ */

/* Секции */
.about-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.about-section--alt {
  background: rgba(255, 255, 255, 0.03);
}

/* Двухколоночная сетка */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Лейбл секции */
.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Заголовок секции «О себе» */
.about-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Текст мутед */
.text-muted {
  color: var(--muted-fg);
  line-height: 1.75;
}

.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Статистика «О себе» */
.about-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.about-stat-value--lg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.about-stat-label {
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

/* Колонка с карточками преимуществ */
.feature-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Карточка преимущества (вертикальная) */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: rgba(204, 255, 47, 0.3);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

/* Иконка + заголовок в одной строке */
.feature-icon-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.625;
}

/* Старые модификаторы (legacy) */
.feature-card__icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__title {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.625;
}



/* Грид стека технологий (4 колонки) */
.tech-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .tech-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ячейка стека */
.tech-item {
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}

.tech-item:hover {
  border-color: rgba(204, 255, 47, 0.4);
}

.tech-item__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--primary);
}

.tech-item__desc {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  margin: 0;
}

/* Грид процесса работы (2 колонки) */
.process-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Карточка шага процесса */
.process-step-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.process-step-card__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

.process-step-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.process-step-card__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.625;
}

/* Заголовок секции с центровкой */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Hero name на about */
.hero-name {
  white-space: pre-line;
}

/* Секция «Принципы работы» (/// ПОДХОД) */
.about-section--values {
  background: #000;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Карточка ценности */
.value-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}

.value-card:hover {
  border-color: rgba(204, 255, 47, 0.4);
}

.value-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.value-card__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.625;
}

/* ============================================================
   ПРАВИЛО НЕПРОЗРАЧНОСТИ: About — блоки внутри binary-rain-wrapper
   Анимация Matrix НЕ должна просвечивать сквозь контент.
   ============================================================ */

/* --- Секция «Мой стек» (tech-item внутри Matrix) --- */
.binary-rain-wrapper .tech-item {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* --- Секция «Как строится работа» (process-step-card внутри Matrix) --- */
.binary-rain-wrapper .process-step-card {
  background: var(--bg-card, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* Секции внутри Matrix-обёртки поверх канваса */
.binary-rain-wrapper .about-section {
  position: relative;
  z-index: 2;
}

/* ============================================================
   PAGE-BRIEF: стили
   ============================================================ */

/* Утилита white text */
.text-white { color: #fff; }

/* --- Секция «Есть готовое ТЗ?» --- */
.brief-tz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .brief-tz-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brief-tz-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.brief-tz-card:hover {
  border-color: rgba(204, 255, 47, 0.3);
}

.brief-tz-card--highlight {
  border-color: var(--primary);
  background: rgba(79, 207, 133, 0.06);
  animation: briefPulseBorder 2s ease-in-out infinite;
}

@keyframes briefPulseBorder {
  0%, 100% { border-color: rgba(79, 207, 133, 0.5); box-shadow: 0 0 8px rgba(79, 207, 133, 0.1), inset 0 0 8px rgba(79, 207, 133, 0.03); }
  50% { border-color: var(--primary); box-shadow: 0 0 25px rgba(79, 207, 133, 0.25), 0 0 50px rgba(79, 207, 133, 0.08), inset 0 0 15px rgba(79, 207, 133, 0.05); }
}

.brief-tz-icon {
  margin-bottom: 1.5rem;
}

.brief-tz-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.brief-tz-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  flex-grow: 1;
  margin: 0 0 1.5rem;
}

.brief-tz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brief-tz-actions .btn {
  font-size: 11px;
  padding: 0.75rem 1.5rem;
}

/* --- Квиз-бриф --- */
.brief-quiz-wrap {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.brief-quiz-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.brief-quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--primary);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brief-quiz-step-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
  padding: 1.25rem 2rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brief-quiz-form {
  padding: 1.5rem 2rem 2rem;
}

.brief-quiz-step {
  display: none;
  animation: briefStepIn 0.35s ease both;
}

.brief-quiz-step.active {
  display: block;
}

@keyframes briefStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brief-quiz-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.brief-quiz-hint {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  margin: -1rem 0 1.25rem;
}

/* Варианты (радио/чекбокс) */
.brief-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.brief-quiz-options--multi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .brief-quiz-options--multi {
    grid-template-columns: 1fr 1fr;
  }
}

.brief-quiz-options--compact {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brief-quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.875rem;
  color: var(--fg);
}

.brief-quiz-option:hover {
  border-color: rgba(204, 255, 47, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.brief-quiz-option input {
  display: none;
}

.brief-quiz-option input:checked + .brief-quiz-option-text {
  color: var(--primary);
}

.brief-quiz-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(204, 255, 47, 0.06);
}

.brief-quiz-option-text {
  transition: color 0.2s;
}

/* Compact варианты */
.brief-quiz-options--compact .brief-quiz-option {
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
}

/* Поля ввода */
.brief-quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brief-quiz-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brief-quiz-field-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brief-quiz-input,
.brief-quiz-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.brief-quiz-input:focus,
.brief-quiz-textarea:focus {
  border-color: var(--primary);
}

.brief-quiz-input::placeholder,
.brief-quiz-textarea::placeholder {
  color: var(--muted-fg);
  opacity: 0.6;
}

/* Навигация квиза */
.brief-quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.brief-quiz-prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Экран успеха */
.brief-quiz-success {
  text-align: center;
  padding: 4rem 2rem;
}

.brief-quiz-success-icon {
  margin-bottom: 1.5rem;
}

.brief-quiz-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.brief-quiz-success-text {
  font-size: 0.9375rem;
  color: var(--muted-fg);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.625;
}

/* Ошибка валидации */
.brief-quiz-input.error,
.brief-quiz-option.error {
  border-color: var(--red) !important;
}

.brief-quiz-error-msg {
  color: var(--red);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* --- Подсказки: грид вопросов --- */
.brief-questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .brief-questions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brief-question-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.brief-question-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brief-question-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.brief-question-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.brief-question-marker {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Лазерные бордеры на карточках преимуществ --- */
.feature-card--laser {
  position: relative;
  border: none !important;
  overflow: hidden;
}

.feature-card--laser::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: conic-gradient(
    from var(--laser-angle, 0deg),
    transparent 0%,
    var(--primary) 10%,
    transparent 20%,
    transparent 100%
  );
  animation: laserSpin 3s linear infinite;
  z-index: -2;
}

.feature-card--laser::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card, #0d0d0d);
  z-index: -1;
}

@property --laser-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}


@keyframes laserSpin {
  to { --laser-angle: 360deg; }
}

/* ============================================================
   PAGE-CONTACTS: стили
   ============================================================ */

/* --- Грид контактов: 2 колонки --- */
.contacts-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
  }
}

.contacts-left,
.contacts-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Карточка --- */
.contacts-card {
  padding: 2rem;
  background: var(--bg-card, #111113);
  border: 1px solid var(--border);
}

.contacts-card--main {
  min-height: 680px;
}

.contacts-card--form {
  padding: 2rem 2.5rem;
  min-height: 680px;
}

.contacts-card--docs {
  padding: 2rem;
}

.contacts-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contacts-card__title--sm {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contacts-card__desc {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* --- Контактные строки --- */
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s;
}

a.contact-row:hover {
  opacity: 0.8;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
  color: var(--primary);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-note {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
  opacity: 0.7;
}

/* --- Режим работы --- */
.contacts-schedule {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contacts-schedule__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts-schedule__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contacts-schedule__text {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --- Реквизиты --- */
.contacts-requisites {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-fg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
}

.contacts-doc-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contacts-doc-btn {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.contacts-doc-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- CF7 стилизация --- */
.wpcf7-submit {
  height: 56px;
  padding: 0 2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #000;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.wpcf7-submit:hover { opacity: 0.8; }
.wpcf7-form p { margin-bottom: 1.5rem; }
.wpcf7-form-control-wrap { display: block; margin-bottom: 1.5rem; }
.wpcf7-acceptance { margin-bottom: 2rem; display: block; }
.wpcf7-spinner { display: none !important; }

/* --- Fallback-форма --- */
.contacts-fallback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacts-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .contacts-form-row {
    grid-template-columns: 1fr;
  }
}

.contacts-form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
  margin-bottom: 0.5rem;
}

.contacts-form-input,
.contacts-form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.contacts-form-input:focus,
.contacts-form-textarea:focus {
  border-color: var(--primary);
}

.contacts-form-input::placeholder,
.contacts-form-textarea::placeholder {
  color: var(--muted-fg);
  opacity: 0.6;
}

.contacts-form-submit {
  height: 56px;
  font-size: 1.125rem;
}

.contacts-form-consent {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.6;
}

/* --- Отзывы (credits scroll) --- */
.reviews-credits-container {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #0d0d0d;
  border: 1px solid var(--border);
  padding: 2rem;
  margin: 0;
}

.reviews-credits-container::before,
.reviews-credits-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.reviews-credits-container::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.reviews-credits-container::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.reviews-credits-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.reviews-credits-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
}

.reviews-credits-track {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviews-credits-container:hover .reviews-credits-track {
  animation-play-state: paused;
}

.review-item {
  text-align: center;
  flex-shrink: 0;
}

.review-author {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.review-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-style: italic;
}

/* --- Google Map --- */
.contacts-map-section {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contacts-map-iframe {
  filter: grayscale(100%) invert(90%) contrast(85%);
  width: 100%;
  height: 100%;
}

/* Opaque: контакты поверх Matrix */
.binary-rain-wrapper .contacts-section {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   PAGE-CORPORATE
   ========================================================================== */
.corporate-benefits {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.corp-intro {
  margin-bottom: 3rem;
}

.corp-intro-text {
  max-width: 700px;
}

.corp-reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .corp-reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.corp-reason-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  z-index: 1; /* Для лазерных бордеров */
}

.reason-title {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.corp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
}

.corp-tag {
  color: var(--muted-fg);
  font-size: 0.875rem;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.corp-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.corp-features-title {
  margin-bottom: 1.5rem;
}

.corp-features-desc {
  max-width: 700px;
  margin-bottom: 3rem;
}

.corp-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .corp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .corp-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.corp-feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.corp-feature-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

/* Capabilities */
.corp-capabilities {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.corp-capabilities-desc {
  margin-bottom: 2rem;
}

.corp-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .corp-capabilities-grid {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }
}

.corp-capabilities-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corp-capabilities-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-fg);
}

.corp-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Tech Stack */
.corp-tech-stack h3 {
  margin-bottom: 1.5rem;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.corp-tech-quote {
  font-style: italic;
  color: var(--muted-fg);
  font-size: 0.95rem;
  border-left: 2px solid var(--primary);
  padding-left: 1rem;
  line-height: 1.6;
}

/* Process */
.corp-process-heading {
  position: sticky;
  top: 100px;
}

.corp-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .corp-process-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: flex-start;
  }
}

.process-steps-list {
  display: flex;
  flex-direction: column;
}

.process-step-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.process-step-item-last {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Pricing Grid */
.corp-pricing {
  counter-reset: dummy;
}

.corp-pricing .section-title {
  margin-bottom: 3rem;
}

.corp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .corp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--popular {
  border-color: var(--primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-desc {
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 2rem;
}

.accel-proof-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid rgba(204, 255, 47, 0.28);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.08), rgba(0, 0, 0, 0) 46%),
    rgba(255, 255, 255, 0.025);
}

.accel-proof-card .features-title {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.accel-proof-card .features-desc {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.accel-proof-card .btn {
  flex: 0 0 auto;
  white-space: normal;
  text-align: center;
}

@media (max-width: 768px) {
  .accel-proof-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .accel-proof-card .btn {
    width: 100%;
  }
}

.pricing-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--muted-fg);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-btn {
  width: 100%;
}

/* ==========================================================================
   PAGE-ECOMMERCE
   ========================================================================== */

/* Typography Utils */
.text-center { text-align: center; }
.text-left { text-align: left; }
.md-text-lg { font-size: 1.125rem; }

/* Why WooCommerce Section */
.ecommerce-why-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ecommerce-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ecommerce-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ecommerce-why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ecommerce-why-point {
  display: flex;
  gap: 1rem;
}

.why-point-icon {
  width: 3rem;
  height: 3rem;
  background: #000;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecommerce-why-point h4 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.ecommerce-why-point p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
}

.ecommerce-stat-wrapper {
  position: relative;
}

.ecommerce-stat-glow {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.06;
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.ecommerce-stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ecommerce-stat-card {
  background: #000;
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-fg);
  font-weight: 700;
  text-transform: uppercase;
}

/* Features Section */
.ecommerce-features-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.ecommerce-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ecommerce-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ecommerce-feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.3s ease;
}

.ecommerce-feature-card:hover {
  border-color: rgba(79, 207, 133, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.ecommerce-feature-card svg {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.ecommerce-feature-card:hover svg {
  transform: scale(1.1);
}

.ecommerce-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ecommerce-feature-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin: 0;
}

/* Growth Section */
.ecommerce-growth-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.ecommerce-growth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .ecommerce-growth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ecommerce-growth-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ecommerce-growth-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.growth-list-bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.ecommerce-growth-list span {
  font-weight: 500;
}

.ecommerce-tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.5rem;
}

.ecommerce-tech-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-stack-tag {
  padding: 0.5rem 1rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.tech-stack-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(204, 255, 47, 0.05);
}

.tech-stack-tag--lime { color: #ccff2f; border-color: rgba(204, 255, 47, 0.3); }
.tech-stack-tag--blue { color: #229ED9; border-color: rgba(34, 158, 217, 0.3); }
.tech-stack-tag--purple { color: #a855f7; border-color: rgba(168, 85, 247, 0.3); }
.tech-stack-tag--orange { color: #f97316; border-color: rgba(249, 115, 22, 0.3); }
.tech-stack-tag--cyan { color: #06b6d4; border-color: rgba(6, 182, 212, 0.3); }
.tech-stack-tag--pink { color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }

.tech-card-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tech-card-footer p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-style: italic;
}

/* Process Layout */
.ecommerce-process-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.ecommerce-process-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .ecommerce-process-layout {
    flex-direction: row;
  }
}

.process-title-wrapper {
  flex: 1;
  min-width: 300px;
}

.process-sticky-title {
  position: sticky;
  top: 6rem;
}

.ecommerce-process-steps {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ecommerce-process-step {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
}

.ecommerce-process-step.last-step {
  border-bottom: none;
  padding-bottom: 0;
}

.step-desc {
  color: var(--muted-fg);
  line-height: 1.625;
}

.group-hover-primary {
  transition: color 0.3s ease;
}
.group:hover .group-hover-primary {
  color: var(--primary);
}

/* Pricing Grid Base styles are in corporate, just extending responsiveness here to ensure grids work */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Helper offsets */
.md--translate-y-4 {
  transform: translateY(-1rem);
}

/* === Landing Page Specific Styles === */

/* Formula Section */
.formula-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .formula-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.formula-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.formula-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(79,207,133,0.1);
  border: 1px solid rgba(79,207,133,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
}

.formula-content h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.formula-content p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.6;
}

/* Browser Mockup */
.landing-browser-mock {
  position: relative;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  transform: rotate(3deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-browser-mock:hover {
  transform: rotate(0deg);
}

.mock-header {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: rgba(239,68,68,0.8); }
.mock-dot.yellow { background: rgba(234,179,8,0.8); }
.mock-dot.green { background: rgba(34,197,94,0.8); }

.mock-address-bar {
  height: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 9999px;
  width: 128px;
  margin-left: 1rem;
}

.mock-content {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  height: 420px;
}

.mock-content-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.mock-h {
  height: 32px;
  background: linear-gradient(90deg, var(--primary), rgba(79,207,133,0.5));
  width: 75%;
  border-radius: 4px;
}

.mock-p1 { height: 16px; background: rgba(255,255,255,0.1); width: 100%; border-radius: 4px; }
.mock-p2 { height: 16px; background: rgba(255,255,255,0.1); width: 66%; border-radius: 4px; }

.mock-btns {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.mock-btn-primary {
  height: 40px;
  width: 120px;
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(79,207,133,0.3);
}

.mock-btn-outline {
  height: 40px;
  width: 120px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

.mock-card {
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}

.mock-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(59,130,246,0.2);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.mock-card-t {
  height: 12px;
  width: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin-bottom: 4px;
}

.mock-card-p {
  height: 8px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.mock-blur-1 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 192px;
  height: 192px;
  background: rgba(79,207,133,0.2);
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
}

.mock-blur-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 128px;
  height: 128px;
  background: rgba(59,130,246,0.2);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}

/* Landing Included Section */
.included-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.included-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.included-item span {
  font-weight: 500;
  font-size: 1.0625rem;
}

.landing-tech-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  border-radius: 1rem;
}

.landing-tech-quote {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-style: italic;
  line-height: 1.6;
}

/* Landing Stages */
.stages-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

.stages-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .stages-grid {
    flex-direction: row;
  }
  .stages-left {
    flex: 1;
    min-width: 300px;
  }
  .stages-right {
    flex: 2;
  }
}

.stages-sticky-title {
  position: sticky;
  top: 6rem;
}

.stage-item {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.stage-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: rgba(79, 207, 133, 0.4);
  transition: color 0.3s;
}

.stage-item:hover .stage-num {
  color: var(--primary);
}

.stage-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Landing Pricing */
.landing-price-info {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 0.5rem;
}

.landing-price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* Landing FAQ */
.faq-section-landing {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-container-landing {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-details-landing {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.faq-summary-landing {
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-summary-landing::-webkit-details-marker { display: none; }

.faq-summary-landing:hover {
  color: var(--primary);
}

.faq-details-landing[open] .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-icon-arrow {
  transition: transform 0.3s;
  color: rgba(255,255,255,0.3);
}

.faq-answer-landing {
  margin-top: 1.25rem;
  color: var(--muted-fg);
  line-height: 1.7;
  font-size: 1.0625rem;
}

/* Landing CTA */
.cta-section-landing {
  padding: 5rem 0;
}

.cta-box-landing {
  max-width: 60rem;
  margin: 0 auto;
  background: var(--primary);
  color: #000;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5rem;
  opacity: 0.08;
  pointer-events: none;
  color: #000;
}

.cta-box-landing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
  color: #000;
}

.cta-box-landing p {
  color: rgba(0,0,0,0.8);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
  font-size: 1.25rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.cta-actions-landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .cta-actions-landing {
    flex-direction: row;
    align-items: center;
  }
}

.cta-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  height: 4rem;
  padding: 0 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.cta-main-btn:hover {
  background: #111;
  transform: translateY(-2px);
}

.cta-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.cta-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0,0,0,0.15);
  color: #000;
  background: transparent;
  transition: all 0.2s;
}

.cta-icon-btn:hover {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* Landing Technologies — вертикальная карточка */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: rgba(204,255,47,0.3);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

/* Иконка и заголовок в одной строке сверху */
.feature-icon-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin: 0;
}

/* Landing Structure Interactive Section (Sticky Scroll) */
.structure-scroll-section {
  position: relative;
  background: #000;
  z-index: 10;
}

.structure-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: block !important;
  overflow: hidden;
  background: #000;
  width: 100%;
}

.structure-sticky-wrapper .container,
.structure-sticky-wrapper .structure-container {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  position: relative;
  height: 100vh !important;
  display: flex !important;
  align-items: center;
  padding: 0 2rem !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: 0 !important;
}

.structure-content-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem;
  width: 100% !important;
  align-items: center;
}

@media (min-width: 1024px) {
  .structure-content-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6rem !important;
  }
}

.structure-visual-side {
  position: relative;
  height: clamp(300px, 50vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.structure-mockup-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100%;
}

.structure-slide-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  z-index: 10;
}

.structure-slide-visual.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
}

.structure-info-side {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.structure-slide-info {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(30px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  pointer-events: none;
  width: 100%;
  padding-right: 2rem;
}

.structure-slide-info.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.structure-step-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.2em;
}

.structure-step-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.structure-step-desc {
  color: var(--muted-fg);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.structure-step-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  border-left: 3px solid var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

/* Visualization Styles for Steps */
.step-viz-box {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.step-viz-inner {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Progress Indicator */
.structure-progress {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
}

@media (min-width: 1280px) {
  .structure-progress {
    display: flex;
  }
}

.progress-dot {
  width: 2px;
  height: 15px;
  background: rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.progress-dot.active {
  height: 35px;
  background: var(--primary);
}

/* Mobile Adjustments */
@media (max-width: 1023px) {
  .structure-sticky-wrapper {
    padding: 2rem 0;
  }
  .structure-content-grid {
    gap: 2rem;
  }
  .structure-visual-side {
    height: 35vh;
    order: 1;
  }
  .structure-info-side {
    height: 300px;
    order: 2;
  }
}

/* ======================================================
   STEP VISUALIZATION COMPONENTS (Structure Scroll)
   ====================================================== */

.step-viz-box {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.viz-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.12;
  pointer-events: none;
}

/* --- HERO viz --- */
.viz-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.viz-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.viz-logo-mock {
  width: 28px;
  height: 28px;
  background: rgba(204,255,47,0.2);
  border: 1px solid rgba(204,255,47,0.4);
  border-radius: 4px;
  flex-shrink: 0;
}
.viz-nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}
.viz-nav-links > div {
  height: 7px;
  width: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
}
.viz-hero-body {
  display: flex;
  flex-direction: column;
}
.viz-hero-img-placeholder {
  height: 60px;
  background: rgba(204,255,47,0.05);
  border: 1px dashed rgba(204,255,47,0.2);
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* --- PAIN viz --- */
.viz-pain {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.viz-pain-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.viz-pain-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- SOLUTION viz --- */
.viz-solution {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.viz-sol-col {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --- BENEFITS viz --- */
.viz-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.viz-benefit-card {
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}

/* --- TRUST viz --- */
.viz-trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.viz-review {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
}
.viz-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viz-review-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- PROCESS viz --- */

.viz-steps-row {
  display: flex;
  align-items: center;
}
.viz-step-node {
  flex: 1;
  text-align: center;
}
.viz-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,0.3);
}
.viz-step-line {
  height: 2px;
  width: 24px;
  flex-shrink: 0;
}

/* --- PRICING viz --- */
.viz-pricing {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.viz-price-card {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- FAQ viz --- */
.viz-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.viz-faq-row {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 8px;
}

/* --- CTA FINAL viz --- */
.viz-cta-final {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   PORTFOLIO (page-portfolio.php)
   ============================================================ */
.portfolio-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.portfolio-hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.3);
  z-index: 0;
  pointer-events: none;
}

.portfolio-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.portfolio-hero-content-inner {
  max-width: 896px;
  text-align: left;
}

.portfolio-badge-wrap {
  margin-bottom: 1.5rem;
}

.portfolio-hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(79, 207, 133, 0.1);
  border: 1px solid rgba(79, 207, 133, 0.2);
  color: var(--primary);
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px;
}

.portfolio-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--fg);
}

.portfolio-hero-desc {
  font-size: 1.25rem;
  color: var(--fg);
  max-width: 672px;
  margin-bottom: 2.5rem;
  line-height: 1.625;
  font-weight: 300;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.portfolio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-hero-btn {
  height: 56px;
  padding: 0 2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-fg);
  transition: background 0.2s;
}

.portfolio-filters-section {
  padding-bottom: 2rem;
}

.portfolio-filters-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-grid-section {
  padding-top: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item.hidden {
  display: none !important;
}

.portfolio-overlay-content {
  width: 100%;
}

.portfolio-tags-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(204, 255, 47, 0.2);
  color: var(--primary);
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-item-title {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.portfolio-item-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-item-action {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
}

/* ============================================================
   SINGLE PORTFOLIO
   ============================================================ */
.portfolio-single-hero {
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.portfolio-single-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.portfolio-single-back:hover {
  color: var(--primary);
}

.portfolio-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.portfolio-single-tag {
  padding: 0.35rem 1rem;
  border: 1px solid rgba(204, 255, 47, 0.3);
  background: rgba(204, 255, 47, 0.08);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-single-title {
  max-width: 980px;
  margin-bottom: 1.5rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
}

.portfolio-single-excerpt {
  max-width: 48rem;
  color: var(--muted-fg);
  font-size: 1.25rem;
  line-height: 1.625;
}

.portfolio-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.portfolio-single-meta-item {
  min-width: 140px;
}

.portfolio-single-meta-label,
.portfolio-single-kicker,
.portfolio-nav-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portfolio-single-meta-value {
  color: var(--fg);
  font-weight: 600;
}

.portfolio-single-meta-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.portfolio-single-meta-link::after {
  content: " ↗";
}

.portfolio-single-preview,
.portfolio-single-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.portfolio-single-preview {
  background: #000;
}

.portfolio-browser-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.portfolio-browser-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 0.375rem;
}

.portfolio-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.portfolio-browser-dot-red {
  background: #ef4444;
}

.portfolio-browser-dot-yellow {
  background: #eab308;
}

.portfolio-browser-dot-green {
  background: #22c55e;
}

.portfolio-browser-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-browser-image {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-single-kicker {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.portfolio-single-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-single-stack-item {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  color: rgba(204, 255, 47, 0.86);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.portfolio-single-content-wrap {
  max-width: 48rem;
}

.portfolio-content {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}

.portfolio-content h2 {
  margin: 2.5rem 0 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.portfolio-content h3 {
  margin: 2rem 0 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.portfolio-content p {
  margin-bottom: 1.25rem;
}

.portfolio-content img {
  max-width: 100%;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.portfolio-content ul,
.portfolio-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.portfolio-content li {
  margin-bottom: 0.5rem;
}

.portfolio-content a {
  color: var(--primary);
  text-decoration: underline;
}

.portfolio-single-results-section {
  background: rgba(204, 255, 47, 0.03);
}

.portfolio-single-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.portfolio-single-result-card {
  padding: 2rem;
  border: 1px solid rgba(204, 255, 47, 0.2);
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.portfolio-single-result-metric {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.portfolio-single-result-label {
  color: var(--muted-fg);
  font-size: 0.85rem;
}

.portfolio-single-bottom {
  padding: 4rem 0;
}

.portfolio-single-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 3rem;
}

.portfolio-project-nav {
  display: flex;
  gap: 1rem;
}

.portfolio-nav-link {
  flex: 1;
  padding: 1.5rem;
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.portfolio-nav-link:hover {
  border-color: rgba(204, 255, 47, 0.45);
  transform: translateY(-2px);
}

.portfolio-nav-link-next {
  text-align: right;
}

.portfolio-nav-title {
  display: block;
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
}

.portfolio-single-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: var(--primary);
  color: #000;
}

.portfolio-single-cta-title {
  margin-bottom: 1rem;
  color: #000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.portfolio-single-cta-text {
  margin-bottom: 1.5rem;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
}

.portfolio-single-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.portfolio-single-cta-btn:hover {
  background: rgba(0, 0, 0, 0.86);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .portfolio-single-results,
  .portfolio-single-bottom-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-project-nav {
    flex-direction: column;
  }

  .portfolio-nav-link-next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .portfolio-single-hero {
    padding: 6rem 0 3rem;
  }

  .portfolio-single-preview,
  .portfolio-single-section,
  .portfolio-single-bottom {
    padding: 3rem 0;
  }

  .portfolio-browser-url {
    display: none;
  }

  .portfolio-single-cta-btn {
    width: 100%;
  }
}

.document-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted-fg);
  line-height: 1.8;
  font-size: 0.9375rem;
}

.document-page-section {
  padding: 4rem 0;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header {
  max-width: 900px;
}

.search-page-form {
  max-width: 760px;
  margin-top: 2rem;
}

.search-results-grid {
  margin-top: 2rem;
}

.search-result-card {
  display: flex;
  flex-direction: column;
}

.search-result-thumb-link {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.search-result-thumb {
  display: block;
  width: 100%;
  height: auto;
}

.search-result-card .archive-card-excerpt {
  flex: 1;
}

.search-empty-wrap {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.document-meta-date {
  color: var(--muted-fg);
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.document-content h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.document-content h3 {
  color: #fff;
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.document-content strong {
  color: #fff;
}

.document-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
  list-style: disc;
}

.document-content a {
  color: var(--primary);
  text-decoration: none;
}

.document-content a:hover {
  text-decoration: underline;
}

.document-contact-box {
  margin: 1rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.document-contact-box p {
  margin: 0.25rem 0;
}

/* Specific elements for refund policy */
.document-notice {
  padding: 1.5rem;
  border: 1px solid rgba(79, 207, 133, 0.3);
  background: rgba(79, 207, 133, 0.05);
  margin-bottom: 2rem;
  border-radius: 6px;
}

.document-notice p {
  margin: 0;
  color: #fff;
}

.document-steps-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.document-step-number {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 4px;
}

.text-primary { color: var(--primary) !important; }
.hero--compact h1 { font-size: clamp(1.75rem, 8vw, 3.5rem); }
.hero--compact p { font-size: 1.125rem; }

/* ============================================================
   PAGE: REPAIR AND CURE
   ============================================================ */
.repair-virus-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.repair-hero {
  position: relative;
  z-index: 1;
}

.repair-hero-badge {
  background: var(--red);
  color: #fff;
}

.repair-hero-title {
  white-space: pre-line;
}

.repair-hero-title span {
  color: var(--red);
}

.repair-btn-danger {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.repair-btn-danger:hover {
  background: #f87171;
  border-color: #f87171;
  color: #fff;
}

.repair-animated-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.repair-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.repair-canvas-rain {
  opacity: 0.4;
}

.repair-canvas-nodes {
  opacity: 0.7;
}

.repair-section {
  position: relative;
  z-index: 1;
}

.repair-section-alert {
  background: rgba(127, 29, 29, 0.05);
}

.repair-section-dark {
  background: #000;
}

.repair-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.repair-split-start {
  align-items: start;
}

.repair-copy h2,
.repair-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.repair-copy p,
.repair-lead {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.repair-alert-label,
.repair-work-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #f87171;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.repair-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.75);
  animation: repairPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.repair-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.repair-mini-card {
  display: flex;
  gap: 1rem;
}

.repair-mini-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(127, 29, 29, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.repair-mini-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.repair-mini-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.repair-mini-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.55;
  margin: 0;
}

.repair-terminal-card {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: #0a0a0a;
  padding: 2rem;
  position: relative;
  min-height: 100%;
}

.repair-terminal-card::before {
  content: "";
  position: absolute;
  inset: -3rem;
  background: var(--red);
  opacity: 0.06;
  filter: blur(100px);
  border-radius: 999px;
  pointer-events: none;
}

.repair-terminal-head,
.repair-terminal {
  position: relative;
  z-index: 1;
}

.repair-terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  padding-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-fg);
}

.repair-terminal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  text-transform: uppercase;
}

.repair-terminal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.repair-terminal-row {
  display: grid;
  grid-template-columns: 52px 86px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.repair-terminal-time {
  color: var(--muted-fg);
}

.repair-terminal-row strong {
  color: var(--red);
  font-weight: 700;
}

.repair-terminal-row span:last-child {
  color: #f87171;
}

.repair-terminal-row:last-child strong,
.repair-terminal-row:last-child span:last-child {
  color: #4ade80;
}

.repair-terminal-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.repair-terminal-summary div {
  border: 1px solid rgba(239, 68, 68, 0.16);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.875rem;
}

.repair-terminal-summary strong,
.repair-terminal-summary span {
  display: block;
  font-family: var(--font-mono);
}

.repair-terminal-summary strong {
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.repair-terminal-summary span {
  color: var(--muted-fg);
  font-size: 0.75rem;
  line-height: 1.45;
}

.repair-terminal-note {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.65;
}

.repair-card-grid,
.repair-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.repair-feature-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
}

.repair-feature-icon {
  width: 84px;
  height: 84px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.repair-symptom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.repair-symptom-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(127, 29, 29, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.15);
  transition: background-color 0.2s, border-color 0.2s;
}

.repair-symptom-list li:hover {
  background: rgba(127, 29, 29, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.repair-symptom-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.65);
  flex-shrink: 0;
}

.repair-symptom-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.repair-symptom-notes article {
  border: 1px solid rgba(239, 68, 68, 0.18);
  background: rgba(239, 68, 68, 0.05);
  padding: 1.25rem;
}

.repair-symptom-notes h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.repair-symptom-notes p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

.repair-diagnostics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.repair-work-card,
.repair-after-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.repair-work-card {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

.repair-work-grid {
  display: grid;
  gap: 1rem;
}

.repair-work-grid article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 1rem;
}

.repair-work-grid span,
.repair-after-card h3 {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.repair-work-grid strong {
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.repair-work-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.repair-work-grid p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

.repair-after-card {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.05);
}

.repair-after-card h3 {
  color: #4ade80;
}

.repair-after-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.repair-after-list div {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.repair-after-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.repair-scanner-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(239, 68, 68, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
}

.repair-scanner-laser {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.85);
  animation: repairScanLaser 6s ease-in-out infinite;
}

.repair-process {
  max-width: 760px;
  margin: 0 auto;
}

.repair-process-item {
  display: flex;
  gap: 2rem;
}

.repair-process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
}

.repair-process-marker span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
  background: #000;
}

.repair-process-marker i {
  width: 2px;
  flex-grow: 1;
  min-height: 72px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.repair-process-content {
  padding-bottom: 3rem;
  flex: 1;
}

.repair-process-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.repair-process-content p {
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.repair-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.repair-pricing-section .pricing-card {
  background-color: #0b0b0b;
  position: relative;
  z-index: 2;
}

.repair-pricing-section .pricing-card.premium,
.repair-pricing-section .repair-pricing-featured {
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.05);
}

.repair-pricing-section .pricing-badge,
.repair-pricing-section .pricing-card.premium .pricing-btn {
  background: var(--red);
  color: #fff;
}

.repair-pricing-section .pricing-card.premium .pricing-btn:hover {
  background: #f87171;
}

.repair-pricing-section .pricing-price {
  color: var(--red);
}

.repair-cta-scope .cta-banner-card {
  background: var(--red);
  color: #fff;
}

.repair-cta-scope .cta-banner-desc {
  color: rgba(255, 255, 255, 0.86);
}

.repair-cta-scope .cta-banner-btn-main {
  background: #fff;
  color: var(--red);
}

.repair-cta-scope .cta-banner-btn-main:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--red);
}

.repair-cta-scope .cta-banner-social-btn {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.repair-cta-scope .cta-banner-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@keyframes repairPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@keyframes repairScanLaser {
  0% {
    top: 0;
    opacity: 0;
  }

  5%, 45% {
    opacity: 0.8;
  }

  50%, 100% {
    top: 100%;
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .repair-split,
  .repair-card-grid,
  .repair-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .repair-card-grid,
  .repair-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .repair-copy h2,
  .repair-section h2 {
    font-size: clamp(1.75rem, 7vw, 2.05rem);
    line-height: 1.18;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .repair-terminal-card,
  .repair-work-card,
  .repair-after-card {
    padding: 1.25rem;
  }

  .repair-terminal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .repair-terminal-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .repair-terminal-row span:last-child {
    grid-column: 2;
  }

  .repair-terminal-summary,
  .repair-symptom-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .repair-feature-icon {
    width: 72px;
    height: 72px;
  }

  .repair-process-item {
    gap: 1rem;
  }

  .repair-process-marker {
    width: 36px;
  }

  .repair-process-marker span {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .repair-pulse-dot,
  .repair-scanner-laser {
    animation: none;
  }
}

/* ============================================================
   PAGE: SERVICES
   ============================================================ */

.services-hero .hero-content {
  max-width: 860px;
}

.hero-badge-line {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.services-intro-section,
.services-catalog-section,
.services-situations-section,
.services-work-section,
.services-formats-section,
.services-process-section,
.services-handoff-section,
.services-stack-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.services-split-top {
  align-items: start;
}

.services-copy-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.services-copy-block p {
  color: var(--muted-fg);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0 0 1.15rem;
}

.services-copy-block p:last-child {
  margin-bottom: 0;
}

.services-terminal-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(204, 255, 47, 0.28);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.07), rgba(0, 0, 0, 0) 48%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.services-terminal-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(204, 255, 47, 0.16);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.services-terminal-top strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.services-terminal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.services-terminal-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.services-terminal-row span {
  font-family: var(--font-mono);
  color: var(--primary);
}

.services-terminal-row b {
  color: #fff;
}

.services-terminal-row em {
  grid-column: 2;
  color: var(--muted-fg);
  font-style: normal;
  line-height: 1.55;
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.services-card-link {
  min-height: 360px;
}

.service-icon-svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.services-card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
}

.services-card-points li {
  border: 1px solid rgba(204, 255, 47, 0.18);
  background: rgba(204, 255, 47, 0.06);
  color: rgba(255, 255, 255, 0.74);
  padding: 0.35rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.2;
}

.services-situation-grid,
.services-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.services-situation-card,
.services-process-card,
.services-format-card,
.services-stack-card {
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.045), rgba(0, 0, 0, 0) 42%),
    #050505;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.services-situation-card span,
.services-process-card span,
.services-format-card span {
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.services-situation-card h3,
.services-process-card h3,
.services-format-card h3,
.services-stack-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
  margin: 0 0 1rem;
}

.services-situation-card p,
.services-process-card p,
.services-format-card p {
  color: var(--muted-fg);
  line-height: 1.75;
  margin: 0;
}

.services-work-grid .service-feature-card {
  min-height: 320px;
}

.services-work-grid .service-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(204, 255, 47, 0.18);
  background: rgba(204, 255, 47, 0.06);
  color: var(--primary);
}

.services-work-grid .service-feature-icon .service-icon-svg {
  width: 2rem;
  height: 2rem;
}

.services-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.services-process-card {
  min-height: 300px;
}

.services-handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.services-handoff-card {
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(204, 255, 47, 0.24);
  background:
    radial-gradient(circle at top right, rgba(204, 255, 47, 0.12), transparent 34%),
    rgba(204, 255, 47, 0.035);
}

.services-handoff-card-muted {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.02);
}

.services-handoff-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  margin: 0 0 1.75rem;
}

.services-handoff-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services-handoff-card li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.services-handoff-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(204, 255, 47, 0.38);
}

.services-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.services-stack-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.services-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.services-tag-list span {
  display: inline-flex;
  border: 1px solid rgba(204, 255, 47, 0.2);
  background: rgba(204, 255, 47, 0.06);
  color: rgba(255, 255, 255, 0.74);
  padding: 0.45rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .services-card-grid,
  .services-situation-grid,
  .services-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .services-split,
  .services-handoff-grid {
    grid-template-columns: 1fr;
  }

  .services-terminal-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero-badge-line {
    width: 42px;
  }

  .services-card-grid,
  .services-situation-grid,
  .services-process-grid,
  .services-format-grid,
  .services-stack-grid {
    grid-template-columns: 1fr;
  }

  .services-card-link {
    min-height: auto;
  }

  .services-terminal-row {
    grid-template-columns: 2.25rem 1fr;
    padding: 0.9rem;
  }
}

/* ============================================================
   PAGE: SHOP + WOOCOMMERCE
   ============================================================ */

.shop-compact-hero {
  padding-top: 9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.shop-compact-copy h1 {
  max-width: 980px;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.shop-compact-copy p {
  max-width: 760px;
  margin: 0 0 2rem;
  color: var(--muted-fg);
  font-size: 1.1rem;
  line-height: 1.75;
}

.shop-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-status-panel {
  border: 1px solid rgba(204, 255, 47, 0.22);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.025);
}

.shop-status-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-status-line span {
  color: var(--muted-fg);
}

.shop-status-line strong {
  color: var(--primary);
  text-align: right;
}

.shop-status-note {
  padding: 1.35rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

.shop-catalog-section,
.shop-benefits-section,
.shop-process-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.shop-tab {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shop-tab:hover,
.shop-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #000;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.shop-product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: #050505;
  transition: opacity 0.2s, transform 0.2s;
}

.shop-product-card.hidden {
  display: none;
}

.shop-product-card:hover {
  transform: translateY(-3px);
}

.shop-product-art {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(204, 255, 47, 0.22), transparent 30%),
    #0d0d0f;
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.shop-product-art::before,
.shop-product-art::after {
  content: '';
  position: absolute;
  border: 1px solid currentColor;
  opacity: 0.55;
}

.shop-product-art::before {
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42%;
  height: 34%;
}

.shop-product-art::after {
  left: 1.25rem;
  bottom: 1.25rem;
  width: 28%;
  height: 28%;
  transform: rotate(-8deg);
}

.shop-product-art--theme {
  color: var(--primary);
}

.shop-product-art--plugin {
  color: #42d6ff;
}

.shop-product-art--script {
  color: #4fcf85;
}

.shop-product-art--kit {
  color: #ff5c93;
}

.shop-product-art span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: currentColor;
}

.shop-product-art strong {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  color: #fff;
}

.shop-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.shop-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-product-meta span {
  color: var(--muted-fg);
}

.shop-product-meta strong {
  color: var(--primary);
  white-space: nowrap;
}

.shop-product-body h3 {
  margin: 0 0 0.85rem;
  font-size: 1.28rem;
}

.shop-product-body p {
  margin: 0 0 1rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

.shop-product-fit {
  color: rgba(255, 255, 255, 0.72) !important;
}

.shop-product-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 1.3rem;
  list-style: none;
}

.shop-product-body li {
  border: 1px solid rgba(204, 255, 47, 0.18);
  background: rgba(204, 255, 47, 0.06);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.shop-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-product-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  opacity: 1;
}

.shop-benefits-grid,
.shop-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.shop-benefit-card,
.shop-process-card {
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.045), transparent 45%),
    #050505;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.shop-benefit-card span,
.shop-process-card span {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.shop-benefit-card h3,
.shop-process-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.shop-benefit-card p,
.shop-process-card p {
  margin: 0;
  color: var(--muted-fg);
  line-height: 1.75;
}

.shop-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.woocommerce-wrapper {
  padding-top: 9rem;
  color: var(--muted-fg);
}

.wp-block-woocommerce-coming-soon {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10rem, 18vh, 14rem) 1.5rem clamp(5rem, 10vh, 8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 42%),
    #101012;
}

.wp-block-woocommerce-coming-soon .wp-block-spacer {
  display: none !important;
}

.wp-block-woocommerce-coming-soon .wp-block-group {
  width: min(100%, 980px);
  margin: 0 auto !important;
  text-align: center;
}

.wp-block-woocommerce-coming-soon h1,
.wp-block-woocommerce-coming-soon .wp-block-heading {
  max-width: 980px;
  margin: 0 auto 1.5rem !important;
  color: var(--fg);
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  line-height: 1.02;
  letter-spacing: 0;
}

.wp-block-woocommerce-coming-soon p {
  max-width: 760px;
  margin: 0 auto !important;
  color: var(--muted-fg);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.woo-products-head {
  max-width: 900px;
  margin-bottom: 3rem;
}

.woo-products-head h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.woo-products-head p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.7;
}

.woo-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.woo-sidebar {
  position: sticky;
  top: 100px;
  width: 25%;
  flex-shrink: 0;
}

.woo-content {
  width: 75%;
  flex-grow: 1;
}

.woo-sidebar .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.woo-sidebar .widget-title {
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.woo-sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.woo-sidebar li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.woo-sidebar li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.woo-sidebar a {
  color: var(--fg);
}

.woo-sidebar a:hover {
  color: var(--primary);
  opacity: 1;
}

.woo-sidebar-empty {
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--muted-fg);
  font-size: 0.85rem;
}

.woo-mobile-filter-bar,
.woo-sidebar-close,
.woo-sidebar-overlay,
.woo-floating-filter {
  display: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first,
.woocommerce ul.products li.last,
.woocommerce-page ul.products li.last {
  display: flex !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  height: 100% !important;
  flex-direction: column !important;
  padding: 1rem !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem !important;
  background: #f3f5ef;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price span,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 0 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce-wrapper a.button,
.woocommerce-wrapper button.button,
.woocommerce-wrapper input.button,
.woocommerce-wrapper .checkout-button,
.woocommerce-wrapper #place_order {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.woocommerce ul.products li.product .button::before,
.woocommerce-page ul.products li.product .button::before,
.woocommerce-wrapper a.button::before,
.woocommerce-wrapper button.button::before {
  content: '';
  position: absolute;
  inset: -20% auto -20% -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 47, 0.28), transparent);
  transform: skewX(-18deg) translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce-wrapper a.button:hover,
.woocommerce-wrapper button.button:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  opacity: 1;
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .button:hover::before,
.woocommerce-page ul.products li.product .button:hover::before,
.woocommerce-wrapper a.button:hover::before,
.woocommerce-wrapper button.button:hover::before {
  transform: skewX(-18deg) translateX(420%);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}

.woo-loop-category {
  display: block !important;
  margin-bottom: 0.4rem !important;
  color: var(--muted-fg) !important;
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.woocommerce div.product div.images {
  width: calc(50% - 1.5rem) !important;
  float: left !important;
  margin: 0 3rem 2rem 0 !important;
}

.woocommerce div.product div.summary {
  display: flex !important;
  width: calc(50% - 1.5rem) !important;
  float: left !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin: 0 0 2rem !important;
}

.single-product .woocommerce div.product {
  display: flow-root;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce section.related.products,
.woocommerce section.upsells.products {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  margin-top: 3rem !important;
}

.woocommerce div.product .woo-section-title,
.woocommerce section.related.products h2,
.woocommerce section.upsells.products h2 {
  display: block;
  width: 100%;
  margin-bottom: 2rem !important;
  color: var(--primary) !important;
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  font-weight: 700;
}

.woocommerce section.related.products ul.products,
.woocommerce section.upsells.products ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}

body.woo-filter-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .shop-product-grid,
  .shop-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .woo-layout {
    flex-direction: column;
  }

  .woo-content {
    width: 100%;
  }

  .woo-mobile-filter-bar {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
  }

  .woo-mobile-filter-bar-bottom {
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .woo-mobile-filter-bar button {
    width: 100%;
  }

  .woo-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 105;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    padding: 1.5rem;
    overflow-y: auto;
    border-right: 1px solid var(--border);
    background: var(--bg-card);
    transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .woo-sidebar.open {
    left: 0;
  }

  .woo-sidebar-close {
    display: block;
    margin-bottom: 2rem;
  }

  .woo-sidebar-close button {
    width: 100%;
  }

  .woo-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
  }

  .woo-sidebar-overlay.active {
    display: block;
  }

  .woo-floating-filter {
    position: fixed;
    left: 0;
    top: 25%;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(204, 255, 47, 0.5);
    border-left: 0;
    background: #101012;
    color: var(--primary);
    cursor: pointer;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .shop-compact-grid,
  .shop-benefits-grid,
  .shop-product-grid,
  .shop-process-grid {
    grid-template-columns: 1fr;
  }

  .shop-compact-hero,
  .woocommerce-wrapper {
    padding-top: 7rem;
  }

  .shop-product-art {
    min-height: 190px;
  }
}

@media (max-width: 575px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce section.related.products ul.products,
  .woocommerce section.upsells.products ul.products {
    grid-template-columns: 1fr !important;
  }

  .shop-compact-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   PAGE: SUPPORT
   ============================================================ */
.hero-rule {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.support-intro-grid,
.support-emergency-grid,
.support-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  align-items: stretch;
}

.support-copy-block h2,
.support-alarm-card h2,
.support-sticky-title h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.support-copy-block p {
  color: var(--muted-fg);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.support-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.support-point {
  display: flex;
  gap: 1rem;
}

.support-icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  flex: 0 0 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #000;
}

.support-point h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.support-point p {
  color: var(--muted-fg);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.support-monitor-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(204, 255, 47, 0.2);
  background:
    radial-gradient(circle at 15% 10%, rgba(204, 255, 47, 0.11), transparent 34%),
    #050505;
  padding: 2rem;
  overflow: hidden;
}

.support-monitor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(204, 255, 47, 0.06) 1px, transparent 1px);
  background-size: 100% 34px;
  opacity: 0.35;
  pointer-events: none;
}

.support-monitor-head,
.support-monitor-body {
  position: relative;
  z-index: 1;
}

.support-monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.support-monitor-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.support-monitor-stats div {
  border: 1px solid rgba(204, 255, 47, 0.14);
  background: rgba(204, 255, 47, 0.035);
  padding: 1rem;
}

.support-monitor-stats strong,
.support-monitor-stats span {
  display: block;
  font-family: var(--font-mono);
}

.support-monitor-stats strong {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.support-monitor-stats span {
  color: var(--muted-fg);
  font-size: 0.68rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-status .pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.support-monitor-head strong {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.support-monitor-body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 1rem;
}

.support-monitor-row {
  display: grid;
  grid-template-columns: 3.5rem 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.support-monitor-row span {
  color: var(--muted-fg);
}

.support-monitor-row strong {
  color: var(--primary);
  font-weight: 700;
}

.support-monitor-row em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.support-monitor-insights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.support-monitor-insights div {
  border: 1px solid rgba(204, 255, 47, 0.12);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.9rem;
}

.support-monitor-insights span,
.support-monitor-insights strong {
  display: block;
  font-family: var(--font-mono);
}

.support-monitor-insights span {
  color: var(--primary);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.support-monitor-insights strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
}

.support-monitor-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.support-monitor-footer span {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-monitor-footer strong {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}

.support-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.support-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.support-value-card {
  min-height: 260px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.045), rgba(0, 0, 0, 0) 42%),
    rgba(255, 255, 255, 0.02);
  padding: 1.75rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.support-value-card:hover {
  border-color: rgba(204, 255, 47, 0.35);
  background:
    linear-gradient(135deg, rgba(204, 255, 47, 0.075), rgba(0, 0, 0, 0) 48%),
    rgba(255, 255, 255, 0.035);
  transform: translateY(-4px);
}

.support-value-card span {
  display: block;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

.support-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.support-value-card p {
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.support-alarm-card {
  position: relative;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(127, 29, 29, 0.12);
  padding: 2.5rem;
  overflow: hidden;
}

.support-alarm-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  background: transparent;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0;
  text-transform: uppercase;
}

.support-alarm-badge::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.45);
  animation: pulse-anim 2s ease-in-out infinite;
}

.support-alarm-card h2 {
  color: var(--red);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.support-alarm-list,
.support-check-list,
.support-process-list {
  display: flex;
  flex-direction: column;
}

.support-alarm-list {
  gap: 1rem;
}

.support-alarm-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.45);
  padding: 1rem;
}

.support-alarm-item svg {
  flex: 0 0 24px;
}

.support-alarm-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.support-alarm-item p {
  color: var(--muted-fg);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.support-check-list {
  gap: 0.9rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.support-check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--fg);
  font-weight: 500;
}

.support-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary);
}

.support-process-layout {
  align-items: start;
}

.support-sticky-title {
  position: sticky;
  top: 6rem;
}

.support-process-list {
  gap: 0;
}

.support-process-item {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.support-process-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.support-process-item>span {
  color: rgba(204, 255, 47, 0.6);
  font-family: var(--font-mono);
  font-size: 1.25rem;
}

.support-process-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.support-process-item p {
  color: var(--muted-fg);
  line-height: 1.65;
  margin: 0;
}

.support-pricing-grid .pricing-card {
  display: flex;
  flex-direction: column;
}

.support-pricing-grid .pricing-header {
  margin-bottom: 1.25rem;
}

.support-pricing-grid .pricing-price {
  margin-bottom: 0;
}

.support-plan-result {
  min-height: 4.4rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.support-pricing-grid .pricing-features {
  flex: 1;
  gap: 0;
  margin-bottom: 2rem;
}

.support-pricing-grid .pricing-features li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.45;
}

.support-pricing-grid .pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

.support-pricing-grid .pricing-card.premium .support-plan-result {
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 900px) {
  .support-intro-grid,
  .support-emergency-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .support-process-layout {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 900px) {
  .support-feature-grid,
  .support-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .support-intro-grid,
  .support-emergency-grid,
  .support-process-layout {
    gap: 3rem;
  }

  .support-feature-grid,
  .support-value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-monitor-card,
  .support-alarm-card {
    padding: 1.5rem;
  }

  .support-monitor-row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }

  .support-monitor-row em {
    grid-column: 2;
  }

  .support-process-item {
    gap: 1rem;
  }

  .support-monitor-stats,
  .support-monitor-insights,
  .support-monitor-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}
