/* ============================================
   SignalRadar.Pro — Roadmap Page Styles
   Высокотехнологичный дизайн 4K качества
   ============================================ */

:root {
  --roadmap-bg: #03070c;
  --roadmap-bg-alt: #050d18;
  --roadmap-accent-cyan: #00f5d5;
  --roadmap-accent-blue: #12b3ff;
  --roadmap-accent-green: #2bff7d;
  --roadmap-accent-violet: #a855f7;
  --roadmap-accent-amber: #facc15;
  --roadmap-accent-rose: #fb7185;
  --roadmap-text: #ebfbff;
  --roadmap-muted: #8fb0c5;
  --roadmap-glass: rgba(7, 16, 28, 0.75);
  --roadmap-glass-border: rgba(0, 245, 213, 0.18);
  --roadmap-glow-cyan: rgba(0, 245, 213, 0.45);
  --roadmap-glow-blue: rgba(18, 179, 255, 0.35);
  --font-display: 'Orbitron', sans-serif;
  --font-tech: 'Exo 2', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   Base & Typography
   ============================================ */

.roadmap-page {
  font-family: var(--font-tech);
  background: radial-gradient(1800px 900px at 50% -10%, rgba(0, 245, 213, 0.12), transparent 60%),
              radial-gradient(1200px 600px at 80% 10%, rgba(168, 85, 247, 0.1), transparent 55%),
              radial-gradient(800px 500px at 20% 80%, rgba(18, 179, 255, 0.12), transparent 60%),
              var(--roadmap-bg);
}

.roadmap-page .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--roadmap-accent-cyan);
  margin-bottom: 1rem;
}

.roadmap-page .glow-text {
  text-shadow: 0 0 20px var(--roadmap-glow-cyan), 0 0 40px var(--roadmap-glow-cyan);
}

/* ============================================
   Shader Canvas Background
   ============================================ */

#shaderCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================
   Hero Section
   ============================================ */

.roadmap-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.roadmap-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.roadmap-hero__content {
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--roadmap-accent-cyan) 0%, var(--roadmap-accent-blue) 50%, var(--roadmap-accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.glitch-text {
  position: relative;
  animation: glitch-pulse 3s ease-in-out infinite;
}

@keyframes glitch-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--roadmap-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--roadmap-accent-cyan);
  text-shadow: 0 0 20px var(--roadmap-glow-cyan);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--roadmap-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Neural Orb Animation */
.roadmap-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.neural-orb {
  width: 400px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  animation: orb-rotate 20s linear infinite;
}

@keyframes orb-rotate {
  to { transform: rotateY(360deg); }
}

.orb-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--roadmap-accent-cyan) 0%, transparent 70%);
  box-shadow: 0 0 60px var(--roadmap-glow-cyan), 0 0 120px var(--roadmap-glow-blue);
  animation: core-pulse 2s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.orb-ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--roadmap-accent-cyan);
  border-right-color: var(--roadmap-accent-blue);
  animation: ring-spin 8s linear infinite;
}

.orb-ring--1 {
  width: 200px;
  height: 200px;
  animation-duration: 12s;
}

.orb-ring--2 {
  width: 280px;
  height: 280px;
  animation-duration: 18s;
  animation-direction: reverse;
  border-top-color: var(--roadmap-accent-violet);
  border-right-color: var(--roadmap-accent-cyan);
}

.orb-ring--3 {
  width: 360px;
  height: 360px;
  animation-duration: 24s;
  border-top-color: var(--roadmap-accent-blue);
  border-right-color: var(--roadmap-accent-green);
}

@keyframes ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orb-particles {
  position: absolute;
  inset: 0;
  overflow: visible;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
  display: block;
  font-size: 0.75rem;
  color: var(--roadmap-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-right: 2px solid var(--roadmap-accent-cyan);
  border-bottom: 2px solid var(--roadmap-accent-cyan);
  transform: rotate(45deg);
  animation: arrow-down 1.5s ease-in-out infinite;
}

@keyframes arrow-down {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(-8px, -8px); opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   About Section
   ============================================ */

.about-section {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--roadmap-text);
}

.accent-gradient {
  background: linear-gradient(135deg, var(--roadmap-accent-cyan), var(--roadmap-accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--roadmap-muted);
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.about-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 245, 213, 0.15);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--roadmap-accent-cyan);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--roadmap-text);
}

.about-card p {
  color: var(--roadmap-muted);
  line-height: 1.6;
}

/* Glass Card Effect */
.glass-card {
  background: var(--roadmap-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--roadmap-glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Timeline Section
   ============================================ */

.roadmap-timeline {
  padding: 100px 0;
  position: relative;
}

.timeline-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--roadmap-accent-cyan), var(--roadmap-accent-blue), var(--roadmap-accent-violet));
  border-radius: 2px;
  opacity: 0.3;
}

.progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--roadmap-accent-cyan), var(--roadmap-accent-blue));
  border-radius: 2px;
  box-shadow: 0 0 20px var(--roadmap-glow-cyan);
  transition: height 0.5s ease;
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--roadmap-accent-cyan);
  box-shadow: 0 0 30px var(--roadmap-glow-cyan), 0 0 60px var(--roadmap-glow-cyan);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.timeline-cards {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: 100px 1fr 300px;
  gap: 2rem;
  align-items: stretch;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
}

.timeline-card:nth-child(odd) {
  direction: rtl;
}

.timeline-card:nth-child(odd) > * {
  direction: ltr;
}

.timeline-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 80px rgba(0, 245, 213, 0.2);
  border-color: rgba(0, 245, 213, 0.35);
}

.card-phase {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--roadmap-accent-cyan);
  opacity: 0.3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-icon-animated {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  color: var(--roadmap-accent-cyan);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-animated svg {
  width: 100%;
  height: 100%;
  animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--roadmap-text);
  margin: 0;
}

.card-desc {
  color: var(--roadmap-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--roadmap-text);
  font-size: 0.9375rem;
}

.check {
  color: var(--roadmap-accent-green);
  font-weight: bold;
  flex-shrink: 0;
}

.card-tech-specs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-label {
  font-size: 0.75rem;
  color: var(--roadmap-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--roadmap-accent-cyan);
  font-weight: 600;
}

.status-active {
  color: var(--roadmap-accent-green);
}

.card-visual {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

/* Animated Icon Effects */
.fractal-network,
.token-hologram,
.vr-shatter-effect,
.ticker-stream,
.triangle-flow,
.pattern-grid,
.app-emerge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fractal-network::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 2px dashed var(--roadmap-accent-cyan);
  border-radius: 50%;
  animation: fractal-spin 10s linear infinite;
  opacity: 0.3;
}

@keyframes fractal-spin {
  to { transform: rotate(360deg); }
}

.token-hologram {
  background: radial-gradient(circle, rgba(0, 245, 213, 0.2), transparent 70%);
  animation: hologram-pulse 2s ease-in-out infinite;
}

@keyframes hologram-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

/* ============================================
   Tech Specs Section
   ============================================ */

.tech-specs {
  padding: 100px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.spec-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 245, 213, 0.15);
}

.spec-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--roadmap-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--roadmap-accent-cyan);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--roadmap-glow-cyan);
}

.spec-detail {
  font-size: 0.875rem;
  color: var(--roadmap-muted);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  padding: 100px 0 150px;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 3rem;
  text-align: center;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--roadmap-text);
}

.cta-card p {
  color: var(--roadmap-muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--roadmap-bg-alt);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--roadmap-text);
  text-decoration: none;
}

.footer-desc {
  color: var(--roadmap-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--roadmap-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--roadmap-accent-cyan);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--roadmap-glass-border);
  border-radius: 12px;
  color: var(--roadmap-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--roadmap-accent-cyan);
  color: var(--roadmap-accent-cyan);
  box-shadow: 0 0 20px var(--roadmap-glow-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--roadmap-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .roadmap-hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .neural-orb {
    width: 280px;
    height: 280px;
  }

  .timeline-card {
    grid-template-columns: 80px 1fr;
  }

  .card-visual {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  .timeline-card:nth-child(odd) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .roadmap-hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .card-phase {
    font-size: 2rem;
    padding: 0.5rem;
  }

  .card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-icon-animated {
    width: 64px;
    height: 64px;
  }

  .card-features {
    text-align: left;
  }

  .card-tech-specs {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .neural-orb {
    width: 200px;
    height: 200px;
  }

  .orb-core {
    width: 80px;
    height: 80px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   Reveal Animation on Scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for cards */
.timeline-card:nth-child(1).reveal { transition-delay: 0.1s; }
.timeline-card:nth-child(2).reveal { transition-delay: 0.2s; }
.timeline-card:nth-child(3).reveal { transition-delay: 0.3s; }
.timeline-card:nth-child(4).reveal { transition-delay: 0.4s; }
.timeline-card:nth-child(5).reveal { transition-delay: 0.5s; }
.timeline-card:nth-child(6).reveal { transition-delay: 0.6s; }
.timeline-card:nth-child(7).reveal { transition-delay: 0.7s; }
