/* Routaroo Design System & Custom Animations */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121f;
  --bg-card: #121829;
  --bg-card-hover: #18223a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.4);
  --brand-gold: #f59e0b;
  --brand-gold-glow: rgba(245, 158, 11, 0.2);
  --brand-indigo: #6366f1;
  --brand-indigo-glow: rgba(99, 102, 241, 0.25);
  --radius-card: 20px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Background Gradients & Grid */
.bg-grid-pattern {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 35px var(--brand-gold-glow);
}
.glow-indigo {
  box-shadow: 0 0 45px var(--brand-indigo-glow);
}

/* Phone Mockup Frame (Tuned for 1080x2400 aspect ratio) */
.phone-mockup {
  position: relative;
  background: #020408;
  border: 7px solid #1f293d;
  border-radius: 38px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.phone-mockup:hover {
  transform: translateY(-6px);
  box-shadow:
    0 35px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(99, 102, 241, 0.2);
}

/* Floating animation for badge stickers */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-3deg);
  }
}

.float-item {
  animation: floatSlow 5s ease-in-out infinite;
}

.float-item-rev {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Badge card styling */
.badge-pill {
  background: rgba(18, 24, 41, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
}

/* Roadmap status pills */
.status-completed {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.status-active {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.status-upcoming {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

/* Smooth transition for tabs */
.tab-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn.active {
  background: #f59e0b;
  color: #020617;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

/* Button active push */
.btn-tactile:active {
  transform: translateY(1px) scale(0.98);
}
