:root,
[data-theme="dark"] {
  --bg-color: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --bg-card-hover: #262626;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --text-secondary: #cccccc;
  --accent-green-dark: #193324;
  --accent-green-bright: #3E8320;
  --accent-green: #34d399;
  --accent-crimson: #ef4444;
  --gold-gradient: linear-gradient(135deg, #F2D588 0%, #9C7333 100%);
  --gold-text: #E5C37A;
  --gold-border: rgba(229, 195, 122, 0.3);
  --gold-glow: rgba(229, 195, 122, 0.15);
  --bg-header: rgba(17, 17, 17, 0.88);
  --bg-vk-card: linear-gradient(145deg, #1e2024 0%, #151618 100%);
  --hero-bg: transparent;
  --footer-bg: #0c0c0c;
  --cookie-bg: rgba(20, 20, 20, 0.95);
  --panel-bg: #18191c;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(229, 195, 122, 0.4);
  --shadow-color: rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(26, 26, 26, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --placeholder-color: rgba(255, 255, 255, 0.7);
  --input-bg: #141414;
  --badge-bg: rgba(229, 195, 122, 0.12);
  --badge-text: #E5C37A;

  /* Parallax Background */
  --blob-color-1: rgba(242, 213, 136, 0.14);
  --blob-color-2: rgba(62, 131, 32, 0.12);
  --blob-color-3: rgba(39, 135, 245, 0.09);
  --bg-pattern-opacity: 0.12;
  --bg-pattern-color: #ffffff;
  --parallax-icon-stroke: rgba(255, 255, 255, 0.12);
  --parallax-icon-fill: rgba(255, 255, 255, 0.02);
  --parallax-icon-shadow: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
  --bg-color: #f7f9fc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-secondary: #475569;
  --accent-green-dark: #e8f5e9;
  --accent-green-bright: #16a34a;
  --accent-green: #059669;
  --accent-crimson: #dc2626;
  --gold-gradient: linear-gradient(135deg, #b8860b 0%, #855800 100%);
  --gold-text: #9a6700;
  --gold-border: rgba(184, 134, 11, 0.35);
  --gold-glow: rgba(184, 134, 11, 0.12);
  --bg-header: rgba(255, 255, 255, 0.9);
  --bg-vk-card: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  --hero-bg: transparent;
  --footer-bg: #eef2f6;
  --cookie-bg: rgba(255, 255, 255, 0.96);
  --panel-bg: #ffffff;
  --border-color: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(184, 134, 11, 0.45);
  --shadow-color: rgba(15, 23, 42, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);
  --placeholder-color: rgba(15, 23, 42, 0.45);
  --input-bg: #f8fafc;
  --badge-bg: rgba(184, 134, 11, 0.1);
  --badge-text: #9a6700;

  /* Parallax Background */
  --blob-color-1: rgba(242, 213, 136, 0.22);
  --blob-color-2: rgba(62, 131, 32, 0.14);
  --blob-color-3: rgba(39, 135, 245, 0.1);
  --bg-pattern-opacity: 0.18;
  --bg-pattern-color: #0f172a;
  --parallax-icon-stroke: rgba(15, 23, 42, 0.08);
  --parallax-icon-fill: rgba(15, 23, 42, 0.015);
  --parallax-icon-shadow: rgba(0, 0, 0, 0.04);
}

:root {
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Montserrat', sans-serif;
  --font-subheading: 'Inter', sans-serif;
  --transition-speed: 0.3s;
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.8rem, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
}

/* Section Common */
.section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 60px) auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Parallax Background */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  top: -10%;
  left: -10%;
  background: var(--blob-color-1);
}

.blob-2 {
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  top: 40%;
  right: -15%;
  background: var(--blob-color-2);
}

.blob-3 {
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  bottom: -10%;
  left: 10%;
  background: var(--blob-color-3);
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--bg-pattern-color) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: var(--bg-pattern-opacity);
  pointer-events: none;
}

.parallax-floater {
  position: absolute;
  pointer-events: none;
  color: var(--parallax-icon-stroke);
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.25, 1);
  will-change: transform;
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.header-logo .logo-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 1;
  overflow: hidden;
}

.mobile-nav-call-btn {
  display: none;
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 8px;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--gold-text);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-text);
  transition: width var(--transition-speed) ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Phone icon + dropdown */
.header-phone-wrap {
  position: relative;
}

.header-phone-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  color: var(--text-main);
}

.header-phone-icon-btn:hover {
  border-color: var(--gold-text);
  transform: translateY(-2px);
}

.header-phone-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 8px 24px var(--shadow-color);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.header-phone-dropdown.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-phone-dropdown a {
  color: var(--gold-text);
}

.header-messenger-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.header-messenger-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold-text);
}

.header-messenger-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.theme-toggle-btn:hover {
  border-color: var(--gold-text);
  color: var(--gold-text);
  transform: rotate(15deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Hero Section */
.hero-section {
  padding-top: calc(76px + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(60px, 8vw, 100px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px var(--gold-glow);
  text-transform: uppercase;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green-bright);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(62, 131, 32, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(62, 131, 32, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(62, 131, 32, 0);
  }
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-stats-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-text);
}

.hero-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Primary and Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #b8860b 0%, #855800 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 195, 122, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-text);
  color: var(--gold-text);
  transform: translateY(-2px);
}

.btn-demo {
  background: rgba(39, 135, 245, 1);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-demo:hover {
  background: rgba(39, 135, 245, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Right Interactive Animation */
.hero-animation-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  isolation: isolate;
  width: 100%;
}

.hero-dashboard-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px var(--shadow-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

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

.mockup-dot.red {
  background: #ef4444;
}

.mockup-dot.yellow {
  background: #f59e0b;
}

.mockup-dot.green {
  background: #10b981;
}

.mockup-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all 0.3s ease;
}

.mockup-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mockup-metric-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Chips column below the mockup */
.hero-chips-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  transition: transform 0.3s ease;
}

/* Chips in Hero */
.hero-floating-chip {
  position: static;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 8px 20px var(--shadow-color);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-chip-1 {
  border-color: rgba(229, 195, 122, 0.4);
}

.hero-chip-2 {
  border-color: rgba(52, 211, 153, 0.4);
}

.hero-chip-3 {
  border-color: rgba(56, 189, 248, 0.4);
}

/* --- Анимация бегущей волны платежей и подсветки шлюзов --- */
.hero-mockup-v4a {
  animation: v4aNeonPulse 4.5s ease-in-out infinite alternate;
}

@keyframes v4aNeonPulse {
  0% {
    box-shadow: 0 20px 50px var(--shadow-color), 0 0 10px rgba(229, 195, 122, 0.12);
  }

  50% {
    box-shadow: 0 22px 55px var(--shadow-color), 0 0 22px rgba(229, 195, 122, 0.28);
  }

  100% {
    box-shadow: 0 20px 50px var(--shadow-color), 0 0 12px rgba(229, 195, 122, 0.15);
  }
}

.v4-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.v4a-tag {
  background: rgba(229, 195, 122, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  animation: v4aWaveSequence 3.6s infinite ease-in-out;
}

.v4a-tag-1 {
  animation-delay: 0s;
}

.v4a-tag-2 {
  animation-delay: 0.8s;
}

.v4a-tag-3 {
  animation-delay: 1.6s;
}

.v4a-tag-4 {
  animation-delay: 2.4s;
}

.v4a-tag-5 {
  animation-delay: 3.2s;
}

@keyframes v4aWaveSequence {

  0%,
  100% {
    background: rgba(229, 195, 122, 0.1);
    border-color: rgba(229, 195, 122, 0.15);
    transform: translateY(0);
    box-shadow: none;
    color: var(--text-main);
  }

  16% {
    background: rgba(229, 195, 122, 0.2);
    border-color: rgba(229, 195, 122, 0.45);
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(229, 195, 122, 0.18);
    color: var(--accent-gold);
  }

  32% {
    background: rgba(229, 195, 122, 0.1);
    border-color: rgba(229, 195, 122, 0.15);
    transform: translateY(0);
    box-shadow: none;
    color: var(--text-main);
  }
}

.v4a-chip {
  animation: v4aChipBreath 4.5s infinite ease-in-out;
}

.v4a-chip-1 {
  animation-delay: 0s;
}

.v4a-chip-2 {
  animation-delay: 1.5s;
}

.v4a-chip-3 {
  animation-delay: 3s;
}

@keyframes v4aChipBreath {

  0%,
  100% {
    box-shadow: 0 8px 20px var(--shadow-color);
  }

  50% {
    box-shadow: 0 10px 24px rgba(229, 195, 122, 0.22);
    border-color: var(--accent-gold);
  }
}

/* Cards & Grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

#payments .cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

#marketplaces .cards-grid,
#traffic .cards-grid {
  grid-template-columns: repeat(2, 1fr);
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Left-aligned text variant for feature cards — no 2-col icon+text layout */
.feature-card--left p,
.feature-card--left .feature-list,
.feature-card--left .feature-title {
  text-align: left;
}

.feature-card--left .feature-list li {
  display: block;
  gap: 0;
  padding-left: 14px;
  position: relative;
}

.feature-card--left .feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px var(--shadow-color);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-text);
  font-size: 1.5rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✓';
  color: var(--gold-text);
  font-weight: 700;
  flex-shrink: 0;
}

/* About Author Block (Principle 1 Window) */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(30px, 4vw, 50px);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 16px 40px var(--shadow-color);
}

.about-author-photo-wrap {
  text-align: center;
}

.about-author-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid var(--gold-text);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.about-author-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.about-author-role {
  color: var(--gold-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.about-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: flex-start;
}

.about-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Screenshots Showcase Block */
.showcase-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 20px 50px var(--shadow-color);
}

.showcase-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.showcase-tab-btn.active {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.showcase-tab-content {
  display: none;
}

.showcase-tab-content.active {
  display: block;
}

/* Slider Track and Slides */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .carousel-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

.slide-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slide-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-text);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.slide-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #000;
}

.slide-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.slide-card:hover .slide-thumb {
  transform: scale(1.04);
}

.slide-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
}

.slide-card:hover .slide-zoom-hint {
  opacity: 1;
}

.slide-meta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.slide-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.slide-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Carousel Controls (Arrows and Bullets) */
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.carousel-arrow:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.carousel-arrow.prev {
  left: 8px;
}

.carousel-arrow.next {
  right: 8px;
}

.carousel-bullets {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.carousel-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.carousel-bullet.active {
  background: var(--gold-text);
  width: 24px;
  border-radius: 6px;
}

/* Lightbox Modal for Screenshots */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-container {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.lightbox-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close-btn:hover {
  color: var(--accent-crimson);
}

.lightbox-body {
  overflow-y: auto;
  max-height: calc(90vh - 65px);
  padding: 16px;
  display: flex;
  justify-content: center;
  background: #0a0a0a;
}

.lightbox-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  transform-origin: top center;
}

.lightbox-img.zoomed {
  cursor: zoom-out;
  transform: scale(2);
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

/* Process Timeline (10 Steps) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.timeline-card:hover {
  border-color: var(--gold-text);
  transform: translateY(-4px);
}

.timeline-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--gold-text);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.timeline-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Pages List Grid (15 Pages) */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.page-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-speed) ease;
}

.page-item .page-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.page-item:hover {
  border-color: var(--gold-text);
  color: var(--text-main);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Trust / Why Choose Us Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.trust-card:hover {
  border-color: var(--gold-text);
  box-shadow: 0 12px 30px var(--shadow-color);
  transform: translateY(-3px);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.trust-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CTA / Contact Section */
.cta-box {
  background: var(--glass-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-color);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.cta-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.cta-author-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-text);
  box-shadow: 0 10px 28px var(--shadow-color);
  margin-bottom: 12px;
}

.cta-author-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cta-author-role {
  font-size: 0.88rem;
  color: var(--gold-text);
  font-weight: 600;
}

.cta-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--gold-glow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.cta-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--gold-glow);
  color: #ffffff;
}

[data-theme="light"] .cta-phone-btn {
  color: #000000;
}

[data-theme="light"] .cta-phone-btn:hover {
  color: #000000;
}

.cta-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  transition: all var(--transition-speed) ease;
}

.cta-messenger-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-text);
  color: var(--gold-text);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.cta-messenger-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cta-fav-note {
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Floating Max Quick Contact FAB (in style of Max in Contacts) */
.floating-max-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  z-index: 990;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.floating-max-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-max-btn:hover {
  transform: translateY(-3px);
  border-color: var(--gold-text);
  color: var(--gold-text);
  box-shadow: 0 12px 36px var(--shadow-color);
}

.floating-max-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.floating-max-btn .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 2s infinite ease-in-out;
}

/* Mid-Page Quick CTA Banner */
.mid-cta-banner {
  margin: 40px 0 0 0;
  background: linear-gradient(135deg, rgba(229, 195, 122, 0.08) 0%, rgba(229, 195, 122, 0.02) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mid-cta-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 6px;
  color: var(--text-main);
}

.mid-cta-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Trust Stats Counters Grid */
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.trust-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.trust-stat-card:hover {
  border-color: var(--gold-text);
  transform: translateY(-2px);
}

.trust-stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Scroll Reveal Fade-in Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Light theme subtle shadows for cards */
[data-theme="light"] .feature-card,
[data-theme="light"] .trust-card,
[data-theme="light"] .page-item,
[data-theme="light"] .timeline-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Site Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding-top: 50px;
  padding-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 35px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.footer-legal-link {
  color: var(--gold-text);
  text-decoration: underline;
}

/* Cookie Banner Component */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 40px);
  max-width: 760px;
  background: var(--cookie-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px var(--shadow-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9990;
  padding: 16px 22px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold-text);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition-speed) ease;
}

.cookie-btn:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Author Social Subscribe Modal Styles with HUD */
.author-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.author-modal-overlay.active {
  display: flex;
}

.social-subscribe-modal-content {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  position: relative;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.social-subscribe-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green) 0%, #34d399 100%);
}

.social-subscribe-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-speed), transform var(--transition-speed);
  z-index: 10;
  padding: 4px;
  line-height: 1;
}

.social-subscribe-close-btn:hover {
  color: var(--accent-crimson);
  transform: scale(1.1);
}

.social-subscribe-avatar-wrapper {
  position: relative;
  display: inline-block;
  padding: 10px;
  margin-top: 10px;
}

.social-subscribe-hud-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: hudPulse 4s ease-in-out infinite alternate;
}

.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--accent-green);
  opacity: 0.85;
  transition: border-color var(--transition-speed);
}

.hud-corner.top-left {
  top: 2px;
  left: 2px;
  border-right: none;
  border-bottom: none;
}

.hud-corner.top-right {
  top: 2px;
  right: 2px;
  border-left: none;
  border-bottom: none;
}

.hud-corner.bottom-left {
  bottom: 2px;
  left: 2px;
  border-right: none;
  border-top: none;
}

.hud-corner.bottom-right {
  bottom: 2px;
  right: 2px;
  border-left: none;
  border-top: none;
}

@keyframes hudPulse {
  0% {
    transform: scale(0.96) rotate(-3deg);
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(85, 161, 151, 0.2));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(85, 161, 151, 0.5));
  }

  100% {
    transform: scale(1.04) rotate(3deg);
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(85, 161, 151, 0.2));
  }
}

.social-subscribe-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-green);
  box-shadow: 0 4px 15px var(--shadow-color);
  display: block;
  transition: border-color var(--transition-speed);
}

.social-subscribe-author {
  margin-bottom: 20px;
}

.social-subscribe-author-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: 0.5px;
  transition: color var(--transition-speed);
}

.social-subscribe-author-bio {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
  transition: color var(--transition-speed);
}

.social-subscribe-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 10px;
  transition: color var(--transition-speed);
}

.social-subscribe-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  transition: color var(--transition-speed);
}

.vitaly-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.vitaly-social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-green);
}

.vitaly-social-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ===================== RESPONSIVE (TABLETS & PHONES) ===================== */

/* --- Base responsive protections --- */
@media (max-width: 1200px) {
  .pages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #marketplaces .cards-grid,
  #payments .cards-grid,
  #traffic .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablets & Medium Screens (<= 992px) --- */
@media (max-width: 992px) {
  .site-header {
    height: 70px;
  }

  .header-inner {
    height: 70px;
    gap: 12px;
  }

  .header-logo .logo-text {
    font-size: 0.88rem;
    letter-spacing: -0.01em;
  }

  /* Full mobile slide-down menu */
  .header-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 16px 20px 24px 20px;
    gap: 6px;
    box-shadow: 0 16px 36px var(--shadow-color);
    z-index: 99;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 0.98rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--text-main);
  }

  .header-nav a:hover,
  .header-nav a:focus {
    background: var(--bg-card-hover);
    color: var(--gold-text);
  }

  .header-nav a::after {
    display: none;
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav-call-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    margin-top: 8px;
    padding: 12px !important;
    background: rgba(229, 195, 122, 0.12);
    border: 1px solid var(--gold-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--gold-text) !important;
    font-weight: 700;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1.3rem;
  }

  .mobile-menu-btn:hover {
    border-color: var(--gold-text);
    color: var(--gold-text);
  }

  /* Hero Section */
  .hero-section {
    padding-top: calc(70px + 30px);
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.82rem;
    padding: 6px 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-stats-row {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-actions {
    justify-content: center;
    gap: 12px;
  }

  .hero-animation-wrapper {
    margin: 10px auto 0 auto;
    max-width: 520px;
    width: 100%;
  }

  .hero-dashboard-mockup {
    max-width: 100%;
    padding: 20px;
  }

  .hero-chips-col {
    max-width: 100%;
  }

  /* About Section */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding: 28px 20px;
  }

  .about-author-photo {
    width: 180px;
    height: 180px;
  }

  .about-info-tags {
    justify-content: center;
  }

  .about-content .cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* Cards and Grids */
  .cards-grid,
  #marketplaces .cards-grid,
  #payments .cards-grid,
  #traffic .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .carousel-arrow.prev {
    left: 4px;
  }

  .carousel-arrow.next {
    right: 4px;
  }
}

/* --- Phones & Small Tablets (<= 768px) --- */
@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .header-logo .logo-text {
    font-size: 0.78rem;
    letter-spacing: 0;
  }

  .header-actions {
    gap: 6px;
  }

  .header-phone-icon-btn,
  .header-messenger-link,
  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .header-messenger-link img {
    width: 18px;
    height: 18px;
  }

  .header-nav {
    top: 64px;
    max-height: calc(100vh - 64px);
    padding: 12px 16px 20px 16px;
  }

  /* Phone dropdown adaptivity */
  .header-phone-dropdown {
    right: -20px;
    font-size: 0.88rem;
    padding: 8px 14px;
  }

  .hero-section {
    padding-top: calc(64px + 24px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    line-height: 1.22;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-stats-row {
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 14px;
  }

  .hero-stat-item {
    flex: 0 0 calc(33.333% - 8px);
    text-align: center;
    min-width: 80px;
  }

  .hero-stat-num {
    font-size: 1.35rem;
  }

  .hero-stat-desc {
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  .mockup-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mockup-metric-card {
    padding: 10px;
  }

  .mockup-metric-val {
    font-size: 1rem;
  }

  .v4-tags-row {
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: space-between;
    width: 100%;
  }

  .v4a-tag {
    font-size: clamp(0.68rem, 2.2vw, 0.78rem);
    padding: 3px 5px;
    white-space: nowrap;
    flex: 1 1 0;
    text-align: center;
  }

  .hero-chips-col {
    align-items: center;
  }

  .hero-floating-chip {
    padding: 8px 14px;
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-floating-chip>div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Section headers */
  .section {
    padding-top: clamp(40px, 8vw, 64px);
    padding-bottom: clamp(40px, 8vw, 64px);
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  /* Feature cards */
  .feature-card {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .feature-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  .feature-title {
    font-size: 1.12rem;
    margin-bottom: 8px;
  }

  .feature-list li {
    font-size: 0.88rem;
  }

  /* Showcase */
  .showcase-block {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .showcase-tabs-nav {
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .showcase-tab-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .slide-thumb-wrapper {
    height: 190px;
  }

  .carousel-container {
    padding-bottom: 60px;
  }

  .carousel-arrow {
    display: flex;
    top: auto;
    bottom: 8px;
    transform: none;
    z-index: 15;
  }

  .carousel-arrow.prev {
    left: 8px;
    top: 76%;
  }

  .carousel-arrow.next {
    right: 8px;
    top: 76%;
  }

  .carousel-bullets {
    bottom: 20px;
    left: 48px;
    right: 48px;
    width: calc(100% - 96px);
    z-index: 10;
  }

  /* Pages grid */
  .pages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .page-item {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-card {
    padding: 18px 16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-card {
    padding: 18px 14px;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .trust-stat-card {
    padding: 16px 10px;
  }

  .trust-stat-num {
    font-size: 1.5rem;
  }

  .trust-stat-label {
    font-size: 0.78rem;
  }

  /* Mid CTA banner */
  .mid-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }

  .mid-cta-content h3 {
    font-size: 1.18rem;
  }

  .mid-cta-banner .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Contacts CTA */
  .cta-box {
    padding: 28px 16px;
  }

  .cta-author-photo {
    width: 110px;
    height: 110px;
  }

  .cta-author-name {
    font-size: 1.25rem;
  }

  .cta-contact-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cta-phone-btn,
  .cta-messenger-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    text-align: center;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.8rem;
    gap: 10px;
  }

  /* Floating Max Button */
  .floating-max-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .floating-max-btn img {
    width: 18px;
    height: 18px;
  }

  /* Cookie banner */
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: center;
  }

  .cookie-text {
    font-size: 0.8rem;
  }

  .cookie-btn {
    width: 100%;
    padding: 8px 16px;
  }

  /* Lightbox */
  .lightbox-modal {
    padding: 10px;
  }

  .lightbox-topbar {
    padding: 10px 14px;
  }

  .lightbox-title {
    font-size: 0.95rem;
  }

  .lightbox-body {
    padding: 8px;
    max-height: calc(85vh - 50px);
  }

  /* Author Modal */
  .author-modal-overlay {
    padding: 12px;
  }

  .social-subscribe-modal-content {
    border-radius: 16px;
    max-width: 95vw;
  }

  .social-subscribe-modal-content .modal-body {
    padding: 24px 16px !important;
  }

  .social-subscribe-title {
    font-size: 1.18rem;
  }

  .social-subscribe-text {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-stats-row {
    gap: 10px;
  }

  .hero-stat-item {
    flex: 0 0 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .pages-grid {
    grid-template-columns: 1fr;
  }

  .page-item {
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .slide-thumb-wrapper {
    height: 170px;
  }

  .slide-meta {
    padding: 12px;
  }

  .slide-title {
    font-size: 0.95rem;
  }

  .slide-desc {
    font-size: 0.8rem;
  }

  .trust-stats-grid {
    grid-template-columns: 1fr;
  }

  .floating-max-btn {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .floating-max-btn img {
    width: 16px;
    height: 16px;
  }

  .floating-max-btn span {
    display: inline-block;
  }
}

/* --- Extra Small Devices (<= 360px) --- */
@media (max-width: 360px) {
  .header-logo .logo-text {
    font-size: 0.7rem;
  }

  .header-actions {
    gap: 4px;
  }

  .header-phone-icon-btn,
  .header-messenger-link,
  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .about-author-photo {
    width: 140px;
    height: 140px;
  }
}

/* ==========================================================================
   Image LazyLoad Effects & Skeletons
   ========================================================================== */
img[loading="lazy"],
.slide-thumb,
.about-author-photo,
.cta-author-photo,
.social-subscribe-avatar {
  opacity: 0;
  transition: opacity 0.4s ease-out, filter 0.4s ease-out;
}

/* При загрузке изображения */
img.loaded,
img[loading="lazy"].loaded {
  opacity: 1 !important;
}

/* Родительские контейнеры с фоновым shimmer-эффектом (скелетон) */
.slide-thumb-wrapper,
.about-author-photo-wrap,
.cta-author,
.cta-author-avatar-wrap,
.social-subscribe-avatar-wrapper,
.reel-circle {
  position: relative;
  animation: lazyShimmer 1.8s infinite ease-in-out;
}

/* Отключение анимации скелетона после загрузки содержимого */
.slide-thumb-wrapper.is-loaded,
.about-author-photo-wrap.is-loaded,
.cta-author.is-loaded,
.cta-author-avatar-wrap.is-loaded,
.social-subscribe-avatar-wrapper.is-loaded,
.reel-circle.is-loaded {
  animation: none;
  background-image: none;
}

@keyframes lazyShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Lightbox Modal Image Lazyload & Spinner */
.lightbox-body {
  position: relative;
  min-height: 240px;
}

.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 3px solid rgba(229, 195, 122, 0.2);
  border-top-color: var(--gold-text, #E5C37A);
  border-radius: 50%;
  animation: lightboxSpin 0.8s linear infinite;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.is-loading .lightbox-loader {
  opacity: 1;
}

.lightbox-img {
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.25s ease;
}

.lightbox-img.loaded {
  opacity: 1;
}

@keyframes lightboxSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}