/* ==========================================================================
   ComicanaaPixel - Precision UI Components & Staggered Connected Steps
   Signature Motif: Tiered Staggered Floating Cards with Glowing Amber Paths
   Theme: Matte Obsidian Glass & Glowing Neon Amber Connectors (Reference Spec)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SIGNATURE STAGGERED STEP JOURNEY (Matches Reference Image)
   -------------------------------------------------------------------------- */
.staggered-journey-canvas {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: var(--space-8) auto 0 auto;
  padding: var(--space-8) 0;
}

.staggered-step-card {
  position: relative;
  background: rgba(20, 23, 32, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85),
              inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all var(--trans-medium);
  z-index: 2;
  margin-bottom: var(--space-12);
}

.staggered-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.95), 0 0 32px rgba(230, 96, 5, 0.35);
  border-color: rgba(230, 96, 5, 0.6);
}

/* Staggered Offset Placement */
.staggered-step-card.step-left {
  width: 75%;
  margin-left: 0;
  margin-right: auto;
}

.staggered-step-card.step-right {
  width: 75%;
  margin-left: auto;
  margin-right: 0;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin-bottom: var(--space-3);
}

.step-badge .step-num {
  background: rgba(230, 96, 5, 0.2);
  border: 1px solid rgba(230, 96, 5, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.step-title {
  font-size: var(--text-h2);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: var(--text-body);
  color: #A6ADBB;
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

/* Glowing Amber SVG Orthogonal Path Connector */
.staggered-svg-connector {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.staggered-svg-connector path {
  fill: none;
  stroke: #E66005;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(230, 96, 5, 0.8)) drop-shadow(0 0 20px rgba(230, 96, 5, 0.4));
}

/* Option Selectors inside Steps (Inspired by Image) */
.step-options-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.step-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.925rem;
  color: #A6ADBB;
  transition: all var(--trans-fast);
  cursor: pointer;
}

.step-option-item:hover, .step-option-item.selected {
  background: rgba(28, 33, 46, 0.95);
  border-color: rgba(230, 96, 5, 0.6);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 16px rgba(230, 96, 5, 0.25);
}

.step-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.step-option-item.selected .step-radio-dot {
  border-color: var(--accent-amber);
}

.step-option-item.selected .step-radio-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
}

/* --------------------------------------------------------------------------
   2. HERO INTERACTIVE ORCHESTRATION SCENE
   -------------------------------------------------------------------------- */
.hero-orchestration {
  position: relative;
  background: rgba(18, 22, 31, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  margin-top: var(--space-8);
  overflow: hidden;
}

.hero-flow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
  z-index: 2;
}

.hero-flow-step {
  background: rgba(12, 15, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: all var(--trans-medium);
  position: relative;
}

.hero-flow-step.active, .hero-flow-step:hover {
  background: rgba(24, 29, 41, 0.95);
  border-color: rgba(230, 96, 5, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(230, 96, 5, 0.2);
}

.hero-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-step-title {
  font-size: 0.925rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.hero-step-meta {
  font-size: 0.8rem;
  color: #8E98A8;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   3. FRAGMENTED BUSINESS GRID
   -------------------------------------------------------------------------- */
.fragmented-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.fragmented-card {
  background: rgba(18, 22, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-medium);
  position: relative;
}

.fragmented-card:hover {
  border-color: rgba(230, 96, 5, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 16px rgba(230, 96, 5, 0.15);
}

.fragmented-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.fragmented-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.fragmented-desc {
  font-size: 0.825rem;
  color: #8E98A8;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   4. TIMELINE "FROM MESSAGE TO MONEY"
   -------------------------------------------------------------------------- */
.message-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  margin-top: var(--space-8);
}

.timeline-track-line {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 27px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-node-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #11141D;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #8E98A8;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: all var(--trans-fast);
}

.timeline-node-item:hover .timeline-marker,
.timeline-node-item.is-active .timeline-marker {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  box-shadow: 0 0 20px rgba(230, 96, 5, 0.4);
  background: #191E2A;
}

.timeline-content-card {
  flex: 1;
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-medium);
}

.timeline-node-item:hover .timeline-content-card,
.timeline-node-item.is-active .timeline-content-card {
  border-color: rgba(230, 96, 5, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(230, 96, 5, 0.15);
}

/* --------------------------------------------------------------------------
   5. GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #080A0E;
  color: #A6ADBB;
  padding-top: var(--space-20);
  padding-bottom: var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.footer-brand-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.footer-brand-title span {
  color: var(--accent-amber);
}

.footer-tagline {
  color: #8E98A8;
  font-size: 0.925rem;
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.footer-column-title {
  font-family: var(--font-mono);
  font-size: var(--text-mono-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  color: #8E98A8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-link:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.815rem;
  color: #717A8C;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

.footer-legal-links a {
  text-decoration: none;
  color: #8E98A8;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

.footer-office-address {
  font-size: 0.815rem;
  color: #8E98A8;
  line-height: 1.5;
  max-width: 360px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fragmented-grid { grid-template-columns: 1fr 1fr; }
  .hero-flow-track { grid-template-columns: 1fr 1fr; }
  .staggered-step-card.step-left,
  .staggered-step-card.step-right { width: 100%; margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
