/* ========================================================
   ingeniumai.ru - Specialized Design System
   Matches Ingenium Group Brand Identity (Outfit + DM Sans + Bronze #CD7F32)
   ======================================================== */

/* @font-face Definitions */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/outfit-v15-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v15-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/outfit-v15-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/outfit-v15-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v15-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/outfit-v15-latin_latin-ext-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/outfit-v15-latin_latin-ext-900.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/dm-sans-v17-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin_latin-ext-700.woff2') format('woff2');
}

/* Base Tokens */
:root {
  --bg-primary: #1A1A1A;
  --bg-surface: #202020;
  --bg-elevated: #262626;
  --bg-card: #222222;
  --bronze: #CD7F32;
  --bronze-light: #E09548;
  --bronze-hover: #D4954A;
  --bronze-dark: #8F521B;
  --bronze-glow: rgba(205, 127, 50, 0.25);
  --bronze-border: rgba(205, 127, 50, 0.2);
  --text-primary: #E8E4DF;
  --text-muted: #B0B0B0;
  --text-subtle: #757575;
  --green-glow: #22c55e;
  --blue-glow: #38bdf8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background-color: #1A1A1A;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-outfit {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #141414;
}
::-webkit-scrollbar-thumb {
  background: var(--bronze);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bronze-hover);
}

::selection {
  background: rgba(205, 127, 50, 0.35);
  color: #ffffff;
}

/* Interactive Canvas AI Background */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* Dot Grid Background Layer (Distributed full-screen coverage without center bunching) */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(205, 127, 50, 0.08) 1.2px, transparent 1.2px);
  background-size: 38px 38px;
  opacity: 0.75;
  pointer-events: none;
}

/* Subtle Ambient Edge Glows (Not centered, gentle atmosphere) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(205, 127, 50, 0.28), transparent 70%);
  top: -160px;
  right: -80px;
  animation: blobAnim1 24s ease-in-out infinite;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(205, 127, 50, 0.2), transparent 70%);
  bottom: 5%;
  left: -120px;
  animation: blobAnim2 20s ease-in-out infinite;
}

.hero-blob-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(224, 149, 72, 0.15), transparent 70%);
  top: 50%;
  right: 5%;
  animation: blobAnim3 28s ease-in-out infinite;
}

@keyframes blobAnim1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.12); }
  66% { transform: translate(40px, -30px) scale(0.92); }
}

@keyframes blobAnim2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.08); }
  66% { transform: translate(-40px, 30px) scale(0.88); }
}

@keyframes blobAnim3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -35px) scale(1.15); }
}

/* Navigation */
.nav-scrolled {
  background: rgba(22, 22, 22, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(205, 127, 50, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
  color: #B0B0B0;
  transition: color 0.25s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--bronze);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Brand Logo & Name Sizes (Strictly enforced so images never blow up) */
.brand-logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.brand-name-img {
  width: auto !important;
  height: 22px !important;
  max-width: 140px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.mobile-logo-img {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.mobile-name-img {
  width: auto !important;
  height: 18px !important;
  max-width: 115px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.footer-logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.footer-name-img {
  width: auto !important;
  height: 22px !important;
  max-width: 140px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Mobile Menu Drawer & Overlay (Hidden fixed off-screen until opened) */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 85% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: rgba(24, 24, 24, 0.98) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  backdrop-filter: blur(25px) !important;
  z-index: 1000 !important;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 32px 28px !important;
  border-left: 1px solid rgba(205, 127, 50, 0.2) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.mobile-menu.open {
  right: 0 !important;
  pointer-events: auto;
}

.mobile-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.mobile-overlay.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-nav-link {
  display: block;
  padding: 6px 0;
  color: #D6D6D6;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--bronze);
  transform: translateX(4px);
}

/* Buttons */
.btn-bronze {
  background: linear-gradient(135deg, #CD7F32 0%, #A66829 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(205, 127, 50, 0.3);
  text-decoration: none;
}

.btn-bronze::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E09548 0%, #CD7F32 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-bronze:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(205, 127, 50, 0.45);
  color: #ffffff;
}

.btn-bronze:hover::before {
  opacity: 1;
}

.btn-bronze span, .btn-bronze i {
  position: relative;
  z-index: 1;
}

.btn-bronze-outline {
  background: rgba(205, 127, 50, 0.06);
  color: var(--bronze);
  padding: 13px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: 1.5px solid rgba(205, 127, 50, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-bronze-outline:hover {
  background: rgba(205, 127, 50, 0.16);
  border-color: var(--bronze);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(205, 127, 50, 0.2);
}

/* Glass Cards */
.rag-card {
  background: linear-gradient(145deg, rgba(36, 36, 36, 0.85) 0%, rgba(26, 26, 26, 0.95) 100%);
  border: 1px solid rgba(205, 127, 50, 0.14);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rag-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #CD7F32, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rag-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 127, 50, 0.32);
  box-shadow: 0 20px 50px -10px rgba(205, 127, 50, 0.18);
}

.rag-card:hover::before {
  opacity: 1;
}

/* Calculator Custom Sliders */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #333333;
  outline: none;
  transition: background 0.2s;
  box-sizing: border-box;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bronze);
  border: 3px solid #1a1a1a;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  background: var(--bronze-light);
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bronze);
  border: 3px solid #1a1a1a;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.6);
  box-sizing: border-box;
}

/* Form Styles Matching Main Site */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(38, 38, 38, 0.85);
  border: 1px solid rgba(205, 127, 50, 0.2);
  border-radius: 12px;
  color: #E8E4DF;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #666666;
}

.form-input:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.15);
  background: rgba(45, 45, 45, 1);
}

/* Checkbox */
#agree-check {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(205, 127, 50, 0.35);
  background: rgba(45, 45, 45, 0.8);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  box-sizing: border-box;
}

#agree-check:checked {
  background: var(--bronze);
  border-color: var(--bronze);
}

#agree-check:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(130%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.toast-notice.show {
  transform: translateX(0);
}

.toast-success {
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* FAQ Accordion */
.rag-faq-item {
  border: 1px solid rgba(205, 127, 50, 0.12);
  border-radius: 14px;
  background: rgba(35, 35, 35, 0.45);
  overflow: hidden;
  transition: all 0.3s ease;
}

.rag-faq-item:hover {
  border-color: rgba(205, 127, 50, 0.28);
}

.rag-faq-item.active {
  border-color: rgba(205, 127, 50, 0.4);
  background: rgba(38, 38, 38, 0.85);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.rag-faq-header {
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color 0.2s ease;
}

.rag-faq-header:hover {
  color: var(--bronze);
}

.rag-faq-arrow {
  color: var(--bronze);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 16px;
}

.rag-faq-item.active .rag-faq-arrow {
  transform: rotate(180deg);
}

.rag-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rag-faq-item.active .rag-faq-body {
  max-height: 400px;
}

.rag-faq-content {
  padding: 0 26px 24px 26px;
  color: #B0B0B0;
  font-size: 15px;
  line-height: 1.7;
}

/* Pulsing Badge Indicator */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(205, 127, 50, 0.12);
  border: 1px solid rgba(205, 127, 50, 0.25);
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================
   Tailwind Purge Polyfills (Ensures all utility classes used in RAG landing page render correctly)
   ======================================================== */

/* Positioning & Layout */
.inset-0 { inset: 0; }
.bottom-3 { bottom: 0.75rem; }
.left-3 { left: 0.75rem; }
.right-3 { right: 0.75rem; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.resize-none { resize: none; }
.whitespace-nowrap { white-space: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-baseline { align-items: baseline; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.rounded { border-radius: 6px; }
.duration-700 { transition-duration: 700ms; }

/* Backdrop Blur */
.backdrop-blur-md {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Heights & Widths */
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-52 { height: 13rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-\[1px\] { width: 1px; }

/* Max Widths */
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-6xl { max-width: 72rem; }
.min-h-\[92vh\] { min-height: 92vh; }

/* Paddings & Margins */
.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-5 { padding: 1.25rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-36 { padding-top: 9rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-24 { padding-bottom: 6rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-14 { margin-bottom: 3.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* Gap & Spacing */
.gap-1\.5 { gap: 0.375rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-5 { gap: 1.25rem; }
.gap-7 { gap: 1.75rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }

/* Typography */
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 16px; }
.leading-\[1\.12\] { line-height: 1.12; }
.leading-snug { line-height: 1.375; }
.tracking-wider { letter-spacing: 0.05em; }

/* Text Colors */
.text-bronze-light { color: #E09548; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-red-300 { color: #fca5a5; }
.text-purple-400 { color: #c084fc; }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Hover Text Colors */
.hover\:text-amber-300:hover { color: #fcd34d; }
.hover\:text-amber-400:hover { color: #fbbf24; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-gray-300:hover { color: #d1d5db; }
.hover\:border-bronze\/30:hover { border-color: rgba(205, 127, 50, 0.3); }

/* Backgrounds & Borders */
.bg-black { background-color: #000000; }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-neutral-900 { background-color: #171717; }
.bg-neutral-900\/80 { background-color: rgba(23, 23, 23, 0.8); }
.bg-neutral-900\/90 { background-color: rgba(23, 23, 23, 0.9); }
.bg-neutral-950 { background-color: #0d0d0d; }
.bg-neutral-950\/80 { background-color: rgba(13, 13, 13, 0.8); }
.bg-emerald-400 { background-color: #34d399; }
.bg-bronze\/10 { background-color: rgba(205, 127, 50, 0.1); }
.bg-bronze\/15 { background-color: rgba(205, 127, 50, 0.15); }
.bg-bronze\/20 { background-color: rgba(205, 127, 50, 0.2); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-purple-500\/15 { background-color: rgba(168, 85, 247, 0.15); }
.bg-white\/\[0\.04\] { background-color: rgba(255, 255, 255, 0.04); }
.bg-white\/\[0\.03\] { background-color: rgba(255, 255, 255, 0.03); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }

.border-bronze\/20 { border-color: rgba(205, 127, 50, 0.2); }
.border-bronze\/30 { border-color: rgba(205, 127, 50, 0.3); }
.border-bronze\/40 { border-color: rgba(205, 127, 50, 0.4); }
.border-bronze\/60 { border-color: rgba(205, 127, 50, 0.6); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }

/* Gradients */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops, #000, transparent)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, #000, transparent)); }
.from-amber-400 { --tw-gradient-from: #fbbf24; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 191, 36, 0)); }
.via-bronze-light { --tw-gradient-stops: var(--tw-gradient-from), #E09548, var(--tw-gradient-to, rgba(224, 149, 72, 0)); }
.to-amber-600 { --tw-gradient-to: #d97706; }
.from-black { --tw-gradient-from: #000000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.via-black\/35 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.35), var(--tw-gradient-to, transparent); }
.from-red-950\/20 { --tw-gradient-from: rgba(69, 10, 10, 0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-amber-950\/20 { --tw-gradient-from: rgba(69, 26, 3, 0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-neutral-900\/90 { --tw-gradient-to: rgba(23, 23, 23, 0.9); }
.to-neutral-900 { --tw-gradient-to: #171717; }

/* Animations */
.animate-pulse {
  animation: twPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes twPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-ping {
  animation: twPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes twPing {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Group Hovers */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}
.group:hover .group-hover\:text-amber-400 {
  color: #fbbf24;
}
.group:hover .group-hover\:text-emerald-400 {
  color: #34d399;
}
.group:hover .group-hover\:text-purple-400 {
  color: #c084fc;
}

/* Media Queries: SM (>= 640px) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:h-60 { height: 15rem; }
  .sm\:inline-block { display: inline-block; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:gap-10 { gap: 2.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* Media Queries: LG (>= 1024px) */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:pt-48 { padding-top: 12rem; }
  .lg\:pb-36 { padding-bottom: 9rem; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Header layout: three balanced zones, links centered, nothing wraps */
#main-nav a,
#main-nav span {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  #main-nav > div {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1.5rem;
  }
  #main-nav > div > div:first-child { justify-self: start; }
  #main-nav > div > div:nth-child(2) { justify-self: center; gap: 1.5rem; }
  #main-nav > div > div:last-child { justify-self: end; }
}

/* Drop secondary items before the bar gets crowded */
@media (max-width: 1439px) {
  #main-nav > div > div:first-child > span { display: none !important; }
  #main-nav > div > div:last-child > a[title="Перейти на основной сайт компании"] { display: none !important; }
}

/* Compact header for narrow desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
  #main-nav > div { column-gap: 0.75rem; padding-left: 1rem; padding-right: 1rem; }
  #main-nav > div > div:nth-child(2) { gap: 0.75rem; }
  #main-nav .nav-link { letter-spacing: 0.02em; font-size: 0.6875rem; }
  #main-nav .btn-bronze { padding-left: 1rem; padding-right: 1rem; font-size: 0.8125rem; }
  #main-nav .btn-bronze i { display: none; }
}

/* Package Hit Badge (Featured Tier Ribbon) */
.package-hit-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #E09548 0%, #CD7F32 50%, #A65D1B 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(205, 127, 50, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 20;
}

/* Online RAG Comparison Card Accents */
.border-blue-500\/30 {
  border-color: rgba(59, 130, 246, 0.3);
}
.bg-blue-500\/15 {
  background-color: rgba(59, 130, 246, 0.15);
}
.text-blue-300 {
  color: #93c5fd;
}
.from-blue-950\/20 {
  --tw-gradient-from: rgba(23, 37, 84, 0.25) var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(23, 37, 84, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}


