/* ==========================================================================
   REVOPS ENTERPRISE OS — SPATIAL AURORA PRO v6.1 (ai-rop.ru)
   Matches approved Pencil 18B design while preserving Dark/Light toggle.
   ========================================================================== */

:root {
  --aur-void: #070510;
  --aur-card: #110e1e;
  --aur-card-2: #16112b;
  --aur-inner: #0b0818;
  --aur-border: rgba(255, 255, 255, 0.11);
  --aur-border-hi: rgba(192, 132, 252, 0.36);
  --aur-purple: #c084fc;
  --aur-cyan: #38bdf8;
  --aur-emerald: #34d399;
  --aur-rose: #fb7185;
  --aur-t1: #faf5ff;
  --aur-t2: #d8cef0;
  --aur-t3: #9d91bd;
}

/* ---------- 1. Floating Glass Navbar (Dark Aurora Default) ---------- */
html[data-theme="dark"] #site-header {
  background: rgba(13, 10, 26, 0.78) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 12px 36px -14px rgba(0, 0, 0, 0.75) !important;
}

.aur-pro-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.35);
}
html[data-theme="light"] .aur-pro-badge {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

/* ---------- 2. Hero Typography, 2 Focused CTAs & Compact Trust Strip ---------- */
html[data-theme="dark"] #demo {
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(88, 28, 135, 0.32) 0%, rgba(12, 74, 110, 0.16) 45%, #070510 78%) !important;
}

.aur-gradient-text {
  background: linear-gradient(90deg, #c084fc 0%, #38bdf8 52%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="light"] .aur-gradient-text {
  background: linear-gradient(90deg, #6d28d9 0%, #0284c7 60%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aur-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff !important;
  background: linear-gradient(90deg, #9333ea 0%, #7c3aed 50%, #0ea5e9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 12px 34px -6px rgba(147, 51, 234, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, filter 0.2s ease;
  white-space: nowrap;
}
.aur-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -4px rgba(147, 51, 234, 0.7), 0 0 24px rgba(56, 189, 248, 0.35);
  filter: brightness(1.06);
}

.aur-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  color: #faf5ff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(192, 132, 252, 0.35) !important;
  backdrop-filter: blur(12px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.aur-cta-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(192, 132, 252, 0.6) !important;
}
html[data-theme="light"] .aur-cta-secondary {
  color: #1e293b !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .aur-cta-secondary:hover {
  background: #f8fafc !important;
  border-color: #7c3aed !important;
}

.aur-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  max-width: 1200px;
  margin: 0 auto 24px auto;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(18, 14, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}
html[data-theme="light"] .aur-trust-strip {
  background: rgba(255, 255, 255, 0.92);
  border-color: #e2e8f0;
  box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.08);
}
.aur-trust-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.aur-trust-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.aur-trust-val--neutral {
  color: #f8fafc;
}
html[data-theme="light"] .aur-trust-val--neutral {
  color: #0f172a;
}
.aur-trust-cap {
  font-size: 11.5px;
  font-weight: 500;
  color: #d8cef0;
  white-space: nowrap;
}
html[data-theme="light"] .aur-trust-cap {
  color: #475569;
}
@media (max-width: 1024px) {
  .aur-trust-strip {
    justify-content: center;
    gap: 10px 18px;
  }
}
@media (max-width: 640px) {
  .aur-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 14px;
    gap: 10px 12px;
  }
  .aur-trust-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .aur-trust-cap {
    white-space: normal;
    line-height: 1.3;
  }
}

/* ---------- 3. LK Module Switcher & 3D Scroll-Perspective Showcase ---------- */
.aur-lk-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 9999px;
  background: rgba(18, 14, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.65);
  margin: 0 auto 20px auto;
}
html[data-theme="light"] .aur-lk-switcher {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.aur-lk-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #d8cef0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.aur-lk-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.aur-lk-tab.active {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(90deg, #9333ea 0%, #7c3aed 50%, #0ea5e9 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}
.aur-lk-tab .aur-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #34d399;
  display: none;
}
.aur-lk-tab.active .aur-tab-dot {
  display: inline-block;
}
html[data-theme="light"] .aur-lk-tab:not(.active) {
  color: #475569;
}
html[data-theme="light"] .aur-lk-tab:not(.active):hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

.aur-cockpit-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1400px;
}
.aur-cockpit-glow {
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: radial-gradient(ellipse 75% 55% at 50% 25%, rgba(147, 51, 234, 0.34), rgba(56, 189, 248, 0.16), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.aur-cockpit-window {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #0e0b1c;
  border: 1px solid rgba(192, 132, 252, 0.32);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.85), 0 0 60px -15px rgba(124, 58, 237, 0.32);
  transform: rotateX(var(--cockpit-rx, 3.5deg)) scale(var(--cockpit-scale, 0.988));
  transform-origin: center top;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .aur-cockpit-window {
    transform: none !important;
  }
}
.aur-cockpit-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #16112b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aur-chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 9999px;
  background: #090714;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #d8cef0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aur-lk-screen-wrap {
  position: relative;
  background: #0b0b0e;
  aspect-ratio: 1920 / 1093;
  width: 100%;
  overflow: hidden;
}
.aur-lk-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.26s ease, transform 0.35s ease;
}
.aur-lk-screen-img.is-switching {
  opacity: 0.35;
  transform: scale(0.992);
}
.aur-lk-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(17, 14, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: #d8cef0;
}

/* ---------- 4. Un-duplicated Real LK Proof Cards (Pain & Audio Sections) ---------- */
.aur-proof-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  border-radius: 22px;
  overflow: hidden;
  background: #110e1e;
  border: 1px solid rgba(192, 132, 252, 0.25);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  margin-top: 44px;
}
.aur-proof-split--rose {
  border-color: rgba(251, 113, 133, 0.32);
}
.aur-proof-split--cyan {
  border-color: rgba(56, 189, 248, 0.32);
}
html[data-theme="light"] .aur-proof-split {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 18px 44px -16px rgba(15, 23, 42, 0.12);
}
.aur-proof-copy {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-align: left;
}
.aur-proof-media {
  position: relative;
  background: #0b0b0e;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.aur-proof-split--reverse .aur-proof-media {
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.aur-proof-media img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: cover;
  object-position: top left;
  display: block;
}
@media (max-width: 960px) {
  .aur-proof-split {
    grid-template-columns: 1fr;
  }
  .aur-proof-media,
  .aur-proof-split--reverse .aur-proof-media {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .aur-proof-split--reverse .aur-proof-copy {
    order: -1;
  }
}

/* ---------- 5. Inline Quick Lead Capture inside #cta ---------- */
.aur-inline-lead {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(9, 7, 20, 0.85);
  border: 1px solid rgba(192, 132, 252, 0.35);
  max-width: 560px;
}
.aur-inline-lead input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #faf5ff !important;
  font-size: 14px;
}
.aur-inline-lead button {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  color: #ffffff;
  background: linear-gradient(90deg, #9333ea 0%, #0ea5e9 100%);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.aur-inline-lead button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ---------- 6. Editorial Founder Portrait (#integration) ---------- */
.aur-founder-portrait {
  position: relative;
  width: 210px;
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(192, 132, 252, 0.42);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
}
.aur-founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.aur-founder-scrim {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px 14px;
  background: linear-gradient(180deg, rgba(7, 5, 16, 0) 0%, rgba(7, 5, 16, 0.88) 55%, rgba(7, 5, 16, 0.97) 100%);
  text-align: left;
}
@media (max-width: 640px) {
  .aur-founder-portrait {
    width: 180px;
    height: 200px;
  }
}

/* ---------- 7. Competitive Comparison Table Matrix (#comparison) ---------- */
html, body {
  overflow-x: clip;
}
.aur-comp-wrap {
  width: 100%;
  max-width: 100%;
  border-radius: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #110e1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}
html[data-theme="light"] .aur-comp-wrap {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 14px 36px -14px rgba(15, 23, 42, 0.1);
}
.aur-comp-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}
.aur-comp-table thead th {
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #16112b;
  color: #d8cef0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aur-comp-table thead th.aur-col-win {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
}
.aur-comp-table tbody td {
  padding: 16px 20px;
  font-size: 13.5px;
  color: #9d91bd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
}
.aur-comp-table tbody tr:last-child td {
  border-bottom: 0;
}
.aur-comp-table tbody td:first-child {
  font-weight: 600;
  color: #faf5ff;
}
.aur-comp-table tbody td.aur-col-win {
  background: rgba(168, 85, 247, 0.09);
  color: #34d399;
  font-weight: 700;
}
.aur-comp-win-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.34);
  color: #34d399;
  font-weight: 700;
  font-size: 13px;
}
html[data-theme="light"] .aur-comp-table thead th {
  background: #f8fafc;
  color: #475569;
  border-bottom-color: #e2e8f0;
}
html[data-theme="light"] .aur-comp-table thead th.aur-col-win {
  background: #f5f3ff;
  color: #6d28d9;
}
html[data-theme="light"] .aur-comp-table tbody td {
  color: #475569;
  border-bottom-color: #f1f5f9;
}
html[data-theme="light"] .aur-comp-table tbody td:first-child {
  color: #0f172a;
}
html[data-theme="light"] .aur-comp-table tbody td.aur-col-win {
  background: #faf5ff;
  color: #059669;
}
html[data-theme="light"] .aur-comp-win-pill {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

/* ---------- 8. Compact 152-FZ Trust Shield Banner (#security) ---------- */
.aur-shield-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(14, 26, 24, 0.96) 0%, rgba(17, 14, 30, 0.96) 100%);
  border: 1px solid rgba(52, 211, 153, 0.32);
  box-shadow: 0 20px 50px -20px rgba(16, 185, 129, 0.2);
  align-items: start;
}
.aur-shield-item {
  padding-left: 20px;
  border-left: 1px solid rgba(52, 211, 153, 0.22);
}
html[data-theme="light"] .aur-shield-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
  border-color: #a7f3d0;
  box-shadow: 0 12px 32px -14px rgba(16, 185, 129, 0.18);
}
html[data-theme="light"] .aur-shield-item {
  border-left-color: #a7f3d0;
}
@media (max-width: 1024px) {
  .aur-shield-banner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .aur-shield-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .aur-shield-item {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(52, 211, 153, 0.22);
  }
}

/* ---------- 9. Pricing Aurora Glow & Pro Anchor ---------- */
html[data-theme="dark"] #pricing {
  background: radial-gradient(ellipse 75% 65% at 62% 52%, rgba(88, 28, 135, 0.26) 0%, rgba(12, 74, 110, 0.14) 45%, #090714 78%) !important;
}
.aur-pro-anchor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #34d399;
  margin-bottom: 14px;
}
html[data-theme="light"] .aur-pro-anchor {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
