@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #080c14;
  color: #f1f5f9;
}

code, pre, .terminal-font {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #273142;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3e4c63;
}

/* Glow Effects */
.glow-emerald {
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.45);
}
.glow-gold {
  box-shadow: 0 0 25px -5px rgba(234, 179, 8, 0.45);
}
.glow-purple {
  box-shadow: 0 0 25px -5px rgba(168, 85, 247, 0.45);
}
.glow-cyan {
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.45);
}

/* PHONE FRAME (Realistic iPhone mockup) */
.phone-frame {
  width: 390px;
  height: 680px;
  border: 10px solid #1c2433;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #000000;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Phone Notch / Dynamic Island */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #111827;
  border-radius: 14px;
  z-index: 30;
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  padding-top: 25px; /* Leave room for notch */
  background: #090d16;
}

/* TABLET FRAME */
.tablet-frame {
  width: 520px;
  height: 680px;
  border: 12px solid #1c2433;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  background: #090d16;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.tablet-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* DESKTOP FRAME */
.desktop-frame {
  width: 100%;
  height: 680px;
  border: 1px solid #283347;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  background: #090d16;
  transition: all 0.3s ease;
}

.desktop-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Log animations */
.log-line-enter {
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
