/*
Theme Name: Sheyhan.com
Theme URI: https://sheyhan.com
Author: Sheyhan.com Digital Agency
Description: Премиальное цифровое агентство Sheyhan.com: разработка сайтов под ключ, Яндекс.Директ, SEO-продвижение, таргетинг и сквозная аналитика. Футуристический дизайн с 3D-графикой и многоцветными неоновыми градиентами.
Version: 2.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: sheyhan
*/

:root {
  /* Canvas & Atmospheric Surfaces */
  --color-liquid-abyss: #012624;
  --color-liquid-deep: #011d1c;
  --color-liquid-kelp: #003734;
  --color-liquid-mist: #edfffe;
  --color-platinum: #ffffff;
  --color-silver-mist: #bbc7c6;
  --color-ash: #f2f2f2;
  --color-slate-deep: #707777;
  
  /* Vibrant Multi-Color Spectrum (breaks monochrome green) */
  --color-violet-accent: #8b5cf6;
  --color-purple-neon: #a855f7;
  --color-indigo-glow: #6366f1;
  --color-pink-phosphor: #ec4899;
  --color-cyan-glow: #06b6d4;
  --color-lavender-phosphor: #fde9ff;
  
  /* Gradients */
  --color-bioluminescent-gradient: #00827c;
  --gradient-bioluminescent-gradient: linear-gradient(90deg, rgb(0, 130, 124) 0%, rgb(203, 255, 252) 100%);
  --color-aurora-gradient: #cbfffc;
  --gradient-aurora-gradient: linear-gradient(90deg, #38bdf8 0%, #818cf8 35%, #c084fc 70%, #fad1ff 100%);
  --gradient-cyber-glow: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-purple-aura: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 75%);

  /* Typography - Bold Impact: Unbounded (Headings) & Onest (Body) */
  --font-display: 'Unbounded', system-ui, -apple-system, sans-serif;
  --font-matter: 'Onest', system-ui, -apple-system, sans-serif;
  --font-sans: 'Onest', system-ui, -apple-system, sans-serif;
  --font-arial: 'Arial', ui-sans-serif, system-ui, sans-serif;

  /* Typography Scale - Balanced & Proportional */
  --text-caption: 11px;
  --leading-caption: 1.4;
  --tracking-caption: 1.2px;
  --text-body: 16px;
  --leading-body: 1.55;
  --tracking-body: 0px;
  --text-subheading: 22px;
  --leading-subheading: 1.25;
  --tracking-subheading: -0.02em;
  --text-heading: 32px;
  --leading-heading: 1.15;
  --tracking-heading: -0.03em;
  --text-heading-lg: 48px;
  --leading-heading-lg: 1.1;
  --tracking-heading-lg: -0.03em;
  --text-display: 56px;
  --leading-display: 1.08;
  --tracking-display: -0.03em;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;

  /* Radii Vocabulary: Strictly 6px and 16px */
  --radius-cards: 16px;
  --radius-small: 6px;
  --radius-buttons: 6px;

  /* Surfaces */
  --surface-liquid-abyss: #012624;
  --surface-liquid-deep: #011d1c;
  --surface-liquid-kelp: #003734;
  --surface-slate-deep: #707777;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-liquid-abyss);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-silver-mist);
  background-color: var(--color-liquid-abyss);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: Unbounded 700-900, bold wide geometric impact */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-platinum);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

/* Custom Scrollbar - Abyssal styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-liquid-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--color-liquid-kelp);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-violet-accent);
}

/* Surfaces */
.auros-canvas {
  background-color: var(--color-liquid-abyss);
}
.auros-recessed {
  background-color: var(--color-liquid-deep);
}
.auros-card {
  background-color: var(--color-liquid-kelp);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.auros-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 12px 40px -10px rgba(139, 92, 246, 0.18);
}

/* Vibrant Multi-Color Badges */
.auros-badge-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #f3e8ff;
}
.auros-badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #cffafe;
}
.auros-badge-pink {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #fce7f3;
}

/* Signature Aurora Sunrise Gradient Button */
.auros-btn-primary {
  background: var(--gradient-aurora-gradient);
  color: #0b0f19;
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap !important;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
  border: none;
  position: relative;
  overflow: hidden;
}
.auros-btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
.auros-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.auros-btn-primary:hover::after {
  opacity: 1;
}

/* Auros Secondary / Outline Button */
.auros-btn-secondary {
  background-color: var(--color-liquid-kelp);
  color: var(--color-platinum);
  font-family: var(--font-arial);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}
.auros-btn-secondary:hover {
  background-color: rgba(0, 55, 52, 0.9);
  border-color: rgba(168, 85, 247, 0.5);
  color: #f3e8ff;
  transform: translateY(-1px);
}

/* Arrow Icon Button */
.auros-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: rgba(3, 81, 75, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-platinum);
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.auros-arrow-btn:hover {
  background-color: var(--color-violet-accent);
  transform: translate(2px, -2px);
  color: white;
}

/* Uppercase Section Eyebrow Label */
.auros-eyebrow {
  font-family: var(--font-matter);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-silver-mist);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Ghost Navigation Link */
.auros-nav-link {
  font-family: var(--font-matter);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-silver-mist);
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap !important;
}
.auros-nav-link:hover, .auros-nav-link.active {
  color: var(--color-platinum);
}

/* Lavender Phosphor Statistic Numbers */
.auros-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--color-lavender-phosphor);
}

/* Geometric Molecule & Orb Canvas Container */
.auros-orb-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Calculator active type button */
.auros-calc-btn {
  background-color: var(--color-liquid-abyss);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--color-silver-mist);
  transition: all 0.2s ease;
}
.auros-calc-btn.active {
  background-color: var(--color-liquid-kelp);
  border-color: rgba(168, 85, 247, 0.6);
  color: var(--color-platinum);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Form input styling */
.auros-input {
  background-color: var(--color-liquid-deep);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--color-platinum);
  font-family: var(--font-matter);
  font-size: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auros-input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.6);
  background-color: rgba(1, 29, 28, 0.95);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* ======================================================== */
/* 3D FLOATING FIGURES & SHAPES ANIMATIONS */
/* ======================================================== */

@keyframes aurosFloatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes aurosFloatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(16px) rotate(-2deg);
  }
}

@keyframes aurosGlowPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes aurosRotateSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.auros-float-slow {
  animation: aurosFloatSlow 6s ease-in-out infinite;
}

.auros-float-reverse {
  animation: aurosFloatReverse 7s ease-in-out infinite;
}

.auros-glow-pulse {
  animation: aurosGlowPulse 5s ease-in-out infinite;
}

.auros-rotate-slow {
  animation: aurosRotateSlow 24s linear infinite;
}

/* Bioluminescent Aurora Glow Text */
@keyframes aurosAuroraShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auros-glow-gradient {
  background: linear-gradient(90deg, #cbfffc 0%, #ffffff 25%, #c084fc 65%, #f472b6 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aurosAuroraShift 8s ease infinite;
  display: inline-block;
  text-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

/* Abyssal Horizon Grid */
.auros-horizon-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(139, 92, 246, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 80%);
}

/* Floating Glass Instrumentation Card */
.auros-glass-plinth {
  background: rgba(0, 55, 52, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(203, 255, 252, 0.15);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.auros-glass-plinth:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.4);
}

/* Live Terminal Stream Box */
@keyframes streamBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.auros-cursor-blink {
  animation: streamBlink 1s infinite;
}

/* Sparkline Live Wave */
@keyframes sparklineDraw {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}
.auros-sparkline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: sparklineDraw 2.5s ease-out forwards;
}

/* Mobile Viewport Safety & Layout Calibration */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas {
  max-width: 100%;
}

@media (max-width: 640px) {
  .auros-stat-num {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
  }
  
  .auros-btn-primary, .auros-btn-secondary {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
  }

  #leadModal > div, #lightboxModal > div {
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
}
